Zone Crash / Random Crash

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

kasodo
a lesser mummy
a lesser mummy
Posts: 64
Joined: Fri Feb 13, 2004 9:41 am

Zone Crash / Random Crash

Post by kasodo » Tue Aug 24, 2004 4:33 pm

I crash at random when im kiting or just running and a lot when I zone.
Here is the Spew from Windbg

0:000> r
eax=1179e388 ebx=00000003 ecx=039c06c8 edx=02820608 esi=039c28c8 edi=00000000
eip=027f50e3 esp=0012df24 ebp=00000000 iopl=0 nv up ei pl zr na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010246
mq2map!MapClear+0x123:
027f50e3 80b8f4010000ff cmp byte ptr [eax+0x1f4],0xff ds:0023:1179e57c=??


0:000> kv
*** WARNING: Unable to verify checksum for C:\Documents and Settings\Desktop\MQ2-Latest\Release\MQ2Main.dll
ChildEBP RetAddr Args to Child
0012df30 01593aad 00000003 015c39a0 01833648 mq2map!MapClear+0x123 (FPO: [EBP 0x0012e760] [0,1,0])
0012e760 01594a5c 00000003 0000000a 018e0048 MQ2Main!PluginsSetGameState+0x14d (FPO: [Non-Fpo]) (CONV: cdecl) [c:\documents and settings\desktop\mq2-latest\mq2main\mq2pluginhandler.cpp @ 407]
*** WARNING: Unable to verify checksum for C:\Everquest\WinEQ\eqgame.exe
*** ERROR: Module load completed but symbols could not be loaded for C:\Everquest\WinEQ\eqgame.exe
0012e770 00496fb9 00000003 ffffffff ffffffff MQ2Main!CEverQuestHook::SetGameState_Detour+0x1c (FPO: [1,0,0]) (CONV: thiscall) [c:\documents and settings\desktop\mq2-latest\mq2main\mq2pulse.cpp @ 330]
WARNING: Stack unwind information not available. Following frames may be wrong.
0012e790 005a88c7 005aa271 00000005 00000000 eqgame+0x96fb9
ffffffff 00000000 00000000 00000000 00000000 eqgame+0x1a88c7
<Oid> You know whats sad
<Oid> here soon, lax will log in
<Oid> and go "You fucking idiots!"
* Lax has joined #macroquest
* ChanServ sets mode: +o Lax
...
<Lax> you fucking idiots!

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 » Tue Aug 24, 2004 4:51 pm

Hmmm, this might be a real bug. The spawn pointer in the MAPSPAWN structure is bogus. This might happen if MapClear() and DeleteSpawn() happen at the same time... I'm not sure if there are multithreading issues here.

kasodo
a lesser mummy
a lesser mummy
Posts: 64
Joined: Fri Feb 13, 2004 9:41 am

Crash

Post by kasodo » Tue Aug 24, 2004 4:55 pm

This happened when I was zoning from Gunthak to Stonebrunt, I can try to repeat it again and get another spew.
<Oid> You know whats sad
<Oid> here soon, lax will log in
<Oid> and go "You fucking idiots!"
* Lax has joined #macroquest
* ChanServ sets mode: +o Lax
...
<Lax> you fucking idiots!

No_Idea_At_All
a lesser mummy
a lesser mummy
Posts: 49
Joined: Sat Aug 07, 2004 11:28 pm

Post by No_Idea_At_All » Wed Aug 25, 2004 10:04 am

I have been getting random crashs for a while now, I turn of MQ2 and nothing happens. I don't really have any debugging stuff except .NET which whenever I run it I don't seem to crash, always the way isn't it.

I have only had it happen on zoning, it is not a consistant zone. Also 2 of my friends have the same problem. Averages out to about 1 in every 6 zonings.

I've been trying hard to get some evidence behind the crash but it is quite random.

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Wed Aug 25, 2004 10:17 am

Many of the times I've CTD, not all mind, have been with map window open.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

Amadeus
The Maestro
The Maestro
Posts: 2036
Joined: Sat Jun 29, 2002 3:51 pm

Post by Amadeus » Wed Aug 25, 2004 2:15 pm

Try going to line 271 of MQ2MapAPI.cpp and modifying that line so that it looks like this:

Code: Select all

		if (pActiveSpawns->SpawnType==FAKESPAWNTYPE) // fake!

...Let me know if that helps with the problem.

kasodo
a lesser mummy
a lesser mummy
Posts: 64
Joined: Fri Feb 13, 2004 9:41 am

Did not work

Post by kasodo » Thu Aug 26, 2004 10:55 am

I applied this change to the MQ2MapAPI and I still get the same crash. Any other Ideas?
<Oid> You know whats sad
<Oid> here soon, lax will log in
<Oid> and go "You fucking idiots!"
* Lax has joined #macroquest
* ChanServ sets mode: +o Lax
...
<Lax> you fucking idiots!

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 » Thu Aug 26, 2004 12:05 pm

make sure that mq2map.pdb is in the same directory with mq2map.dll and type "dt -r2 pActiveSpawns" at the windbg command prompt.