http://bugs.winehq.org/show_bug.cgi?id=23281
Summary: Silent Hunter 4: Game freezes on ship collisions Product: Wine Version: 1.2-rc4 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: amlopezalonso@gmail.com
Created an attachment (id=29019) --> (http://bugs.winehq.org/attachment.cgi?id=29019) WINEDEBUG=+loaddll,+process (Notice exception at the end of the file)
Ships collisions in Silent Hunter 4 - Wolves Of The Pacific (upgraded to 1.4) freeze game.
CPU: AMD Athlon 3200+ Graphics: NVIDIA GeForce 8500-GT
Any suggestion to debug this further?
http://bugs.winehq.org/show_bug.cgi?id=23281
--- Comment #1 from Antonio López amlopezalonso@gmail.com 2010-06-21 14:32:00 --- Created an attachment (id=29059) --> (http://bugs.winehq.org/attachment.cgi?id=29059) WINEDEBUG=+relay,+seh,+tid,+log
Neither using native d3d9 dlls nor disabling sound fixes the problem. Attaching new log.
http://bugs.winehq.org/show_bug.cgi?id=23281
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #2 from joaopa jeremielapuree@yahoo.fr 2010-06-21 14:39:16 --- Attach a console output with wine debug symbols and no winedebug channel.
http://bugs.winehq.org/show_bug.cgi?id=23281
--- Comment #3 from Antonio López amlopezalonso@gmail.com 2010-06-21 16:59:10 --- How can I add these debug symbols? I'm using git version...
http://bugs.winehq.org/show_bug.cgi?id=23281
--- Comment #4 from joaopa jeremielapuree@yahoo.fr 2010-06-21 18:58:57 --- nothing to do if you use git ;)
http://bugs.winehq.org/show_bug.cgi?id=23281
--- Comment #5 from Antonio López amlopezalonso@gmail.com 2010-06-22 14:29:31 --- Joaopa,
I downloaded and compiled Wine source code just to get those debugging symbols working but they don't! What else should I do?
http://bugs.winehq.org/show_bug.cgi?id=23281
--- Comment #6 from joaopa jeremielapuree@yahoo.fr 2010-06-23 06:37:53 --- When compiling with ./configure --verbose, is everything OK?
If yes, debug symbols are installed.
Anyway, just attach a console output without any specified WINEDEBUG channels.
http://bugs.winehq.org/show_bug.cgi?id=23281
--- Comment #7 from Antonio López amlopezalonso@gmail.com 2010-06-23 11:20:21 --- Created an attachment (id=29082) --> (http://bugs.winehq.org/attachment.cgi?id=29082) Console output with WINEDEBUG unset
OK, it seems configure --verbose shows no relevant errors so there we go:
Attaching console output without WINEDEBUG.
http://bugs.winehq.org/show_bug.cgi?id=23281
Xavier Vachon xvachon@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xvachon@gmail.com
--- Comment #8 from Xavier Vachon xvachon@gmail.com 2010-12-30 13:23:21 CST --- Can you check that out again in git? (1.3.10)
http://bugs.winehq.org/show_bug.cgi?id=23281
--- Comment #9 from Antonio López amlopezalonso@gmail.com 2010-12-31 03:36:14 CST --- Yes, still in current git.
http://bugs.winehq.org/show_bug.cgi?id=23281
--- Comment #10 from joaopa jeremielapuree@yahoo.fr 2011-07-09 09:15:33 CDT --- still a bug in current wine?
http://bugs.winehq.org/show_bug.cgi?id=23281
--- Comment #11 from Antonio López amlopezalonso@gmail.com 2011-07-09 14:59:07 CDT --- Yes, it is still there.
http://bugs.winehq.org/show_bug.cgi?id=23281
--- Comment #12 from Antonio López amlopezalonso@gmail.com 2012-07-04 10:58:54 CDT --- Created attachment 40855 --> http://bugs.winehq.org/attachment.cgi?id=40855 SH4 backtrace
Still in 1.5.8. Backtrace attached.
http://bugs.winehq.org/show_bug.cgi?id=23281
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #13 from Béla Gyebrószki gyebro69@gmail.com --- Still an issue in 1.7.22 or newer?
http://bugs.winehq.org/show_bug.cgi?id=23281
--- Comment #14 from Antonio López amlopezalonso@gmail.com --- Created attachment 49061 --> http://bugs.winehq.org/attachment.cgi?id=49061 Updated backtrace
Still present in 1.7.21. Attaching updated backtrace.
http://bugs.winehq.org/show_bug.cgi?id=23281
--- Comment #15 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Antonio López from comment #14)
Created attachment 49061 [details] Updated backtrace
Still present in 1.7.21. Attaching updated backtrace.
Threads: process tid prio (all id:s are in hex) 00000008 (D) H:\Archivos de programa\SH4\sh4.exe 00000026 0 00000025 15 00000024 0 00000023 0 00000022 0 00000009 0 <==
What partition are you running the game from? Could you try installing the game in a clean prefix? I can't reproduce the problem with the Steam version of SH4. I rammed my sub into several ships but the game didn't crash. I have only native d3dx9_36 installed for this game.
Wine 1.7.23 Fedora 20 Nvidia binary drivers 340.24
http://bugs.winehq.org/show_bug.cgi?id=23281
--- Comment #16 from Antonio López amlopezalonso@gmail.com --- I use a normal (native) Linux partition and no native dlls. I test this issue from a saved game where two ships (not my sub which never gives me trouble) collide during Midway quick game.
I'll try an afresh installation but having two ships to collide is quite hard to achieve and observe.
Regards, Antonio
http://bugs.winehq.org/show_bug.cgi?id=23281
--- Comment #17 from Béla Gyebrószki gyebro69@gmail.com --- Created attachment 49120 --> http://bugs.winehq.org/attachment.cgi?id=49120 partial +relay,+seh,+tid log (uncompressed 65 MB)
I test this issue from a saved game where two ships (not my sub which never >gives me trouble) collide during Midway quick game.
Now it's clear to me. Indeed, the game crashes at a certain point in the 'Battle of Midway' mission. There are scripted events happen at this point in the game, the player doesn't have to interact with the game. I have a saved game which gets you directly to the point where the game crashes. Disabling audio, reducing graphical details don't help. The attached +relay debug log contains the last 1 million lines.
https://bugs.winehq.org/show_bug.cgi?id=23281
hanska2@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hanska2@luukku.com
--- Comment #18 from hanska2@luukku.com --- Could you attach the save game here?
https://bugs.winehq.org/show_bug.cgi?id=23281
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #19 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to hanska2 from comment #18)
Could you attach the save game here?
I could, but not sure if my saved game is compatible with other versions of the game as I have the Steam version. One can easily reproduce the crash if he/she has the game, just launch Battle of Midway quick mission, turn on time acceleration and wait until the internal timer shows 07:57 am. This is the point where the game crashes. You don't have to interact with the game to reproduce the crash.
https://bugs.winehq.org/show_bug.cgi?id=23281
--- Comment #20 from Béla Gyebrószki gyebro69@gmail.com --- Still present in wine-1.7.48-100-ge3c6777. This time I tried the game with nouveau/mesa on a 64-bit kernel. I noticed in task manager that the game consumes 2.9 GB virtual memory (VSZ) + 570 MB RSS after loading to the menu. When starting the Midway mission, VSZ begins to increase rapidly and it peaks at 3.6 GB when the game crashes (RSS jumps up to 970 MB). Next, I made the game executable Large Address Aware using the generic patcher from http://www.ntcore.com/4gb_patch.php. That indeed made a difference: the game consumed only 1.8 GB VSZ when loading to the menu and it stayed roughly the same after loading the Midway mission (only RSS increased to ~970 MB). The patch made the game stable under Wine, it didn't crash in the Midway mission.
I can't test the game under Windows, but found several forum posts on Subsim.com related to Silent Hunter4, many of them mention crashes in the game and using the LAA patch seems to fix that. http://www.subsim.com/radioroom/showthread.php?p=2009762
https://bugs.winehq.org/show_bug.cgi?id=23281
--- Comment #21 from Béla Gyebrószki gyebro69@gmail.com --- Still present in Wine 1.9.23.
The game runs stable when the executable is made LAA (Large Address Aware). Could be a bug in the game, but I can't test it on Windows.
Fedora 24 Linux kernel 4.8.6 (x86_64)
https://bugs.winehq.org/show_bug.cgi?id=23281
Steve steve_robbins@cfl.rr.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |steve_robbins@cfl.rr.com
--- Comment #22 from Steve steve_robbins@cfl.rr.com --- I would caution that any Silent Hunter 4 crashes should be tested in Windows to verify that the problem is not Silent Hunter 4 itself instead of WINE. I notice that this bug is specifically about v1.4 of SH4. The latest version, which just about everyone plays, and which all modders are writing mods for is 1.5. If you load a 1.5 mod into v1.4 all bets are off as far as stability of the game, with or without WINE.
https://bugs.winehq.org/show_bug.cgi?id=23281
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #23 from winetest@luukku.com --- (In reply to Béla Gyebrószki from comment #21)
Still present in Wine 1.9.23.
The game runs stable when the executable is made LAA (Large Address Aware). Could be a bug in the game, but I can't test it on Windows.
Fedora 24 Linux kernel 4.8.6 (x86_64)
See bug 33858 that leads into bug 34658 which has an experimental patch for wine enabling the feature without touching into exe.
https://bugs.winehq.org/show_bug.cgi?id=23281
--- Comment #24 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with latest wine(4.0-rc6)?
https://bugs.winehq.org/show_bug.cgi?id=23281
willo for.ad@free.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |for.ad@free.fr
--- Comment #25 from willo for.ad@free.fr --- Tested ships collisions:
- with Nvidia driver 460.84 - under Wine 6.10 - with DVD versions of SH4 1.4 and SH4 1.5 - ran into friendly and enemy ships - with and without LAA - with and without mods
Result: no freeze or crash.
https://bugs.winehq.org/show_bug.cgi?id=23281
--- Comment #26 from willo for.ad@free.fr --- Finally found the freeze in Midway mission with SH4 1.4 and Wine 6.10. This does not happen with with LAA, SH 1.5 or under Windows.