http://bugs.winehq.org/show_bug.cgi?id=27091
Summary: Demon Stone crashes during open videos Product: Wine Version: 1.3.19 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: critical Priority: P1 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dev@gaminglounge.com
Created an attachment (id=34528) --> (http://bugs.winehq.org/attachment.cgi?id=34528) log file created with "WINEDEBUG=+relay,+seh,+tid"
The game crashes immediately after a loading screen appears. I believe it's when the developer or publisher logo plays (followed by the game's intro video). The videos are bink videos located in the \fmv\ntsc\ folder of the game.
In previous versions of Wine this game worked and I was able to play it through to the end.
http://bugs.winehq.org/show_bug.cgi?id=27091
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |normal
http://bugs.winehq.org/show_bug.cgi?id=27091
--- Comment #1 from Ken Sharp kennybobs@o2.co.uk 2011-05-07 08:19:47 CDT --- This log is no use, provide the backtrace unless asked for something else.
Run a regression test. http://wiki.winehq.org/RegressionTesting
Definitely NOT critical!
http://bugs.winehq.org/show_bug.cgi?id=27091
--- Comment #2 from dk dev@gaminglounge.com 2011-05-07 08:20:31 CDT --- Created an attachment (id=34529) --> (http://bugs.winehq.org/attachment.cgi?id=34529) screenshot of the error message
This is a screenshot of the error message that appears when the game crashes in Wine.
http://bugs.winehq.org/show_bug.cgi?id=27091
--- Comment #3 from dk dev@gaminglounge.com 2011-05-07 08:25:34 CDT --- Created an attachment (id=34530) --> (http://bugs.winehq.org/attachment.cgi?id=34530) screenshot of the game prior to the crash (last thing that worked)
This is a screenshot of the loading screen that appears immediately prior to the crash. It was hard to describe so I though someone would recognize it as it briefly flashes on the screen.
http://bugs.winehq.org/show_bug.cgi?id=27091
--- Comment #4 from dk dev@gaminglounge.com 2011-05-07 08:41:27 CDT --- Ken - I created the log from the instructions on: http://wiki.winehq.org/FAQ (7.19. How do I get a debug trace?)
How can I provide you a backtrace? I didn't see anything in the FAQ on that.
The regression test is a bit above me. The 70MB log I attached wasn't helpful at all?
http://bugs.winehq.org/show_bug.cgi?id=27091
--- Comment #5 from Andrew Nguyen arethusa26@gmail.com 2011-05-07 08:43:41 CDT --- (In reply to comment #4)
Ken - I created the log from the instructions on: http://wiki.winehq.org/FAQ (7.19. How do I get a debug trace?)
How can I provide you a backtrace? I didn't see anything in the FAQ on that.
The regression test is a bit above me. The 70MB log I attached wasn't helpful at all?
No, that's too much output, see http://wiki.winehq.org/FAQ#get_log for information.
http://bugs.winehq.org/show_bug.cgi?id=27091
--- Comment #6 from dk dev@gaminglounge.com 2011-05-07 08:51:55 CDT --- Created an attachment (id=34533) --> (http://bugs.winehq.org/attachment.cgi?id=34533) log file
I think this is the line:
wine: Unhandled page fault on read access to 0x00000000 at address 0x44a179 (thread 0024)
http://bugs.winehq.org/show_bug.cgi?id=27091
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #7 from GyB gyebro69@gmail.com 2011-05-07 23:48:51 CDT --- I can't reproduce the crash on my system: the game loads up and runs fine in Wine-1.3.19. I also have the GoG.com version of the game.
Dk, please specify what video card and driver you are using. Start the game via the main executable (DemonStone.exe) not by the launcher: probably you will get a more meaningful crash log.
Fedora 14 32-bit Nvidia 250 / driver 270.41.06
http://bugs.winehq.org/show_bug.cgi?id=27091
--- Comment #8 from dk dev@gaminglounge.com 2011-05-09 03:55:27 CDT --- Created an attachment (id=34565) --> (http://bugs.winehq.org/attachment.cgi?id=34565) log file when launching the game with DemonStone.exe
This is a log file of the crash when launching the game directly with DemonStone.exe. Normally the game is launched with demonlaunch.exe (which brings up an options window that when closed launches the main game) Unfortunately it looks like both exes produce the same page fault in Wine.
http://bugs.winehq.org/show_bug.cgi?id=27091
dk dev@gaminglounge.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dev@gaminglounge.com
--- Comment #9 from dk dev@gaminglounge.com 2011-05-09 04:10:37 CDT --- GyB
Ubuntu 11.04 64-bit Nvidia Geforce 8400M GS / driver 270.41.06
I tried starting the game with the main executable (DemonStone.exe) instead of the launcher (demonlaunch.exe) but it looks like it's the same page fault issue. (only this time on a different thread)
I just installed this version of Ubuntu a couple of days ago. I had also tried the 32-bit version of 11.04 on this machine as well. Demon Stone crashes on the 32-bit version of Ubuntu 11.04 as well.
The game was working on Ubuntu 10.10 although I forget what Wine version I had installed at the time
Additionally, I followed the directions in the FAQ and downloaded the source for Wine 1.3.0, built it and tried running Wine from the source directory. The game ran with no problems. I thought it was an issue with 1.3.9 but since you have it working on your machine maybe it's an issue with Wine 1.3.9 when installed on Ubuntu (and running this specific game). With the exception of one other game all of the other games I've tried work perfectly with 1.3.9.
http://bugs.winehq.org/show_bug.cgi?id=27091
--- Comment #10 from dk dev@gaminglounge.com 2011-05-09 04:13:08 CDT --- Typo in that last comment - 1.3.9 should be 1.3.19.
http://bugs.winehq.org/show_bug.cgi?id=27091
--- Comment #11 from GyB gyebro69@gmail.com 2011-05-09 09:12:14 CDT --- (In reply to comment #9)
Additionally, I followed the directions in the FAQ and downloaded the source for Wine 1.3.0, built it and tried running Wine from the source directory. The game ran with no problems. I thought it was an issue with 1.3.9 but since you have it working on your machine maybe it's an issue with Wine 1.3.9 when installed on Ubuntu (and running this specific game). With the exception of one other game all of the other games I've tried work perfectly with 1.3.9.
You'd download and compile Wine-1.3.19 on your system as well, to see if the crash exists in that version, too. If the game crashes with a compiled 1.3.19 you should perform the regression test as advised in comment #1. If the game starts fine with a compiled 1.3.19, the problem lies somewhere in the distro-shipped Wine. One more thought: make sure you install and start the game in a clean wineprefix: it should run out-of-the-box.
http://bugs.winehq.org/show_bug.cgi?id=27091
--- Comment #12 from dk dev@gaminglounge.com 2011-05-09 15:12:02 CDT --- Created an attachment (id=34575) --> (http://bugs.winehq.org/attachment.cgi?id=34575) Another log file with some more information
Output from: wine C:\Program\ Files\Demon\ Stone\demonlaunch.exe &> ~/logs/demonstone.txt
0x0044a179: cmpw %bx,0x0(%eax)
http://bugs.winehq.org/show_bug.cgi?id=27091
--- Comment #13 from dk dev@gaminglounge.com 2011-05-09 15:29:39 CDT --- Created an attachment (id=34577) --> (http://bugs.winehq.org/attachment.cgi?id=34577) Log file from compiled 1.3.19
Similar to the last attachment. This log is the result of:
env \ WINEPREFIX=~/.wine-ds \ WINESERVER=~/source/wine-1.3.19/server/wineserver \ WINELOADER=~/source/wine-1.3.19/loader/wine \ WINEDLLPATH=~/source/wine-1.3.19/dlls:~/source/wine-1.3.19/programs \ ~/source/wine-1.3.19/loader/wine \ C:\Program\ Files\Demon\ Stone\demonlaunch.exe \ &> ~/logs/demonstone_1_3_19.txt
http://bugs.winehq.org/show_bug.cgi?id=27091
--- Comment #14 from dk dev@gaminglounge.com 2011-05-09 16:18:02 CDT --- (In reply to comment #11)
You'd download and compile Wine-1.3.19 on your system as well, to see if the crash exists in that version, too. If the game crashes with a compiled 1.3.19 you should perform the regression test as advised in comment #1. If the game starts fine with a compiled 1.3.19, the problem lies somewhere in the distro-shipped Wine. One more thought: make sure you install and start the game in a clean wineprefix: it should run out-of-the-box.
I do use a different prefix for each installed game. I installed the game by right clicking setup_demon_stone.exe and choosing 'Open With Wine Windows Program Loader' from the context menu. This installed the game to the default .wine directory. I then renamed that directory to .wine-ds so nothing else gets accidentally installed to it. I run the game normally using that prefix. This game is run under wine 1.3.19 which was installed through the Ubuntu Software Center. (confirmed 1.3.19 with wine --version)
For the compiled 1.3.0 I used the prefix .wine130-ds and installing setup_demon_stone.exe via the terminal instead of the way I would normally do it.
I was able to get the game to launch and play successfully with the compiled 1.3.0 the other night but now I get this 'Internal errors - invalid parameters received' error (see attached screenshot). I thought I had run 1.3.0 from the build directory with a similar command but I might have goofed and installed it over top of 1.3.19 (from the Ubuntu Software Center). On the chance that's actually what happened - I uninstalled everything wine-related from the Software Center, ran 'make uninstall' in the 1.3.0 source directory, and checked synaptic to make sure there were no traces of wine on my system. I deleted the 1.3.0 source folder. THEN I re-installed 1.3.19 from the Software Center and extracted a new 1.3.0 directory and built it again. That's when I received the 'Internal errors' - I think one of my arguments is wrong - I was especially confused with WINEDLLPATH.
Can you take a look and see if anything stands out?
env \ WINEPREFIX=~/.wine130-ds \ WINESERVER=~/source/wine-1.3.0/server/wineserver \ WINELOADER=~/source/wine-1.3.0/loader/wine \ WINEDLLPATH=~/source/wine-1.3.0/dlls:~/source/wine-1.3.0/programs \ ~/source/wine-1.3.0/loader/wine \ C:\Program\ Files\Demon\ Stone\demonlaunch.exe
I downloaded and compiled 1.3.19. (results in comment 13)
The command I used was similar:
env \ WINEPREFIX=~/.wine-ds \ WINESERVER=~/source/wine-1.3.19/server/wineserver \ WINELOADER=~/source/wine-1.3.19/loader/wine \ WINEDLLPATH=~/source/wine-1.3.19/dlls:~/source/wine-1.3.19/programs \ ~/source/wine-1.3.19/loader/wine \ C:\Program\ Files\Demon\ Stone\demonlaunch.exe
I didn't get the 'Internal errors' message but I thought since the compiled version was also the same version that I had installed maybe (if one of the arguments was wrong) it looked for what it needed in the installed directories. That's my theory at least.
Sorry about all of this. I've been using Wine for a while but this is the first time I've tried to be helpful in troubleshooting bugs.
http://bugs.winehq.org/show_bug.cgi?id=27091
--- Comment #15 from dk dev@gaminglounge.com 2011-05-09 16:21:47 CDT --- Created an attachment (id=34578) --> (http://bugs.winehq.org/attachment.cgi?id=34578) Internal errors message
This is a screenshot of the Internal errors message I received when I tried running 1.3.0 from the build directory. I'm not sure why I have this error but I suspect one of the arguments might be wrong.
http://bugs.winehq.org/show_bug.cgi?id=27091
--- Comment #16 from dk dev@gaminglounge.com 2011-05-10 16:21:07 CDT --- Created an attachment (id=34603) --> (http://bugs.winehq.org/attachment.cgi?id=34603) log file for crash from 1.3.19 compiled and run from build directory
I decided to go for the nuclear option and completely re-installed a fresh copy of Ubuntu 11.04 64-bit. This time I decided not to install Wine from the Ubuntu Software Center; I want to keep the environment as clean as possible so these tests would be accurate and we can find a solution to this issue. I downloaded the 1.3.19 source and compiled it. It's not installed to the system so I'm running it directly from the build directory.
The attached log file is the result of this:
env \ WINEPREFIX=~/.wine-1.3.19-ds \ WINESERVER=~/source/wine-1.3.19/server \ WINELOADER=~/source/wine-1.3.19/loader \ WINEDLLPATH=~/source/wine-1.3.19/dlls:~/source/wine-1.3.19/programs \ ~/source/wine-1.3.19/loader/wine \ C:\Program\ Files\Demon\ Stone\demonlaunch.exe \ &> ~/logs/demonstone-1.3.19-compiled.txt
It looks like the same page fault that I was getting before. Tonight I'll try doing the same thing with 1.3.0 and see if I can get that working again.
I still need someone to verify that my WINEDLLPATH is correct. Wine isn't installed on my system so it needs to know to look into the build directory. I just provided the dlls directory - is it smart enough to be recursive or do I need to list them individually? It's REALLY hard to find working examples of this environmental variable. :(
http://bugs.winehq.org/show_bug.cgi?id=27091
--- Comment #17 from dk dev@gaminglounge.com 2011-05-11 01:59:30 CDT --- Created an attachment (id=34612) --> (http://bugs.winehq.org/attachment.cgi?id=34612) log file for internal errors crash from 1.3.0 compiled and run from build directory
Just built wine 1.3.0 from source for comparison. I get the 'internal errors' crash (see 34578) just as before. When I compiled 1.3.0 previously I believe I may have installed it during the build process. The only difference now is that I'm attempting to run it from the build directory. I just need someone to look over this command to see if I'm doing it right..
The log is the output from:
env \ WINEPREFIX=~/.wine-1.3.0-ds \ WINESERVER=~/source/wine-1.3.0/server \ WINELOADER=~/source/wine-1.3.0/loader \ WINEDLLPATH=~/source/wine-1.3.0/dlls:~/source/wine-1.3.0/programs \ ~/source/wine-1.3.0/loader/wine \ C:\Program\ Files\Demon\ Stone\demonlaunch.exe \ &> ~/logs/demonstone_1_3_0-compiled.txt
Any help would really be appreciated.
http://bugs.winehq.org/show_bug.cgi?id=27091
--- Comment #18 from dk dev@gaminglounge.com 2011-05-18 14:57:46 CDT --- Created an attachment (id=34771) --> (http://bugs.winehq.org/attachment.cgi?id=34771) Log file from installed Wine 1.3.20
I installed the new 1.3.20. The attached log is the output from:
env \ WINEPREFIX=~/.wine-ds \ wine \ C:\Program\ Files\Demon\ Stone\demonlaunch.exe \ &> ~/logs/demonstone_1_3_20.txt
http://bugs.winehq.org/show_bug.cgi?id=27091
dk dev@gaminglounge.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Demon Stone crashes during |Demon Stone crashes just |open videos |before the game's opening | |videos
--- Comment #19 from dk dev@gaminglounge.com 2011-05-18 15:50:14 CDT --- I updated the bug summary to better illustrate *when* the crash occurs and not what might be the cause of the problem.
http://bugs.winehq.org/show_bug.cgi?id=27091
Sylvain Petreolle spetreolle@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #34771|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=27091
--- Comment #20 from dk dev@gaminglounge.com 2011-05-20 02:14:57 CDT --- I downgraded tonight to 10.10 x64 (fresh install).
I was able to replicate the page fault crash on Ubuntu 10.10 x64 using Wine 1.2.2 (installed) and Wine 1.3.20 (run from build directory).
@perryh suggested that I change into the installed directory and run the commands from there - this suggestion worked for both versions of Wine.
Demon Stone appears to need to be started from it's installed directory. If just given a prefix and an executable location Wine crashes with the page fault. I've tested this with an installed version and one run from the build directory.
Since I run other games via similar commands without page fault crashes it's possible that this is an issue with the game?
It would be good if another user can try running the game with a command similar to this (if installed):
env \ WINEPREFIX=~/.wine-ds \ wine \ C:\Program\ Files\Demon\ Stone\demonlaunch.exe
or this (if run from a build directory):
env \ WINEPREFIX=~/.wine-ds \ WINESERVER=~/source/wine-1.3.20/server/wineserver \ WINELOADER=~/source/wine-1.3.20/loader/wine \ WINEDLLPATH=~/source/wine-1.3.20/dlls:~/source/wine-1.3.20/programs \ ~/source/wine-1.3.20/loader/wine \ C:\Program\ Files\Demon\ Stone\demonlaunch.exe
to see if they can replicate the page fault crash.
By appending:
cd ~/.wine-ds/drive_c/Program\ Files/Demon\ Stone \ && \
to each of those commands the game worked and I was able to play to the end of the first level with both versions.
I added some new tests to the version page with information in case anyone encountered the same error.
I'm not sure what to do about this bug's status now. If someone else confirms the page fault when run with only a prefix and executable location and (assuming that is a valid way to run a game under Wine) then is this a bug with Wine worth investigating? Maybe it's just a requirement of this game in particular?
http://bugs.winehq.org/show_bug.cgi?id=27091
dk dev@gaminglounge.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Demon Stone crashes just |Demon Stone crashes with a |before the game's opening |page fault when Wine is |videos |given only a prefix and the | |game's executable path
http://bugs.winehq.org/show_bug.cgi?id=27091
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #21 from Jeff Zaroyko jeffz@jeffz.name 2011-05-20 03:16:00 CDT --- Many applications when installed have their shortcut properties set to make the working directory where the location of the installed files are, which is why they don't crash on Windows.
When you run an application outside of it's installation directory it may assume the above and then crash due to lack of error handling.
Sounds invalid to me. If you wanted to, you could test the theory on windows by starting the game using cmd, from c:\ for example.
http://bugs.winehq.org/show_bug.cgi?id=27091
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #22 from Jeff Zaroyko jeffz@jeffz.name 2011-05-21 17:56:25 CDT --- Closing invalid.