Jump to content

[crash] 9348


Guest zokuero

Recommended Posts

REV 9348
YTDB R534
SD21573

Exception code: C0000005 ACCESS_VIOLATION
Fault address:  004D9E3E 01:000D8E3E 

Registers:
EAX:1603D5B5
EBX:732D4270
ECX:000000DC
EDX:1603D5B5
ESI:00000000
EDI:0088FA90
CS:EIP:001B:004D9E3E
SS:ESP:0023:0A289044  EBP:0A289098
DS:0023  ES:0023  FS:003B  GS:0000
Flags:00010212

Call stack:
Address   Frame     Function      SourceFile
004D9E3E  00000000  stdext::_Hash<std::tr1::_Umap_traits<unsigned __int64,Pet *,stdext::_Hash_compare<unsigned __int64,std::tr1::hash<unsigned __int64>,std::equal_to<unsigned __int64> >,std::allocator<std::Pair<unsigned __int64 const ,Pet *> >,0> >::lower_bound+1E
004D9C26  00000000  TypeUnorderedMapContainer<TypeList<Creature,TypeList<Pet,TypeList<Vehicle,TypeList<GameObject,TypeList<DynamicObject,TypeNull> > > > >,unsigned __int64>::find<Pet>+16
004D9789  00000000  TypeUnorderedMapContainer<TypeList<Creature,TypeList<Pet,TypeList<Vehicle,TypeList<GameObject,TypeList<DynamicObject,TypeNull> > > > >,unsigned __int64>::find<Pet,Pet,TypeList<Vehicle,TypeList<GameObject,TypeList<DynamicObject,TypeNull> > > >+19
004C2496  00000000  Map::GetPet+36
00472F79  00000000  Unit::GetPet+69
0068F5F0  00000000  AreaAura::Update+310
00463352  00000000  Unit::_UpdateSpells+152
00458A7A  00000000  Unit::Update+4A
004E430C  00000000  Player::Update+EC
004B8829  00000000  Map::Update+D9
0066B5B8  00000000  MapManager::Update+128
0060CB8B  00000000  World::Update+77B
0043064E  00000000  WorldRunnable::run+8E
0088FAA9  00000000  ACE_Based::Thread::ThreadTask+19
002914D4  00000000  __WSAFDIsSet+FFFFFFFFFFFCC45C
78543433  00000000  _endthreadex+44
785434C7  00000000  _endthreadex+D8
77E6482F  00000000  GetModuleHandleA+DF

Call stack:
Address   Frame     Function      SourceFile
7C82860C  00000000  KiFastSystemCallRet+0
77E61C8D  00000000  WaitForSingleObject+12
00249C64  00000000  __WSAFDIsSet+FFFFFFFFFFF84BEC
002B64DA  00000000  __WSAFDIsSet+FFFFFFFFFFFF1462
002B269F  00000000  __WSAFDIsSet+FFFFFFFFFFFED627
0062406A  00000000  WorldSocketMgr::Wait+4A
73588CC4  00000000  0000:00000000 
73588CC4  00000000  0000:00000000 
6C696146  00000000  0000:00000000 
8BFC4D89  FFFFFFFF  0000:00000000 

Call stack:
Address   Frame     Function      SourceFile
7C82860C  00000000  KiFastSystemCallRet+0
77E424FD  00000000  Sleep+F
0088FCC0  00000000  ACE_Based::Thread::Sleep+30
00895E60  00000000  SqlDelayThread::run+20
0088FAA9  00000000  ACE_Based::Thread::ThreadTask+19
002914D4  00000000  __WSAFDIsSet+FFFFFFFFFFFCC45C
78543433  00000000  _endthreadex+44
785434C7  00000000  _endthreadex+D8
77E6482F  00000000  GetModuleHandleA+DF

