• 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!

TFS 0.X Server crashing at close

potinho

Advanced OT User
Joined
Oct 11, 2009
Messages
1,403
Solutions
17
Reaction score
151
Location
Brazil
Good morning guys,

My server is crashing after save on global shutdown and making a core report. Someone can explain what is happening to me? Maybe something to fix? Thank you all.

C++:
[New LWP 9222]
[New LWP 9216]
[New LWP 9221]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000000000000000 in ?? ()
[Current thread is 1 (Thread 0x7f975bfff700 (LWP 9222))]
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x000055f71486047f in ServicePort::handle (this=0x7f97924a2540,
    acceptor=..., socket=0x7f9754067450, error=...) at server.cpp:170
#2  0x000055f71486dbad in boost::_mfi::mf3<void, ServicePort, boost::shared_ptr<                                                                                                                                                             boost::asio::basic_socket_acceptor<boost::asio::ip::tcp, boost::asio::socket_acc                                                                                                                                                             eptor_service<boost::asio::ip::tcp> > >, boost::asio::basic_stream_socket<boost:                                                                                                                                                             :asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >*, boo                                                                                                                                                             st::system::error_code const&>::eek:perator() (this=0x7f975bffebb0,
    p=0x7f97924a2540, a1=..., a2=0x7f9754067450, a3=...)
    at /usr/include/boost/bind/mem_fn_template.hpp:393
#3  0x000055f71486d92f in boost::_bi::list4<boost::_bi::value<ServicePort*>, boo                                                                                                                                                             st::_bi::value<boost::shared_ptr<boost::asio::basic_socket_acceptor<boost::asio:                                                                                                                                                             :ip::tcp, boost::asio::socket_acceptor_service<boost::asio::ip::tcp> > > >, boos                                                                                                                                                             t::_bi::value<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio                                                                                                                                                             ::stream_socket_service<boost::asio::ip::tcp> >[I]>, boost::arg<1> ([/I])()>::eek:perato                                                                                                                                                             r()<boost::_mfi::mf3<void, ServicePort, boost::shared_ptr<boost::asio::basic_soc                                                                                                                                                             ket_acceptor<boost::asio::ip::tcp, boost::asio::socket_acceptor_service<boost::a                                                                                                                                                             sio::ip::tcp> > >, boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost:                                                                                                                                                             :asio::stream_socket_service<boost::asio::ip::tcp> >*, boost::system::error_code                                                                                                                                                              const&>, boost::_bi::rrlist1<boost::system::error_code const&> > (
    this=0x7f975bffebc0, f=..., a=...) at /usr/include/boost/bind/bind.hpp:463
#4  0x000055f71486d699 in boost::_bi::bind_t<void, boost::_mfi::mf3<void, Servic                                                                                                                                                             ePort, boost::shared_ptr<boost::asio::basic_socket_acceptor<boost::asio::ip::tcp                                                                                                                                                             ---Type <return> to continue, or q <return> to quit---
, boost::asio::socket_acceptor_service<boost::asio::ip::tcp> > >, boost::asio::b                                                                                                                                                             asic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boos                                                                                                                                                             t::asio::ip::tcp> >[I], boost::system::error_code const&>, boost::_bi::list4<boost                                                                                                                                                             ::_bi::value<ServicePort[/I]>, boost::_bi::value<boost::shared_ptr<boost::asio::bas                                                                                                                                                             ic_socket_acceptor<boost::asio::ip::tcp, boost::asio::socket_acceptor_service<bo                                                                                                                                                             ost::asio::ip::tcp> > > >, boost::_bi::value<boost::asio::basic_stream_socket<bo                                                                                                                                                             ost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >[I]>                                                                                                                                                             , boost::arg<1> ([/I])()> >::eek:perator()<boost::system::error_code const&> (
    this=0x7f975bffebb0, a1=...) at /usr/include/boost/bind/bind.hpp:1306
