Crevasse
惡名昭彰
Hello,
Below is my GDB dump I'm getting when my server crashes. Hoping someone more knowledgeable than me can offer insight on where I need to look.
I can post/link whatever source files are needed, not posting any yet since I don't even know what needs to be examined.
Thanks
Below is my GDB dump I'm getting when my server crashes. Hoping someone more knowledgeable than me can offer insight on where I need to look.
C++:
Thread 2 "tfs" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff493b700 (LWP 2308)]
0x00005555559192b8 in Tile::hasProperty(ITEMPROPERTY) const ()
(gdb) bt full
#0 0x00005555559192b8 in Tile::hasProperty(ITEMPROPERTY) const ()
No symbol table info available.
#1 0x00005555556d2680 in AreaCombat::getList(Position const&, Position const&, std::forward_list<T ile*, std::allocator<Tile*> >&) const ()
No symbol table info available.
#2 0x00005555556cf563 in Combat::getCombatArea(Position const&, Position const&, AreaCombat const* , std::forward_list<Tile*, std::allocator<Tile*> >&) ()
No symbol table info available.
#3 0x00005555556d0c51 in Combat::CombatFunc(Creature*, Position const&, AreaCombat const*, CombatP arams const&, void (*)(Creature*, Creature*, CombatParams const&, CombatDamage*), CombatDamage*)
()
No symbol table info available.
#4 0x00005555556d14c2 in Combat::doCombatHealth(Creature*, Position const&, AreaCombat const*, Com batDamage&, CombatParams const&) ()
No symbol table info available.
#5 0x00005555556d12a2 in Combat::doCombat(Creature*, Position const&) const ()
No symbol table info available.
#6 0x000055555590d790 in CombatSpell::castSpell(Creature*) ()
No symbol table info available.
#7 0x000055555590d967 in CombatSpell::castSpell(Creature*, Creature*) ()
No symbol table info available.
#8 0x0000555555862627 in Monster::doAttacking(unsigned int) ()
No symbol table info available.
#9 0x000055555570798b in Creature::onAttacking(unsigned int) ()
No symbol table info available.
#10 0x000055555573cbaf in Game::checkCreatures(unsigned long) ()
No symbol table info available.
#11 0x000055555576542d in void std::__invoke_impl<void, void (Game::*&)(unsigned long), Game*&, uns igned long&>(std::__invoke_memfun_deref, void (Game::*&)(unsigned long), Game*&, unsigned long&)
()
No symbol table info available.
#12 0x00005555557621b4 in std::__invoke_result<void (Game::*&)(unsigned long), Game*&, unsigned lon g&>::type std::__invoke<void (Game::*&)(unsigned long), Game*&, unsigned long&>(void (Game::*&)(uns igned long), Game*&, unsigned long&) ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---Thread 2 "tfs" received signal SIGSEGV, Segmentation fault.
#13 0x000055555575d144 in void std::_Bind<void (Game::*(Game*, unsigned long))(unsigned long)>::__call<void, , 0ul, 1ul>(std::tuple<>&&, std::_Index_tuple<0ul, 1ul>) ()
No symbol table info available.
#14 0x0000555555756759 in void std::_Bind<void (Game::*(Game*, unsigned long))(unsigned long)>::operator()<, void>() ()
No symbol table info available.
#15 0x0000555555750868 in std::_Function_handler<void (), std::_Bind<void (Game::*(Game*, unsigned long))(unsigned long)> >::_M_invoke(std::_Any_data const&) ()
No symbol table info available.
#16 0x00005555559180ca in std::function<void ()>::operator()() const ()
No symbol table info available.
#17 0x0000555555918020 in Task::operator()() ()
No symbol table info available.
#18 0x00005555559177e6 in Dispatcher::threadMain() ()
No symbol table info available.
#19 0x0000555555895a98 in void std::__invoke_impl<void, void (Dispatcher::*)(), Dispatcher*>(std::__invoke_memfun_deref, void (Dispatcher::*&&)(), Dispatcher*&&)
()
No symbol table info available.
#20 0x00005555558946c9 in std::__invoke_result<void (Dispatcher::*)(), Dispatcher*>::type std::__invoke<void (Dispatcher::*)(), Dispatcher*>(void (Dispatcher::*&&)(), Dispatcher*&&) ()
No symbol table info available.
#21 0x000055555589bfeb in decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)())) std::thread::_Invoker<std::tuple<void (Dispatcher::*)(), Dispatcher*> >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) ()
No symbol table info available.
#22 0x000055555589bc38 in std::thread::_Invoker<std::tuple<void (Dispatcher::*)(), Dispatcher*> >::operator()() ()
No symbol table info available.
#23 0x000055555589b818 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (Dispatcher::*)(), Dispatcher*> > >::_M_run() ()
No symbol table info available.
#24 0x00007ffff67e06df in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
#25 0x00007ffff6ab36db in start_thread (arg=0x7ffff493b700) at pthread_create.c:463
pd = 0x7ffff493b700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737296709376, 7936763167146317490, 140737296707456, 0, 93824999949088, 140737488347536,
-7936779416654768462, -7936783613110184270}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0,
canceltype = 0}}}
not_first_call = <optimized out>
#26 0x00007ffff5e9d71f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.
(gdb) [Switching to Thread 0x7ffff493b700 (LWP 2308)]
Undefined command: "". Try "help".
(gdb) 0x00005555559192b8 in Tile::hasProperty(ITEMPROPERTY) const ()
Undefined command: "0x00005555559192b8". Try "help".
(gdb) (gdb) bt full
Undefined command: "". Try "help".
(gdb) #0 0x00005555559192b8 in Tile::hasProperty(ITEMPROPERTY) const ()
(gdb) No symbol table info available.
Undefined command: "No". Try "help".
(gdb) #1 0x00005555556d2680 in AreaCombat::getList(Position const&, Position const&, std::forward_list<T ile*, std::allocator<Tile*> >&) const ()
(gdb) No symbol table info available.
Undefined command: "No". Try "help".
(gdb) #2 0x00005555556cf563 in Combat::getCombatArea(Position const&, Position const&, AreaCombat const* , std::forward_list<Tile*, std::allocator<Tile*> >&) ()
(gdb) No symbol table info available.
Undefined command: "No". Try "help".
(gdb) #3 0x00005555556d0c51 in Combat::CombatFunc(Creature*, Position const&, AreaCombat const*, CombatP arams const&, void (*)(Creature*, Creature*, CombatParams const&, CombatDamage*), CombatDamage*)
(gdb) ()
Undefined command: "". Try "help".
(gdb) No symbol table info available.
Undefined command: "No". Try "help".
(gdb) #4 0x00005555556d14c2 in Combat::doCombatHealth(Creature*, Position const&, AreaCombat const*, Com batDamage&, CombatParams const&) ()
(gdb) No symbol table info available.
Undefined command: "No". Try "help".
(gdb) #5 0x00005555556d12a2 in Combat::doCombat(Creature*, Position const&) const ()
(gdb) No symbol table info available.
Undefined command: "No". Try "help".
(gdb) #6 0x000055555590d790 in CombatSpell::castSpell(Creature*) ()
(gdb) No symbol table info available.
Undefined command: "No". Try "help".
(gdb) #7 0x000055555590d967 in CombatSpell::castSpell(Creature*, Creature*) ()
(gdb) No symbol table info available.
Undefined command: "No". Try "help".
(gdb) #8 0x0000555555862627 in Monster::doAttacking(unsigned int) ()
(gdb) No symbol table info available.
Undefined command: "No". Try "help".
(gdb) #9 0x000055555570798b in Creature::onAttacking(unsigned int) ()
(gdb) No symbol table info available.
Undefined command: "No". Try "help".
(gdb) #10 0x000055555573cbaf in Game::checkCreatures(unsigned long) ()
(gdb) No symbol table info available.
Undefined command: "No". Try "help".
(gdb) #11 0x000055555576542d in void std::__invoke_impl<void, void (Game::*&)(unsigned long), Game*&, uns igned long&>(std::__invoke_memfun_deref, void (Game::*&)(unsigned long), Game*&, unsigned long&)
(gdb) ()
Undefined command: "". Try "help".
(gdb) No symbol table info available.
Undefined command: "No". Try "help".
(gdb) #12 0x00005555557621b4 in std::__invoke_result<void (Game::*&)(unsigned long), Game*&, unsigned lon g&>::type std::__invoke<void (Game::*&)(unsigned long), Game*&, unsigned long&>(void (Game::*&)(uns igned long), Game*&, unsigned long&) ()
(gdb) No symbol table info available.
I can post/link whatever source files are needed, not posting any yet since I don't even know what needs to be examined.
Thanks