http://bugs.winehq.org/show_bug.cgi?id=25947
Summary: dmime:performance tests shows some memory leaks under valgrind Product: Wine Version: 1.3.12 Platform: x86 OS/Version: Linux Status: NEW Keywords: download, source, testcase Severity: minor Priority: P2 Component: directx-dmusic AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
Created an attachment (id=33082) --> (http://bugs.winehq.org/attachment.cgi?id=33082) valgrind log
4 bytes in 1 blocks are definitely lost at notify_alloc (heap.c:254) by RtlAllocateHeap (heap.c:1701) by IDirectMusic8Impl_CreatePort (dmusic.c:142) by IDirectMusicPerformance8Impl_PChannelInfo (performance.c:599) by test_PChannelInfo (performance.c:46) by func_performance (performance.c:97) by run_test (test.h:556) by main (test.h:624)
...
12 bytes in 1 blocks are definitely lost at notify_alloc (heap.c:254) by RtlAllocateHeap (heap.c:1701) by IDirectSound8_IDirectSound8_Create (dsound.c:966) by DSOUND_Create8 (dsound.c:1090) by DirectSoundCreate8 (dsound.c:1141) by IDirectMusicPerformance8Impl_InitAudio (performance.c:761) by test_InitAudio (performance.c:35) by func_performance (performance.c:90) by run_test (test.h:556) by main (test.h:624)
...
144 bytes in 1 blocks are possibly lost at calloc (vg_replace_malloc.c:467) by _dl_allocate_tls (dl-tls.c:300) by pthread_create@@GLIBC_2.1 (allocatestack.c:431) by RtlCreateUserThread (thread.c:505) by CreateRemoteThread (thread.c:89) by CreateThread (thread.c:55) by TIME_MMTimeStart (time.c:260) by timeSetEvent (time.c:344) by DirectSoundDevice_Initialize (dsound.c:1487) by IDirectSound8_IDirectSound8_Initialize (dsound.c:920) by DirectSoundCreate8 (dsound.c:1143) by IDirectMusicPerformance8Impl_InitAudio (performance.c:761) by test_InitAudio (performance.c:35) by func_performance (performance.c:90) by run_test (test.h:556) by main (test.h:624)
...
http://bugs.winehq.org/show_bug.cgi?id=25947
Christian Costa titan.costa@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |titan.costa@gmail.com
--- Comment #1 from Christian Costa titan.costa@gmail.com 2012-03-04 16:19:54 CST --- First leak is fixed by http://source.winehq.org/git/wine.git/commitdiff/d3fb586024cad4d2f9e7bb3a513....
http://bugs.winehq.org/show_bug.cgi?id=25947
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #2 from Austin English austinenglish@gmail.com 2012-09-26 15:31:49 CDT --- Not getting any leaks now, but lots of: ==28721== Conditional jump or move depends on uninitialised value(s) ==28721== at 0x5F07BA6: DMUSIC_CreateDirectMusicImpl (unicode.h:207) ==28721== by 0x5F087AD: ClassFactory_CreateInstance (dmusic_main.c:87) ==28721== by 0x492A28F: CoCreateInstance (unknwn.h:226) ==28721== by 0x515971E: IDirectMusicPerformance8Impl_Init (performance.c:286) ==28721== by 0x515987F: IDirectMusicPerformance8Impl_InitAudio (performance.c:930) ==28721== by 0x48EBB89: func_performance (performance.c:63) ==28721== by 0x48EC954: run_test (test.h:557) ==28721== by 0x48EAD22: main (test.h:627) ==28721== Uninitialised value was created by a stack allocation ==28721== at 0x5F07821: DMUSIC_CreateDirectMusicImpl (dmusic.c:408)
I'll file another bug for that in a bit.
wine-1.5.13-346-g0445393
http://bugs.winehq.org/show_bug.cgi?id=25947
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2012-09-28 13:43:23 CDT --- Closing bugs fixed in 1.5.14.