Call stack:
Address   Frame     Function      SourceFile
7C82860C  00000000  KiFastSystemCallRet+0
77E424FD  00000000  Sleep+F
0088FCC0  00000000  ACE_Based::Thread::Sleep+30
00895E60  00000000  SqlDelayThread::run+20
0088FAA9  00000000  ACE_Based::Thread::ThreadTask+19
002914D4  00000000  __WSAFDIsSet+FFFFFFFFFFFCC45C
78543433  00000000  _endthreadex+44
785434C7  00000000  _endthreadex+D8
77E6482F  00000000  GetModuleHandleA+DF

Call stack:
Address   Frame     Function      SourceFile
7C82860C  00000000  KiFastSystemCallRet+0
77E424FD  00000000  Sleep+F
0088FCC0  00000000  ACE_Based::Thread::Sleep+30
00895E60  00000000  SqlDelayThread::run+20
0088FAA9  00000000  ACE_Based::Thread::ThreadTask+19
002914D4  00000000  __WSAFDIsSet+FFFFFFFFFFFCC45C
78543433  00000000  _endthreadex+44
785434C7  00000000  _endthreadex+D8
77E6482F  00000000  GetModuleHandleA+DF

Call stack:
Address   Frame     Function      SourceFile
7C82860C  00000000  KiFastSystemCallRet+0
0A28809C  00000000  0000:00000000 
FF50D845  FFFFFFFF  0000:00000000 

Call stack:
Address   Frame     Function      SourceFile
7C82860C  00000000  KiFastSystemCallRet+0
77E4CF8C  00000000  ReadConsoleW+19B
77EB2904  00000000  ReadConsoleA+3B
77E418F4  00000000  ReadFile+A5
78586A93  00000000  realloc+9F7
78586F17  00000000  _read+C0
7854EC7A  00000000  _filbuf+7D
7854E319  00000000  fgets+109
00410568  00000000  CliRunnable::run+B8
0088FAA9  00000000  ACE_Based::Thread::ThreadTask+19
002914D4  00000000  __WSAFDIsSet+FFFFFFFFFFFCC45C
78543433  00000000  _endthreadex+44
785434C7  00000000  _endthreadex+D8
77E6482F  00000000  GetModuleHandleA+DF

Call stack:
Address   Frame     Function      SourceFile
7C82860C  00000000  KiFastSystemCallRet+0
77E424FD  00000000  Sleep+F
0088FCC0  00000000  ACE_Based::Thread::Sleep+30
0042C1CB  00000000  RARunnable::run+22B
0088FAA9  00000000  ACE_Based::Thread::ThreadTask+19
002914D4  00000000  __WSAFDIsSet+FFFFFFFFFFFCC45C
78543433  00000000  _endthreadex+44
785434C7  00000000  _endthreadex+D8
77E6482F  00000000  GetModuleHandleA+DF

Call stack:
Address   Frame     Function      SourceFile
7C82860C  00000000  KiFastSystemCallRet+0
71B21A03  00000000  0001:00000A03 C:\\WINDOWS\\system32\\MSWSOCK.dll
71C0283C  00000000  select+A1
00254AE5  00000000  __WSAFDIsSet+FFFFFFFFFFF8FA6D
002B79AF  00000000  __WSAFDIsSet+FFFFFFFFFFFF2937
002B8220  00000000  __WSAFDIsSet+FFFFFFFFFFFF31A8
002B83C8  00000000  __WSAFDIsSet+FFFFFFFFFFFF3350
0029C13D  00000000  __WSAFDIsSet+FFFFFFFFFFFD70C5
00623B15  00000000  ReactorRunnable::svc+65

Call stack:
Address   Frame     Function      SourceFile
7C82860C  00000000  KiFastSystemCallRet+0
7C829F79  00000000  RtlFreeHeap+142
========================
Local Variables And Parameters

Call stack:
Address   Frame     Function      SourceFile
004D9E3E  00000000  stdext::_Hash<std::tr1::_Umap_traits<unsigned __int64,Pet *,stdext::_Hash_compare<unsigned __int64,std::tr1::hash<unsigned __int64>,std::equal_to<unsigned __int64> >,std::allocator<std::Pair<unsigned __int64 const ,Pet *> >,0> >::lower_bound+1E
   Local  <user defined> 'this'
   Local  <user defined> '_Keyval'
   Local  <user defined> '_Where'
