• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Linux How To Open GDB Crash Log?

Printer

if Printer then print("LUA") end
Senator
Premium User
Joined
Dec 27, 2009
Messages
5,780
Solutions
31
Reaction score
2,299
Location
Sweden?
Hello,

My server crash and i can see the crash log "core", inside my server folder which is located at home folder. Ive searched around how to open it. I doing what they wrote but doesnt work. Either it can find the file or directory.


Please help!
 
Someone help me to read it?

Code:
Core was generated by `./theforgottenserver --log-file output.txt error.txt'.
Program terminated with signal 11, Segmentation fault.
#0  0x0000000000534e06 in Monster::doAttacking (this=0x515ca30, interval=500)
    at monster.cpp:889
889                                     if(attackedCreature->getMonster() && !at                                                                                        tackedCreature->isSummon())
(gdb) bt
#0  0x0000000000534e06 in Monster::doAttacking (this=0x515ca30, interval=500)
    at monster.cpp:889
#1  0x000000000045cd21 in Creature::onAttacking (this=0x515ca30, interval=500)
    at creature.cpp:227
#2  0x0000000000461c2e in Creature::onThink (this=0x515ca30, interval=500)
    at creature.cpp:201
#3  0x00000000005351e8 in Monster::onThink (this=0x0, interval=0)
    at monster.cpp:751
#4  0x000000000048b22e in Game::checkCreatures (this=0x899800) at game.cpp:4159
#5  0x00000000004a0d78 in boost::_mfi::mf0<void, Game>::operator() (
    function_obj_ptr=<value optimized out>)
    at /usr/include/boost/bind/mem_fn_template.hpp:49
#6  operator()<boost::_mfi::mf0<void, Game>, boost::_bi::list0> (
    function_obj_ptr=<value optimized out>)
    at /usr/include/boost/bind/bind.hpp:253
#7  boost::_bi::bind_t<void, boost::_mfi::mf0<void, Game>, boost::_bi::list1<boost::_bi::value<Game*> > >::operator() (function_obj_ptr=<value optimized out>)
    at /usr/include/boost/bind/bind_template.hpp:20
#8  boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, Game>, boost::_bi::list1<boost::_bi::value<Game*> > >, void>::invoke (function_obj_ptr=<value optimized out>)
    at /usr/include/boost/function/function_template.hpp:153
#9  0x00000000005e30a7 in Task::operator()() ()
---Type <return> to continue, or q <return> to quit---return
#10 0x00000000005e280f in Dispatcher::dispatcherThread (
    p=<value optimized out>) at tasks.cpp:73
#11 0x00000000005b7782 in operator()<void (*)(void*), boost::_bi::list0> (
    this=0x1) at /usr/include/boost/bind/bind.hpp:253
#12 boost::_bi::bind_t<void, void (*)(void*), boost::_bi::list1<boost::_bi::value<void*> > >::operator() (this=0x1)
    at /usr/include/boost/bind/bind_template.hpp:20
#13 boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(void*), boost::_bi::list1<boost::_bi::value<void*> > > >::run (this=0x1)
    at /usr/include/boost/thread/detail/thread.hpp:56
#14 0x00007fd2e35f8200 in thread_proxy ()
   from /usr/lib/libboost_thread.so.1.42.0
#15 0x00007fd2e231a8ca in start_thread () from /lib/libpthread.so.0
#16 0x00007fd2e25ffb6d in clone () from /lib/libc.so.6
#17 0x0000000000000000 in ?? ()
 

Similar threads

Back
Top