The forum

League of Legends crash

Author Replies
Jump to the page: 1 - 2
eddi3x3 Wednesday 20 February 2013 at 3:04
eddi3x3Anonymous

So I installed league of legends, everything works fine up until I actually start the game; right after i lock in my champion and the game is supposed to start the game just crashes and I get this stack trace

Unhandled exception: page fault on read access to 0x40000000 in 32-bit code (0x7b85113f).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7b85113f ESP:0d1de918 EBP:0d1de980 EFLAGS:00010286(  R- --  I S - -P- )
 EAX:000000c7 EBX:7b89c5f0 ECX:0de21718 EDX:40000000
 ESI:ffffffff EDI:000000c7
Stack dump:
0x0d1de918:  00000000 0d1de9ac 00000001 7db36f10
0x0d1de928:  00156470 00000000 0d1de990 7db293a1
0x0d1de938:  001647b8 00000000 0172a3f4 0d1de9dc
0x0d1de948:  00000000 00000000 781788f5 781426fe
0x0d1de958:  0de217e0 00000064 0000000a 00000000
0x0d1de968:  0d1de9ac 0dfe9de8 00000000 00000000
Backtrace:
=>0 0x7b85113f WideCharToMultiByte+0x18f() in kernel32 (0x0d1de980)
  1 0x009d5487 in league of legends (+0x5d5486) (0x0de21718)
  2 0x0cdf4128 (0x0cdf4100)
0x7b85113f WideCharToMultiByte+0x18f in kernel32: cmpw $0,0x0(%edx)
Modules:
Module Address Debug info Name (145 modules)
PE  340000-  39a000 Deferred        cggl
PE  3a0000-  3eb000 Deferred        fmod_event
PE  400000- c21f000 Export          league of legends
PE c220000- c324000 Deferred        cgd3d9
PE c330000- c6f8000 Deferred        d3dx9_39
PE c700000- c805000 Deferred        fmodex
PE c810000- c84e000 Deferred        bugsplat
PE c850000- c936000 Deferred        rads
PE 10000000-10010000 Deferred        riotlauncher
PE 6a000000-6a63f000 Deferred        cg
PE 76c00000-76c74000 Deferred        wininet
PE 78130000-781cb000 Deferred        msvcr80
ELF 7b800000-7b8fd000 Dwarf           kernel32<elf>
  \\-PE 7b810000-7b8fd000 \\               kernel32
ELF 7bc00000-7bcc2000 Deferred        ntdll<elf>
  \\-PE 7bc10000-7bcc2000 \\               ntdll
ELF 7bf00000-7bf03000 Deferred        <wine-loader>
PE 7c420000-7c4a7000 Deferred        msvcp80
ELF 7cf28000-7cfe6000 Deferred        libasound.so.2
ELF 7cff2000-7d007000 Deferred        midimap<elf>
  \\-PE 7d000000-7d007000 \\               midimap
ELF 7d007000-7d033000 Deferred        winealsa<elf>
  \\-PE 7d010000-7d033000 \\               winealsa
ELF 7d033000-7d100000 Deferred        quartz<elf>
  \\-PE 7d050000-7d100000 \\               quartz
ELF 7d205000-7d227000 Deferred        mmdevapi<elf>
  \\-PE 7d210000-7d227000 \\               mmdevapi
ELF 7d227000-7d250000 Deferred        msvfw32<elf>
  \\-PE 7d230000-7d250000 \\               msvfw32
ELF 7d250000-7d294000 Deferred        dsound<elf>
  \\-PE 7d260000-7d294000 \\               dsound
ELF 7d294000-7d2a8000 Deferred        avicap32<elf>
  \\-PE 7d2a0000-7d2a8000 \\               avicap32
ELF 7d2a8000-7d2cc000 Deferred        devenum<elf>
  \\-PE 7d2b0000-7d2cc000 \\               devenum
