[Bug 20692] New: Probable benign window title leak

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Nov 13 15:37:31 CST 2009


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

           Summary: Probable benign window title leak
           Product: Wine
           Version: 1.1.32
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: user32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: dank at kegel.com


This is another case of 'a leak so small it doesn't matter'.
I think it only happens once per window, and only when the 
window doesn't get an NCDESTROY message before exiting.
I'm filing it and marking it WONTFIX so the valgrind suppression
I create can point to a bug report for explanation.

http://kegel.com/wine/valgrind/logs/2009-11-11-07.36/vg-user32_msg.txt
says user32_test.exe.so msg.c leaks like this:

 22 bytes in 1 blocks are definitely lost 
    at  notify_alloc (heap.c:214)
    by  RtlAllocateHeap (heap.c:1421)
    by  DEFWND_SetTextA (defwnd.c:98)
    by  DefWindowProcA (defwnd.c:834)
    by  MsgCheckProc (msg.c:7274)
    by  MsgCheckProcA (msg.c:7283)
    by  ??? (library.h:159)
    by  call_window_proc (winproc.c:469)
    by  WINPROC_call_window (winproc.c:2223)
    by  call_window_proc (message.c:1635)
    by  send_message (message.c:2482)
    by  SendMessageA (message.c:2627)
    by  WIN_CreateWindowEx (win.c:1342)
    by  CreateWindowExA (win.c:1541)

And 
http://kegel.com/wine/chromium/valgrind-logs/base_unittests/MessageLoopTest.log
says that base_unittests.exe --gtest_filter=MessageLoopTest.RecursiveDenial2
and a couple others leak as follows:

8 bytes in 4 blocks are definitely lost in loss record 87 of 1,034 
   at notify_alloc (heap.c:214)
   by RtlAllocateHeap (heap.c:1421)
   by DEFWND_SetTextW (defwnd.c:134)
   by DefWindowProcW (defwnd.c:981)
   by StaticWndProc_common (static.c:520)
   by StaticWndProcW (static.c:630)
   by ??? (library.h:159)
   by call_window_proc (winproc.c:469)
   by WINPROC_call_window (winproc.c:2214)
   by call_window_proc (message.c:1635)
   by send_message (message.c:2482)
   by SendMessageW (message.c:2605)
   by WIN_CreateWindowEx (win.c:1340)
   by CreateWindowExW (win.c:1573)
   by DIALOG_CreateControls32 (dialog.c:276)
   by DIALOG_CreateIndirect (dialog.c:691)
   by DialogBoxIndirectParamAorW (dialog.c:871)
   by DialogBoxIndirectParamW (dialog.c:892)
   by MessageBoxIndirectW (msgbox.c:527)
   by MessageBoxExW (msgbox.c:451)
   by MessageBoxW (msgbox.c:406)

We can reopen this bug if the leak turns out to be an actual problem.

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