[Bug 41091] 1nsane (GOG.com) crashes after launch

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Aug 7 05:52:43 CDT 2016


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

--- Comment #1 from Józef Kucia <joseph.kucia at gmail.com> ---
(In reply to Béla Gyebrószki from comment #0)
> From what I see the crash didn't occur before
> 
> commit 403459fd914788f180ad9eea6459274ac62f8c2f
> Author: Józef Kucia <jkucia at codeweavers.com>
> Date:   Tue Mar 29 12:14:53 2016 +0200
> 
>     wined3d: Add hull shader type.

Are you sure this is a correct commit id? FWIW, the game seems to work for me
after this commit but it doesn't work in the current master.

I'm afraid there's nothing to fix in wined3d. The game releases IDirectDraw
object and then releases IDirectDrawSurface. AFAIK this is illegal and crashes
on Windows as well. In Wine this leads to accessing freed device memory. You
can confirm this by running the game with WINEDEBUG=warn+heap (it should always
crash, even with good commits).

It's possible that the game won't try to release IDirectDrawSurface after
releasing IDirectDraw when it's able to play videos. If this is the case, then
this bug could be fixed by implementing missing bits in quartz and/or amstream.

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