Debugging Leage of Legends

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
drew212
Newbie
Newbie
Posts: 1
Joined: Thu Jul 22, 2010 11:35 pm

Debugging Leage of Legends

Post by drew212 »

I would really like to get this program working, and I'm willing to learn to develop and fix the problem myself. I was able to get a backtrace but I'm having trouble determining what it actually means as I've never read a backtrace before. If anyone would be willing to help me shed some light on this it would be appreciated, thanks in advance!

drew212@drew212-desktop:~$ winedbg start /Unix /home/drew212/Downloads/LeagueofLegends.exe
WineDbg starting on pid 003d
First chance exception: page fault on write access to 0x00360000 in 32-bit code (0x7eac556d).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:7eac556d ESP:0033f8c0 EBP:0033f938 EFLAGS:00010212( R- -- I -A- - )
EAX:80808081 EBX:7eb63ff4 ECX:00000000 EDX:00000067
ESI:000000ac EDI:00360000
Stack dump:
0x0033f8c0: 0000031c 00000000 00000000 00000010
0x0033f8d0: 00000010 00000000 00000000 00000010
0x0033f8e0: 00000010 7ed4c7e8 0012d2e0 00000000
0x0033f8f0: 00cc0020 00000308 00330001 7ea20001
0x0033f900: 0033f918 0000031c 0012db50 00000328
0x0033f910: 00000000 00000000 00000010 00000010
Backtrace:
=>0 0x7eac556d in user32 (+0x1556d) (0x0033f938)
1 0x7eac603f in user32 (+0x1603e) (0x0033f9c8)
2 0x7eac6155 CreateIconFromResourceEx+0xd4() in user32 (0x0033fa28)
3 0x7eac82a0 in user32 (+0x1829f) (0x0033fae8)
4 0x7eac8830 LoadImageW+0x1af() in user32 (0x0033fbe8)
5 0x7eac960e LoadImageA+0x19d() in user32 (0x0033fcd8)
6 0x7ec5f456 SIC_Initialize+0x1a5() in shell32 (0x0033fd28)
7 0x7ec68c72 in shell32 (+0x28c71) (0x0033fd68)
8 0x7bc4a5d5 call_dll_entry_point+0x14() in ntdll (0x0033fd88)
9 0x7bc4d383 in ntdll (+0x3d382) (0x0033fec8)
10 0x7bc4e030 in ntdll (+0x3e02f) (0x0033ff28)
11 0x7bc4e002 in ntdll (+0x3e001) (0x0033ff88)
12 0x7bc4e233 in ntdll (+0x3e232) (0x0033ffe8)
0x7eac556d: movb %dl,0x0(%edi,%ecx,4)
qwertymn
Level 4
Level 4
Posts: 236
Joined: Thu Mar 27, 2008 3:42 am

Post by qwertymn »

You could start by installing wine with debug-symbols (e.g. compile wine yourself) I don't know what distro you use, but on Ubuntu there are good guidelines howto compile and install wine from source.

Also , if you have a windowspartition lying around, you could try to copy shell32.dll and shlwapi.dll from windows' c:\windows\system32\ to ~/.wine/drive_c/windows/system32/
then set these dlls to native in winecfg, and see if the crash is gone, than at least you'll know that the bug is in shell32
Bob Benjamin

Debugging Leage of Legends

Post by Bob Benjamin »

Thanks, Ubuntu and Fedora fc 13 are on their own drives and no
prtition with windows. Will try to figure out how to compile wine.

On 07/23/2010 02:12 PM, qwertymn wrote:
You could start by installing wine with debug-symbols (e.g. compile wine yourself) I don't know what distro you use, but on Ubuntu there are good guidelines howto compile and install wine from source.

Also , if you have a windowspartition lying around, you could try to copy shell32.dll and shlwapi.dll from windows' c:\windows\system32\ to ~/.wine/drive_c/windows/system32/
then set these dlls to native in winecfg, and see if the crash is gone, than at least you'll know that the bug is in shell32





James McKenzie

Debugging Leage of Legends

Post by James McKenzie »

drew212 wrote:
I would really like to get this program working, and I'm willing to learn to develop and fix the problem myself. I was able to get a backtrace but I'm having trouble determining what it actually means as I've never read a backtrace before. If anyone would be willing to help me shed some light on this it would be appreciated, thanks in advance!

drew212@drew212-desktop:~$ winedbg start /Unix /home/drew212/Downloads/LeagueofLegends.exe
You are not starting this program correctly:

Code: Select all

cd /home/drew212/Downloads
winedbg start LeagueofLegends.exe

Try it this way and see if your error 'goes away'.

James McKenzie
Locked