[Bug 20046] MacOSX race condition during 3D/GL initialisation

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jan 18 09:53:28 CST 2010


--- Comment #5 from Jörg Höhle <hoehle at users.sourceforge.net>  2010-01-18 09:53:27 ---
Created an attachment (id=25788)
 --> (http://bugs.winehq.org/attachment.cgi?id=25788)
short backtrace from Ankh

I found a work around the error:
xp_destroy_surface: assertion failed: s != ((void *)0)
xp_destroy_surface error: 3
Depending on the app (make test, Ankh1, Ankh2, probably zweistein and WC 2006
as well), the failure is either fatal or not (e.g. Ankh1 crashes reproducibly
in wine-1.1.36).  If not, it is typically followed by partial rendering to the
upper left of Wine's desktop window, as if if had not been resized.

This error occurs if and only if Wine's desktop size is smaller than what the
app wants to set.  Make it as large or larger and the error is gone.
What works similarly well is to start using
wine explorer /desktop=Ankh,1280x1024 Ankh.exe
even when Wine's default desktop is smaller, e.g. 800x600.
Ankh then manages to use all its in-game defined resolutions: 640x480, 800x600,
1024x768 or 1280x1024 and resizes the desktop window accordingly.

The (fatal) assertion failure was very reproducible in Ankh yesterday with
wine-1.1.36. Unfortunately, I don't know enough to debug D3D or the X server.

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