[Bug 27393] mmdevapi uninitialiased memory access and crash past rendering

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jul 28 02:49:38 CDT 2011


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |major

--- Comment #6 from Jörg Höhle <hoehle at users.sourceforge.net> 2011-07-28 02:49:36 CDT ---
Unfortunately, it's currently very hard for me to validate anything, because
the tandem mmdevapi + winmm is in still in too bad shape.

Using Ubuntu Intrepid with dmix (Pulseaudio killed)
render.ok passes even with WINEDEBUG=warn+heap
winmm:tests pass without warn+heap
With warn+heap, capture crashes, wave deadlocks in heap.c, mci crashes towards
the end.  There's no backtrace when crashing.  IIRC there are several errors
about WAVERRR_STILLPLAYING.

The interactive wave test (runtest -i) plays the sines correctly without
warn+heap.  That's a good start.
The tests produce several errors from winmm_waveopen: Activate failed (8000XXXX
= E_FAIL).  What can explain those?

With Pulseaudio in Intrepid, I get so many crashes that it's unusable, even
without warn+heap.
IIRC, the interactive wave test without warn+heap generates a short sine tone,
not 5 seconds.  The tests produce lots of WAVERR_STILLPLAYING.

Same in Ubuntu Lucid, where I can't disable Pulseaudio: I get so many hangs and
crashes that I can't reasonably run the tests, therefore I can't use Valgrind
either. (IIRC, Valgrind does not work with Wine in Intrepid, that's why I
switch to Lucid). So I switched back to Intrepid.

One repeatable way to produce "Activate failed" with the MCI in Intrepid is
open 11kulaw.wav alias u
open 11kadpcm.wav alias a
play a from 1000 to 2000
play u from 1000 to 2000
play u from 1000 to 2000

BTW, when I perform mmdevapi:render tests it always includes the "play silence"
from my attachment #35024.

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