[Bug 45473] Rogue Squadron 3D crashes on startup

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jul 17 18:19:19 CDT 2018


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

Alistair Leslie-Hughes <leslie_alistair at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch

--- Comment #1 from Alistair Leslie-Hughes <leslie_alistair at hotmail.com> ---
The attached patch stop the buffer from being destroyed in the
IDirectSoundNotify, which doesn't make sense.  However this patches keeps a
extra numIfaces incremented so what warnings do appear in the log file but
secondarybuffer_destroy is called once the primary buffer is deleted.

The basic code

Create IDirectSoundBuffer
IDirectSoundBuffer->QI (IDirectSoundNotify )

Set SetNotificationPositions

... Play something.

On final Notification Release IDirectSoundNotify.
At which point the secondary buffer is destroyed and which crashes the mixer
thread.

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