http://bugs.winehq.org/show_bug.cgi?id=12349
Summary: DSOUND_MixInBuffer Assertion `dsb->buf_mixpos + len <= dsb->tmp_buffer_len' failed Product: Wine Version: 0.9.57. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-dsound AssignedTo: wine-bugs@winehq.org ReportedBy: hoehle@users.sourceforge.net
Hi,
at least two applications regularly abort because of this assertion failure. "Der Löwe ist los" and "Tiger Team - Geheimnis der goldenen Mumie" (games for children, from different German editors).
A common point is that both are based on Macromedia. During run they create a folder in windows/temp/ containing msvcrt.dll, iml32.dll (containing the string Macromedia Director 7.0.2r85 1999), dirapi.dll and xtras/*.x32. I.e. Macromedia might badly drive dsound. That might be the culprit.
The applications basically start, however at random time, they abort with the message:
err:dsound:DSOUND_MixInBuffer length not a multiple of block size, len = 1579, block size = 2 mixer.c:489: DSOUND_MixInBuffer: Assertion `dsb->buf_mixpos + len <= dsb->tmp_buffer_len' failed.
I've tried WINEDEBUG=dsound which overflows me with endless output. I'll try to extract a sensible snippet and attach it.
I'm using 0.9.57 (compiled locally) with Ubuntu Dapper & Gutsy, ALSA output.
Note that some of the sounds are played very well, others produce (very loud) noise. At some point in time, the application aborts.
A possibly related (revealing?) issue is that I could "turn" a broken sound (producing loud noise and often causing the assertion failure) into its audible form by clicking on another object in the game "Tiger Team". This causes some good speech output, and while speech goes on, click the initial object: the two sounds are mixed correctly.
This item might be related to bug #7693, yet that one only talks about the error log message, not the application aborting because of the assertion failure.
Regards