http://bugs.winehq.org/show_bug.cgi?id=34218
Bug #: 34218 Summary: 007 Nightfire hangs in NTDLL_wait_for_multiple_objects Product: Wine Version: 1.7.0 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll AssignedTo: wine-bugs@winehq.org ReportedBy: roland@mxchange.org Classification: Unclassified
Created attachment 45525 --> http://bugs.winehq.org/attachment.cgi?id=45525 winedbg console output
The mentioned game forever hangs after logo video (silent, no sound) and doesn't come back. Attaching a winedbg output (no crash) for details.
PS: is there a way of getting a list of loaded DLLs?
http://bugs.winehq.org/show_bug.cgi?id=34218
--- Comment #1 from Roland Haeder roland@mxchange.org 2013-08-06 12:55:07 CDT --- Created attachment 45526 --> http://bugs.winehq.org/attachment.cgi?id=45526 Default debug log (no WINEDEBUG)
http://bugs.winehq.org/show_bug.cgi?id=34218
Roland Haeder roland@mxchange.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |roland@mxchange.org
--- Comment #2 from Roland Haeder roland@mxchange.org 2013-08-06 12:56:36 CDT --- I have to mention that I installed native codecs into same wineprefix as if I don't the wine desktop becomes white only.
http://bugs.winehq.org/show_bug.cgi?id=34218
--- Comment #3 from Austin English austinenglish@gmail.com 2013-08-06 13:57:32 CDT --- (In reply to comment #0)
Created attachment 45525 [details] winedbg console output
The mentioned game forever hangs after logo video (silent, no sound) and doesn't come back. Attaching a winedbg output (no crash) for details.
Try native quartz/devenum/wmp9
PS: is there a way of getting a list of loaded DLLs?
lsof or WINEDEBUG=loaddll,module
http://bugs.winehq.org/show_bug.cgi?id=34218
--- Comment #4 from Roland Haeder roland@mxchange.org 2013-08-06 14:44:22 CDT ---
Try native quartz/devenum/wmp9
Will try it next. And thank you for your hints. :)
lsof or WINEDEBUG=loaddll,module
I used winedebug and found out that msvcrt was a native DLL shipped with the game so I forced it to built-in with winecfg. Do you need that logfile? Or how about a +quartz?
http://bugs.winehq.org/show_bug.cgi?id=34218
--- Comment #5 from Roland Haeder roland@mxchange.org 2013-08-06 15:31:55 CDT --- The native quartz.dll let the game start. But the videos won't play.
http://bugs.winehq.org/show_bug.cgi?id=34218
--- Comment #6 from Austin English austinenglish@gmail.com 2013-08-06 18:47:03 CDT --- (In reply to comment #4)
lsof or WINEDEBUG=loaddll,module
I used winedebug and found out that msvcrt was a native DLL shipped with the game so I forced it to built-in with winecfg. Do you need that logfile? Or how about a +quartz?
Does native msvcrt help at all? A +tid,+quartz trace would be helpful, along with the output of bt all from winedbg (and a note of what threads are deadlocked)
http://bugs.winehq.org/show_bug.cgi?id=34218
--- Comment #7 from Roland Haeder roland@mxchange.org 2013-08-07 12:11:29 CDT --- Created attachment 45531 --> http://bugs.winehq.org/attachment.cgi?id=45531 +tid +quartz logfile
http://bugs.winehq.org/show_bug.cgi?id=34218
--- Comment #8 from Roland Haeder roland@mxchange.org 2013-08-07 12:12:39 CDT --- Created attachment 45532 --> http://bugs.winehq.org/attachment.cgi?id=45532 winedbg console output with all backtraces
Attached the requested logfiles.
http://bugs.winehq.org/show_bug.cgi?id=34218
--- Comment #9 from Roland Haeder roland@mxchange.org 2013-08-08 13:12:47 CDT --- Using native msvcrt.dll (from the game) doesn't change it.
And I have slowdowns on many scenes where hostile characters are close and shooting at me. With 3 enemies shooting at the FPS is at about 5-10 FPS even with lowest graphics details.
http://bugs.winehq.org/show_bug.cgi?id=34218
--- Comment #10 from Roland Haeder roland@mxchange.org --- Created attachment 47042 --> http://bugs.winehq.org/attachment.cgi?id=47042 WINEDEBUG=loaddll,module
Still an issue with latest GIT code.
http://bugs.winehq.org/show_bug.cgi?id=34218
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #11 from Anastasius Focht focht@gmx.net --- Hello Roland,
looks like some game with SafeDisc copy protection scheme (which should work with Wine).
+loaddll,+module channels alone are not enough to diagnose things 'offline'.
--- snip --- err:ntdll:RtlpWaitForCriticalSection section 0x39a9b8 "?" wait timed out in thread 003d, blocked by 0009, retrying (60 sec) --- snip ---
For deadlocks you have to additionally use at least 'tid' channel (thread id). If a thread died for whatever reason, holding a lock (critical section), then an exception should be seen -> 'seh' channel (exception info).
To get at least some overview without using the heavy +relay 'gun' (which interferes with certain copy protections) please generate a log as follows:
WINEDEBUG=+tid,+seh,+process,+loaddll,+module wine ./foo.exe >>log.txt 2>&1
FYI: winedbg can't be used here for dumping thread contexts from all processes.
Part of the copy protection scheme is that two game processes exist where one acts as debugger and the other is the debuggee. Winedbg can't attach to the interesting process (=debuggee), hence the error messages 'warning: could not attach to <pid>'. It's still possible do that but that requires some advanced techniques not being discussed here ;-)
Anyway, please provide the log with above debug channels.
Regards
http://bugs.winehq.org/show_bug.cgi?id=34218
--- Comment #12 from Roland Haeder roland@mxchange.org --- Have to re-install it now.
http://bugs.winehq.org/show_bug.cgi?id=34218
--- Comment #13 from Roland Haeder roland@mxchange.org --- Created attachment 48002 --> http://bugs.winehq.org/attachment.cgi?id=48002 +tid,+seh,+process,+loaddll,+module logfile
Okay, reinstalled. I haave now all white window (possibly due to the unsupported codec). But the window is fully responsive. I have renamed the shipped msvcrt.dll to old_msvcrt.dll to let the game load Wine's version. Else I don't see any other Windows-related DLLs:
$ ls -l *.dll -rw-r--r-- 1 quix0r quix0r 114688 Oct 29 2002 Audio.dll -rw-r--r-- 1 quix0r quix0r 77824 Oct 20 2002 AudioFilterOgg.dll -rw-r--r-- 1 quix0r quix0r 77824 Oct 20 2002 AudioFilterWav.dll -rw-r--r-- 1 quix0r quix0r 151630 Oct 20 2002 Containers.dll -rw-r--r-- 1 quix0r quix0r 693248 May 8 2002 d3dx8d.dll -rw-r--r-- 1 quix0r quix0r 23552 Nov 13 2002 DrvMgt.dll -rw-r--r-- 1 quix0r quix0r 1273856 Nov 17 2002 engine.dll -rw-r--r-- 1 quix0r quix0r 94208 Jun 19 2002 GbxRuntime.dll -rw-r--r-- 1 quix0r quix0r 221184 Nov 5 2002 GUI.dll -rw-r--r-- 1 quix0r quix0r 49152 Aug 7 2002 ogg.dll -rw-r--r-- 1 quix0r quix0r 278581 Sep 16 2002 old_msvcrt.dll -rw-r--r-- 1 quix0r quix0r 200789 Nov 6 2002 Platform.dll -rw-r--r-- 1 quix0r quix0r 684032 Nov 7 2002 RenderD3D.dll -rw-r--r-- 1 quix0r quix0r 143432 Oct 20 2002 Streams.dll -rw-r--r-- 1 quix0r quix0r 102400 Aug 7 2002 vorbis.dll -rw-r--r-- 1 quix0r quix0r 28672 Aug 7 2002 vorbisfile.dll -rw-r--r-- 1 quix0r quix0r 118861 Oct 20 2002 zlib.dll $
http://bugs.winehq.org/show_bug.cgi?id=34218
--- Comment #14 from Roland Haeder roland@mxchange.org --- The native quartz.dll is still "required" to start the game. The bug is still in place.
http://bugs.winehq.org/show_bug.cgi?id=34218
--- Comment #15 from Roland Haeder roland@mxchange.org --- Created attachment 48689 --> http://bugs.winehq.org/attachment.cgi?id=48689 backtrace from freeze/dead-lock (?)
https://bugs.winehq.org/show_bug.cgi?id=34218
--- Comment #16 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.51 or newer) wine?
https://bugs.winehq.org/show_bug.cgi?id=34218
limero@me.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |limero@me.com
--- Comment #17 from limero@me.com --- As of Jan 2016, Wine v1.9.1: Native quartz.dll is still needed for the game to run. No videos will play, otherwise gameplay is smooth on highest graphic settings.
https://bugs.winehq.org/show_bug.cgi?id=34218
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #18 from winetest@luukku.com --- (In reply to David from comment #17)
As of Jan 2016, Wine v1.9.1: Native quartz.dll is still needed for the game to run. No videos will play, otherwise gameplay is smooth on highest graphic settings.
Wasnt this bug about deadlock/hang? Unless the hang was quartz related I think this bug is actully fixed.
https://bugs.winehq.org/show_bug.cgi?id=34218
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #19 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with current wine(4.0-rc1)?
https://bugs.winehq.org/show_bug.cgi?id=34218
--- Comment #20 from Roland Haeder roland@mxchange.org --- I have to re-install and re-test it. Not sure if it is still there. Maybe close this long-open ticket and when I later find the bug again or any other, I report back?
https://bugs.winehq.org/show_bug.cgi?id=34218
--- Comment #21 from joaopa jeremielapuree@yahoo.fr --- It is better you test and report the status of this bug.
https://bugs.winehq.org/show_bug.cgi?id=34218
Roland Haeder roland@mxchange.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Debian
https://bugs.winehq.org/show_bug.cgi?id=34218
Chebanenko Igor chebanenkoigor93@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |chebanenkoigor93@gmail.com
--- Comment #22 from Chebanenko Igor chebanenkoigor93@gmail.com --- Created attachment 66726 --> https://bugs.winehq.org/attachment.cgi?id=66726 Debug from Windows 7
API monitoring from Win7 PC. This should help,but I'm not sure.
https://bugs.winehq.org/show_bug.cgi?id=34218
--- Comment #23 from Chebanenko Igor chebanenkoigor93@gmail.com --- Created attachment 66731 --> https://bugs.winehq.org/attachment.cgi?id=66731 Debug from Windows 7.
API monitoring from Win7 PC. Audio & Video.
https://bugs.winehq.org/show_bug.cgi?id=34218
--- Comment #24 from Chebanenko Igor chebanenkoigor93@gmail.com --- Created attachment 66732 --> https://bugs.winehq.org/attachment.cgi?id=66732 New debug from Win 7.
New API monitoring from Win 7.
https://bugs.winehq.org/show_bug.cgi?id=34218
--- Comment #25 from Anastasius Focht focht@gmx.net --- Hello Igor,
--- quote --- API monitoring from Win7 PC. This should help,but I'm not sure. --- quote ---
well, no. These logs are not useful.
Please provide logs of the game running under Linux with recent Wine 5.x.
--- snip --- WINEDEBUG=+seh,+process,+loaddll,+module,+quartz wine ./foo.exe >>log.txt 2>&1 --- snip ---
Regards