http://bugs.winehq.org/show_bug.cgi?id=17910
Summary: Black & White: Crashes in texture code at start Product: Wine Version: 1.1.13 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: shacklein@gmail.com
Created an attachment (id=20227) --> (http://bugs.winehq.org/attachment.cgi?id=20227) Backtrace from wine-1.1.12-112-gfd33f0f
Sorry about the vague description, but I couldn't think of anything better :)
Black & White crashes very shortly after starting with the following backtrace on all releases of Wine from 1.1.13 to 1.1.18: http://bugs.winehq.org/attachment.cgi?id=20214
Backtrace was previously submitted on Bug 14939. Note that the backtrace from wine-1.1.12-112-gfd33f0f has crashed in a different function.
Regression test results in: fd33f0f97fe68123e608218822877bf6004631db is first bad commit commit fd33f0f97fe68123e608218822877bf6004631db Author: Henri Verbeet hverbeet@codeweavers.com Date: Mon Jan 5 10:10:16 2009 +0100
wined3d: Convert samplerState to a bitmap in struct SAVEDSTATES.
:040000 040000 81bbb93f3f5a3fe812f6dcadfbe27885814269ca bec880d80e408cb6b26c0e84f4f2459e3d55b938 M dlls
This is interesting in context of the previous commits: commit c33b38117e3c8376bd47b93c26beeaa2bae46ca4 wined3d: Convert renderState to a bitmap in struct SAVEDSTATES.
commit fc39831e4cc46615b71ad81d74183bfae96b1f31 wined3d: Convert transform to a bitmap in struct SAVEDSTATES.
But I have confirmed that the regression test is correct, as Black & White does not crash on start in wine-1.1.12-111-gc33b381.
http://bugs.winehq.org/show_bug.cgi?id=17910
Ben Klein shacklein@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #20227|0 |1 is obsolete| |
--- Comment #1 from Ben Klein shacklein@gmail.com 2009-03-31 09:54:15 --- Created an attachment (id=20228) --> (http://bugs.winehq.org/attachment.cgi?id=20228) Correct backtrace from wine-1.1.12-112-gfd33f0f
Oops, submitted the wrong backtrace for wine-1.1.12-112-gfd33f0f
http://bugs.winehq.org/show_bug.cgi?id=17910
Ben Klein shacklein@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #20227|Backtrace from wine-1.1.12- |Backtrace from wine-1.1.18 description|112-gfd33f0f | Attachment #20227|1 |0 is obsolete| |
http://bugs.winehq.org/show_bug.cgi?id=17910
John Haywards normandy@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |normandy@web.de
--- Comment #2 from John Haywards normandy@web.de 2009-03-31 10:07:37 --- Confirming this. Same here. Crashes right after startup.
http://bugs.winehq.org/show_bug.cgi?id=17910
--- Comment #3 from H. Verbeet hverbeet@gmail.com 2009-03-31 10:13:58 --- This doesn't have a demo, right? Could you add a log with WINEDEBUG="+ddraw,+d3d,warn+heap"?
http://bugs.winehq.org/show_bug.cgi?id=17910
--- Comment #4 from Ben Klein shacklein@gmail.com 2009-03-31 10:21:21 --- Created an attachment (id=20229) --> (http://bugs.winehq.org/attachment.cgi?id=20229) WINEDEBUG=+ddraw,+d3d,warn+heap from wine-1.1.12-112-gfd33f0f
http://bugs.winehq.org/show_bug.cgi?id=17910
--- Comment #5 from Ben Klein shacklein@gmail.com 2009-03-31 10:25:03 --- Created an attachment (id=20230) --> (http://bugs.winehq.org/attachment.cgi?id=20230) WINEDEBUG=+ddraw,+d3d,warn+heap from wine-1.1.18
This is a lot smaller than I was expecting. Should I do a regression test to find the first occurrence of the GetSamplerState crash?
http://bugs.winehq.org/show_bug.cgi?id=17910
--- Comment #6 from H. Verbeet hverbeet@gmail.com 2009-03-31 10:44:19 --- Created an attachment (id=20234) --> (http://bugs.winehq.org/attachment.cgi?id=20234) patch
Could you give this a try in wine-1.1.18?
http://bugs.winehq.org/show_bug.cgi?id=17910
--- Comment #7 from Ben Klein shacklein@gmail.com 2009-03-31 11:16:26 --- (In reply to comment #6)
Created an attachment (id=20234)
--> (http://bugs.winehq.org/attachment.cgi?id=20234) [details]
patch
Could you give this a try in wine-1.1.18?
The patch fixes the crash. Thanks for looking in to this so quickly :)
http://bugs.winehq.org/show_bug.cgi?id=17910
--- Comment #8 from H. Verbeet hverbeet@gmail.com 2009-03-31 11:29:01 --- (In reply to comment #7)
The patch fixes the crash. Thanks for looking in to this so quickly :)
Does that mean the game starts properly now, or does it behave the same as in wine-1.1.12-112-gfd33f0f?
http://bugs.winehq.org/show_bug.cgi?id=17910
--- Comment #9 from Ben Klein shacklein@gmail.com 2009-03-31 11:32:35 --- (In reply to comment #8)
(In reply to comment #7)
The patch fixes the crash. Thanks for looking in to this so quickly :)
Does that mean the game starts properly now, or does it behave the same as in wine-1.1.12-112-gfd33f0f?
Crash is gone completely. Behaving like wine-1.1.12 release :)
Still missing the DXTC-to-ARGB textures as per bug 14939, of course :D
http://bugs.winehq.org/show_bug.cgi?id=17910
Ben Klein shacklein@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #10 from Ben Klein shacklein@gmail.com 2009-04-12 09:20:13 --- Fixed in 1.1.19. Marking as fixed. Thanks Henri :)
http://bugs.winehq.org/show_bug.cgi?id=17910
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org 2009-04-24 12:21:28 --- Closing bugs fixed in 1.1.20.