[Bug 26050] winmm/mci tests show quite a few valgrind warnings

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Feb 23 09:20:42 CST 2011


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

Jörg Höhle <hoehle at users.sourceforge.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hoehle at users.sourceforge.ne
                   |                            |t

--- Comment #1 from Jörg Höhle <hoehle at users.sourceforge.net> 2011-02-23 09:20:41 CST ---
commit fd8576bfdbaa6de55ba5bb5833f7f92173035a62
fixes the WideCharToMultiByte issue.


Confirming the other issue,
    devType = str_dup_upper(devType);
is not freed in error paths.


I'm surprised that you did not mention the following excerpt of your log. IIRC
I mentioned somewhere last year that MMIO looses its 8KB buffer every time
mmioOpen fails, such as in
    open no-such-file-exists.wav

 8,192 bytes in 1 blocks are definitely lost 
    at  notify_alloc (heap.c:254)
    by  RtlAllocateHeap (heap.c:1701)
    by  MMIO_SetBuffer (mmio.c:562)
    by  MMIO_Open (mmio.c:650)
    by  mmioOpenW (mmio.c:705)
    by  wodWrite (wavemap.c:338)
    by  wodPrepare (wavemap.c:386)
    by  ??? (in /home/austin/wine-git/dlls/msacm32.drv/msacm32.drv.so)
    by  DRIVER_SendMessage (driver.c:136)
    by  SendDriverMessage (driver.c:156)
    by  MCI_SendCommandFrom32 (mci.c:892)
    by  MCI_FinishOpen (mci.c:927)
    by  mciSendStringW (mci.c:1540)
    by  mciSendStringA (mci.c:1590)
    by  test_openCloseWAVE (mci.c:517)

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