WineHQ
Bug Tracking Database – Bug 35261

 Bugzilla

 

Last modified: 2014-12-31 12:19:55 UTC  

Ys 1 crashes on startup

Bug 35261 - Ys 1 crashes on startup
Ys 1 crashes on startup
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: d3d
1.7.9
x86 Linux
: P2 normal
: ---
Assigned To: Mr. Bugs
: regression
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2013-12-28 15:49 UTC by Patrick Hibbs
Modified: 2014-12-31 12:19 UTC (History)
1 user (show)

See Also:
Regression SHA1: 74e3f516bc331205474835811d3984b9c53b0f35
Fixed by SHA1: f7ee96c311dd8127141f268f18f9492b218dd75c
Distribution: ---
Staged patchset:


Attachments
Console log showing the segfault (541 bytes, text/plain)
2013-12-28 15:49 UTC, Patrick Hibbs
Details
A console log with seh,tid, and ddraw. (581.32 KB, text/plain)
2014-01-03 09:50 UTC, Patrick Hibbs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Hibbs 2013-12-28 15:49:30 UTC
Created attachment 47028 [details]
Console log showing the segfault

Attempting to start Ys 1 causes a segfault right after the game changes the video resolution / tries to create a window, as seen in the log.

I ran a regression test and this was the result:

74e3f516bc331205474835811d3984b9c53b0f35 is the first bad commit
commit 74e3f516bc331205474835811d3984b9c53b0f35
Author: Henri Verbeet <hverbeet@codeweavers.com>
Date:   Wed Dec 4 09:49:34 2013 +0100

    ddraw: Attach the first surface in the swap chain to the last one.

:040000 040000 e6ce297a739548026a6e2d339dd92a91a524bb10 3e9daf86c77a96b4836d88982786f64a1faa7d88 M  dlls
Comment 1 Ken Sharp 2013-12-30 11:22:36 UTC
Is this the game?
http://appdb.winehq.org/objectManager.php?sClass=application&iId=12107
Comment 2 Patrick Hibbs 2013-12-30 12:00:05 UTC
Yes, that is the game.
Comment 3 Henri Verbeet 2014-01-03 05:09:28 UTC
Does this have a demo? If not, could you please attach a +seh,+tid,+ddraw log, and get a backtrace with winedbg?
Comment 4 Henri Verbeet 2014-01-03 05:11:04 UTC
With current git or 1.7.10, please.
Comment 5 Patrick Hibbs 2014-01-03 09:50:03 UTC
Created attachment 47090 [details]
A console log with seh,tid, and ddraw.

Unfortunely there isn't a demo of this game. (There is a steam version, but it uses a different engine.)

Here is the console log with WINEDEBUG=+seh,+tid,+ddraw enabled.

I've been looking at the wine debug page on the wiki, but I can't get winedbg to connect to it. It seems that Ys is crashing before winedbg will catch it. 

Running winedbg on the exe directly makes a "Connection reset by peer" message, and this:

gdbproxy.c:2494: gdb_init_context: Assertion `gdbctx->process == ((void *)0) && de.dwProcessId == dbg_curr_pid' failed.

Attempting to run winedbg with the --gdb --no-start arguments and then attaching gdb outputs a no such process error.
Comment 6 Patrick Hibbs 2014-01-03 09:52:21 UTC
Forgot to mention that was tested on the git revision: f76f34ca23990f02ba20e5957609ee0c2335b124
Comment 7 Henri Verbeet 2014-01-03 10:16:50 UTC
(In reply to comment #5)
> Created attachment 47090 [details]
> A console log with seh,tid, and ddraw.
> 
Thanks, I think I see what the issue is.
Comment 8 Henri Verbeet 2014-01-09 13:17:13 UTC
I think the issue from the log should be fixed by commit f7ee96c311dd8127141f268f18f9492b218dd75c. Does the game work now?
Comment 9 Patrick Hibbs 2014-01-09 17:43:59 UTC
Yes, that fixes the problem. Thanks!
Comment 10 Alexandre Julliard 2014-01-17 13:58:12 UTC
Closing bugs fixed in 1.7.11.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to [email protected]

Hosted By CodeWeavers