ELF 7d2cc000-7d2d6000 Deferred        libpciaccess.so.0
ELF 7d2d6000-7d2f2000 Deferred        libgcc_s.so.1
ELF 7d3db000-7d3fb000 Deferred        libdrm_intel.so.1
ELF 7d3fb000-7d745000 Deferred        libdricore9.0.0.so.1
ELF 7d745000-7d7fd000 Deferred        i965_dri.so
ELF 7d7fd000-7d807000 Deferred        librt.so.1
ELF 7d807000-7d839000 Deferred        libglapi.so.0
ELF 7d839000-7d89c000 Deferred        libgl.so.1
ELF 7d89c000-7d900000 Deferred        ddraw<elf>
  \\-PE 7d8a0000-7d900000 \\               ddraw
ELF 7da08000-7da13000 Deferred        libdrm.so.2
ELF 7da1b000-7da33000 Deferred        msacm32<elf>
  \\-PE 7da20000-7da33000 \\               msacm32
ELF 7da34000-7da57000 Deferred        dxdiagn<elf>
  \\-PE 7da40000-7da57000 \\               dxdiagn
ELF 7daae000-7daf2000 Deferred        dinput<elf>
  \\-PE 7dac0000-7daf2000 \\               dinput
ELF 7daf2000-7db14000 Deferred        dxgi<elf>
  \\-PE 7db00000-7db14000 \\               dxgi
ELF 7db14000-7db38000 Deferred        wbemprox<elf>
  \\-PE 7db20000-7db38000 \\               wbemprox
ELF 7db9d000-7dbd0000 Deferred        uxtheme<elf>
  \\-PE 7dba0000-7dbd0000 \\               uxtheme
ELF 7dbd0000-7dbd6000 Deferred        libxfixes.so.3
ELF 7dbd6000-7dbe0000 Deferred        libxcursor.so.1
ELF 7dbe1000-7dbfc000 Deferred        libxcb-glx.so.0
ELF 7dbfc000-7dbff000 Deferred        libx11-xcb.so.1
ELF 7dca3000-7dccd000 Deferred        libexpat.so.1
ELF 7dccd000-7dcfc000 Deferred        libfontconfig.so.1
ELF 7dcfc000-7dd0b000 Deferred        libxi.so.6
ELF 7dd0b000-7dd15000 Deferred        libxrandr.so.2
ELF 7dd15000-7dd1e000 Deferred        libxrender.so.1
ELF 7dd1e000-7dd24000 Deferred        libxxf86vm.so.1
ELF 7dd24000-7dd28000 Deferred        libxinerama.so.1
ELF 7dd28000-7dd2c000 Deferred        libxau.so.6
ELF 7dd2c000-7dd51000 Deferred        libxcb.so.1
ELF 7dd51000-7de6c000 Deferred        libx11.so.6
ELF 7de6c000-7de7b000 Deferred        libxext.so.6
ELF 7de7b000-7de93000 Deferred        libice.so.6
ELF 7de93000-7df1b000 Deferred        winex11<elf>
  \\-PE 7dea0000-7df1b000 \\               winex11
ELF 7df1b000-7df2c000 Deferred        libbz2.so.1
ELF 7df2c000-7df40000 Deferred        libz.so.1
ELF 7df40000-7dfca000 Deferred        libfreetype.so.6
ELF 7dfeb000-7e05f000 Deferred        libgcrypt.so.11
ELF 7e05f000-7e0bc000 Deferred        dbghelp<elf>
  \\-PE 7e070000-7e0bc000 \\               dbghelp
ELF 7e0bc000-7e13e000 Deferred        urlmon<elf>
  \\-PE 7e0d0000-7e13e000 \\               urlmon
ELF 7e13e000-7e24d000 Deferred        oleaut32<elf>
  \\-PE 7e160000-7e24d000 \\               oleaut32
ELF 7e24d000-7e264000 Deferred        libresolv.so.2
ELF 7e264000-7e285000 Deferred        imm32<elf>
  \\-PE 7e270000-7e285000 \\               imm32
ELF 7e285000-7e2a6000 Deferred        iphlpapi<elf>
  \\-PE 7e290000-7e2a6000 \\               iphlpapi
ELF 7e2a6000-7e2c0000 Deferred        wsock32<elf>
  \\-PE 7e2b0000-7e2c0000 \\               wsock32
ELF 7e2c0000-7e2d3000 Deferred        psapi<elf>
  \\-PE 7e2d0000-7e2d3000 \\               psapi
