http://bugs.winehq.org/show_bug.cgi?id=30834
Bug #: 30834 Summary: page fault in ddraw regression Product: Wine Version: unspecified Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: cmtptr@gmail.com Classification: Unclassified
Created attachment 40382 --> http://bugs.winehq.org/attachment.cgi?id=40382 stdout, stack trace
When playing X-Wing vs. Tie Fighter, a crash is produced when entering the simulator for the second time per instance of the game. For example, I can start the game and enter any mission with no problem, but once the mission terminates a stack trace (attached) is produced on entering a new mission.
git-bisect produced the following commit as the first occurance of the bug:
cf30899f1afa304860e44b6e5f960464ffd6667f is the first bad commit commit cf30899f1afa304860e44b6e5f960464ffd6667f Author: Henri Verbeet hverbeet@codeweavers.com Date: Thu Apr 5 19:55:35 2012 +0200
ddraw: Version 1 devices are aggregated by the surface that created them.
:040000 040000 38d152096033cf81ea93b8797c86228ea2e86bca 668416150421a84d2eb5575e36e3f402887d1e2c M dlls
http://bugs.winehq.org/show_bug.cgi?id=30834
--- Comment #1 from Corey cmtptr@gmail.com 2012-06-03 12:00:03 CDT --- Created attachment 40383 --> http://bugs.winehq.org/attachment.cgi?id=40383 stderr, wine log
http://bugs.winehq.org/show_bug.cgi?id=30834
Corey cmtptr@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hverbeet@gmail.com Regression SHA1| |cf30899f1afa304860e44b6e5f9 | |60464ffd6667f
http://bugs.winehq.org/show_bug.cgi?id=30834
Corey cmtptr@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=30834
--- Comment #2 from Henri Verbeet hverbeet@gmail.com 2012-06-11 07:23:18 CDT --- That backtrace seems to be missing some information. Does this game have a demo with the same issue? If not, please attach a +ddraw,+d3d,+seh,+tid log.
http://bugs.winehq.org/show_bug.cgi?id=30834
Corey cmtptr@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #40382|0 |1 is obsolete| |
--- Comment #3 from Corey cmtptr@gmail.com 2012-06-11 18:48:21 CDT --- Created attachment 40508 --> http://bugs.winehq.org/attachment.cgi?id=40508 stdout, stack trace
Whoops, sorry about that. I'm attaching new stdout with debug symbols compiled in. Hopefully this time I captured something actually useful to you!
I noticed the top of this stack (ddraw_allocate_handle()) is identical to that in bug 30825. I believe X-wing 95 uses a modified engine of X-Wing vs. TIE Fighter, so this may be a duplicate of that one.
I found an X-Wing vs. TIE Fighter demo here:
ftp://ftp.lucasarts.com/demos/pc/xvtdemo.exe
However, I was unable to reproduce this crash with it because the demo was completely unplayable for me (some error about not being able to create a direct input device). I'm not sure whether you would have more luck.
http://bugs.winehq.org/show_bug.cgi?id=30834
Corey cmtptr@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #40383|0 |1 is obsolete| |
--- Comment #4 from Corey cmtptr@gmail.com 2012-06-11 18:51:30 CDT --- Created attachment 40509 --> http://bugs.winehq.org/attachment.cgi?id=40509 stderr, wine log
And here is a new stderr with the WINEDEBUG channels you requested. It's greater than the allowed filesize limit, so I'm attaching it lzma-compressed.
http://bugs.winehq.org/show_bug.cgi?id=30834
Corey cmtptr@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #40509|0 |1 is obsolete| |
--- Comment #5 from Corey cmtptr@gmail.com 2012-06-11 18:57:47 CDT --- Created attachment 40510 --> http://bugs.winehq.org/attachment.cgi?id=40510 stderr, wine log
Lets try this one more time... is it obvious I don't use bugzilla often?
http://bugs.winehq.org/show_bug.cgi?id=30834
Corey cmtptr@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cmtptr@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=30834
--- Comment #6 from Henri Verbeet hverbeet@gmail.com 2012-06-12 07:06:37 CDT --- Created attachment 40513 --> http://bugs.winehq.org/attachment.cgi?id=40513 patch
Does this patch make it any better?
http://bugs.winehq.org/show_bug.cgi?id=30834
--- Comment #7 from Corey cmtptr@gmail.com 2012-06-12 17:44:00 CDT --- Yes, with that patch applied I can't reproduce it.
http://bugs.winehq.org/show_bug.cgi?id=30834
--- Comment #8 from Henri Verbeet hverbeet@gmail.com 2012-06-14 08:12:28 CDT --- Should be fixed by c722f2d31ec61fe372e466957605b222ee6f9a7d.
http://bugs.winehq.org/show_bug.cgi?id=30834
--- Comment #9 from Corey cmtptr@gmail.com 2012-06-16 06:36:25 CDT --- Indeed it is. Crash no longer occurs using the latest git. Thanks for your help.
http://bugs.winehq.org/show_bug.cgi?id=30834
Corey cmtptr@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #10 from Corey cmtptr@gmail.com 2012-06-16 06:40:51 CDT --- Marking as resolved...
http://bugs.winehq.org/show_bug.cgi?id=30834
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |c722f2d31ec61fe372e46695760 | |5b222ee6f9a7d
http://bugs.winehq.org/show_bug.cgi?id=30834
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org 2012-06-22 13:31:22 CDT --- Closing bugs fixed in 1.5.7.