Jump to content

[Crash] Error: Assertion in GetUInt64Value failed


michalpolko

Recommended Posts

Rev. 11261 with a lot of custom fixes and using ScriptDev2 some recent rev.

WORLD: Recvd CMSG_FORCE_RUN_SPEED_CHANGE_ACK (227, 0xE3) opcode
WORLD: Recvd CMSG_FORCE_SWIM_SPEED_CHANGE_ACK (231, 0xE7) opcode
WORLD: Recvd CMSG_FORCE_FLIGHT_SPEED_CHANGE_ACK (898, 0x382) opcode
WORLD: Recvd MSG_MOVE_STOP (183, 0xB7) opcode
STORAGE_SIZE: 34
07 09 BD 03 00 00 00 00 | 00 00 2E 6D 14 01 2B F6 
EE 44 06 BB 4E 44 28 A3 | 1A 42 9B C4 25 3F 27 01 
00 00 
Sending SMSG_SPELL_START id=31600
WORLD: Recvd CMSG_FORCE_RUN_SPEED_CHANGE_ACK (227, 0xE3) opcode
WORLD: Recvd CMSG_FORCE_SWIM_SPEED_CHANGE_ACK (231, 0xE7) opcode
WORLD: Recvd CMSG_FORCE_FLIGHT_SPEED_CHANGE_ACK (898, 0x382) opcode
WORLD: Recvd CMSG_FORCE_RUN_SPEED_CHANGE_ACK (227, 0xE3) opcode
WORLD: Recvd CMSG_FORCE_SWIM_SPEED_CHANGE_ACK (231, 0xE7) opcode
WORLD: Recvd CMSG_FORCE_FLIGHT_SPEED_CHANGE_ACK (898, 0x382) opcode
WORLD: Recvd CMSG_FORCE_RUN_SPEED_CHANGE_ACK (227, 0xE3) opcode
WORLD: Recvd CMSG_FORCE_SWIM_SPEED_CHANGE_ACK (231, 0xE7) opcode
WORLD: Recvd CMSG_FORCE_FLIGHT_SPEED_CHANGE_ACK (898, 0x382) opcode
WORLD: Recvd CMSG_FORCE_RUN_SPEED_CHANGE_ACK (227, 0xE3) opcode
WORLD: Recvd CMSG_FORCE_SWIM_SPEED_CHANGE_ACK (231, 0xE7) opcode
WORLD: Recvd CMSG_FORCE_FLIGHT_SPEED_CHANGE_ACK (898, 0x382) opcode
Attempt get value from nonexistent value field: 0 (count: 0) for object typeid: 0 type mask: 0
mangosd: /home/MaNGOS/source/src/game/Object.h:184: const uint64& Object::GetUInt64Value(uint16) const: Assertion `"index + 1 < m_valuesCount || PrintIndexError( index , false)" && 0' failed.
/home/MaNGOS/source/src/game/Object.h:184: Error: Assertion in GetUInt64Value failed: index + 1 < m_valuesCount || PrintIndexError( index , false)[New Thread 0x431c7950 (LWP 32728)]
[Thread 0x431c7950 (LWP 32728) exited]
[New Thread 0x431c7950 (LWP 32729)]
[New Thread 0x439c8950 (LWP 32730)]
[New Thread 0x40a2a950 (LWP 32731)]
[New Thread 0x441c9950 (LWP 32732)]
[New Thread 0x449ca950 (LWP 32733)]
[New Thread 0x451cb950 (LWP 32734)]
[New Thread 0x459cc950 (LWP 32735)]
[New Thread 0x461cd950 (LWP 32736)]
[New Thread 0x469ce950 (LWP 32737)]
[New Thread 0x471cf950 (LWP 32738)]
[New Thread 0x479d0950 (LWP 32739)]
[New Thread 0x481d1950 (LWP 32740)]
[New Thread 0x489d2950 (LWP 32741)]
[New Thread 0x491d3950 (LWP 32742)]

Program received signal SIGABRT, Aborted.
[switching to Thread 0x431c7950 (LWP 32729)]
0x00007f5e2b832ed5 in raise () from /lib/libc.so.6
#0  0x00007f5e2b832ed5 in raise () from /lib/libc.so.6
#1  0x00007f5e2b8343f3 in abort () from /lib/libc.so.6
#2  0x00007f5e2b82bdc9 in __assert_fail () from /lib/libc.so.6
#3  0x0000000000881215 in Object::GetUInt64Value (this=0x7f5da8918100, index=0) at /home/MaNGOS/source/src/game/Object.h:184
#4  0x000000000088124b in Object::GetGuidValue (this=0x7f5da8918100, index=0) at /home/MaNGOS/source/src/game/Object.h:208
#5  0x0000000000881268 in Object::GetObjectGuid (this=0x7f5da8918100) at /home/MaNGOS/source/src/game/Object.h:136
#6  0x000000000088127f in Object::GetGUIDLow (this=0x7f5da8918100) at /home/MaNGOS/source/src/game/Object.h:138
#7  0x0000000000c1c906 in Unit::SendMeleeAttackStop (this=0x9bc8000, victim=0x7f5da8918100)
   at /home/MaNGOS/source/src/game/Unit.cpp:3054
#8  0x0000000000c1cac7 in Unit::AttackStop (this=0x9bc8000, targetSwitch=false) at /home/MaNGOS/source/src/game/Unit.cpp:6139
#9  0x0000000000aa6c0e in WorldSession::HandleAttackStopOpcode (this=0x7f5de3b2d600)
   at /home/MaNGOS/source/src/game/CombatHandler.cpp:73
#10 0x0000000000882c91 in WorldSession::ExecuteOpcode (this=0x7f5de3b2d600, opHandle=@0x126d200, packet=0x7f5dee943940)
   at /home/MaNGOS/source/src/game/WorldSession.cpp:928
#11 0x0000000000885643 in WorldSession::Update (this=0x7f5de3b2d600, diff=148, updater=@0x431c6f40)
   at /home/MaNGOS/source/src/game/WorldSession.cpp:227
#12 0x00000000009722d7 in Map::Update (this=0x119fc000, t_diff=@0x7f5dc6772e78) at /home/MaNGOS/source/src/game/Map.cpp:452
#13 0x0000000000972b77 in DungeonMap::Update (this=0x119fc000, t_diff=@0x7f5dc6772e78)
   at /home/MaNGOS/source/src/game/Map.cpp:1452
#14 0x0000000000d153e0 in MapUpdateRequest::call (this=0x7f5dc6772e58) at /home/MaNGOS/source/src/game/MapUpdater.cpp:47
#15 0x0000000000d6a67e in DelayExecutor::svc (this=0x7f5dfd9e0250) at /home/MaNGOS/source/src/shared/DelayExecutor.cpp:60
#16 0x00007f5e2d8e76d7 in ACE_Task_Base::svc_run (args=<value optimized out>)
   at /home/MaNGOS/source/dep/ACE_wrappers/ace/Task.cpp:271
#17 0x00007f5e2d8e8d85 in ACE_Thread_Adapter::invoke (this=0x7f5dfd6d0a00)
   at /home/MaNGOS/source/dep/ACE_wrappers/ace/Thread_Adapter.cpp:94
#18 0x00007f5e2bb5afc7 in start_thread () from /lib/libpthread.so.0
#19 0x00007f5e2b8d064d in clone () from /lib/libc.so.6
#20 0x0000000000000000 in ?? ()

So m_valuesCount == 0 here (set in constructor of Object and overwritten by inherited classes constructors? so should not happen for Creatures, Players etc?)? Why? Where should I search for the reason of this crash? I would like to report (if really connected to clean core code) and learn how to fix this ;)

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