[Bug 20552] New: Memory leak in alloc_thread_tls?

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Nov 1 15:50:37 CST 2009


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

           Summary: Memory leak in alloc_thread_tls?
           Product: Wine
           Version: 1.1.32
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ntdll
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: dank at kegel.com


Valgrinding the chromium tests shows the leak
514 bytes in 2 blocks are definitely lost in loss record 796 of 971
   by RtlAllocateHeap (heap.c:1421)
   by alloc_thread_tls (loader.c:889)
   by MODULE_DllThreadAttach (loader.c:1184)
   by start_thread (thread.c:464)
on e.g. the following tests:

ipc_tests: IPCChannelTest
media_unittests: PipelineImplTest VideoRendererBaseTest WinAudioTest
net_unittests: DirectoryListerTest ListenSocketTest ProxyScriptFetcherTest
SingleThreadedProxyResolverTest TCPPingerTest TelnetServerTest
URLRequestTestFTP URLRequestTestHTTP URLRequestTest

To reproduce:

 mkdir demo
 cd demo
 wget -c http://kegel.com/wine/chromium/chromium-tests.tar.bz2
 tar -xjvf chromium-tests.tar.bz2
 valgrind --trace-children=yes --leak-check=full wine
src/chrome/Debug/net_unittests.exe --gtest_filter=TCPPingerTest.Ping

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