[Bug 46397] New: valgrind shows an invalid free in user32/tests/{msg, win}.c

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jan 2 02:29:58 CST 2019


https://bugs.winehq.org/show_bug.cgi?id=46397

            Bug ID: 46397
           Summary: valgrind shows an invalid free in
                    user32/tests/{msg,win}.c
           Product: Wine
           Version: 4.0-rc4
          Hardware: x86
                OS: Linux
            Status: NEW
          Keywords: download, source, testcase, valgrind
          Severity: normal
          Priority: P2
         Component: user32
          Assignee: wine-bugs at winehq.org
          Reporter: austinenglish at gmail.com
      Distribution: Gentoo

==21863== Invalid free() / delete / delete[] / realloc()
==21863==    at 0x7BC48471: notify_realloc (heap.c:276)
==21863==    by 0x7BC4BD90: RtlReAllocateHeap (heap.c:1906)
==21863==    by 0x4D82AA3: MDIClientWndProc_common (mdi.c:1202)
==21863==    by 0x4DC9250: MDIClientWndProcW (winproc.c:1141)
==21863==    by 0x4DC8F1B: ??? (in
/home/austin/wine-valgrind/dlls/user32/user32.dll.so)
==21863==    by 0x4DC9539: call_window_proc (winproc.c:248)
==21863==    by 0x4DCB562: WINPROC_call_window (winproc.c:923)
==21863==    by 0x4D8FD32: call_window_proc (message.c:2225)
==21863==    by 0x4D93A39: send_message (message.c:3288)
==21863==    by 0x4D93BFA: SendMessageW (message.c:3489)
==21863==    by 0x4DBD934: send_parent_notify (win.c:436)
==21863==    by 0x4DC0F62: WIN_CreateWindowEx (win.c:1697)
==21863==    by 0x4DBB256: CreateWindowExA (win.c:1768)
==21863==    by 0x4D828C7: MDIClientWndProc_common (mdi.c:1118)
==21863==    by 0x4DC9218: MDIClientWndProcA (winproc.c:1136)
==21863==    by 0x4DC8F1B: ??? (in
/home/austin/wine-valgrind/dlls/user32/user32.dll.so)
==21863==    by 0x4DC9539: call_window_proc (winproc.c:248)
==21863==    by 0x4DCB6EE: WINPROC_call_window (winproc.c:953)
==21863==    by 0x4D8FD32: call_window_proc (message.c:2225)
==21863==    by 0x4D93A39: send_message (message.c:3288)
==21863==  Address 0x4922a30 is 0 bytes after a recently re-allocated block of
size 0 alloc'd
==21863==    at 0x7BC48394: notify_alloc (heap.c:260)
==21863==    by 0x7BC4B8B8: RtlAllocateHeap (heap.c:1726)
==21863==    by 0x4D80AAA: MDIDestroyChild (mdi.c:567)
==21863==    by 0x4D828EA: MDIClientWndProc_common (mdi.c:1129)
==21863==    by 0x4DC9218: MDIClientWndProcA (winproc.c:1136)
==21863==    by 0x4DC8F1B: ??? (in
/home/austin/wine-valgrind/dlls/user32/user32.dll.so)
==21863==    by 0x4DC9539: call_window_proc (winproc.c:248)
==21863==    by 0x4DCB6EE: WINPROC_call_window (winproc.c:953)
==21863==    by 0x4D8FD32: call_window_proc (message.c:2225)
==21863==    by 0x4D93A39: send_message (message.c:3288)
==21863==    by 0x4D96736: SendMessageA (message.c:3511)
==21863==    by 0x4B4707A: test_MDI_create (win.c:1452)
==21863==    by 0x4B497E9: test_mdi (win.c:2356)
==21863==    by 0x4B608C6: func_win (win.c:10824)
==21863==    by 0x4B6668F: run_test (test.h:617)
==21863==    by 0x4B670CD: main (test.h:701)
==21863==

==19386== Invalid free() / delete / delete[] / realloc()
==19386==    at 0x7BC48471: notify_realloc (heap.c:276)
==19386==    by 0x7BC4BD90: RtlReAllocateHeap (heap.c:1906)
==19386==    by 0x4D82AA3: MDIClientWndProc_common (mdi.c:1202)
==19386==    by 0x4DC9218: MDIClientWndProcA (winproc.c:1136)
==19386==    by 0x4DC8F1B: ??? (in
/home/austin/wine-valgrind/dlls/user32/user32.dll.so)
==19386==    by 0x4DC9539: call_window_proc (winproc.c:248)
==19386==    by 0x4DCB838: CallWindowProcA (winproc.c:1003)
==19386==    by 0x4AEE9AC: mdi_client_hook_proc (msg.c:3664)
==19386==    by 0x4DC8F1B: ??? (in
/home/austin/wine-valgrind/dlls/user32/user32.dll.so)
==19386==    by 0x4DC9539: call_window_proc (winproc.c:248)
==19386==    by 0x4DC9B99: WINPROC_CallProcWtoA (winproc.c:863)
==19386==    by 0x4DCB58D: WINPROC_call_window (winproc.c:925)
==19386==    by 0x4D8FD32: call_window_proc (message.c:2225)
==19386==    by 0x4D93A39: send_message (message.c:3288)
==19386==    by 0x4D93BFA: SendMessageW (message.c:3489)
==19386==    by 0x4DBD934: send_parent_notify (win.c:436)
==19386==    by 0x4DC0F62: WIN_CreateWindowEx (win.c:1697)
==19386==    by 0x4DBB256: CreateWindowExA (win.c:1768)
==19386==    by 0x4AF9EFF: test_mdi_messages (msg.c:3869)
==19386==    by 0x4B108B1: func_msg (msg.c:17621)
==19386==  Address 0x4931f40 is 16 bytes after a recently re-allocated block of
size 32 alloc'd
==19386==    at 0x7BC48394: notify_alloc (heap.c:260)
==19386==    by 0x7BC4B8B8: RtlAllocateHeap (heap.c:1726)
==19386==    by 0x4F8C6AA: create_family (freetype.c:1593)
==19386==    by 0x4F9D33E: load_font_list_from_cache (freetype.c:1767)
==19386==    by 0x4F9DEC6: WineEngInit (freetype.c:4413)
==19386==    by 0x4F9E8BB: DllMain (gdiobj.c:693)
==19386==    by 0x4FB4298: __wine_spec_dll_entry (dll_entry.c:40)
==19386==    by 0x7BC4CF99: ??? (in
/home/austin/wine-valgrind/dlls/ntdll/ntdll.dll.so)
==19386==    by 0x7BC50733: MODULE_InitDLL (loader.c:1218)
==19386==    by 0x7BC50A26: process_attach (loader.c:1312)
==19386==    by 0x7BC5095F: process_attach (loader.c:1298)
==19386==    by 0x7BC5095F: process_attach (loader.c:1298)
==19386==    by 0x7BC532D1: attach_dlls (loader.c:3298)
==19386==    by 0x7BC7B32F: attach_thread (signal_i386.c:2709)
==19386==    by 0x7BC77E9B: ??? (in
/home/austin/wine-valgrind/dlls/ntdll/ntdll.dll.so)
==19386==

-- 
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