ELF 7e2d3000-7e2fb000 Deferred        msacm32<elf>
  \\-PE 7e2e0000-7e2fb000 \\               msacm32
ELF 7e2fb000-7e3a8000 Deferred        winmm<elf>
  \\-PE 7e300000-7e3a8000 \\               winmm
ELF 7e3a8000-7e3d7000 Deferred        ws2_32<elf>
  \\-PE 7e3b0000-7e3d7000 \\               ws2_32
ELF 7e3d7000-7e3f2000 Deferred        dinput8<elf>
  \\-PE 7e3e0000-7e3f2000 \\               dinput8
ELF 7e3f2000-7e481000 Deferred        msvcrt<elf>
  \\-PE 7e410000-7e481000 \\               msvcrt
ELF 7e481000-7e5ab000 Deferred        wined3d<elf>
  \\-PE 7e490000-7e5ab000 \\               wined3d
ELF 7e5ab000-7e5e0000 Deferred        d3d9<elf>
  \\-PE 7e5b0000-7e5e0000 \\               d3d9
ELF 7e5e0000-7e6ac000 Deferred        opengl32<elf>
  \\-PE 7e600000-7e6ac000 \\               opengl32
ELF 7e6ac000-7e722000 Deferred        rpcrt4<elf>
  \\-PE 7e6c0000-7e722000 \\               rpcrt4
ELF 7e722000-7e828000 Deferred        ole32<elf>
  \\-PE 7e740000-7e828000 \\               ole32
ELF 7e828000-7e91b000 Deferred        comctl32<elf>
  \\-PE 7e830000-7e91b000 \\               comctl32
ELF 7e91b000-7e986000 Deferred        shlwapi<elf>
  \\-PE 7e930000-7e986000 \\               shlwapi
ELF 7e986000-7eb97000 Deferred        shell32<elf>
  \\-PE 7e990000-7eb97000 \\               shell32
ELF 7eb97000-7ebf9000 Deferred        advapi32<elf>
  \\-PE 7eba0000-7ebf9000 \\               advapi32
ELF 7ebf9000-7ecb7000 Deferred        gdi32<elf>
  \\-PE 7ec10000-7ecb7000 \\               gdi32
ELF 7ecb7000-7edf6000 Deferred        user32<elf>
  \\-PE 7ecd0000-7edf6000 \\               user32
ELF 7edf6000-7ee04000 Deferred        libnss_files.so.2
ELF 7ee04000-7ee10000 Deferred        libnss_nis.so.2
ELF 7ee10000-7ee2a000 Deferred        libnsl.so.1
ELF 7efb3000-7efdf000 Deferred        libm.so.6
ELF 7efdf000-7efe3000 Deferred        libxdamage.so.1
ELF 7efe3000-7efe8000 Deferred        libuuid.so.1
ELF 7efe8000-7f000000 Deferred        version<elf>
  \\-PE 7eff0000-7f000000 \\               version
ELF f73b0000-f73b4000 Deferred        libxcomposite.so.1
ELF f73b4000-f73bc000 Deferred        libsm.so.6
ELF f73bd000-f73c2000 Deferred        libdl.so.2
ELF f73c3000-f7568000 Deferred        libc.so.6
ELF f7568000-f7583000 Deferred        libpthread.so.0
ELF f7586000-f7590000 Deferred        libnss_compat.so.2
ELF f75a0000-f75a4000 Deferred        libgpg-error.so.0
ELF f75a4000-f76e5000 Dwarf           libwine.so.1
ELF f76e6000-f7708000 Deferred        ld-linux.so.2
ELF f7708000-f7709000 Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 rads_user_kernel.exe
00000052    0
00000041    0
0000003d    0
0000003c    0
0000003b    0
0000003a    0
00000039    0
00000037    0
00000036    0
00000009    0
0000000e services.exe
0000005a    0
0000001f    0
00000015    0
00000010    0
0000000f    0
00000012 winedevice.exe
0000001a    0
00000014    0
00000013    0
0000001c plugplay.exe
00000021    0
0000001e    0
0000001d    0
00000024 explorer.exe
00000025    0
0000003e LoLLauncher.exe
00000034    0
00000053    0
00000046    0
00000043    0
00000031    0
00000026    0
00000027    0
00000042    0
00000040    0
0000003f    0
00000020 LolClient.exe
00000044    0
00000035    0
00000033    0
00000022    1
00000023    0
0000002f    0
0000002e    0
0000002d    0
0000002c    0
0000002b    0
0000002a    0
00000029    0
00000028    0
00000032    0
00000066 (D) C:\\Riot Games\\League of Legends\\RADS\\solutions\\lol_game_client_sln\\releases\\0.0.0.212\\deploy\\League of Legends.exe
0000004a    0
00000048    0
00000017    0
00000018    0
00000038    0
0000001b    0 <==
00000067    0
System information:
    Wine build: wine-1.5.12
    Platform: i386
    Host system: Linux
    Host version: 3.7.1-tuxonice