punting on symbol _Bucket

004D9C26  00000000  TypeUnorderedMapContainer<TypeList<Creature,TypeList<Pet,TypeList<Vehicle,TypeList<GameObject,TypeList<DynamicObject,TypeNull> > > > >,unsigned __int64>::find<Pet>+16
   Local  <user defined> 'elements'
punting on symbol hdl
   Local  <user defined> '__formal'
   Local  <user defined> 'i'

004D9789  00000000  TypeUnorderedMapContainer<TypeList<Creature,TypeList<Pet,TypeList<Vehicle,TypeList<GameObject,TypeList<DynamicObject,TypeNull> > > > >,unsigned __int64>::find<Pet,Pet,TypeList<Vehicle,TypeList<GameObject,TypeList<DynamicObject,TypeNull> > > >+19
   Local  <user defined> 'elements'
punting on symbol hdl
   Local  <user defined> '__formal'
   Local  <user defined> 'ret'

004C2496  00000000  Map::GetPet+36
   Local  <user defined> 'this'
punting on symbol guid

00472F79  00000000  Unit::GetPet+69
   Local  <user defined> 'pet'
punting on symbol pet_guid
   Local  <user defined> 'this'

0068F5F0  00000000  AreaAura::Update+310
   Local  <user defined> 'pet'
   Local  <user defined> 'Target'
   Local  <user defined> 'itr'
punting on symbol subgroup
   Local  <user defined> 'pGroup'
   Local  <user defined> 'targets'
   Local  <user defined> 'owner'
   Local  <user defined> 'caster'
   Local  <user defined> 'this'
punting on symbol diff

00463352  00000000  Unit::_UpdateSpells+152
   Local  <user defined> 'i_aura'
punting on symbol i
   Local  <user defined> 'this'
punting on symbol time

00458A7A  00000000  Unit::Update+4A
   Local  <user defined> 'this'
punting on symbol p_time

004E430C  00000000  Player::Update+EC
   Local  <user defined> 'this'
punting on symbol p_time
punting on symbol now
   Local  <user defined> 'pet'

004B8829  00000000  Map::Update+D9
   Local  <user defined> 'this'
   Local  <user defined> 't_diff'
   Local  <user defined> 'updater'
   Local  <user defined> 'world_object_update'
   Local  <user defined> 'grid_object_update'

0066B5B8  00000000  MapManager::Update+128
   Local  <user defined> 'iter'
   Local  <user defined> 'this'
punting on symbol diff

0060CB8B  00000000  World::Update+77B
punting on symbol i
   Local  <user defined> 'this'
punting on symbol diff

0043064E  00000000  WorldRunnable::run+8E
punting on symbol diff
   Local  <user defined> 'this'
punting on symbol realCurrTime
punting on symbol realPrevTime
punting on symbol prevSleepTime

0088FAA9  00000000  ACE_Based::Thread::ThreadTask+19
punting on symbol param
   Local  <user defined> '_task'

002914D4  00000000  __WSAFDIsSet+FFFFFFFFFFFCC45C

78543433  00000000  _endthreadex+44

785434C7  00000000  _endthreadex+D8

77E6482F  00000000  GetModuleHandleA+DF

========================
Global Variables

Link to comment
Share on other sites

maybe

diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 166cbaa..5446a55 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -7965,8 +7965,9 @@ Pet* Unit::GetPet() const
{
    if(uint64 pet_guid = GetPetGUID())
    {
-        if(Pet* pet = GetMap()->GetPet(pet_guid))
-            return pet;
+        if(IsInWorld())
+            if(Pet* pet = GetMap()->GetPet(pet_guid))
+                return pet;

        sLog.outError("Unit::GetPet: Pet %u not exist.",GUID_LOPART(pet_guid));
        const_cast<Unit*>(this)->SetPet(0);

?

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use