http://bugs.winehq.org/show_bug.cgi?id=30585
Bug #: 30585 Summary: Game Crashes during Loading after Champion Select - err:ntdll:RtlpWaitForCriticalSection Product: Wine Version: 1.5.0 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: hanashiaite@gmail.com Classification: Unclassified
After most recent patch (With new spectator mode) on 04/30/2012 http://na.leagueoflegends.com/news/spectator-mode-patch-notes
After you select your characters for a game, it will start to load the actual game and then crash with the following terminal output.
fixme:imm:ImmReleaseContext (0x100c2, 0x14a528): stub fixme:imm:ImmGetOpenStatus (0x14a528): semi-stub err:ntdll:RtlpWaitForCriticalSection section 0x7bcad958 "loader.c: loader_section" wait timed out in thread 0055, blocked by 0053, retrying (60 sec)
It looks like every user is affected by this, as both the appdb comments and League of Legends forums have users reporting this exact issue.
The amusing part is that the new spectator mode loads and works perfectly.
http://bugs.winehq.org/show_bug.cgi?id=30585
Chris hanashiaite@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hanashiaite@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=30585
--- Comment #1 from Chris hanashiaite@gmail.com 2012-05-03 17:18:18 CDT --- By the way, anyone can test this. It's a free game. Look at the app page for instructions on installing/patching.
http://bugs.winehq.org/show_bug.cgi?id=30585
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Game Crashes during Loading |League of Legends crashes |after Champion Select - |after Champion Select |err:ntdll:RtlpWaitForCritic | |alSection | Severity|critical |normal
http://bugs.winehq.org/show_bug.cgi?id=30585
util0002@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |util0002@gmail.com
--- Comment #2 from util0002@gmail.com 2012-05-03 18:40:09 CDT --- I can confirm this. Actually, the iLoL client (fan made launcher that uses wine to play the game on MacOS, encounters the exact same problem and are trying to work it out: http://boompje.net/forum/index.php?topic=3230.0 )
http://bugs.winehq.org/show_bug.cgi?id=30585
util0002@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|util0002@gmail.com |
http://bugs.winehq.org/show_bug.cgi?id=30585
Michael Cronenworth mike@cchtml.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mike@cchtml.com
http://bugs.winehq.org/show_bug.cgi?id=30585
Christopher Andrews godarklight@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |godarklight@gmail.com
--- Comment #3 from Christopher Andrews godarklight@gmail.com 2012-05-03 23:55:02 CDT --- Confirmed. This affects not only the official riot client, But also the ace client.
This bug affects at least versions 1.3.37 (From memory everything used to work with this version - tested it again) through to 1.5.3. Both compiled with only the OLE patch.
The loader doesn't always hang in the same spot.
Spectator mode still works.
Tested on NVIDIA GTX285 and GTX470 with driver version 295.40 on debian.
A friend also gets the same results with a NVIDIA 530 on archlinux.
This is not the same as the NetECore.cpp bug, That one used to occur straight after the champion select before the loading screen. This bug occurs during the loading screen around 30% (but could be anywhere).
http://bugs.winehq.org/show_bug.cgi?id=30585
--- Comment #4 from Christopher Andrews godarklight@gmail.com 2012-05-04 00:46:50 CDT --- Created attachment 40022 --> http://bugs.winehq.org/attachment.cgi?id=40022 Redirected output of normal wine
http://bugs.winehq.org/show_bug.cgi?id=30585
--- Comment #5 from Christopher Andrews godarklight@gmail.com 2012-05-04 00:47:36 CDT --- Created attachment 40023 --> http://bugs.winehq.org/attachment.cgi?id=40023 The log file the game produces. Nothing obvious though.
http://bugs.winehq.org/show_bug.cgi?id=30585
--- Comment #6 from Christopher Andrews godarklight@gmail.com 2012-05-04 00:48:07 CDT --- Usually ran with this: export WINEPREFIX=$HOME/.wine-lol export WINEARCH=win32 export PATH=/opt/wine-lol/bin:/bin:$PATH export LD_LIBRARY_PATH=/opt/wine-lol/lib cd /media/raid/games/League\ of\ Legends-real/RADS/system/ wine "rads_user_kernel.exe" run lol_launcher $(ls ../projects/lol_launcher/releases/) LoLLauncher.exe
Operating system: Debian sid, updated on 4th of May.
Wine version wine-1.5.3-143-g081b06c: this is the current head plus the ole patch.
Exact steps to reproduce the bug: Start any game. I recommend a custom game with yourself so you don't get reported for AFK'ing.
Attached normal log output + game log output.
http://bugs.winehq.org/show_bug.cgi?id=30585
nob.dir.info@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nob.dir.info@gmail.com
--- Comment #7 from nob.dir.info@gmail.com 2012-05-04 09:09:57 CDT --- I tried to look in the loader.c file, but i didn't found some error there (the error happen maybe in MODULE_InitDll function, but i'm not sure)...
Otherwise we can wait for iLoL to get fixed and "steal" the patches... I read they were working with Riot to get this fixed.
http://bugs.winehq.org/show_bug.cgi?id=30585
abrahamendre9@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |abrahamendre9@gmail.com
--- Comment #8 from abrahamendre9@gmail.com 2012-05-04 09:31:53 CDT --- Confirmed! The cause is the ntdll heap patch i think, does it work with an unpathced wine (causes fpslagg in-game)
http://bugs.winehq.org/show_bug.cgi?id=30585
--- Comment #9 from Chris hanashiaite@gmail.com 2012-05-04 10:27:02 CDT --- It does not work unpatched either, same error.
Used 1.5.0, no patching at all.
http://bugs.winehq.org/show_bug.cgi?id=30585
David Henriques davidhenriques9191@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |davidhenriques9191@gmail.co | |m
--- Comment #10 from David Henriques davidhenriques9191@gmail.com 2012-05-04 11:21:37 CDT --- I can confirm this bug too. I guess it loads only about 20 secs, as yesterday it went to 37%/38% and today it loads till 45%.
http://bugs.winehq.org/show_bug.cgi?id=30585
Matej Spindler spindler.matej@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |spindler.matej@gmail.com
--- Comment #11 from Matej Spindler spindler.matej@gmail.com 2012-05-05 16:55:20 CDT --- I did some debugging!
Thread that blocks:
002c:err:ntdll:RtlpWaitForCriticalSection section 0x7bcc7be4 "loader.c: loader_section" wait timed out in thread 002c, blocked by 0017, retrying (60 sec)
Wine-dbg>bt 0x17 Backtrace: =>0 0xf77ad430 __kernel_vsyscall+0x10() in [vdso].so (0x7f39e0a8) 1 0xf760da6e pthread_sigmask+0x4d() in libpthread.so.0 (0x7f39e0a8) 2 0x7bc74dc3 wine_server_call+0x7a() in ntdll (0x7f39e0a8) 3 0x7bc7e107 NTDLL_wait_for_multiple_objects+0x169() in ntdll (0x7f39e2b8) 4 0x7bc7e275 NtWaitForMultipleObjects+0x67() in ntdll (0x7f39e308) 5 0x7b871789 WaitForMultipleObjectsEx+0x155() in kernel32 (0x7f39e458) 6 0x7dd8c9d1 X11DRV_MsgWaitForMultipleObjectsEx+0x6e() in winex11 (0x7f39e498) 7 0x7ead3e0f wait_message+0x41() in user32 (0x7f39e4d8) 8 0x7ea93ca4 wait_message_reply+0xfd() in user32 (0x7f39e588) 9 0x7ea943c8 send_inter_thread_message+0xf2() in user32 (0x7f39e5e8) 10 0x7ea94677 send_message+0x249() in user32 (0x7f39e648) 11 0x7ea94b69 SendMessageW+0x53() in user32 (0x7f39e698) 12 0x7e6819f0 IMM_DestroyContext+0xd6() in imm32 (0x7f39e6d8) 13 0x7e67fee1 IMM_FreeThreadData+0x3d() in imm32 (0x7f39e708) 14 0x7e680d57 DllMain+0xaf() in imm32 (0x7f39e748) 15 0x7e68818e __wine_spec_dll_entry+0x69() in imm32 (0x7f39e778) 16 0x7bc4ba11 call_dll_entry_point+0x14() in ntdll (0x7f39e798) 17 0x7bc4dcab MODULE_InitDLL+0x1fe() in ntdll (0x7f39e908) 18 0x7bc517b8 LdrShutdownThread+0xe0() in ntdll (0x7f39e948) 19 0x7bc80dca exit_thread+0xb2() in ntdll (0x7f39ea18) 20 0x7bc7a3bd call_thread_func_wrapper+0x14() in ntdll (0x7f39ea28) 21 0x7bc7a3fd call_thread_func+0x3e() in ntdll (0x7f39eb08) 22 0x7bc7a392 call_thread_entry_point+0x11() in ntdll (0x7f39eb28) 23 0x7bc810ec start_thread+0x167() in ntdll (0x7f39f368) 24 0xf7608ce8 start_thread+0xd7() in libpthread.so.0 (0x7f39f468)
So IMM_DestroyContext() sends a message but never receives a replay.
http://bugs.winehq.org/show_bug.cgi?id=30585
--- Comment #12 from Matej Spindler spindler.matej@gmail.com 2012-05-05 16:57:40 CDT --- Created attachment 40050 --> http://bugs.winehq.org/attachment.cgi?id=40050 SendMessage patch
This patch lets the game load, but probably breaks allot of other things.
http://bugs.winehq.org/show_bug.cgi?id=30585
--- Comment #13 from Chris hanashiaite@gmail.com 2012-05-05 17:52:38 CDT --- It looks like Ranma42 is also working on something, but it might be specifically for iLoL
http://uz.sns.it/~ranma42/iLoL/
http://bugs.winehq.org/show_bug.cgi?id=30585
--- Comment #14 from Michael Cronenworth mike@cchtml.com 2012-05-05 19:12:11 CDT --- (In reply to comment #13)
It looks like Ranma42 is also working on something, but it might be specifically for iLoL
I just tried his v2 imm patch and LoL loads again. I'm running Wine 1.5.3 + the heap patch and the imm patch.
http://bugs.winehq.org/show_bug.cgi?id=30585
Gariand martin@readle.org.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |martin@readle.org.uk
--- Comment #15 from Gariand martin@readle.org.uk 2012-05-05 19:21:36 CDT --- (In reply to comment #14)
(In reply to comment #13)
It looks like Ranma42 is also working on something, but it might be specifically for iLoL
I just tried his v2 imm patch and LoL loads again. I'm running Wine 1.5.3 + the heap patch and the imm patch.
Can confirm the same positive result with heap and imm patch, Wine 1.4rc6 and Ubuntu 10.04. Thanks ranma42!!
http://bugs.winehq.org/show_bug.cgi?id=30585
--- Comment #16 from David Henriques davidhenriques9191@gmail.com 2012-05-06 10:06:43 CDT --- ILoL patches worked for me too. Thank you
http://bugs.winehq.org/show_bug.cgi?id=30585
--- Comment #17 from Chris hanashiaite@gmail.com 2012-05-06 19:05:51 CDT --- I'm not going to confirm this as resolved until after Ranma42's patches have been finalized.
That being said, applying the patch did fix my issue.
http://bugs.winehq.org/show_bug.cgi?id=30585
--- Comment #18 from nob.dir.info@gmail.com 2012-05-08 10:43:53 CDT --- Ranma made a new patch which works fine : http://uz.sns.it/~ranma42/iLoL/spectator-fix-v3/0002-imm32-Avoid-deadlock-wh... .
http://bugs.winehq.org/show_bug.cgi?id=30585
--- Comment #19 from nob.dir.info@gmail.com 2012-05-08 10:44:47 CDT --- Created attachment 40091 --> http://bugs.winehq.org/attachment.cgi?id=40091 New ranma's imm patch
http://bugs.winehq.org/show_bug.cgi?id=30585
--- Comment #20 from abrahamendre9@gmail.com 2012-05-09 12:24:52 CDT --- does it fix the problem only on mac?
http://bugs.winehq.org/show_bug.cgi?id=30585
--- Comment #21 from Matej Spindler spindler.matej@gmail.com 2012-05-09 13:21:41 CDT --- (In reply to comment #20)
does it fix the problem only on mac?
No it also works on Linux.
http://bugs.winehq.org/show_bug.cgi?id=30585
--- Comment #22 from Chris hanashiaite@gmail.com 2012-05-11 10:09:07 CDT --- Created attachment 40118 --> http://bugs.winehq.org/attachment.cgi?id=40118 v3 of the patch (yes it still says v2, but it is not)
Version 3 of Ranma42's patch for this issue.
http://bugs.winehq.org/show_bug.cgi?id=30585
Chris hanashiaite@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #23 from Chris hanashiaite@gmail.com 2012-05-11 10:09:41 CDT --- Resolving this bug now that there is a fully working patch.
http://bugs.winehq.org/show_bug.cgi?id=30585
--- Comment #24 from Michael Cronenworth mike@cchtml.com 2012-05-11 10:15:13 CDT --- Chris, this bug is not "fixed" until the patch has been accepted and applied to Wine proper. Has this happened? I cannot find an email in wine-patches or wine-cvs about this.
Please reopen it and inform Andrea Canciani to push his patch so everyone benefits instead of only a select few that know how to recompile Wine.
http://bugs.winehq.org/show_bug.cgi?id=30585
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | Ever Confirmed|0 |1
--- Comment #25 from Austin English austinenglish@gmail.com 2012-05-11 12:34:01 CDT --- (In reply to comment #24)
Chris, this bug is not "fixed" until the patch has been accepted and applied to Wine proper. Has this happened? I cannot find an email in wine-patches or wine-cvs about this.
Please reopen it and inform Andrea Canciani to push his patch so everyone benefits instead of only a select few that know how to recompile Wine.
Reopening.
http://bugs.winehq.org/show_bug.cgi?id=30585
--- Comment #26 from Chris hanashiaite@gmail.com 2012-05-11 22:33:52 CDT --- Do we have reports open for all the other issues that also have patches?
There is one more Ranma42 patch(for fps) and three patches that fix the store.
http://bugs.winehq.org/show_bug.cgi?id=30585
--- Comment #27 from Christopher Andrews godarklight@gmail.com 2012-05-12 12:01:40 CDT --- The store bug is here (still unconfirmed): http://bugs.winehq.org/show_bug.cgi?id=27036
I found it quite a while ago, that patch does say "HACK" and is unrelated to this bug.
http://bugs.winehq.org/show_bug.cgi?id=30585
--- Comment #28 from Dan Kegel dank@kegel.com 2012-05-22 06:50:15 CDT --- *** Bug 30744 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=30585
--- Comment #29 from Michael Cronenworth mike@cchtml.com 2012-08-04 20:03:34 CDT --- It seems even with Wine 1.5.9 or 1.5.10 and the ntdll/imm32 patches LoL crashes on me when trying to use spectator mode or crashes right after champion select.
Backtrace: =>0 0x7b84cb52 WideCharToMultiByte+0x182() in kernel32 (0x0ebbe988) 1 0x007b4157 in league of legends (+0x3b4156) (0x0d6da898) 2 0x0c404148 (0x0c404100) 0x7b84cb52 WideCharToMultiByte+0x182 in kernel32: cmpw $0,0x0(%edx)
I've seen people say "I have to start games multiple times" but I have tried about 10 times to start a game and it crashes every time with the same backtrace.
Is there an additional patch out there to get LoL working or is no one playing LoL any more?
http://bugs.winehq.org/show_bug.cgi?id=30585
--- Comment #30 from Christopher Andrews godarklight@gmail.com 2012-08-06 10:08:37 CDT --- (In reply to comment #29)
I experienced the exact same bug on debian the last few times I've tried to switch back, its the only thing stopping me. I compile the exact same way on archlinux and it works.
Maybe debian does something to the kernel?
http://bugs.winehq.org/show_bug.cgi?id=30585
--- Comment #31 from nob.dir.info@gmail.com 2012-08-20 12:09:55 CDT --- A wbemprox patch in wine broke LoL by me. I had to revert it manually in the source files. I add my patch.
http://bugs.winehq.org/show_bug.cgi?id=30585
--- Comment #32 from nob.dir.info@gmail.com 2012-08-20 12:11:12 CDT --- Created attachment 41439 --> http://bugs.winehq.org/attachment.cgi?id=41439 Wbemprox revert "patch"
http://bugs.winehq.org/show_bug.cgi?id=30585
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #33 from Dan Kegel dank@kegel.com 2012-08-20 22:16:38 CDT --- Nob, that's http://source.winehq.org/git/wine.git/?a=commit;h=4cfd8189c8c5c1facf7c519bc0... from June 15th. You should probably file a new bug for that, since it's newer than this bug.
http://bugs.winehq.org/show_bug.cgi?id=30585
a.metaphysical.drama@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |a.metaphysical.drama@gmail. | |com
http://bugs.winehq.org/show_bug.cgi?id=30585
--- Comment #34 from nob.dir.info@gmail.com 2012-09-16 13:38:41 CDT --- Are there some guys still working on this bug?
http://bugs.winehq.org/show_bug.cgi?id=30585
Riccardo c10ud.dev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |c10ud.dev@gmail.com
--- Comment #35 from Riccardo c10ud.dev@gmail.com 2013-09-12 05:51:11 CDT --- cannot reproduce
wine-1.7.1 nvidia
http://bugs.winehq.org/show_bug.cgi?id=30585
Scott Ritchie scott@open-vote.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED CC| |scott@open-vote.org Resolution| |FIXED
--- Comment #36 from Scott Ritchie scott@open-vote.org 2013-09-13 17:47:11 CDT --- Games can start out of the box now.
http://bugs.winehq.org/show_bug.cgi?id=30585
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #37 from Alexandre Julliard julliard@winehq.org 2013-09-27 13:41:04 CDT --- Closing bugs fixed in 1.7.3.