• 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 server crash gdb log

roriscrave

Advanced OT User
Joined
Dec 7, 2011
Messages
1,210
Solutions
35
Reaction score
207
my server down and gdb gerenate this log

Code:
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from theforgottenserver...done.

warning: core file may not match specified executable file.
[New LWP 8091]
[New LWP 8093]
[New LWP 8090]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./theforgottenserver --log-file output.txt error.txt'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00000000004f2475 in Monster::doAttacking (this=0x7fbc26bca0f0,
    interval=500) at monster.cpp:1842
1842    const Position& targetPos = attackedCreature->getPosition();
(gdb) bt
#0  0x00000000004f2475 in Monster::doAttacking (this=0x7fbc26bca0f0,
    interval=500) at monster.cpp:1842
#1  0x0000000000449178 in Creature::onAttacking (this=0x7fbc26bca0f0,
    interval=500) at creature.cpp:227
#2  0x000000000044a35d in Creature::onThink (this=this@entry=0x7fbc26bca0f0,
    interval=interval@entry=500) at creature.cpp:201
#3  0x00000000004f3a72 in Monster::onThink (this=0x7fbc26bca0f0, interval=500)
    at monster.cpp:1048
#4  0x0000000000470f98 in Game::checkCreatures (this=0x835040 <g_game>)
    at game.cpp:4064
#5  0x0000000000479a52 in operator() (p=<optimized out>, this=<optimized out>)
    at /usr/include/boost/bind/mem_fn_template.hpp:49
#6  operator()<boost::_mfi::mf0<void, Game>, boost::_bi::list0> (
    a=<synthetic pointer>, f=..., this=<optimized out>)
    at /usr/include/boost/bind/bind.hpp:253
#7  operator() (this=<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=...)
    at /usr/include/boost/function/function_template.hpp:153
#9  0x000000000057b776 in operator() (this=0x7fbc157920c0)
    at /usr/include/boost/function/function_template.hpp:767
---Type <return> to continue, or q <return> to quit---

here when i type apply all bt full
Code:
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from theforgottenserver...done.

warning: core file may not match specified executable file.
[New LWP 8091]
[New LWP 8093]
[New LWP 8090]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./theforgottenserver --log-file output.txt error.txt'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00000000004f2475 in Monster::doAttacking (this=0x7fbc26bca0f0,
    interval=500) at monster.cpp:1842
1842    const Position& targetPos = attackedCreature->getPosition();
(gdb) thread apply all bt full

Thread 3 (Thread 0x7fbc40c75780 (LWP 8090)):
#0  0x00007fbc3e6e9a13 in epoll_wait ()
    at ../sysdeps/unix/syscall-template.S:81
No locals.
#1  0x0000000000561f80 in asio::detail::epoll_reactor::run (this=0x23306e0,
    block=block@entry=true, ops=...)
    at /usr/include/asio/detail/impl/epoll_reactor.ipp:391
        timeout = -1
        events = {{events = 1, data = {ptr = 0x2330738, fd = 36898616,
              u32 = 36898616, u64 = 36898616}}, {events = 1, data = {
              ptr = 0x2438880, fd = 37980288, u32 = 37980288,
              u64 = 37980288}}, {events = 1, data = {ptr = 0x2403710,
              fd = 37762832, u32 = 37762832, u64 = 37762832}}, {events = 0,
            data = {ptr = 0x18, fd = 24, u32 = 24, u64 = 24}}, {
            events = 5892408, data = {ptr = 0xc721c84000000000, fd = 0,
              u32 = 0, u64 = 14348970064982573056}}, {events = 32766, data = {
              ptr = 0x7ffec721c840, fd = -954087360, u32 = 3340879936,
              u64 = 140732239300672}}, {events = 48, data = {
              ptr = 0x240825800000000, fd = 0, u32 = 0,
              u64 = 162272901054070784}}, {events = 0, data = {
              ptr = 0x2408258, fd = 37782104, u32 = 37782104,
              u64 = 37782104}}, {events = 5520138, data = {ptr = 0x0, fd = 0,
---Type <return> to continue, or q <return> to quit---

who can help me?
 
Last edited:
Back
Top