[Bug 26118] New: kernel32/change tests show a ton of valgrind warnings

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Feb 14 18:47:52 CST 2011


http://bugs.winehq.org/show_bug.cgi?id=26118

           Summary: kernel32/change tests show a ton of valgrind warnings
           Product: Wine
           Version: 1.3.13
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Keywords: download, source, testcase
          Severity: minor
          Priority: P2
         Component: kernel32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: austinenglish at gmail.com


Several uninitialized value warnings:
 Conditional jump or move depends on uninitialised value(s)
    at  wine_dbgstr_wn (test.h:471)
    by  wine_dbgstr_w (test.h:66)
    by  test_readdirectorychanges_cr (change.c:860)
    by  func_change (change.c:1103)
    by  run_test (test.h:556)
    by  main (test.h:624)
  Uninitialised value was created by a stack allocation
    at  test_readdirectorychanges_cr (change.c:794)
...
 Conditional jump or move depends on uninitialised value(s)
    at  wine_dbgstr_wn (test.h:471)
    by  wine_dbgstr_w (test.h:66)
    by  test_readdirectorychanges_cr (change.c:880)
    by  func_change (change.c:1103)
    by  run_test (test.h:556)
    by  main (test.h:624)
  Uninitialised value was created by a stack allocation
    at  test_readdirectorychanges_cr (change.c:794)
...
 Conditional jump or move depends on uninitialised value(s)
    at  wine_dbgstr_wn (test.h:471)
    by  wine_dbgstr_w (test.h:66)
    by  test_readdirectorychanges_cr (change.c:896)
    by  func_change (change.c:1103)
    by  run_test (test.h:556)
    by  main (test.h:624)
  Uninitialised value was created by a stack allocation
    at  test_readdirectorychanges_cr (change.c:794)
...
 Conditional jump or move depends on uninitialised value(s)
    at  wine_dbgstr_wn (test.h:471)
    by  wine_dbgstr_w (test.h:66)
    by  test_readdirectorychanges_cr (change.c:912)
    by  func_change (change.c:1103)
    by  run_test (test.h:556)
    by  main (test.h:624)
  Uninitialised value was created by a stack allocation
    at  test_readdirectorychanges_cr (change.c:794)
...
 Conditional jump or move depends on uninitialised value(s)
    at  wine_dbgstr_wn (test.h:471)
    by  wine_dbgstr_w (test.h:66)
    by  test_readdirectorychanges_cr (change.c:944)
    by  func_change (change.c:1103)
    by  run_test (test.h:556)
    by  main (test.h:624)
  Uninitialised value was created by a stack allocation
    at  test_readdirectorychanges_cr (change.c:794)
...
 Conditional jump or move depends on uninitialised value(s)
    at  wine_dbgstr_wn (test.h:471)
    by  wine_dbgstr_w (test.h:66)
    by  test_readdirectorychanges_cr (change.c:995)
    by  func_change (change.c:1103)
    by  run_test (test.h:556)
    by  main (test.h:624)
  Uninitialised value was created by a stack allocation
    at  test_readdirectorychanges_cr (change.c:794)
...

and several leaks:
 20 bytes in 1 blocks are definitely lost 
    at  notify_alloc (heap.c:254)
    by  RtlAllocateHeap (heap.c:1701)
    by  NtNotifyChangeDirectoryFile (directory.c:3253)
    by  FindFirstChangeNotificationW (change.c:97)
    by  FindFirstChangeNotificationA (change.c:49)
    by  StartNotificationThread (change.c:65)
    by  test_ffcn_directory_overlap (change.c:1033)
    by  func_change (change.c:1104)
    by  run_test (test.h:556)
    by  main (test.h:624)
...
 20 bytes in 1 blocks are definitely lost 
    at  notify_alloc (heap.c:254)
    by  RtlAllocateHeap (heap.c:1701)
    by  NtNotifyChangeDirectoryFile (directory.c:3253)
    by  FindFirstChangeNotificationW (change.c:97)
    by  FindFirstChangeNotificationA (change.c:49)
    by  StartNotificationThread (change.c:65)
    by  test_ffcn_directory_overlap (change.c:1035)
    by  func_change (change.c:1104)
    by  run_test (test.h:556)
    by  main (test.h:624)
...
 20 bytes in 1 blocks are definitely lost 
    at  notify_alloc (heap.c:254)
    by  RtlAllocateHeap (heap.c:1701)
    by  NtNotifyChangeDirectoryFile (directory.c:3253)
    by  FindFirstChangeNotificationW (change.c:97)
    by  FindFirstChangeNotificationA (change.c:49)
    by  test_ffcn_directory_overlap (change.c:1054)
    by  func_change (change.c:1104)
    by  run_test (test.h:556)
    by  main (test.h:624)
...
 20 bytes in 1 blocks are definitely lost 
    at  notify_alloc (heap.c:254)
    by  RtlAllocateHeap (heap.c:1701)
    by  NtNotifyChangeDirectoryFile (directory.c:3253)
    by  FindFirstChangeNotificationW (change.c:97)
    by  FindFirstChangeNotificationA (change.c:49)
    by  test_ffcn_directory_overlap (change.c:1058)
    by  func_change (change.c:1104)
    by  run_test (test.h:556)
    by  main (test.h:624)
...
 240 bytes in 12 blocks are definitely lost 
    at  notify_alloc (heap.c:254)
    by  RtlAllocateHeap (heap.c:1701)
    by  NtNotifyChangeDirectoryFile (directory.c:3253)
    by  FindNextChangeNotification (change.c:118)
    by  NotificationThread (change.c:50)
    by  ??? (signal_i386.c:2473)
    by  call_thread_entry_point (signal_i386.c:2499)
    by  start_thread (thread.c:404)
    by  start_thread (in /lib/libpthread-2.11.2.so)
    by  clone (in /lib/libc-2.11.2.so)
...
and one possibly lost:
 28,280 bytes in 14 blocks are possibly lost 
    at  notify_alloc (heap.c:254)
    by  RtlAllocateHeap (heap.c:1701)
    by  get_tls_data (test.h:240)
    by  winetest_set_location (test.h:275)
    by  NotificationThread (change.c:54)
    by  ??? (signal_i386.c:2473)
    by  call_thread_entry_point (signal_i386.c:2499)
    by  start_thread (thread.c:404)
    by  start_thread (in /lib/libpthread-2.11.2.so)
    by  clone (in /lib/libc-2.11.2.so)

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list