#5  0x000055f71486d4bc in boost::asio::detail::binder1<boost::[I]bi::bind_t<void,                                                                                                                                                              boost::_mfi::mf3<void, ServicePort, boost::shared_ptr<boost::asio::basic_socket[/I]                                                                                                                                                             acceptor<boost::asio::ip::tcp, boost::asio::socket_acceptor_service<boost::asio:                                                                                                                                                             :ip::tcp> > >, boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asi                                                                                                                                                             o::stream_socket_service<boost::asio::ip::tcp> >[I], boost::system::error_code con                                                                                                                                                             st&>, boost::_bi::list4<boost::_bi::value<ServicePort[/I]>, boost::_bi::value<boost                                                                                                                                                             ::shared_ptr<boost::asio::basic_socket_acceptor<boost::asio::ip::tcp, boost::asi                                                                                                                                                             o::socket_acceptor_service<boost::asio::ip::tcp> > > >, boost::_bi::value<boost:                                                                                                                                                             :asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_serv                                                                                                                                                             ice<boost::asio::ip::tcp> >[I]>, boost::arg<1> ([/I])()> >, boost::system::error_code                                                                                                                                                             >::eek:perator() (this=0x7f975bffebb0)
    at /usr/include/boost/asio/detail/bind_handler.hpp:47
#6  0x000055f71486d0f0 in boost::asio::asio_handler_invoke<boost::asio::detail::                                                                                                                                                             binder1<boost::_bi::bind_t<void, boost::_mfi::mf3<void, ServicePort, boost::shar                                                                                                                                                             ---Type <return> to continue, or q <return> to quit---
ed_ptr<boost::asio::basic_socket_acceptor<boost::asio::ip::tcp, boost::asio::soc                                                                                                                                                             ket_acceptor_service<boost::asio::ip::tcp> > >, boost::asio::basic_stream_socket                                                                                                                                                             <boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp>                                                                                                                                                              >[I], boost::system::error_code const&>, boost::_bi::list4<boost::_bi::value<Servi                                                                                                                                                             cePort[/I]>, boost::_bi::value<boost::shared_ptr<boost::asio::basic_socket_acceptor                                                                                                                                                             <boost::asio::ip::tcp, boost::asio::socket_acceptor_service<boost::asio::ip::tcp                                                                                                                                                             > > > >, boost::_bi::value<boost::asio::basic_stream_socket<boost::asio::ip::tcp                                                                                                                                                             , boost::asio::stream_socket_service<boost::asio::ip::tcp> >[I]>, boost::arg<1> ([/I]                                                                                                                                                             )()> >, boost::system::error_code> > (function=...)
    at /usr/include/boost/asio/handler_invoke_hook.hpp:69
#7  0x000055f71486c514 in boost_asio_handler_invoke_helpers::invoke<boost::asio:                                                                                                                                                             :detail::binder1<boost::_bi::bind_t<void, boost::_mfi::mf3<void, ServicePort, bo                                                                                                                                                             ost::shared_ptr<boost::asio::basic_socket_acceptor<boost::asio::ip::tcp, boost::                                                                                                                                                             asio::socket_acceptor_service<boost::asio::ip::tcp> > >, boost::asio::basic_stre                                                                                                                                                             am_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::                                                                                                                                                             ip::tcp> >[I], boost::system::error_code const&>, boost::_bi::list4<boost::_bi::va                                                                                                                                                             lue<ServicePort[/I]>, boost::_bi::value<boost::shared_ptr<boost::asio::basic_socket                                                                                                                                                             _acceptor<boost::asio::ip::tcp, boost::asio::socket_acceptor_service<boost::asio                                                                                                                                                             ::ip::tcp> > > >, boost::_bi::value<boost::asio::basic_stream_socket<boost::asio                                                                                                                                                             ::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >[I]>, boost::                                                                                                                                                             arg<1> ([/I])()> >, boost::system::error_code>, boost::_bi::bind_t<void, boost::_mf                                                                                                                                                             i::mf3<void, ServicePort, boost::shared_ptr<boost::asio::basic_socket_acceptor<b                                                                                                                                                             oost::asio::ip::tcp, boost::asio::socket_acceptor_service<boost::asio::ip::tcp>                                                                                                                                                              ---Type <return> to continue, or q <return> to quit---
[QUOTE]
>, boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_                                                                                                                                                             socket_service<boost::asio::ip::tcp> >[I], boost::system::error_code const&>, boos                                                                                                                                                             t::[I]bi::list4<boost::_bi::value<ServicePort[/I]>, boost::_bi::value<boost::shared_p                                                                                                                                                             tr<boost::asio::basic_socket_acceptor<boost::asio::ip::tcp, boost::asio::socket[/I]                                                                                                                                                             acceptor_service<boost::asio::ip::tcp> > > >, boost::_bi::value<boost::asio::bas                                                                                                                                                             ic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost:                                                                                                                                                             :asio::ip::tcp> >[I]>, boost::arg<1> ([/I])()> > > (function=..., context=...)
[/QUOTE]
    at /usr/include/boost/asio/detail/handler_invoke_helpers.hpp:37
