[Bug 32526] Darksiders crashes on start without native d3dx9_36
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun Dec 23 14:28:59 CST 2012
http://bugs.winehq.org/show_bug.cgi?id=32526
--- Comment #4 from Rico <kgbricola at web.de> 2012-12-23 14:28:59 CST ---
Created attachment 42918
--> http://bugs.winehq.org/attachment.cgi?id=42918
Possible hack to workarround the problem.
The app seems to pass an empty byte code as shader into
D3DXGetShaderConstantTable(). Thus it's not D3DSIO_END and will read through
the whole address space which will more or less crash sooner or later if no
D3DSIO_END is hit by luck.
There are two issues:
- Tests show that D3DXFindShaderComment() (which is used by
D3DXGetShaderConstantTable()) returns 0x88760b59 if it gets an empty byte code.
- D3DXGetShaderConstantTable() returns D3D_OK aclearednd table = NULL
Please try the attached patch (on clean git).
--
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