[Bug 36275] New: valgrind shows a possible leak in dsound's DirectSoundDevice_Create, in dsound/tests/*.c

wine-bugs at winehq.org wine-bugs at winehq.org
Sat May 3 23:17:43 CDT 2014


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

            Bug ID: 36275
           Summary: valgrind shows a possible leak in dsound's
                    DirectSoundDevice_Create, in dsound/tests/*.c
           Product: Wine
           Version: 1.7.18
          Hardware: x86
                OS: Linux
            Status: NEW
          Keywords: download, source, testcase
          Severity: normal
          Priority: P2
         Component: directx-dsound
          Assignee: wine-bugs at winehq.org
          Reporter: austinenglish at gmail.com

The system is currently failing this test (ds3d.c:984: Test failed:
DirectSoundCreate() failed: 8889000a), doesn't normally, not sure, why..in any
case, there's a leak:
==9326== 32 bytes in 1 blocks are possibly lost in loss record 390 of 985
==9326==    at 0x7BC4C735: notify_alloc (heap.c:255)
==9326==    by 0x7BC50F79: RtlAllocateHeap (heap.c:1716)
==9326==    by 0x7BC39AE9: RtlInitializeCriticalSectionEx (critsection.c:326)
==9326==    by 0x7B876B51: InitializeCriticalSectionEx (sync.c:356)
==9326==    by 0x7B876AD0: InitializeCriticalSection (sync.c:313)
==9326==    by 0x5F69F72: DirectSoundDevice_Create (dsound.c:649)
==9326==    by 0x5F6A7D3: DirectSoundDevice_Initialize (dsound.c:781)
==9326==    by 0x5F69494: IDirectSound8Impl_Initialize (dsound.c:398)
==9326==    by 0x5F69915: DirectSoundCreate (dsound.c:520)
==9326==    by 0x495C1C7: test_for_driver (ds3d.c:983)
==9326==    by 0x495D5F0: dsenum_callback (ds3d.c:1272)
==9326==    by 0x5F6D693: a_to_w_callback (dsound_main.c:319)
==9326==    by 0x5F6DCBD: send_device (dsound_main.c:442)
==9326==    by 0x5F6E0E6: enumerate_mmdevices (dsound_main.c:517)
==9326==    by 0x5F6E278: DirectSoundEnumerateW (dsound_main.c:561)
==9326==    by 0x5F6D736: DirectSoundEnumerateA (dsound_main.c:349)
==9326==    by 0x495DAB4: ds3d_tests (ds3d.c:1315)
==9326==    by 0x495DBA2: func_ds3d (ds3d.c:1335)
==9326==    by 0x4974540: run_test (test.h:584)
==9326==    by 0x497492F: main (test.h:654)
==9326== 

Also affects the dsound.c, dsound8.c, ... tests

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