#8  0x000055f71486b62c in boost::asio::detail::reactive_socket_accept_op<boost::                                                                                                                                                             asio::basic_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boos                                                                                                                                                             t::asio::ip::tcp> >, boost::asio::ip::tcp, boost::_bi::bind_t<void, boost::_mfi:                                                                                                                                                             :mf3<void, ServicePort, boost::shared_ptr<boost::asio::basic_socket_acceptor<boo                                                                                                                                                             st::asio::ip::tcp, boost::asio::socket_acceptor_service<boost::asio::ip::tcp> >                                                                                                                                                              >, boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_so                                                                                                                                                             cket_service<boost::asio::ip::tcp> >[I], boost::system::error_code const&>, boost:                                                                                                                                                             :_bi::list4<boost::_bi::value<ServicePort[/I]>, boost::_bi::value<boost::shared_ptr                                                                                                                                                             <boost::asio::basic_socket_acceptor<boost::asio::ip::tcp, boost::asio::socket_ac                                                                                                                                                             ceptor_service<boost::asio::ip::tcp> > > >, boost::_bi::value<boost::asio::basic                                                                                                                                                             _stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::a                                                                                                                                                             sio::ip::tcp> >[I]>, boost::arg<1> ([/I])()> > >::do_complete (
    owner=0x55f715633900, base=0x7f9754050830)
    at /usr/include/boost/asio/detail/reactive_socket_accept_op.hpp:123
#9  0x000055f714861789 in boost::asio::detail::task_io_service_operation::comple                                                                                                                                                             ---Type <return> to continue, or q <return> to quit---
te (this=0x7f9754050830, owner=..., ec=..., bytes_transferred=0) at /usr/include/boost/asio/detail/task_io_service_operation.hpp:38
#10 0x000055f714862119 in boost::asio::detail::epoll_reactor::descriptor_state::do_complete (owner=0x55f715633900, base=0x7f97909945c0, ec=..., bytes_transferred=1) at /usr/include/boost/asio/detail/impl/epoll_reactor.ipp:704
#11 0x000055f714861789 in boost::asio::detail::task_io_service_operation::complete (this=0x7f97909945c0, owner=..., ec=..., bytes_transferred=1) at /usr/include/boost/asio/detail/task_io_service_operation.hpp:38
#12 0x000055f714862721 in boost::asio::detail::task_io_service::do_run_one (this=0x55f715633900, lock=..., this_thread=..., ec=...) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:372
#13 0x000055f7148623fb in boost::asio::detail::task_io_service::run (this=0x55f715633900, ec=...) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:149
#14 0x000055f714862883 in boost::asio::io_service::run (this=0x7ffcc82304f8) at /usr/include/boost/asio/impl/io_service.ipp:59
#15 0x000055f71486e167 in boost::_mfi::mf0<unsigned long, boost::asio::io_service>::eek:perator() (this=0x55f715634248, p=0x7ffcc82304f8) at /usr/include/boost/bind/mem_fn_template.hpp:49
#16 0x000055f71486e0cc in boost::_bi::list1<boost::_bi::value<boost::asio::io_service*> >::eek:perator()<unsigned long, boost::_mfi::mf0<unsigned long, boost::asio::io_service>, boost::_bi::list0> (this=0x55f715634258, f=..., a=...)
    at /usr/include/boost/bind/bind.hpp:249
