http://bugs.winehq.org/show_bug.cgi?id=24913
Summary: children of the nile demo crashes with a builtin d3dx9_36 Product: Wine Version: 1.3.2 Platform: x86 URL: http://www.immortalcities.com/cotn/files/CotnDemo.exe OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3dx9 AssignedTo: wine-bugs@winehq.org ReportedBy: jeremielapuree@yahoo.fr CC: wine-bugs@winehq.org
Created an attachment (id=31547) --> (http://bugs.winehq.org/attachment.cgi?id=31547) console output
With a native d3dx9_36 dll, demo works pretty fine. With a builtin one, it crashes.
I think the problem is in that line: line 80 of d3dx9_36/surface.c hr = IWICImagingFactory_CreateDecoderFromStream(factory, (IStream*)stream, NULL, 0, &decoder);
hr is not D3D_OK, so we go to line 166 and returns D3DXERR_INVALIDDATA.
It looks like that is not expected by the demo
http://bugs.winehq.org/show_bug.cgi?id=24913
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=24913
--- Comment #1 from joaopa jeremielapuree@yahoo.fr 2010-11-10 12:24:49 CST --- Bug is still there in current git: wine-1.3.6-379-g1309731
http://bugs.winehq.org/show_bug.cgi?id=24913
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|children of the nile demo |children of the nile demo |crashes with a builtin |crashes because of TGA |d3dx9_36 |picture format
--- Comment #2 from joaopa jeremielapuree@yahoo.fr 2010-11-12 20:44:23 CST --- The crash occurs when trying to read a TGA picture.
http://bugs.winehq.org/show_bug.cgi?id=24913
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3dx9 |windowscodecs
--- Comment #3 from Vincent Povirk madewokherd@gmail.com 2011-01-11 10:21:23 CST --- I'm hoping this was fixed today by commit f4ef7ff48ae9b5decaddd5f2be9856466bfe01af. Could you retest?
http://bugs.winehq.org/show_bug.cgi?id=24913
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #4 from joaopa jeremielapuree@yahoo.fr 2011-01-11 14:07:30 CST --- Indeed, the patch helped. Unfortunately the demo needs DDS support :(
Anyway, let's mark this bug as FIXED.
http://bugs.winehq.org/show_bug.cgi?id=24913
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2011-01-21 13:43:22 CST --- Closing bugs fixed in 1.3.12.