[Bug 12349] New: DSOUND_MixInBuffer Assertion `dsb->buf_mixpos + len <= dsb->tmp_buffer_len' failed

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Apr 3 12:03:02 CDT 2008


           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 at winehq.org
        ReportedBy: hoehle at users.sourceforge.net


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

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


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