Crashing to Desktop

Need help running MacroQuest2? Ask your questions about how to get things to work on your computer.

Moderator: MacroQuest Developers

User avatar
Slice
a hill giant
a hill giant
Posts: 189
Joined: Wed Oct 30, 2002 2:52 pm

Crashing to Desktop

Post by Slice » Sun Feb 15, 2004 1:45 pm

Thought the problem would be fixed when I installed GoD but it's not. Here's my info:

Computer is a Compaq Evo N610c Laptop
Video card is a ATI Mobility Radeon 7500 (32 Meg)
OS is Windows XP Service Pack 1
DirectX is 9.0b
All EQ Expansions enabled

My plugins entry looks like this:

[Plugins]
mq2map=mq2map
mq2chat=mq2chat

I'm just trying to get a basic version running with no frills at this point.

I followed the instructions on using windbg from DKAA in another thread. Here's the output from the crash

Code: Select all

0:000> r
eax=00000000 ebx=00000000 ecx=77e760de edx=00000000 esi=77f5c448 edi=00000000
eip=7ffe0304 esp=0012e8dc ebp=0012e9d4 iopl=0         nv up ei pl nz na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000202
SharedUserData!SystemCallStub+0x4:
7ffe0304 c3               ret

Code: Select all

0:000> kv
ChildEBP RetAddr  Args to Child              
0012e8d8 77f5c454 77e798ec ffffffff 00000000 SharedUserData!SystemCallStub+0x4 (FPO: [0,0,0])
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\WINDOWS\system32\kernel32.dll - 
WARNING: Stack unwind information not available. Following frames may be wrong.
0012e9d4 77e7990f 00000000 77e8f3b0 ffffffff ntdll!ZwTerminateProcess+0xc
*** WARNING: Unable to verify checksum for c:\program files\everquest\eqgame.exe
*** ERROR: Module load completed but symbols could not be loaded for c:\program files\everquest\eqgame.exe
0012e9e8 005a764b 00000000 005a778a 00000000 kernel32!ExitProcess+0x12
0012ea20 005a77b0 00000000 00000000 00000000 eqgame+0x1a764b
0012fcec 004c642b 00734f9c 0073509c 0012fde4 eqgame+0x1a77b0
00735144 ffffffff 00000000 00000000 00000000 eqgame+0xc642b
002b6cc0 00735144 002b2458 002b7080 00000000 0xffffffff
00000000 00000000 00000000 00000000 00000000 eqgame+0x335144
Here's the lines right at the crash before I issued the r and kv commands

Code: Select all

(940.814): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=00736c1c ebx=00f4df40 ecx=0131f53c edx=00f77360 esi=ffffff33 edi=ffffff33
eip=0131226e esp=0012e030 ebp=00f4dfa0 iopl=0         nv up ei pl nz na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010202
*** WARNING: Unable to verify checksum for C:\mq2\Release\mq2map.dll
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\mq2\Release\mq2map.dll - 
mq2map!OnPulse+0x108e:
0131226e 8a07             mov     al,[edi]                ds:0023:ffffff33=??
0:000> g
[MQ2]MQ2Map Module Unloaded
[MQ2]MQ2Chat Module Unloaded
eax=00000000 ebx=00000000 ecx=77e760de edx=00000000 esi=77f5c448 edi=00000000
eip=7ffe0304 esp=0012e8dc ebp=0012e9d4 iopl=0         nv up ei pl nz na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000202
SharedUserData!SystemCallStub+0x4:
7ffe0304 c3               ret
Slice

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Sun Feb 15, 2004 1:53 pm

*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\mq2\Release\mq2map.dll -
You need to either build the debug version or build with nmake. MQ2map.pdb needs to be in the same directory as mq2map.dll (in the Release directory).

What compiler are you using?

Which zip did you build from?

Also, if you do "u eip-60 eip+1", I can look at the disassembly and see what is going on...

User avatar
Slice
a hill giant
a hill giant
Posts: 189
Joined: Wed Oct 30, 2002 2:52 pm

Post by Slice » Sun Feb 15, 2004 5:05 pm

Using the 2/13 zip file and compiling with VS 6.0.

I'll do the nmake compile and rerun with the additional command and post back.
Slice

User avatar
Slice
a hill giant
a hill giant
Posts: 189
Joined: Wed Oct 30, 2002 2:52 pm

Post by Slice » Sun Feb 15, 2004 5:34 pm

The first message is from when I was sitting in Tranquility. Went and did an Ldon between then and now. I was in EC this time. Previously, it crashed as soon as I entered the game. This time, it let me enter the game.

So I did a /plugin mq2labels (Always crashed me when I had labels loaded). Didn't crash so I did /plugin mq2labels unload and it crashed.

Snippet right at the crash:

Code: Select all