#17 0x000055f71486e05c in boost::_bi::bind_t<unsigned long, boost::_mfi::mf0<unsigned long, boost::asio::io_service>, boost::_bi::list1<boost::_bi::value<boost::asio::io_service*> > >::eek:perator() (this=0x55f715634248)
    at /usr/include/boost/bind/bind.hpp:1294
#18 0x000055f71486df7e in boost::detail::thread_data<boost::_bi::bind_t<unsigned long, boost::_mfi::mf0<unsigned long, boost::asio::io_service>, boost::_bi::list1<boost::_bi::value<boost::asio::io_service*> > > >::run (
    this=0x55f715634090) at /usr/include/boost/thread/detail/thread.hpp:116
#19 0x00007f97a5ff5bcd in ?? () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.65.1
#20 0x00007f97a5dcc6db in start_thread (arg=0x7f975bfff700) at pthread_create.c:463
#21 0x00007f97a4b7461f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
 
Last edited:
I don't know how to fix it but there is a band-aid solution if the problem is the server crashing on global save and not saving players.
You can use this globalevent that will kick all players before the shutdown (kick all players > closeserver > shutdown)

Lua:
function onTimer(interval)
    return prepareShutdown(5)
end

function globalSv()
    doSetGameState(GAMESTATE_SHUTDOWN)
end   

function closeSv()
    for _, pid in ipairs(getPlayersOnline()) do
        if getPlayerGroupId(pid) == 1 then
            doRemoveCreature(pid)
        end
    end
    doSetGameState(GAMESTATE_CLOSED)
    doSaveServer()
end


function prepareShutdown(minutes)
    if(minutes <= 0) then
        addEvent(closeSv, 1*1000)
        addEvent(globalSv, 10*1000)
        return false
    end
   
    if(minutes == 1) then
        doBroadcastMessage("Server is going down in " .. minutes .. " minute for global save.")
        elseif(minutes <= 3) then
        doBroadcastMessage("Server is going down in " .. minutes .. " minutes for global save.")
        else
        doBroadcastMessage("Server is going down in " .. minutes .. " minutes for global save.")
    end
   
    shutdownEvent = addEvent(prepareShutdown, 60000, minutes - 1)
    return true
end
 
Last edited:
Still hapening

C++:
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./extremeot'.
Program terminated with signal SIGABRT, Aborted.
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
[Current thread is 1 (Thread 0x7fd8da256700 (LWP 20351))]
(gdb) thread apply all bt full

Thread 1 (Thread 0x7fd8da256700 (LWP 20351)):
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
        set = {__val = {0, 140569258168144, 140569143219344, 140569404278144, 4222451712, 140569258168144, 140569258168245, 140569258168144, 140569258168144, 140569258168296, 140569258168444, 140569258168144, 140569258168444, 0, 0, 0}}
        pid = <optimized out>
        tid = <optimized out>
        ret = <optimized out>
#1  0x00007fd8dd6407f1 in __GI_abort () at abort.c:79
---Type <return> to continue, or q <return> to quit---
        save_stage = 1
        act = {__sigaction_handler = {sa_handler = 0x7fd8d4b30f50, sa_sigaction = 0x7fd8d4b30f50}, sa_mask = {__val = {0, 140569246433312, 0, 0, 140569349544712, 0, 0, 5, 140569349544544, 140569405534400, 140569405519552, 0,
              8419933065632088064, 140569405504514, 0, 140569405519552}}, sa_flags = -1270250160, sa_restorer = 0x5606b449858d}
        sigs = {__val = {32, 0 <repeats 15 times>}}
        __cnt = <optimized out>
        __set = <optimized out>
        __cnt = <optimized out>
        __set = <optimized out>
#2  0x00007fd8dd6303fa in __assert_fail_base (fmt=0x7fd8dd7b76c0 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x5606b449858d "!ret",
    file=file@entry=0x5606b4498550 "/usr/include/boost/thread/pthread/condition_variable_fwd.hpp", line=line@entry=116,
    function=function@entry=0x5606b44986a0 <boost::condition_variable::~condition_variable()::__PRETTY_FUNCTION__> "boost::condition_variable::~condition_variable()") at assert.c:92
        str = 0x7fd8d4b30f50 "Кǭ\330\177"
        total = 4096
