[Bug 31246] New: QQMusic deadlock on exit with buitin msvcr80
http://bugs.winehq.org/show_bug.cgi?id=31246 Bug #: 31246 Summary: QQMusic deadlock on exit with buitin msvcr80 Product: Wine Version: 1.5.9 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: fracting(a)gmail.com Classification: Unclassified 1. Download QQMusic installer http://dl_dir.qq.com/music/clntupate/QQMusic2011.exe 2. Install with Wine wine-1.5.9-33-gb20a1f5 3. Workaround Bug 27109 by `winetricks vcrun6` 4. Workaround Bug 30512 by `winetricks vcrun2008` + native alt80.dll 5. Workaround Bug 27304 by `winetricks gdiplus`. 6. Set msvcr80 to builtin 7. $ cd "~/.wine/drive_c/Program Files/Tencent/QQMusic" $ wine QQMusic.exe 8. Wait for some seconds 9. Right click the system tray icon of QQMusic, then "Exit"/"退出" in the menu. If you can't read Chinese, just click the last item ;-) (With a red power key icon) Expect Result: QQ Music should exit Actual Result: Deadlock: --- snip --- 0009:err:ntdll:RtlpWaitForCriticalSection section 0x7bcd0944 "loader.c: loader_section" wait timed out in thread 0009, blocked by 0040, retrying (60 sec) 002b:err:ntdll:RtlpWaitForCriticalSection section 0x7bcd0944 "loader.c: loader_section" wait timed out in thread 002b, blocked by 0040, retrying (60 sec) 002e:err:ntdll:RtlpWaitForCriticalSection section 0x7bcd0944 "loader.c: loader_section" wait timed out in thread 002e, blocked by 0040, retrying (60 sec) 0028:err:ntdll:RtlpWaitForCriticalSection section 0x7bcd0944 "loader.c: loader_section" wait timed out in thread 0028, blocked by 0040, retrying (60 sec) 003c:err:ntdll:RtlpWaitForCriticalSection section 0x7bcd0944 "loader.c: loader_section" wait timed out in thread 003c, blocked by 0040, retrying (60 sec) --- snip --- How reproducible:
50%, depends on how long you wait after QQMusic starts. If you click the "Exit/退出" item very early then there maybe no deadlock, for me it seems waiting for 5 seconds before clicking "exit/退出" is enough to get the deadlock. Never get a deadlock with native msvcr80.
Additional info: 1. I can reproduce the deadlock when +relay trace is enable. 2. With +msvcrt trace, I found the only log regarding thread 0040 is: --- snip --- 0040:trace:msvcrt:DllMain (0x7e030000, DLL_THREAD_ATTACH, (nil)) pid(8), tid(40), tls(0) 0040:trace:msvcrt:_endthread (void) --- snip --- will attach a +msvcrt,+tid log -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31246 Qian Hong <fracting(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://dl_dir.qq.com/music/ | |clntupate/QQMusic2011.exe -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31246 --- Comment #1 from Qian Hong <fracting(a)gmail.com> 2012-07-18 16:14:43 CDT --- Created attachment 41042 --> http://bugs.winehq.org/attachment.cgi?id=41042 Log: +msvcrt,+tid -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31246 Qian Hong <fracting(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |msvcrt --- Comment #2 from Qian Hong <fracting(a)gmail.com> 2012-07-18 16:15:24 CDT --- Assume msvcrt component -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31246 André H. <nerv(a)dawncrow.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv(a)dawncrow.de --- Comment #3 from André H. <nerv(a)dawncrow.de> 2012-07-18 16:33:24 CDT --- i guess we'll need a relay trace -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31246 --- Comment #4 from Qian Hong <fracting(a)gmail.com> 2012-07-18 16:39:49 CDT --- (In reply to comment #3)
i guess we'll need a relay trace
Will try harder. Good luck to me ;-) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31246 --- Comment #5 from Qian Hong <fracting(a)gmail.com> 2012-07-18 16:51:05 CDT ---
Additional info: 1. I can reproduce the deadlock when +relay trace is enable
Typo, I meant "I can't reproduce with +relay", that is why I said "Will try harder" and "Good luck to me" ... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31246 --- Comment #6 from Qian Hong <fracting(a)gmail.com> 2012-07-18 23:03:32 CDT --- (In reply to comment #3)
i guess we'll need a relay trace
Still can't reproduce with +relay trace... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31246 --- Comment #7 from André H. <nerv(a)dawncrow.de> 2012-07-19 13:49:20 CDT --- Created attachment 41053 --> http://bugs.winehq.org/attachment.cgi?id=41053 trace patch OK i understand. Then please try this trace patch, it's a wild guess but likely to happen. Attach the output, you don't need any WINEDEBUG -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31246 --- Comment #8 from Qian Hong <fracting(a)gmail.com> 2012-07-19 14:21:25 CDT --- Created attachment 41055 --> http://bugs.winehq.org/attachment.cgi?id=41055 Log: qqmusic with msvcrt trace patch Something happens as André expect ;-) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31246 --- Comment #9 from André H. <nerv(a)dawncrow.de> 2012-07-19 14:37:30 CDT --- (In reply to comment #8)
Something happens as André expect ;-)
No, sadly it's not what i expected. So i'm out here for now. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31246 Johan Gardhage <johan.gardhage(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |johan.gardhage(a)gmail.com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31246 --- Comment #10 from Qian Hong <fracting(a)gmail.com> 2012-10-17 15:52:17 CDT --- Still present in wine-1.5.15-145-g29b3902 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31246 --- Comment #11 from Qian Hong <fracting(a)gmail.com> 2012-11-04 07:37:30 CST --- Still present in wine-1.5.16-159-g561e46c -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31246 Piotr Caban <piotr.caban(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.caban(a)gmail.com --- Comment #12 from Piotr Caban <piotr.caban(a)gmail.com> 2012-12-08 09:09:11 CST --- I can't reproduce this bug. Could you please retest? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31246 Qian Hong <fracting(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #13 from Qian Hong <fracting(a)gmail.com> 2012-12-08 10:56:21 CST --- (In reply to comment #12)
I can't reproduce this bug. Could you please retest?
I can't reproduce as well, tested 10 times. Hopefully it's fixed, again, thanks Piotr Caban for the great work! Cheers! -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31246 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #14 from Alexandre Julliard <julliard(a)winehq.org> 2012-12-21 13:27:44 CST --- Closing bugs fixed in 1.5.20. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=31246 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- URL|http://dl_dir.qq.com/music/ |https://web.archive.org/web |clntupate/QQMusic2011.exe |/20110614211618/http://dl_d | |ir.qq.com/music/clntupate/Q | |QMusic2011.exe CC| |focht(a)gmx.net -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla