Crash report:

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

DigitalMocking
a grimling bloodguard
a grimling bloodguard
Posts: 620
Joined: Mon Apr 04, 2005 5:53 pm

Crash report:

Post by DigitalMocking » Wed Dec 14, 2005 10:02 pm

Part of the random crashes, this one happened when opening a bag with the mouse.

Code: Select all

0:000:x86> .sympath SRV*c:\windows\symbols*http://msdl.microsoft.com/download/symbols
Symbol search path is: SRV*c:\windows\symbols*http://msdl.microsoft.com/download/symbols
0:000:x86> r
eax=00000000 ebx=00000001 ecx=05f56f78 edx=00000000 esi=00000000 edi=0300c910
eip=026810c0 esp=0012def0 ebp=00000000 iopl=0         nv up ei pl zr na po nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010246
MQ2Melee+0x10c0:
00000000`026810c0 0fb6863c010000 movzx eax,byte ptr [esi+0x13c] ds:002b:00000000`0000013c=??
0:000:x86> kv
ChildEBP          RetAddr           Args to Child                                         
WARNING: Stack unwind information not available. Following frames may be wrong.
00000000 00000000 00000000 00000000 00000000 MQ2Melee+0x10c0
Dissasembly:

Code: Select all

00000000`0268109c cc      int     3
00000000`0268109d cc      int     3
00000000`0268109e cc      int     3
00000000`0268109f cc      int     3
00000000`026810a0 85c0    test    eax,eax
00000000`026810a2 7416    jz      MQ2Melee+0x10ba (026810ba)
00000000`026810a4 3d01270000 cmp  eax,0x2701
00000000`026810a9 730f    jnb     MQ2Melee+0x10ba (026810ba)
00000000`026810ab 8b0dec516902 mov ecx,[MQ2Melee!OnPulse+0xeffc (026951ec)]
00000000`026810b1 8b11    mov     edx,[ecx]
00000000`026810b3 8b0a    mov     ecx,[edx]
00000000`026810b5 8b448124 mov    eax,[ecx+eax*4+0x24]
00000000`026810b9 c3      ret
00000000`026810ba 33c0    xor     eax,eax
00000000`026810bc c3      ret
00000000`026810bd cc      int     3
00000000`026810be cc      int     3
00000000`026810bf cc      int     3
[b]00000000`026810c0 0fb6863c010000 movzx eax,byte ptr [esi+0x13c] ds:002b:00000000`0000013c=??[/b]
00000000`026810c7 83e800  sub     eax,0x0
00000000`026810ca 747e    jz      MQ2Melee+0x114a (0268114a)
00000000`026810cc 48      dec     eax
00000000`026810cd 740f    jz      MQ2Melee+0x10de (026810de)
00000000`026810cf 48      dec     eax
00000000`026810d0 7406    jz      MQ2Melee+0x10d8 (026810d8)
00000000`026810d2 b80b000000 mov  eax,0xb
00000000`026810d7 c3      ret
00000000`026810d8 b805000000 mov  eax,0x5
00000000`026810dd c3      ret
00000000`026810de 8d4674  lea     eax,[esi+0x74]
00000000`026810e1 68a4536902 push 0x26953a4
00000000`026810e6 50      push    eax
00000000`026810e7 e814620000 call MQ2Melee!OnPulse+0x1110 (02687300)
00000000`026810ec 83c408  add     esp,0x8
00000000`026810ef 85c0    test    eax,eax
00000000`026810f1 7406    jz      MQ2Melee+0x10f9 (026810f9)
00000000`026810f3 b802000000 mov  eax,0x2

JJ
a hill giant
a hill giant
Posts: 227
Joined: Thu Nov 11, 2004 5:50 am

Post by JJ » Wed Dec 14, 2005 10:22 pm

Did you try unloading MQ2Melee and checking to see if you can reproduce the error?

DigitalMocking
a grimling bloodguard
a grimling bloodguard
Posts: 620
Joined: Mon Apr 04, 2005 5:53 pm

Post by DigitalMocking » Wed Dec 14, 2005 11:03 pm

JJ wrote:Did you try unloading MQ2Melee and checking to see if you can reproduce the error?
All my crashes in the last few weeks are unreproducable, they happen at random. I can click an NPC and crash, most often it happens when I zone.

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 Dec 15, 2005 12:43 am

Holy thing-a-mabob problem:

Code: Select all

  // return the spawntype (if pet and owner not a pc respond its a npc)
  eSpawnType SpawnType (PSPAWNINFO pSpawn) {
+ PSPAWNINFO ptmp;
  eSpawnType eST=(pSpawn)?GetSpawnType(pSpawn):NONE;
- return (eST!=PET)?eST:(GetSpawnType((PSPAWNINFO)GetSpawnByID(pSpawn->MasterID))!=PC)?NPC:PET;
+ if (eST==PET) {
+    ptmp = GetSpawnByID(pSpawn->MasterID);
+    if (ptmp) 
+        eST = GetSpawnType(ptmp)!=PC ? NPC : PET;
+ }
+ return eST;
  }