I am on funtoo linux, very similar to gentoo; anyone know what caused this error let me know, thanks
eddi3x3 Wednesday 20 February 2013 at 3:11
eddi3x3Anonymous

Also here is a pastebin of the log file for the league of legends virtual drive
http://bpaste.net/show/78439/
petch Wednesday 20 February 2013 at 7:18
petch

> OpenGL libs (Direct rendering testing)



Do you get warnings about OpenGL libraries when PlayOnLinux starts?
xpander Wednesday 20 February 2013 at 12:47
xpander

try wine 1.5.18-LeagueOfLegends
and check league of legends folder for logs as well
if you get ENET errors then check this for /etc/hosts modification

http://www.playonlinux.com/en/topic-10056-League_of_Legends_crash_after_champ_select.html
eddi3x3 Wednesday 20 February 2013 at 18:49
eddi3x3Anonymous

I don't get any openGL lib warning but I do get this sometimes

( DEBUG)[12:47:05.907] RADS::Common::RegistryHelp::RegKeyValueString::RegKeyValueString: (Software\\Riot Games\\RADS, LocalRootFolder, c:\\rads)
( ERROR)[12:47:06.002] RADS::User::PandoManager::start: StartPMB failed, returned error 6
( ERROR)[12:47:39.833] RADS::UserKernel::NamedPipe::ConnectionThread::ThreadProc: The handle that was passed to the API has been either invalidated or closed.
( ERROR)[12:47:39.833] RADS::UserKernel::NamedPipe::ConnectionThread::ThreadProc: ConnectNamedPipe failed.
( ERROR)[12:47:39.836] RADS::Common::HTTPConnection::GetFile: perform request failed with code 7
( ERROR)[12:47:39.836] RADS::Common::HTTPConnection::GetFile: Failed on /rest/getToken?format=xml&ClientID=PMB_Client
( ERROR)[12:47:39.837] RADS::Common::HTTPConnection::GetFile: perform request failed with code 7
( ERROR)[12:47:39.837] RADS::Common::HTTPConnection::GetFile: Failed on /rest/getToken?format=xml&ClientID=PMB_Client
( ERROR)[12:47:39.839] RADS::Common::HTTPConnection::GetFile: perform request failed with code 7
( ERROR)[12:47:39.839] RADS::Common::HTTPConnection::GetFile: Failed on /rest/shutdown?format=xml&netToken=

my /etc/hosts file has 127.0.0.1 localhost some.stuff.like.this

and i changed it to

127.0.0.1 some.stuff.like.this eddi3
xpander Thursday 21 February 2013 at 8:38
xpander

check for example ~/PlayOnLinux's virtual drives/LeagueOfLegends/drive_c/Riot Games/League of Legends/Logs/Network Logs/2013-xx-xx_xx-xx-xx_netlog.txt

do you have error like that there?
Server: Error, main failed to register server with UID. Line: 230, file: C:\\jenkins\\workspace\\Code-CI-Releases-Public\\code\\Network\\NetworkCoreLib\\Src\\NetCoreEnet.cpp
Net Status: Initialize failed: local address resolution.


or

~/PlayOnLinux's virtual drives/LeagueOfLegends/drive_c/Riot Games/League of Legends/Logs/Network Logs/2013-xx-xx_xx-xx-xx_r3dlog.txt

and if you have something like:
000000.718| 0.0000kb| 0.0000kb added| FATAL| Enet could not connect! Status - 3
000000.718| 0.0000kb| 0.0000kb added| ERROR| Assertion failed!

