Jump to content

[ Crash ] GetUInt32Value


Guest hentai01

Recommended Posts

Hello!

Im having this crash now, it's not that offen but im just posting here becouse i as searching and i saw something strange and i want to share that info and to know if it's normal or not.

Core was generated by `./mangos-worldd -c ../etc/mangosd.conf'.
Program terminated with signal 6, Aborted.
[New process 30981]
[New process 30985]
[New process 30984]
[New process 30983]
[New process 30982]
[New process 30552]
[New process 30550]
[New process 30548]
[New process 30546]
#0  0x000000355e830265 in raise () from /lib64/libc.so.6
#0  0x000000355e830265 in raise () from /lib64/libc.so.6
No symbol table info available.
#1  0x000000355e831d10 in abort () from /lib64/libc.so.6
No symbol table info available.
#2  0x000000355e8296e6 in __assert_fail () from /lib64/libc.so.6
No symbol table info available.
#3  0x000000000051aa0f in Object::GetUInt32Value (this=0x3c6c8f00, index=3)
   at ../../../src/game/Object.h:144
   st = {static SYMBUFSIZ = 4096, 
 buf_ = "./mangos-worldd(_ZN5Spell9CheckCastEb+0x1c76) [0x74c646]\\n./mangos-worldd(_ZN5Spell4castEb+0x4de) [0x7522de]\\n./mangos-worldd(_ZN5Spell6updateEj+0xe0) [0x753470]\\n./mangos-worldd(_ZN10SpellEvent7ExecuteE"..., buflen_ = 758, 
 static UNSUPPORTED = 0x2ab15d444aa0 "<stack traces unsupported platform>", 
 static UNABLE_TO_GET_TRACE = 0x2ab15d444ad0 "<unable to get trace>"}
#4  0x0000000000745c07 in Spell::CheckItems (this=0x2aab1a383760)
   at ../../../src/game/Object.h:116
   proto = <value optimized out>
   p_caster = <value optimized out>
#5  0x000000000074c646 in Spell::CheckCast (this=0x2aab1a383760, strict=false)
   at ../../../src/game/Spell.cpp:4271
   castResult = <value optimized out>
   zone = 130
   area = 240
   locRes = SPELL_FAILED_SUCCESS
#6  0x00000000007522de in Spell::cast (this=0x2aab1a383760, skipCheck=false)
   at ../../../src/game/Spell.cpp:2548
   castResult = SPELL_FAILED_SUCCESS
#7  0x0000000000753470 in Spell::update (this=0x2aab1a383760, difftime=14893)
   at ../../../src/game/Spell.cpp:2911
No locals.
#8  0x0000000000753950 in SpellEvent::Execute (this=0x2aaaf9d0f590, 
   e_time=403966, p_time=6) at ../../../src/game/Spell.cpp:6136
No locals.
#9  0x00000000008a94b4 in EventProcessor::Update (this=0x2aaaf67e5e90, 
   p_time=14893) at ../../../src/framework/Utilities/EventProcessor.cpp:47
   Event = (BasicEvent *) 0x2aaaf9d0f590
#10 0x00000000007bfb6f in Unit::Update (this=0x2aaaf67e5da0, p_time=14893)
   at ../../../src/game/Unit.cpp:292
No locals.
#11 0x0000000000702285 in Player::Update (this=0x2aaaf67e5da0, p_time=14893)
   at ../../../src/game/Player.cpp:1124
   now = <value optimized out>
   pet = <value optimized out>
#12 0x00000000006332d3 in Map::Update (this=0x1e051960, t_diff=@0x43ac2fcc)
   at ../../../src/game/Map.cpp:593
   plr = (class Player *) 0x7752
   updater = {i_timeDiff = 3345504752}
   __FUNCTION__ = "Update"
   __PRETTY_FUNCTION__ = "virtual void Map::Update(const uint32&)"
#13 0x0000000000645166 in MapManager::Update (this=0x1e051280, 
   diff=<value optimized out>) at ../../../src/game/MapManager.cpp:262
   iter = {_M_cur = 0x1de9d310, _M_ht = 0x1e051308}
#14 0x00000000007d8be2 in World::Update (this=0x2aaaac017080, diff=14893)
   at ../../../src/game/World.cpp:1411
No locals.
#15 0x000000000050c11d in WorldRunnable::run (this=<value optimized out>)
   at ../../../src/mangosd/WorldRunnable.cpp:60
   diff = 14893
   realCurrTime = 3224079251
   realPrevTime = <value optimized out>
   prevSleepTime = 0
#16 0x000000000088d9a5 in ACE_Based::Thread::ThreadTask (param=0x7752)
   at ../../../src/shared/Threading.cpp:187
   _task = (class ACE_Based::Runnable *) 0x1a7f5770
#17 0x000000355f406617 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#18 0x000000355e8d3c2d in clone () from /lib64/libc.so.6
No symbol table info available.

So i search the file Object.H and on line @136 has a duplicate is that normal?

        const int32& GetInt32Value( uint16 index ) const
       {
           ASSERT( index < m_valuesCount || PrintIndexError( index , false) );
           return m_int32Values[ index ];
       }

       const uint32& GetUInt32Value( uint16 index ) const
       {
           ASSERT( index < m_valuesCount || PrintIndexError( index , false) );
           return m_uint32Values[ index ];
       }

Thanks!

Mangos Revision 9652

YTDB 541

Sd2 1660

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