#3  0x00007fd8dd630472 in __GI___assert_fail (assertion=0x5606b449858d "!ret", file=0x5606b4498550 "/usr/include/boost/thread/pthread/condition_variable_fwd.hpp", line=116,
    function=0x5606b44986a0 <boost::condition_variable::~condition_variable()::__PRETTY_FUNCTION__> "boost::condition_variable::~condition_variable()") at assert.c:101
No locals.
#4  0x00005606b41b7217 in boost::condition_variable::~condition_variable (this=0x5606b47c1498 <Scheduler::getInstance()::scheduler+120>, __in_chrg=<optimized out>) at /usr/include/boost/thread/pthread/condition_variable_fwd.hpp:116
        ret = 16
        ret = <optimized out>
        ret = <optimized out>
#5  0x00005606b41b8048 in Scheduler::~Scheduler (this=0x5606b47c1420 <Scheduler::getInstance()::scheduler>, __in_chrg=<optimized out>) at scheduler.h:62
No locals.
#6  0x00007fd8dd643031 in __run_exit_handlers (status=0, listp=0x7fd8dd9eb718 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:108
        atfct = <optimized out>
        onfct = <optimized out>
        cxafct = <optimized out>
        f = <optimized out>
        new_exitfn_called = 170
        cur = 0x7fd8cdd91490
#7  0x00007fd8dd64312a in __GI_exit (status=<optimized out>) at exit.c:139
No locals.
#8  0x00005606b427572e in Game::shutdown (this=0x5606b47c4c40 <g_game>) at game.cpp:6382
No locals.
#9  0x00005606b4292cd1 in boost::_mfi::mf0<void, Game>::operator() (this=0x7fd8b656c0d8, p=0x5606b47c4c40 <g_game>) at /usr/include/boost/bind/mem_fn_template.hpp:49
No locals.
#10 0x00005606b428feb8 in boost::_bi::list1<boost::_bi::value<Game*> >::operator()<boost::_mfi::mf0<void, Game>, boost::_bi::list0> (this=0x7fd8b656c0e8, f=..., a=...) at /usr/include/boost/bind/bind.hpp:259
No locals.
#11 0x00005606b428d8a6 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, Game>, boost::_bi::list1<boost::_bi::value<Game*> > >::operator() (this=0x7fd8b656c0d8) at /usr/include/boost/bind/bind.hpp:1294
        a = {<No data fields>}
#12 0x00005606b42899bc in 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:159
        f = 0x7fd8b656c0d8
#13 0x00005606b424e58c in boost::function0<void>::operator() (this=0x7fd8b656c0d0) at /usr/include/boost/function/function_template.hpp:759
No locals.
#14 0x00005606b424dbfe in Task::operator() (this=0x7fd8b656c0c0) at dispatcher.h:34
No locals.
#15 0x00005606b424c8b9 in Dispatcher::dispatcherThread (this=0x5606b47c1860 <Dispatcher::getInstance()::dispatcher>) at dispatcher.cpp:71
        task = 0x7fd8b656c0c0
        outputPool = 0x5606b47c17a0 <OutputMessagePool::getInstance()::instance>
        taskLockUnique = {m = 0x5606b47c1878 <Dispatcher::getInstance()::dispatcher+24>, is_locked = false}
#16 0x00005606b42510db in boost::_mfi::mf0<void, Dispatcher>::operator() (this=0x5606b58eccd8, p=0x5606b47c1860 <Dispatcher::getInstance()::dispatcher>) at /usr/include/boost/bind/mem_fn_template.hpp:49
No locals.
#17 0x00005606b425103e in boost::_bi::list1<boost::_bi::value<Dispatcher*> >::operator()<boost::_mfi::mf0<void, Dispatcher>, boost::_bi::list0> (this=0x5606b58ecce8, f=..., a=...) at /usr/include/boost/bind/bind.hpp:259
No locals.
#18 0x00005606b4250e5a in boost::_bi::bind_t<void, boost::_mfi::mf0<void, Dispatcher>, boost::_bi::list1<boost::_bi::value<Dispatcher*> > >::operator() (this=0x5606b58eccd8) at /usr/include/boost/bind/bind.hpp:1294
        a = {<No data fields>}