File: C:\\jenkins\\workspace\\Code-CI-Releases-Public\\code\\HeroWars_clientServer\\SourcesClient\\ClientMain.cpp
Line: 1183

Function: Game::MainLoop

Expression: false

Description: Assert occurred, game may crash.
000000.718| 0.0000kb| 0.0000kb added| ALWAYS| game::Shutdown
000000.718| 0.0000kb| 0.0000kb added| ALWAYS| ClientFacade::Stop
000000.718| 0.0000kb| 0.0000kb added| ALWAYS| Pre ::R3D::Perf::DinitPerfLists
000000.718| 0.0000kb| 0.0000kb added| ALWAYS| Post ::R3D::Perf::DinitPerfLists
000000.718| 0.0000kb| 0.0000kb added| ALWAYS| Exiting WinMain


if you have this then its the /etc/hosts issue
eddi3x3 Friday 22 February 2013 at 16:51
eddi3x3Anonymous

This is what I found in /etc/hosts
127.0.0.1 localhost localhost.localdomain
::1 localhost localhost.localdomain

what do I need to change?
xpander Friday 22 February 2013 at 17:41
xpander

127.0.0.1 yourhostname localhost.localdomain
eddi3x3 Friday 1 March 2013 at 18:02
eddi3x3Anonymous

sorry for taking so long to respond, it would appear that making those changes to the hosts.conf still didn't fixed the league client crashing problem; maybe I'm not setting hosts.conf correctly?
xpander Friday 1 March 2013 at 18:22
xpander

well did you check the error logs i pointed out in post #6?
do you have the same errors in LoL logs?
if yes, then its the /etc/hosts issue. (NB! its not hosts.conf but just hosts)

check those logs a post what errors exactly LoL itself gives in the logs.
then we can see what we can do with it.
eddi3x3 Friday 1 March 2013 at 18:48
eddi3x3Anonymous

well i meant hosts not hosts.conf, just a force of habit since I edit config files most of the time; right now the patcher is patching (sometimes there is no patch and it hangs, anyway to fix that?) and im waiting for it to patch, ill run it again and show you the logs
xpander Friday 1 March 2013 at 19:24
xpander

just wait..sometimes its taking time to calculate differences.
if it takes more than 10 minutes though without doing anything then you probably hit the bug and have to kill the process and restart it
eddi3x3 Friday 1 March 2013 at 21:21
eddi3x3Anonymous

This was found in the Game - r3d Logs folder
http://bpaste.net/show/80769/

The network log was empty

and here's the playonlinux backtrace
http://bpaste.net/show/80770/

I hope this is enough info
xpander Friday 1 March 2013 at 21:44
xpander

try switch to wine1.5.18-LeagueOfLegends
install it from the tools -> manage wine versions (the x86 one) and then configure your LoL prefix with it.

then try again.
eddi3x3 Friday 1 March 2013 at 21:47
eddi3x3Anonymous

here is also the playonlinux log, it has some interesting errors....
http://bpaste.net/show/80775/

it might help
eddi3x3 Friday 1 March 2013 at 22:51
eddi3x3Anonymous

switching to wine 1.5.18 made things better but not quite, now it doesn't crash and it loads, but after it loads all I get is the hud, the enviroment, my character, minions, everything else doesn't render; it's pitch black lol
eddi3x3 Friday 1 March 2013 at 23:21
eddi3x3Anonymous

here is a game log
http://bpaste.net/show/80797/

and here's the playonlinux log
http://bpaste.net/show/80798/

so now it's just a rendering problem I think
xpander Saturday 2 March 2013 at 0:11
xpander

ati videocard?
try switch windows version to windows xp from winecfg and try to disable GLSL support from the LoL prefix configuration.

maybe helps.

seems some rendering problem now yeah
eddi3x3 Saturday 2 March 2013 at 0:28
eddi3x3Anonymous

no it's a nvidia card, im using bumblebee with primus and it also uses an intel card
eddi3x3 Saturday 2 March 2013 at 14:00
eddi3x3Anonymous

btw to run lol with primus I would add vblank_mode=0 primusrun in the WINEPREFIX? I have disabled GLSL support and im going to try it out