[MQ2]CCommandHook::Detour(/plugin mq2labels unload)
[MQ2]UnloadMQ2Plugin
[MQ2]Shutting down MQ2Labels
[MQ2]RemoveDetour(503219)
[MQ2]Detour removed.
[MQ2]MQ2Labels Module Unloaded
[MQ2]WriteChatColor(Plugin 'mq2labels' unloaded.)
[MQ2]CChatHook::Detour(Plugin 'mq2labels' unloaded.)
(e04.bf4): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=00736c1c ebx=00f4df40 ecx=0131f53c edx=00f77360 esi=ff391505 edi=ff391505
eip=0131226e esp=0012e030 ebp=00f4dfa0 iopl=0         nv up ei pl nz na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010202
*** WARNING: Unable to verify checksum for C:\mq2\Release\mq2map.dll
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\mq2\Release\mq2map.dll - 
mq2map!OnPulse+0x108e:
0131226e 8a07             mov     al,[edi]                ds:0023:ff391505=??
0:000> g
[MQ2]MQ2Map Module Unloaded
[MQ2]MQ2Chat Module Unloaded
eax=00000000 ebx=00000000 ecx=77e760de edx=00000000 esi=77f5c448 edi=00000000
eip=7ffe0304 esp=0012e8dc ebp=0012e9d4 iopl=0         nv up ei pl nz na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000202
SharedUserData!SystemCallStub+0x4:
7ffe0304 c3               ret

Code: Select all

0:000> r
eax=00000000 ebx=00000000 ecx=77e760de edx=00000000 esi=77f5c448 edi=00000000
eip=7ffe0304 esp=0012e8dc ebp=0012e9d4 iopl=0         nv up ei pl nz na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000202
SharedUserData!SystemCallStub+0x4:
7ffe0304 c3               ret

Code: Select all

0:000> kv
ChildEBP RetAddr  Args to Child              
0012e8d8 77f5c454 77e798ec ffffffff 00000000 SharedUserData!SystemCallStub+0x4 (FPO: [0,0,0])
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\WINDOWS\system32\kernel32.dll - 
WARNING: Stack unwind information not available. Following frames may be wrong.
0012e9d4 77e7990f 00000000 77e8f3b0 ffffffff ntdll!ZwTerminateProcess+0xc
*** WARNING: Unable to verify checksum for c:\program files\everquest\eqgame.exe
*** ERROR: Module load completed but symbols could not be loaded for c:\program files\everquest\eqgame.exe
0012e9e8 005a764b 00000000 005a778a 00000000 kernel32!ExitProcess+0x12
0012ea20 005a77b0 00000000 00000000 00000000 eqgame+0x1a764b
0012fcec 004c642b 00734f9c 0073509c 0012fde4 eqgame+0x1a77b0
00735144 ffffffff 00000000 00000000 00000000 eqgame+0xc642b
002b7358 00735144 002b3300 002b24d8 00000000 0xffffffff
00000000 00000000 00000000 00000000 00000000 eqgame+0x335144

Code: Select all

0:000> u eip-60 eip+1
SharedUserData+0x2a4:
7ffe02a4 0000             add     [eax],al
7ffe02a6 0000             add     [eax],al
7ffe02a8 0000             add     [eax],al
7ffe02aa 0000             add     [eax],al
7ffe02ac 0000             add     [eax],al
7ffe02ae 0000             add     [eax],al
7ffe02b0 0000             add     [eax],al
7ffe02b2 0000             add     [eax],al
7ffe02b4 ffff             ???
7ffe02b6 fe7f00           ???     byte ptr [edi]
7ffe02b9 0000             add     [eax],al
7ffe02bb 800000           add     byte ptr [eax],0x0
7ffe02be 0000             add     [eax],al
7ffe02c0 0000             add     [eax],al
7ffe02c2 0000             add     [eax],al
7ffe02c4 0000             add     [eax],al
7ffe02c6 0000             add     [eax],al
7ffe02c8 0000             add     [eax],al
7ffe02ca 0000             add     [eax],al
7ffe02cc 0000             add     [eax],al
7ffe02ce 0000             add     [eax],al
7ffe02d0 1001             adc     [ecx],al
7ffe02d2 0000             add     [eax],al
7ffe02d4 0000             add     [eax],al
7ffe02d6 0000             add     [eax],al
7ffe02d8 0000             add     [eax],al
7ffe02da 0000             add     [eax],al
7ffe02dc 0000             add     [eax],al
7ffe02de 0000             add     [eax],al
7ffe02e0 ffff             ???
7ffe02e2 ffff             ???
7ffe02e4 237d9c           and     edi,[ebp-0x64]
7ffe02e7 035cff03         add     ebx,[edi+edi*8+0x3]
7ffe02eb 0000             add     [eax],al
7ffe02ed 0000             add     [eax],al
7ffe02ef 0000             add     [eax],al
7ffe02f1 0000             add     [eax],al
7ffe02f3 0000             add     [eax],al
7ffe02f5 0000             add     [eax],al
7ffe02f7 0000             add     [eax],al
7ffe02f9 0000             add     [eax],al
7ffe02fb 0000             add     [eax],al
7ffe02fd 0000             add     [eax],al
7ffe02ff 008bd40f34c3     add     [ebx+0xc3340fd4],cl
Still trying to get the object file built.
Slice

User avatar
Slice
a hill giant
a hill giant
Posts: 189
Joined: Wed Oct 30, 2002 2:52 pm

Post by Slice » Sun Feb 15, 2004 5:54 pm

DKAA was helping me get the object files built in IRC and one of the commands he had me do was

nmake clean all

After doing that, all my CTD's went away. I was able to load all the plugins and everything was working fine. Not sure what happened there but I'm sure glad it's fixed. Playing without Macroquest is barely tolerable.
Slice