#19 0x00005606b4250bfc in boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf0<void, Dispatcher>, boost::_bi::list1<boost::_bi::value<Dispatcher*> > > >::run (this=0x5606b58ecb20)
    at /usr/include/boost/thread/detail/thread.hpp:116
No locals.
#20 0x00007fd8deba2bcd in ?? () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.65.1
No symbol table info available.
#21 0x00007fd8de9796db in start_thread (arg=0x7fd8da256700) at pthread_create.c:463
---Type <return> to continue, or q <return> to quit---
        pd = 0x7fd8da256700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140569349547776, -740031169928330691, 140569349545920, 0, 94586815826720, 140726556966800, 723766555077542461, 723774133232501309}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0,
              0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#22 0x00007fd8dd72161f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
 
Still crashing:

C++:
Reading symbols from extremeot...done.
[New LWP 21139]
[New LWP 21135]
[New LWP 21141]
[New LWP 21148]

warning: Section `.reg-xstate/21139' in core file too small.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./extremeot'.
Program terminated with signal SIGABRT, Aborted.

warning: Section `.reg-xstate/21139' in core file too small.
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
[Current thread is 1 (Thread 0x7f0ffc9ae700 (LWP 21139))]
(gdb) bt full
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
        set = {__val = {0, 18446744073709486335, 2314850346446356480,
            35184372088864, 17012179990034535771, 7871456454610970487, 1,
            13979173243358019584, 579005069656919567, 283686952306183,
            8416191, 0, 15506240226513922645, 11459411429051964790,
            139706639244496, 139706284652128}}
        pid = <optimized out>
        tid = <optimized out>
        ret = <optimized out>
#1  0x00007f0fffd987f1 in __GI_abort () at abort.c:79
        save_stage = 1
        act = {__sigaction_handler = {sa_handler = 0x2d, sa_sigaction = 0x2d},
          sa_mask = {__val = {3432, 139706704835056, 139706693991119, 45,
              139704817317856, 0, 45, 45, 139706697533056, 1, 139706704835056,
              139706697515680, 139706693941543, 0, 0, 94342870357880}},
          sa_flags = -381266048, sa_restorer = 0x0}
        sigs = {__val = {32, 0 <repeats 15 times>}}
        __cnt = <optimized out>
        __set = <optimized out>
        __cnt = <optimized out>
        __set = <optimized out>
#2  0x00007f100078b957 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#3  0x00007f1000791ae6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
#4  0x00007f1000791b21 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
#5  0x000055cde910b4d9 in std::thread::~thread (this=0x55cde9465788 <g_stats+8>, __in_chrg=<optimized out>) at /usr/include/c++/7/thread:135
No locals.
#6  ThreadHolder<Stats>::~ThreadHolder (this=0x55cde9465780 <g_stats>, __in_chrg=<optimized out>) at thread_holder_base.h:28
No locals.
#7  Stats::~Stats (this=0x55cde9465780 <g_stats>, __in_chrg=<optimized out>) at stats.h:47
No locals.
#8  0x00007f0fffd9b031 in __run_exit_handlers (status=status@entry=0, listp=0x7f1000143718 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:108
        atfct = <optimized out>
        onfct = <optimized out>
        cxafct = <optimized out>
        f = <optimized out>
        new_exitfn_called = 172
        cur = 0x55cde9734c50
