http://bugs.winehq.org/show_bug.cgi?id=28868
Bug #: 28868 Summary: Elona crashes on exit, crash confirmation windows appears after few minuts Product: Wine Version: 1.3.31 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: lain.halfbit@gmail.com Classification: Unclassified
Elona game can't properly exit and crashes. It stays in frozen state for a while until 'Program error' windows appears.
In attachment you can find full log from game start to exit. I just started it and immediately quit.
Attempt to close it by Alt+F4 gives similar results.
Exit in this game is the only reliable way to invoke 'game save' without cheats or using no-turning-back items.
http://bugs.winehq.org/show_bug.cgi?id=28868
--- Comment #1 from Lain_13 lain.halfbit@gmail.com 2011-10-23 06:48:10 CDT --- Created attachment 37076 --> http://bugs.winehq.org/attachment.cgi?id=37076 Log of starting and exiting game
http://bugs.winehq.org/show_bug.cgi?id=28868
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #37076|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=28868
--- Comment #2 from GyB gyebro69@gmail.com 2011-10-25 12:06:29 CDT --- Created attachment 37121 --> http://bugs.winehq.org/attachment.cgi?id=37121 winedbg backtrace
I can reproduce the problem with Wine-1.0.1, 1.2.3, wine-1.3.31-44-g5e0050d on my system. Workaround: native dinput.dll (the game exits instantly, without crashing)
Fedora 15 X.Org X Server 1.10.4
http://bugs.winehq.org/show_bug.cgi?id=28868
--- Comment #3 from GyB gyebro69@gmail.com 2011-10-25 12:08:00 CDT --- Created attachment 37122 --> http://bugs.winehq.org/attachment.cgi?id=37122 +tid,+dinput log
http://bugs.winehq.org/show_bug.cgi?id=28868
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW URL| |http://homepage3.nifty.com/ | |rfish/file/elona116rfix2b.z | |ip CC| |gyebro69@gmail.com Component|-unknown |directx-dinput Ever Confirmed|0 |1
--- Comment #4 from GyB gyebro69@gmail.com 2011-10-25 12:08:35 CDT --- Confirming
http://bugs.winehq.org/show_bug.cgi?id=28868
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #37121|0 |1 is obsolete| |
--- Comment #5 from GyB gyebro69@gmail.com 2011-10-25 12:36:14 CDT --- Created attachment 37123 --> http://bugs.winehq.org/attachment.cgi?id=37123 Elona winedbg backtrace
The previously attached backtrace didn't contain all debugging symbols because 1.3.31 is compiled with CFLAGS=-O2 on my system. Here's the same backtrace, now with wine-1.3.31-44-g5e0050d and CFLAGS=-O0.
http://bugs.winehq.org/show_bug.cgi?id=28868
--- Comment #6 from Lain_13 lain.halfbit@gmail.com 2011-10-25 14:23:14 CDT --- Umm… forgot to say. I've tried Elona v1.22 but it should be similar in this case. Verson 1.22 available here: http://noaneko.squares.net/dev/
http://bugs.winehq.org/show_bug.cgi?id=28868
--- Comment #7 from GyB gyebro69@gmail.com 2012-07-07 08:57:12 CDT --- Still present in Wine 1.5.8 Native dinput.dll is a workaround
http://bugs.winehq.org/show_bug.cgi?id=28868
--- Comment #8 from Béla Gyebrószki gyebro69@gmail.com --- Still present in wine-1.7.17-148-g2e5cb7a
https://bugs.winehq.org/show_bug.cgi?id=28868
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz@gmail.com
--- Comment #9 from fjfrackiewicz@gmail.com --- Created attachment 54676 --> https://bugs.winehq.org/attachment.cgi?id=54676 Wine 1.9.11 Staging terminal output
In Wine 1.9.11 the game simply appears to hang on exit when native input.dll is not used as a work around.
This line in my terminal output seems interesting:
err:ntdll:RtlpWaitForCriticalSection section 0x7bce98e0 "../../../wine-staging/dlls/ntdll/loader.c: loader_section" wait timed out in thread 002a, blocked by 0009, retrying (60 sec)
https://bugs.winehq.org/show_bug.cgi?id=28868
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #10 from winetest@luukku.com ---
This line in my terminal output seems interesting:
err:ntdll:RtlpWaitForCriticalSection section 0x7bce98e0 "../../../wine-staging/dlls/ntdll/loader.c: loader_section" wait timed out in thread 002a, blocked by 0009, retrying (60 sec)
It's not really. I don't exactly know the logic how this triggers but it gives programs/wine sometime to resume working. Not sure if I have ever seen a program resuming from this.
I saw that wine code sometime ago for the 1st time, and I was thinking myself if the timeout is too long.