#9  0x00007f0fffd9b12a in __GI_exit (status=status@entry=0) at exit.c:139
No locals.
#10 0x000055cde9022d91 in Game::shutdown (this=0x55cde9465b60 <g_game>) at game.cpp:6388
No locals.
#11 0x000055cde90157e8 in std::function<void ()>::operator()() const (this=0x7f0fd8e04108) at /usr/include/c++/7/bits/std_function.h:706
No locals.
#12 Task::operator() (this=0x7f0fd8e040b0) at dispatcher.h:42
No locals.
#13 Dispatcher::threadMain (this=0x55cde9466920 <g_dispatcher>) at dispatcher.cpp:74
        task = 0x7f0fd8e040b0
        __for_range = <optimized out>
        __for_begin = <optimized out>
        __for_end = <optimized out>
        tmpTaskList = std::vector of length 90, capacity 128 = {0x7f0f90030960, 0x7f0fd8ea7260, 0x7f0fd8dfc180, 0x7f0fa1eb1ec0, 0x7f0fa1eb1840, 0x7f0fa1ef1da0, 0x7f0fa1ef1720, 0x7f0fa1eedf60, 0x7f0fa1eed8e0, 0x7f0fa1eed260,
          0x7f0fa1eb9aa0, 0x7f0fa1f8caa0, 0x7f0fe5da33e0, 0x7f0fa1f8de20, 0x7f0fa1fc68d0, 0x7f0fd93850e0, 0x7f0fa1f92640, 0x7f0fa1fc6f50, 0x7f0fa1ebe540, 0x7f0fa1ebdec0, 0x7f0fa1ebd840, 0x7f0fa1ec08c0, 0x7f0fa1f97870, 0x7f0fa1ebf540,
          0x7f0fa1ec37c0, 0x7f0fa1ec3140, 0x7f0fa1ec2ac0, 0x7f0fa1ebe060, 0x7f0fa1ec2c60, 0x7f0fa1ec25e0, 0x7f0fa1ec03e0, 0x7f0fa1ebf6e0, 0x7f0fa1f8f6b0, 0x7f0fa1efd990, 0x7f0fa1ec6c70, 0x7f0fa1ec3960, 0x7f0fa1ebd500, 0x7f0fa1ec0580,
          0x7f0fa1ebff00, 0x7f0fa1ebf200, 0x7f0fa1ebe880, 0x7f0fa1ebe200, 0x7f0fa1ebdb80, 0x7f0fa1ec2780, 0x7f0fa1f8fd30, 0x7f0fa1efdb30, 0x7f0fa1ebd6a0, 0x7f0fa1f021f0, 0x7f0fa1f01d10, 0x7f0fa1efeeb0, 0x7f0fa1efe830, 0x7f0fa1ebea20,
          0x7f0fa1ec3620, 0x7f0fa1ec2fa0, 0x7f0fa1ec2920, 0x7f0fa1ec0720, 0x7f0fa1ec00a0, 0x7f0fa1ebfa20, 0x7f0fa1efdcd0, 0x7f0fa1ec7630, 0x7f0fa1ec6fb0, 0x7f0fa1f02460, 0x7f0fa1f8f1d0, 0x7f0fa1f8eb50, 0x7f0fa1f8cc40, 0x7f0fa1f027a0,
          0x7f0fa1fc6250, 0x7f0fa1f8d460, 0x7f0fa1f8cde0, 0x7f0fa1f8c430, 0x7f0fa1fcaac0, 0x7f0fa1fc75d0, 0x7f0fa1f8ecf0, 0x7f0fa1f8e670, 0x7f0fa1f93680, 0x7f0fa1fc6a70, 0x7f0fa1fc63f0, 0x7f0fa1fc5a40, 0x7f0fa1f97d50, 0x7f0fa1f976d0,
          0x7f0fa1f97050, 0x7f0fa1f969d0, 0x7f0fa1f8ee90, 0x7f0fa1fcac60, 0x7f0fa1f8f510, 0x7f0fa1f971f0, 0x7f0fa1f96b70, 0x7f0fa1f93820, 0x7f0fa1f931a0, 0x7f0fd8e040b0}
        taskLockUnique = {_M_device = 0x55cde9466930 <g_dispatcher+16>, _M_owns = false}
        time_point = {__d = {__r = 1675075492135958816}}
        outputPool = <optimized out>
#14 0x00007f10007bc6df in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
#15 0x00007f10010d16db in start_thread (arg=0x7f0ffc9ae700) at pthread_create.c:463
        pd = 0x7f0ffc9ae700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139706639247104, -8357763585348967169, 139706639245248, 0, 94342873308544, 140731711186656, 8222653149456131327, 8224488085972346111}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0,
              0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#16 0x00007f0fffe7961f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
 
Back
Top