• 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 1.X+ Thread 2 "tfs" received signal SIGSEGV, Segmentation fault.

Zodia

Member
Joined
Feb 21, 2020
Messages
200
Reaction score
9
Hello people!

Server:
Based on tfs 1.2
Nostalrius 7.72

I am looking for the reason why my server has closed alone, and I confess that I am a little lost here. Looking at this, can someone identify the problem for me to try to solve?

Lua:
2021-03-04 22:15:21 -
2021-03-04 22:15:21 - Thread 2 "tfs" received signal SIGSEGV, Segmentation fault.
2021-03-04 22:15:21 - [Switching to Thread 0x7ffff5155700 (LWP 29154)]
2021-03-04 22:15:21 - 0x000000000070f36b in Player::~Player() ()
2021-03-04 22:15:21 -
2021-03-04 22:15:21 - Thread 4 (Thread 0x7fffefded700 (LWP 29156)):
2021-03-04 22:15:21 - #0 [email protected]@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
2021-03-04 22:15:21 - No locals.
2021-03-04 22:15:21 - #1 0x00007ffff67f091c in std::condition_variable::wait(std::unique_lock&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #2 0x000000000059bd0a in DatabaseTasks::threadMain() ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #3 0x000000000059f24f in void std::_Mem_fn_base:perator()<, void>(DatabaseTasks*) const ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #4 0x000000000059f1e3 in void std::_Bind_simple (DatabaseTasks*)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #5 0x000000000059f0ea in std::_Bind_simple (DatabaseTasks*)>:perator()() ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #6 0x000000000059f07a in std::_Impl (DatabaseTasks*)> >::_M_run() ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #7 0x00007ffff67f5c80 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #8 0x00007ffff6ac66ba in start_thread (arg=0x7fffefded700) at pthread_create.c:333
2021-03-04 22:15:21 - __res =
2021-03-04 22:15:21 - pd = 0x7fffefded700
2021-03-04 22:15:21 - now =
2021-03-04 22:15:21 - unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737217746688, 4232338682481527780, 0, 140737305200719, 140737217747392, 0, -4232374134715921436, -4232358065920357404}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
2021-03-04 22:15:21 - not_first_call =
2021-03-04 22:15:21 - pagesize_m1 =
2021-03-04 22:15:21 - sp =
2021-03-04 22:15:21 - freesize =
2021-03-04 22:15:21 - PRETTY_FUNCTION = "start_thread"
2021-03-04 22:15:21 - #9 0x00007ffff5f5b4dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
2021-03-04 22:15:21 - No locals.
2021-03-04 22:15:21 -
2021-03-04 22:15:21 - Thread 3 (Thread 0x7ffff4954700 (LWP 29155)):
2021-03-04 22:15:21 - #0 [email protected]@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
2021-03-04 22:15:21 - No locals.
2021-03-04 22:15:21 - #1 0x0000000000756cab in __gthread_cond_timedwait(pthread_cond_t*, pthread_mutex_t*, timespec const*) ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #2 0x00000000007579d0 in std::cv_status std::condition_variable::__wait_until_impl > >(std::unique_lock&, std::chrono::time_point > > const&) ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #3 0x0000000000757555 in std::cv_status std::condition_variable::wait_until > >(std::unique_lock&, std::chrono::time_point > > const&) ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #4 0x0000000000756d7e in Scheduler::threadMain() ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #5 0x0000000000701069 in void std::_Mem_fn_base:perator()<, void>(Scheduler*) const ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #6 0x0000000000700c57 in void std::_Bind_simple (Scheduler*)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #7 0x00000000007007e2 in std::_Bind_simple (Scheduler*)>:perator()() ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #8 0x00000000007003ae in std::_Impl (Scheduler*)> >::_M_run() ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #9 0x00007ffff67f5c80 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #10 0x00007ffff6ac66ba in start_thread (arg=0x7ffff4954700) at pthread_create.c:333
2021-03-04 22:15:21 - __res =
2021-03-04 22:15:21 - pd = 0x7ffff4954700
2021-03-04 22:15:21 - now =
2021-03-04 22:15:21 - unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737296811776, 4232338682481527780, 0, 140737488346079, 140737296812480, 0, -4232362538841093148, -4232358065920357404}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
2021-03-04 22:15:21 - not_first_call =
2021-03-04 22:15:21 - pagesize_m1 =
2021-03-04 22:15:21 - sp =
2021-03-04 22:15:21 - freesize =
2021-03-04 22:15:21 - PRETTY_FUNCTION = "start_thread"
2021-03-04 22:15:21 - #11 0x00007ffff5f5b4dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
2021-03-04 22:15:21 - No locals.
2021-03-04 22:15:21 -
2021-03-04 22:15:21 - Thread 2 (Thread 0x7ffff5155700 (LWP 29154)):
2021-03-04 22:15:21 - #0 0x000000000070f36b in Player::~Player() ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #1 0x000000000070f572 in Player::~Player() ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #2 0x000000000058917a in Creature::decrementReferenceCounter() ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #3 0x00000000005b3c77 in Game::cleanup() ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #4 0x00000000005b0bc2 in Game::checkCreatures(unsigned long) ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #5 0x00000000005d6c10 in void std::_Mem_fn_base:perator()(Game*, unsigned long&) const ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #6 0x00000000005d2ad2 in void std::_Bind (Game*, unsigned long)>::__call(std::tuple<>&&, std::_Index_tuple<0ul, 1ul>) ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #7 0x00000000005cc1b9 in void std::_Bind (Game*, unsigned long)>:perator()<, void>() ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #8 0x00000000005c69e2 in std::_Function_handler (Game*, unsigned long)> >::_M_invoke(std::_Any_data const&) ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #9 0x00000000007755f4 in std::function:perator()() const ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #10 0x0000000000775472 in Task:perator()() ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #11 0x0000000000774c98 in Dispatcher::threadMain() ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #12 0x00000000007010d1 in void std::_Mem_fn_base:perator()<, void>(Dispatcher*) const ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #13 0x0000000000700d09 in void std::_Bind_simple (Dispatcher*)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #14 0x0000000000700828 in std::_Bind_simple (Dispatcher*)>:perator()() ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #15 0x00000000007003ce in std::_Impl (Dispatcher*)> >::_M_run() ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #16 0x00007ffff67f5c80 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #17 0x00007ffff6ac66ba in start_thread (arg=0x7ffff5155700) at pthread_create.c:333
2021-03-04 22:15:21 - __res =
2021-03-04 22:15:21 - pd = 0x7ffff5155700
2021-03-04 22:15:21 - now =
2021-03-04 22:15:21 - unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737305204480, 4232338682481527780, 0, 140737488346079, 140737305205184, 0, -4232359244064306204, -4232358065920357404}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
2021-03-04 22:15:21 - not_first_call =
2021-03-04 22:15:21 - pagesize_m1 =
2021-03-04 22:15:21 - sp =
2021-03-04 22:15:21 - freesize =
2021-03-04 22:15:21 - PRETTY_FUNCTION = "start_thread"
2021-03-04 22:15:21 - #18 0x00007ffff5f5b4dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
2021-03-04 22:15:21 - No locals.
2021-03-04 22:15:21 -
2021-03-04 22:15:21 - Thread 1 (Thread 0x7ffff7fe1780 (LWP 29150)):
2021-03-04 22:15:21 - #0 0x00007ffff5f5bad3 in epoll_wait () at ../sysdeps/unix/syscall-template.S:84
2021-03-04 22:15:21 - No locals.
2021-03-04 22:15:21 - #1 0x000000000075aa49 in boost::asio::detail::epoll_reactor::run(bool, boost::asio::detail:p_queue&) ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #2 0x000000000075b577 in boost::asio::detail::task_io_service::do_run_one(boost::asio::detail::scoped_lock&, boost::asio::detail::task_io_service_thread_info&, boost::system::error_code const&) ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #3 0x000000000075b30b in boost::asio::detail::task_io_service::run(boost::system::error_code&) ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #4 0x000000000075b74e in boost::asio::io_service::run() ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #5 0x0000000000758fa3 in ServiceManager::run() ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #6 0x00000000006f1959 in main ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - Saving server...
2021-03-04 22:15:22 - > Saved house items in: 0.127 s
2021-03-04 22:15:22 - $1 = 0
2021-03-04 22:15:22 - A debugging session is active.
2021-03-04 22:15:22 -
2021-03-04 22:15:22 - Inferior 1 [process 29150] will be killed.
2021-03-04 22:15:22 -
2021-03-04 22:15:22 - Quit anyway? (y or n) [answered Y; input not from terminal]

Thank you from the heart.
 
OP
OP
Z

Zodia

Member
Joined
Feb 21, 2020
Messages
200
Reaction score
9
Help Please.

2021-03-05 16:30:09 -
2021-03-05 16:30:09 - Thread 2 "tfs" received signal SIGABRT, Aborted.
2021-03-05 16:30:09 - [Switching to Thread 0x7ffff5155700 (LWP 12917)]
2021-03-05 16:30:09 - 0x00007ffff5e89438 in __GI_raise ([email protected]=6) at ../sysdeps/unix/sysv/linux/raise.c:54
2021-03-05 16:30:09 - 54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
2021-03-05 16:30:10 -
2021-03-05 16:30:10 - Thread 4 (Thread 0x7fffefded700 (LWP 12919)):
2021-03-05 16:30:10 - #0 [email protected]@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
2021-03-05 16:30:10 - No locals.
2021-03-05 16:30:10 - #1 0x00007ffff67f091c in std::condition_variable::wait(std::unique_lock&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
2021-03-05 16:30:10 - No symbol table info available.
2021-03-05 16:30:10 - #2 0x0000000000473cff in DatabaseTasks::threadMain (this=0x80dd20 ) at /home/copile/src/databasetasks.cpp:40
2021-03-05 16:30:10 - taskLockUnique = {_M_device = 0x80dd88 , _M_owns = true}
2021-03-05 16:30:10 - #3 0x00007ffff67f5c80 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
2021-03-05 16:30:10 - No symbol table info available.
2021-03-05 16:30:10 - #4 0x00007ffff6ac66ba in start_thread (arg=0x7fffefded700) at pthread_create.c:333
2021-03-05 16:30:10 - __res =
2021-03-05 16:30:10 - pd = 0x7fffefded700
2021-03-05 16:30:10 - now =
2021-03-05 16:30:10 - unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737217746688, 2446154361035792246, 0, 140737305201375, 140737217747392, 8445120, -2446118892627583114, -2446139358932787338}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
2021-03-05 16:30:10 - not_first_call =
2021-03-05 16:30:10 - pagesize_m1 =
2021-03-05 16:30:10 - sp =
2021-03-05 16:30:10 - freesize =
2021-03-05 16:30:10 - PRETTY_FUNCTION = "start_thread"
2021-03-05 16:30:10 - #5 0x00007ffff5f5b4dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
2021-03-05 16:30:10 - No locals.
2021-03-05 16:30:10 -
2021-03-05 16:30:10 - Thread 3 (Thread 0x7ffff4954700 (LWP 12918)):
2021-03-05 16:30:10 - #0 [email protected]@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
2021-03-05 16:30:10 - No locals.
2021-03-05 16:30:10 - #1 0x000000000057d2e1 in __gthread_cond_timedwait (__abs_timeout=0x7ffff4953e50, __mutex=, __cond=0x80dba0 ) at /usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h:871
2021-03-05 16:30:10 - No locals.
2021-03-05 16:30:10 - #2 std::condition_variable::__wait_until_impl > > (__atime=..., __lock=..., this=0x80dba0 ) at /usr/include/c++/5/condition_variable:165
2021-03-05 16:30:10 - __ts = {tv_sec = 1614972609, tv_nsec = 995942700}
2021-03-05 16:30:10 - #3 std::condition_variable::wait_until > > (__atime=..., __lock=..., this=0x80dba0 ) at /usr/include/c++/5/condition_variable:105
2021-03-05 16:30:10 - No locals.
2021-03-05 16:30:10 - #4 Scheduler::threadMain (this=0x80db60 ) at /home/copile/src/scheduler.cpp:34
2021-03-05 16:30:10 - ret = std::cv_status::no_timeout
2021-03-05 16:30:10 - eventLockUnique = {_M_device = 0x80db78 , _M_owns = true}
2021-03-05 16:30:10 - #5 0x00007ffff67f5c80 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
2021-03-05 16:30:10 - No symbol table info available.
2021-03-05 16:30:10 - #6 0x00007ffff6ac66ba in start_thread (arg=0x7ffff4954700) at pthread_create.c:333
2021-03-05 16:30:10 - __res =
2021-03-05 16:30:10 - pd = 0x7ffff4954700
2021-03-05 16:30:10 - now =
2021-03-05 16:30:10 - unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737296811776, 2446154361035792246, 0, 140737488346511, 140737296812480, 0, -2446134902655049866, -2446139358932787338}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
2021-03-05 16:30:10 - not_first_call =
2021-03-05 16:30:10 - pagesize_m1 =
2021-03-05 16:30:10 - sp =
2021-03-05 16:30:10 - freesize =
2021-03-05 16:30:10 - PRETTY_FUNCTION = "start_thread"
2021-03-05 16:30:10 - #7 0x00007ffff5f5b4dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
2021-03-05 16:30:10 - No locals.
2021-03-05 16:30:10 -
2021-03-05 16:30:10 - Thread 2 (Thread 0x7ffff5155700 (LWP 12917)):
2021-03-05 16:30:10 - #0 0x00007ffff5e89438 in __GI_raise ([email protected]=6) at ../sysdeps/unix/sysv/linux/raise.c:54
2021-03-05 16:30:10 - resultvar = 0
2021-03-05 16:30:10 - pid = 12913
2021-03-05 16:30:10 - selftid = 12917
2021-03-05 16:30:10 - #1 0x00007ffff5e8b03a in __GI_abort () at abort.c:89
2021-03-05 16:30:10 - save_stage = 2
2021-03-05 16:30:10 - act = {__sigaction_handler = {sa_handler = 0x756e672d78756e69, sa_sigaction = 0x756e672d78756e69}, sa_mask = {__val = {8175011259317054511, 3347421804882584428, 3329055334092140403, 7378697628689248306, 3256155514134094903, 7233967814408037943, 3276212736508309559, 3472328296227676272, 3472339291342909488, 7378697426072252448, 3472328327168276326, 7221353117502551853, 3274715270390768742, 3472328296226648184, 3475151841819373616, 2314909801965035569}}, sa_flags = 538976288, sa_restorer = 0x56}
2021-03-05 16:30:10 - sigs = {__val = {32, 0 }}
2021-03-05 16:30:10 - #2 0x00007ffff5ecb7fa in __libc_message (do_abort=2, [email protected]=0x7ffff5fe4f98 "* Error in `%s': %s: 0x%s *\n") at ../sysdeps/posix/libc_fatal.c:175
2021-03-05 16:30:10 - ap =
2021-03-05 16:30:10 - fd = 10
2021-03-05 16:30:10 - on_2 =
2021-03-05 16:30:10 - list =
2021-03-05 16:30:10 - nlist =
2021-03-05 16:30:10 - cp =
2021-03-05 16:30:10 - written =
2021-03-05 16:30:10 - #3 0x00007ffff5ed29ec in malloc_printerr (ar_ptr=0x7ffff0000020, ptr=0x7ffff165ffa0, str=0x7ffff5fe1d35 "corrupted size vs. prev_size", action=) at malloc.c:5020
2021-03-05 16:30:10 - buf = "00007ffff165ffa0"
2021-03-05 16:30:10 - cp =
2021-03-05 16:30:10 - ar_ptr = 0x7ffff0000020
2021-03-05 16:30:10 - ptr = 0x7ffff165ffa0
2021-03-05 16:30:10 - str = 0x7ffff5fe1d35 "corrupted size vs. prev_size"
2021-03-05 16:30:10 - action =
2021-03-05 16:30:10 - #4 malloc_consolidate ([email protected]=0x7ffff0000020) at malloc.c:4190
2021-03-05 16:30:10 - fb = 0x7ffff0000030
2021-03-05 16:30:10 - maxfb = 0x7ffff0000070
2021-03-05 16:30:10 - p = 0x7ffff165f070
2021-03-05 16:30:10 - nextp =
2021-03-05 16:30:10 - unsorted_bin = 0x7ffff0000078
2021-03-05 16:30:10 - first_unsorted =
2021-03-05 16:30:10 - nextchunk = 0x7ffff165ffa0
2021-03-05 16:30:10 - size = 3936
2021-03-05 16:30:10 - nextsize =
2021-03-05 16:30:10 - prevsize =
2021-03-05 16:30:10 - nextinuse =
2021-03-05 16:30:10 - bck =
2021-03-05 16:30:10 - fwd =
2021-03-05 16:30:10 - #5 0x00007ffff5ed5d0c in _int_malloc ([email protected]=0x7ffff0000020, [email protected]=1592) at malloc.c:3457
2021-03-05 16:30:10 - nb = 1600
2021-03-05 16:30:10 - idx = 73
2021-03-05 16:30:10 - bin =
2021-03-05 16:30:10 - victim =
2021-03-05 16:30:10 - size =
2021-03-05 16:30:10 - victim_index =
2021-03-05 16:30:10 - remainder =
2021-03-05 16:30:10 - remainder_size =
2021-03-05 16:30:10 - block =
2021-03-05 16:30:10 - bit =
2021-03-05 16:30:10 - map =
2021-03-05 16:30:10 - fwd =
2021-03-05 16:30:10 - bck =
2021-03-05 16:30:10 - errstr = 0x0
2021-03-05 16:30:10 - func = "_int_malloc"
2021-03-05 16:30:10 - #6 0x00007ffff5ed81d4 in __GI___libc_malloc (bytes=1592) at malloc.c:2920
2021-03-05 16:30:10 - ar_ptr = 0x7ffff0000020
2021-03-05 16:30:10 - victim =
2021-03-05 16:30:10 - hook =
2021-03-05 16:30:10 - #7 0x00007ffff67cae78 in operator new(unsigned long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
2021-03-05 16:30:10 - No symbol table info available.
2021-03-05 16:30:10 - #8 0x000000000052c625 in __gnu_cxx::new_allocator::allocate (this=, [email protected]=1592) at /usr/include/c++/5/ext/new_allocator.h:104
2021-03-05 16:30:10 - No locals.
2021-03-05 16:30:10 - #9 std::allocator_traits >::allocate (__a=, [email protected]=1592) at /usr/include/c++/5/bits/alloc_traits.h:491
2021-03-05 16:30:10 - No locals.
2021-03-05 16:30:10 - #10 std::__detail::_Hashtable_alloc, false> > >::_M_allocate_buckets ([email protected]=199, this=0x7ffff5154d70) at /usr/include/c++/5/bits/hashtable_policy.h:1996
2021-03-05 16:30:10 - __ptr =
2021-03-05 16:30:10 - #11 0x000000000053060f in std::_Hashtable, std::allocator >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::_M_allocate_buckets (__n=199, this=0x7ffff5154d70, [email protected]=0xc7) at /usr/include/c++/5/bits/hashtable.h:347
2021-03-05 16:30:10 - No locals.
2021-03-05 16:30:10 - #12 std::_Hashtable, std::allocator >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::_M_rehash_aux (__n=199, this=0x7ffff5154d70, [email protected]=0xc7) at /usr/include/c++/5/bits/hashtable.h:1974
2021-03-05 16:30:10 - __new_buckets =
2021-03-05 16:30:10 - __p =
2021-03-05 16:30:10 - __bbegin_bkt =
2021-03-05 16:30:10 - #13 std::_Hashtable, std::allocator >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::_M_rehash ([email protected]=0x7ffff5154d70, __n=199, [email protected]: 97) at /usr/include/c++/5/bits/hashtable.h:1953
2021-03-05 16:30:10 - No locals.
2021-03-05 16:30:10 - #14 0x0000000000530736 in std::_Hashtable, std::allocator >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::_M_insert_unique_node ([email protected]=0x7ffff5154d70, [email protected]=7, [email protected]=2122087922, __node=0x7ffff1939950) at /usr/include/c++/5/bits/hashtable.h:1600
2021-03-05 16:30:10 - __saved_state = @0x7ffff5151a30: 97
2021-03-05 16:30:10 - #15 0x0000000000530869 in std::__detail::_Map_base, std::allocator >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, true>::eek:perator[](unsigned int&&) (this=0x7ffff5154d70, [email protected]=0x7ffff5151a50, [email protected]=) at /usr/include/c++/5/bits/hashtable_policy.h:625
2021-03-05 16:30:10 - __h = 0x7ffff5154d70
2021-03-05 16:30:10 - __code = 2122087922
2021-03-05 16:30:10 - __n = 7
2021-03-05 16:30:10 - __p =
2021-03-05 16:30:10 - #16 0x000000000052f09e in std::unordered_map, std::equal_to, std::allocator > >::eek:perator[](unsigned int&&) (__k=, this=) at /usr/include/c++/5/bits/unordered_map.h:672
2021-03-05 16:30:10 - No locals.
2021-03-05 16:30:10 - #17 AStarNodes::createOpenNode ([email protected]=0x7ffff5151b70, [email protected]=0x7ffff5152278, x=32380, y=32242, f=105) at /home/copile/src/map.cpp:775
2021-03-05 16:30:10 - retNode =
2021-03-05 16:30:10 - node = 0x7ffff5152470
2021-03-05 16:30:10 - #18 0x000000000052f4c5 in Map::getPathMatching (this=0x80d498 , creature=..., dirList=empty std::forward_list, pathCondition=..., fpp=...) at /home/copile/src/map.cpp:694
2021-03-05 16:30:10 - tile =
2021-03-05 16:30:10 - neighborNode =
2021-03-05 16:30:10 - extraCost =
2021-03-05 16:30:10 - newf =
2021-03-05 16:30:10 - i =
2021-03-05 16:30:10 - y = 32241
2021-03-05 16:30:10 - dirCount =
2021-03-05 16:30:10 - neighbors = 0x80b160 >&, FrozenPathingConditionCall const&, FindPathParams const&) const::dirNeighbors+160>
2021-03-05 16:30:10 - x = 32381
2021-03-05 16:30:10 - f = 80
2021-03-05 16:30:10 - pos = {x = 32380, y = 32242, z = 10 '\n'}
2021-03-05 16:30:10 - endPos = {x = 0, y = 0, z = }
2021-03-05 16:30:11 - nodes = {nodes = {{parent = 0x0, f = 0, x = 32387, y = 32239}, {parent = 0x7ffff5151b70, f = 10, x = 32386, y = 32239}, {parent = 0x7ffff5151b70, f = 10, x = 32387, y = 32240}, {parent = 0x7ffff5151b70, f = 10, x = 32387, y = 32238}, {parent = 0x7ffff5151b88, f = 20, x = 32386, y = 32238}, {parent = 0x7ffff5151ba0, f = 20, x = 32388, y = 32240}, {parent = 0x7ffff5151b88, f = 20, x = 32386, y = 32240}, {parent = 0x7ffff5151b88, f = 20, x = 32385, y = 32239}, {parent = 0x7ffff5151bd0, f = 30, x = 32385, y = 32238}, {parent = 0x7ffff5151c00, f = 30, x = 32385, y = 32240}, {parent = 0x7ffff5151ba0, f = 20, x = 32387, y = 32241}, {parent = 0x7ffff5151be8, f = 30, x = 32388, y = 32241}, {parent = 0x7ffff5151c00, f = 30, x = 32386, y = 32241}, {parent = 0x7ffff5151bb8, f = 20, x = 32387, y = 32237}, {parent = 0x7ffff5151bd0, f = 30, x =

2021-03-05 16:30:11 - #5 ServiceManager::run ([email protected]=0x7fffffffde80) at /home/copile/src/server.cpp:45
2021-03-05 16:30:11 - No locals.
2021-03-05 16:30:11 - #6 0x0000000000426d61 in main (argc=1, argv=0x7fffffffe0c8) at /home/copile/src/otserv.cpp:114
2021-03-05 16:30:11 - sigh = {__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = {__val = {0 }}, sa_flags = 0, sa_restorer = 0x59c500 <__libc_csu_init>}
2021-03-05 16:30:11 - serviceManager = {acceptors = std::unordered_map with 2 elements = {[7171] = std::shared_ptr (count 3, weak 1) 0x7ffff1668f90, [7172] = std::shared_ptr (count 15, weak 1) 0x7ffff1669040}, io_service = { = {}, service_registry_ = 0x838660, impl_ = @0x8386b0}, death_timer = { >, false>> = {service = @0x838790, implementation = { = {}, expiry = { > >> = {, boost::detail::false_t>, boost::detail::empty_base, boost::detail::true_t>> = {, boost::detail::false_t> >> = {, boost::detail::false_t>> = { >> = {> = {}, }, }, }, }, time_ = {time_count_ = {value_ = 9223372036854775806}}}, }, might_have_pending_waits = false, timer_data = {op_queue_ = { = {}, front_ = 0x0, back_ = 0x0}, heap_index_ = 140737488346928, next_ = 0x0, prev_ = 0x0}}}, }, running = true}
2021-03-05 16:30:11 - Saving server...
2021-03-05 16:30:11 - > Saved house items in: 0.191 s
2021-03-05 16:30:11 - A debugging session is active.
2021-03-05 16:30:11 -
2021-03-05 16:30:11 - Inferior 1 [process 12913] will be killed.
2021-03-05 16:30:11 -
2021-03-05 16:30:11 - Quit anyway? (y or n) [answered Y; input not from terminal]

I cut some small pieces to get it shipped. But I can send full
 
OP
OP
Z

Zodia

Member
Joined
Feb 21, 2020
Messages
200
Reaction score
9
I'd suggest to redownload and recompile your sources.
How you been modifying source code?


But why should I? I ask to understand what may be the problem, as there are no errors when copying. I remember having 4 warnings only.
 

Azakelis

Advanced OT User
Joined
Feb 17, 2014
Messages
164
Solutions
15
Reaction score
225
I ask to understand what may be the problem, as there are no errors when copying. I remember having 4 warnings only.
To understand the problem first you need to learn that even though something is compiling it doesn't necessarily mean there are no errors.

Then you have to understand the error that happened to you, the segmentation fault, it's a pretty common one.

And finally my last hint would be to read what it says, especially the part where segfault happened that being thread 2.
The stack in this thread looks like this:
Code:
2021-03-04 22:15:21 - Thread 2 (Thread 0x7ffff5155700 (LWP 29154)):
2021-03-04 22:15:21 - #0 0x000000000070f36b in Player::~Player() ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #1 0x000000000070f572 in Player::~Player() ()
2021-03-04 22:15:21 - No symbol table info available.
In which you can see the destructor called twice, probably on the same Player instance which is the segfault reason most likely.
So what you really need to do is find out why it called it twice.
 
Last edited:
OP
OP
Z

Zodia

Member
Joined
Feb 21, 2020
Messages
200
Reaction score
9
To understand the problem first you need to learn that even though something is compiling it doesn't necessarily mean there are no errors.

Then you have to understand the error that happened to you, the segmentation fault, it's a pretty common one.

And finally my last hint would be to read what it says, especially the part where segfault happened that being thread 2.
The stack in this thread looks like this:
Code:
2021-03-04 22:15:21 - Thread 2 (Thread 0x7ffff5155700 (LWP 29154)):
2021-03-04 22:15:21 - #0 0x000000000070f36b in Player::~Player() ()
2021-03-04 22:15:21 - No symbol table info available.
2021-03-04 22:15:21 - #1 0x000000000070f572 in Player::~Player() ()
2021-03-04 22:15:21 - No symbol table info available.
In which you can see the destructor called twice, probably on the same Player instance which is the segfault reason most likely.
So what you really need to do is find out why it called it twice.

I am already reading, and learning. Thank you for that. But I confess that you need an immediate answer to solve my problem. I didn't quite understand your last explanation. How would I go about finding out why you're calling the destroyer twice? What is the role of this destroyer? And how do I fix it?
 
OP
OP
Z

Zodia

Member
Joined
Feb 21, 2020
Messages
200
Reaction score
9
Another. Does anyone know why and how do I resolve this?

Lua:
2021-03-14 13:53:30 - Thread 2 "tfs" received signal SIGSEGV, Segmentation fault.
2021-03-14 13:53:30 - [Switching to Thread 0x7ffff5155700 (LWP 21684)]
2021-03-14 13:53:30 - 0x0000000000710a91 in Player::~Player() ()
2021-03-14 13:53:30 -
2021-03-14 13:53:30 - Thread 4 (Thread 0x7fffefded700 (LWP 21686)):
2021-03-14 13:53:30 - #0 [email protected]@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
2021-03-14 13:53:30 - No locals.
2021-03-14 13:53:30 - #1 0x00007ffff67f091c in std::condition_variable::wait(std::unique_lock&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #2 0x000000000059d3ea in DatabaseTasks::threadMain() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #3 0x00000000005a092f in void std::_Mem_fn_base::operator()<, void>(DatabaseTasks*) const ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #4 0x00000000005a08c3 in void std::_Bind_simple (DatabaseTasks*)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #5 0x00000000005a07ca in std::_Bind_simple (DatabaseTasks*)>::operator()() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #6 0x00000000005a075a in std::thread::_Impl (DatabaseTasks*)> >::_M_run() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #7 0x00007ffff67f5c80 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #8 0x00007ffff6ac66ba in start_thread (arg=0x7fffefded700) at pthread_create.c:333
2021-03-14 13:53:30 - __res =
2021-03-14 13:53:30 - pd = 0x7fffefded700
2021-03-14 13:53:30 - now =
2021-03-14 13:53:30 - unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737217746688, -2055650432993499746, 0, 140737305200719, 140737217747392, 0, 2055615530509493662, 2055666224833062302}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
2021-03-14 13:53:30 - not_first_call =
2021-03-14 13:53:30 - pagesize_m1 =
2021-03-14 13:53:30 - sp =
2021-03-14 13:53:30 - freesize =
2021-03-14 13:53:30 - __PRETTY_FUNCTION__ = "start_thread"
2021-03-14 13:53:30 - #9 0x00007ffff5f5b4dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
2021-03-14 13:53:30 - No locals.
2021-03-14 13:53:30 -
2021-03-14 13:53:30 - Thread 3 (Thread 0x7ffff4954700 (LWP 21685)):
2021-03-14 13:53:30 - #0 [email protected]@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
2021-03-14 13:53:30 - No locals.
2021-03-14 13:53:30 - #1 0x0000000000759f3b in __gthread_cond_timedwait(pthread_cond_t*, pthread_mutex_t*, timespec const*) ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #2 0x000000000075ac60 in std::cv_status std::condition_variable::__wait_until_impl > >(std::unique_lock&, std::chrono::time_point > > const&) ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #3 0x000000000075a7e5 in std::cv_status std::condition_variable::wait_until > >(std::unique_lock&, std::chrono::time_point > > const&) ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #4 0x000000000075a00e in Scheduler::threadMain() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #5 0x000000000070278f in void std::_Mem_fn_base::operator()<, void>(Scheduler*) const ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #6 0x000000000070237d in void std::_Bind_simple (Scheduler*)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #7 0x0000000000701f08 in std::_Bind_simple (Scheduler*)>::operator()() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #8 0x0000000000701ad4 in std::thread::_Impl (Scheduler*)> >::_M_run() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #9 0x00007ffff67f5c80 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #10 0x00007ffff6ac66ba in start_thread (arg=0x7ffff4954700) at pthread_create.c:333
2021-03-14 13:53:30 - __res =
2021-03-14 13:53:30 - pd = 0x7ffff4954700
2021-03-14 13:53:30 - now =
2021-03-14 13:53:30 - unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737296811776, -2055650432993499746, 0, 140737488346271, 140737296812480, 0, 2055671098259498398, 2055666224833062302}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
2021-03-14 13:53:30 - not_first_call =
2021-03-14 13:53:30 - pagesize_m1 =
2021-03-14 13:53:30 - sp =
2021-03-14 13:53:30 - freesize =
2021-03-14 13:53:30 - __PRETTY_FUNCTION__ = "start_thread"
2021-03-14 13:53:30 - #11 0x00007ffff5f5b4dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
2021-03-14 13:53:30 - No locals.
2021-03-14 13:53:30 -
2021-03-14 13:53:30 - Thread 2 (Thread 0x7ffff5155700 (LWP 21684)):
2021-03-14 13:53:30 - #0 0x0000000000710a91 in Player::~Player() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #1 0x0000000000710c98 in Player::~Player() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #2 0x000000000058a85a in Creature::decrementReferenceCounter() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #3 0x00000000005b539d in Game::cleanup() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #4 0x00000000005b22e8 in Game::checkCreatures(unsigned long) ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #5 0x00000000005d8336 in void std::_Mem_fn_base::operator()(Game*, unsigned long&) const ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #6 0x00000000005d41f8 in void std::_Bind (Game*, unsigned long)>::__call(std::tuple<>&&, std::_Index_tuple<0ul, 1ul>) ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #7 0x00000000005cd8df in void std::_Bind (Game*, unsigned long)>::operator()<, void>() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #8 0x00000000005c8108 in std::_Function_handler (Game*, unsigned long)> >::_M_invoke(std::_Any_data const&) ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #9 0x0000000000778884 in std::function::operator()() const ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #10 0x0000000000778702 in Task::operator()() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #11 0x0000000000777f28 in Dispatcher::threadMain() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #12 0x00000000007027f7 in void std::_Mem_fn_base::operator()<, void>(Dispatcher*) const ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #13 0x000000000070242f in void std::_Bind_simple (Dispatcher*)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #14 0x0000000000701f4e in std::_Bind_simple (Dispatcher*)>::operator()() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #15 0x0000000000701af4 in std::thread::_Impl (Dispatcher*)> >::_M_run() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #16 0x00007ffff67f5c80 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #17 0x00007ffff6ac66ba in start_thread (arg=0x7ffff5155700) at pthread_create.c:333
2021-03-14 13:53:30 - __res =
2021-03-14 13:53:30 - pd = 0x7ffff5155700
2021-03-14 13:53:30 - now =
2021-03-14 13:53:30 - unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737305204480, -2055650432993499746, 0, 140737488346271, 140737305205184, 0, 2055672194013029790, 2055666224833062302}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
2021-03-14 13:53:30 - not_first_call =
2021-03-14 13:53:30 - pagesize_m1 =
2021-03-14 13:53:30 - sp =
2021-03-14 13:53:30 - freesize =
2021-03-14 13:53:30 - __PRETTY_FUNCTION__ = "start_thread"
2021-03-14 13:53:30 - #18 0x00007ffff5f5b4dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
2021-03-14 13:53:30 - No locals.
2021-03-14 13:53:30 -
2021-03-14 13:53:30 - Thread 1 (Thread 0x7ffff7fe1780 (LWP 21680)):
2021-03-14 13:53:30 - #0 0x00007ffff5f5bad3 in epoll_wait () at ../sysdeps/unix/syscall-template.S:84
2021-03-14 13:53:30 - No locals.
2021-03-14 13:53:30 - #1 0x000000000075dcd9 in boost::asio::detail::epoll_reactor::run(bool, boost::asio::detail::op_queue&) ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #2 0x000000000075e807 in boost::asio::detail::task_io_service::do_run_one(boost::asio::detail::scoped_lock&, boost::asio::detail::task_io_service_thread_info&, boost::system::error_code const&) ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #3 0x000000000075e59b in boost::asio::detail::task_io_service::run(boost::system::error_code&) ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #4 0x000000000075e9de in boost::asio::io_service::run() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #5 0x000000000075c233 in ServiceManager::run() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #6 0x00000000006f307f in main ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - Saving server...
2021-03-14 13:53:31 - > Saved house items in: 0.278 s
2021-03-14 13:53:31 - $1 = 0
2021-03-14 13:53:31 - A debugging session is active.
2021-03-14 13:53:31 -
2021-03-14 13:53:31 - Inferior 1 [process 21680] will be killed.
2021-03-14 13:53:31 -
2021-03-14 13:53:31 - Quit anyway? (y or n) [answered Y; input not from terminal]
 

Olddies

Veteran OT User
Joined
Nov 21, 2009
Messages
1,137
Solutions
12
Reaction score
278
Location
Rep.Dom
Another. Does anyone know why and how do I resolve this?

Lua:
2021-03-14 13:53:30 - Thread 2 "tfs" received signal SIGSEGV, Segmentation fault.
2021-03-14 13:53:30 - [Switching to Thread 0x7ffff5155700 (LWP 21684)]
2021-03-14 13:53:30 - 0x0000000000710a91 in Player::~Player() ()
2021-03-14 13:53:30 -
2021-03-14 13:53:30 - Thread 4 (Thread 0x7fffefded700 (LWP 21686)):
2021-03-14 13:53:30 - #0 [email protected]@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
2021-03-14 13:53:30 - No locals.
2021-03-14 13:53:30 - #1 0x00007ffff67f091c in std::condition_variable::wait(std::unique_lock&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #2 0x000000000059d3ea in DatabaseTasks::threadMain() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #3 0x00000000005a092f in void std::_Mem_fn_base::operator()<, void>(DatabaseTasks*) const ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #4 0x00000000005a08c3 in void std::_Bind_simple (DatabaseTasks*)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #5 0x00000000005a07ca in std::_Bind_simple (DatabaseTasks*)>::operator()() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #6 0x00000000005a075a in std::thread::_Impl (DatabaseTasks*)> >::_M_run() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #7 0x00007ffff67f5c80 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #8 0x00007ffff6ac66ba in start_thread (arg=0x7fffefded700) at pthread_create.c:333
2021-03-14 13:53:30 - __res =
2021-03-14 13:53:30 - pd = 0x7fffefded700
2021-03-14 13:53:30 - now =
2021-03-14 13:53:30 - unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737217746688, -2055650432993499746, 0, 140737305200719, 140737217747392, 0, 2055615530509493662, 2055666224833062302}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
2021-03-14 13:53:30 - not_first_call =
2021-03-14 13:53:30 - pagesize_m1 =
2021-03-14 13:53:30 - sp =
2021-03-14 13:53:30 - freesize =
2021-03-14 13:53:30 - __PRETTY_FUNCTION__ = "start_thread"
2021-03-14 13:53:30 - #9 0x00007ffff5f5b4dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
2021-03-14 13:53:30 - No locals.
2021-03-14 13:53:30 -
2021-03-14 13:53:30 - Thread 3 (Thread 0x7ffff4954700 (LWP 21685)):
2021-03-14 13:53:30 - #0 [email protected]@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
2021-03-14 13:53:30 - No locals.
2021-03-14 13:53:30 - #1 0x0000000000759f3b in __gthread_cond_timedwait(pthread_cond_t*, pthread_mutex_t*, timespec const*) ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #2 0x000000000075ac60 in std::cv_status std::condition_variable::__wait_until_impl > >(std::unique_lock&, std::chrono::time_point > > const&) ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #3 0x000000000075a7e5 in std::cv_status std::condition_variable::wait_until > >(std::unique_lock&, std::chrono::time_point > > const&) ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #4 0x000000000075a00e in Scheduler::threadMain() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #5 0x000000000070278f in void std::_Mem_fn_base::operator()<, void>(Scheduler*) const ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #6 0x000000000070237d in void std::_Bind_simple (Scheduler*)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #7 0x0000000000701f08 in std::_Bind_simple (Scheduler*)>::operator()() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #8 0x0000000000701ad4 in std::thread::_Impl (Scheduler*)> >::_M_run() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #9 0x00007ffff67f5c80 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #10 0x00007ffff6ac66ba in start_thread (arg=0x7ffff4954700) at pthread_create.c:333
2021-03-14 13:53:30 - __res =
2021-03-14 13:53:30 - pd = 0x7ffff4954700
2021-03-14 13:53:30 - now =
2021-03-14 13:53:30 - unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737296811776, -2055650432993499746, 0, 140737488346271, 140737296812480, 0, 2055671098259498398, 2055666224833062302}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
2021-03-14 13:53:30 - not_first_call =
2021-03-14 13:53:30 - pagesize_m1 =
2021-03-14 13:53:30 - sp =
2021-03-14 13:53:30 - freesize =
2021-03-14 13:53:30 - __PRETTY_FUNCTION__ = "start_thread"
2021-03-14 13:53:30 - #11 0x00007ffff5f5b4dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
2021-03-14 13:53:30 - No locals.
2021-03-14 13:53:30 -
2021-03-14 13:53:30 - Thread 2 (Thread 0x7ffff5155700 (LWP 21684)):
2021-03-14 13:53:30 - #0 0x0000000000710a91 in Player::~Player() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #1 0x0000000000710c98 in Player::~Player() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #2 0x000000000058a85a in Creature::decrementReferenceCounter() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #3 0x00000000005b539d in Game::cleanup() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #4 0x00000000005b22e8 in Game::checkCreatures(unsigned long) ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #5 0x00000000005d8336 in void std::_Mem_fn_base::operator()(Game*, unsigned long&) const ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #6 0x00000000005d41f8 in void std::_Bind (Game*, unsigned long)>::__call(std::tuple<>&&, std::_Index_tuple<0ul, 1ul>) ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #7 0x00000000005cd8df in void std::_Bind (Game*, unsigned long)>::operator()<, void>() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #8 0x00000000005c8108 in std::_Function_handler (Game*, unsigned long)> >::_M_invoke(std::_Any_data const&) ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #9 0x0000000000778884 in std::function::operator()() const ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #10 0x0000000000778702 in Task::operator()() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #11 0x0000000000777f28 in Dispatcher::threadMain() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #12 0x00000000007027f7 in void std::_Mem_fn_base::operator()<, void>(Dispatcher*) const ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #13 0x000000000070242f in void std::_Bind_simple (Dispatcher*)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #14 0x0000000000701f4e in std::_Bind_simple (Dispatcher*)>::operator()() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #15 0x0000000000701af4 in std::thread::_Impl (Dispatcher*)> >::_M_run() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #16 0x00007ffff67f5c80 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #17 0x00007ffff6ac66ba in start_thread (arg=0x7ffff5155700) at pthread_create.c:333
2021-03-14 13:53:30 - __res =
2021-03-14 13:53:30 - pd = 0x7ffff5155700
2021-03-14 13:53:30 - now =
2021-03-14 13:53:30 - unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737305204480, -2055650432993499746, 0, 140737488346271, 140737305205184, 0, 2055672194013029790, 2055666224833062302}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
2021-03-14 13:53:30 - not_first_call =
2021-03-14 13:53:30 - pagesize_m1 =
2021-03-14 13:53:30 - sp =
2021-03-14 13:53:30 - freesize =
2021-03-14 13:53:30 - __PRETTY_FUNCTION__ = "start_thread"
2021-03-14 13:53:30 - #18 0x00007ffff5f5b4dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
2021-03-14 13:53:30 - No locals.
2021-03-14 13:53:30 -
2021-03-14 13:53:30 - Thread 1 (Thread 0x7ffff7fe1780 (LWP 21680)):
2021-03-14 13:53:30 - #0 0x00007ffff5f5bad3 in epoll_wait () at ../sysdeps/unix/syscall-template.S:84
2021-03-14 13:53:30 - No locals.
2021-03-14 13:53:30 - #1 0x000000000075dcd9 in boost::asio::detail::epoll_reactor::run(bool, boost::asio::detail::op_queue&) ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #2 0x000000000075e807 in boost::asio::detail::task_io_service::do_run_one(boost::asio::detail::scoped_lock&, boost::asio::detail::task_io_service_thread_info&, boost::system::error_code const&) ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #3 0x000000000075e59b in boost::asio::detail::task_io_service::run(boost::system::error_code&) ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #4 0x000000000075e9de in boost::asio::io_service::run() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #5 0x000000000075c233 in ServiceManager::run() ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - #6 0x00000000006f307f in main ()
2021-03-14 13:53:30 - No symbol table info available.
2021-03-14 13:53:30 - Saving server...
2021-03-14 13:53:31 - > Saved house items in: 0.278 s
2021-03-14 13:53:31 - $1 = 0
2021-03-14 13:53:31 - A debugging session is active.
2021-03-14 13:53:31 -
2021-03-14 13:53:31 - Inferior 1 [process 21680] will be killed.
2021-03-14 13:53:31 -
2021-03-14 13:53:31 - Quit anyway? (y or n) [answered Y; input not from terminal]
Do you have compiled the server in debug mode? If not then compile it and wait for crash then show up the gdb log
 
OP
OP
Z

Zodia

Member
Joined
Feb 21, 2020
Messages
200
Reaction score
9
Help Please.

2021-03-05 16:30:09 -
2021-03-05 16:30:09 - Thread 2 "tfs" received signal SIGABRT, Aborted.
2021-03-05 16:30:09 - [Switching to Thread 0x7ffff5155700 (LWP 12917)]
2021-03-05 16:30:09 - 0x00007ffff5e89438 in __GI_raise ([email protected]=6) at ../sysdeps/unix/sysv/linux/raise.c:54
2021-03-05 16:30:09 - 54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
2021-03-05 16:30:10 -
2021-03-05 16:30:10 - Thread 4 (Thread 0x7fffefded700 (LWP 12919)):
2021-03-05 16:30:10 - #0 [email protected]@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
2021-03-05 16:30:10 - No locals.
2021-03-05 16:30:10 - #1 0x00007ffff67f091c in std::condition_variable::wait(std::unique_lock&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
2021-03-05 16:30:10 - No symbol table info available.
2021-03-05 16:30:10 - #2 0x0000000000473cff in DatabaseTasks::threadMain (this=0x80dd20 ) at /home/copile/src/databasetasks.cpp:40
2021-03-05 16:30:10 - taskLockUnique = {_M_device = 0x80dd88 , _M_owns = true}
2021-03-05 16:30:10 - #3 0x00007ffff67f5c80 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
2021-03-05 16:30:10 - No symbol table info available.
2021-03-05 16:30:10 - #4 0x00007ffff6ac66ba in start_thread (arg=0x7fffefded700) at pthread_create.c:333
2021-03-05 16:30:10 - __res =
2021-03-05 16:30:10 - pd = 0x7fffefded700
2021-03-05 16:30:10 - now =
2021-03-05 16:30:10 - unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737217746688, 2446154361035792246, 0, 140737305201375, 140737217747392, 8445120, -2446118892627583114, -2446139358932787338}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
2021-03-05 16:30:10 - not_first_call =
2021-03-05 16:30:10 - pagesize_m1 =
2021-03-05 16:30:10 - sp =
2021-03-05 16:30:10 - freesize =
2021-03-05 16:30:10 - PRETTY_FUNCTION = "start_thread"
2021-03-05 16:30:10 - #5 0x00007ffff5f5b4dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
2021-03-05 16:30:10 - No locals.
2021-03-05 16:30:10 -
2021-03-05 16:30:10 - Thread 3 (Thread 0x7ffff4954700 (LWP 12918)):
2021-03-05 16:30:10 - #0 [email protected]@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
2021-03-05 16:30:10 - No locals.
2021-03-05 16:30:10 - #1 0x000000000057d2e1 in __gthread_cond_timedwait (__abs_timeout=0x7ffff4953e50, __mutex=, __cond=0x80dba0 ) at /usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h:871
2021-03-05 16:30:10 - No locals.
2021-03-05 16:30:10 - #2 std::condition_variable::__wait_until_impl > > (__atime=..., __lock=..., this=0x80dba0 ) at /usr/include/c++/5/condition_variable:165
2021-03-05 16:30:10 - __ts = {tv_sec = 1614972609, tv_nsec = 995942700}
2021-03-05 16:30:10 - #3 std::condition_variable::wait_until > > (__atime=..., __lock=..., this=0x80dba0 ) at /usr/include/c++/5/condition_variable:105
2021-03-05 16:30:10 - No locals.
2021-03-05 16:30:10 - #4 Scheduler::threadMain (this=0x80db60 ) at /home/copile/src/scheduler.cpp:34
2021-03-05 16:30:10 - ret = std::cv_status::no_timeout
2021-03-05 16:30:10 - eventLockUnique = {_M_device = 0x80db78 , _M_owns = true}
2021-03-05 16:30:10 - #5 0x00007ffff67f5c80 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
2021-03-05 16:30:10 - No symbol table info available.
2021-03-05 16:30:10 - #6 0x00007ffff6ac66ba in start_thread (arg=0x7ffff4954700) at pthread_create.c:333
2021-03-05 16:30:10 - __res =
2021-03-05 16:30:10 - pd = 0x7ffff4954700
2021-03-05 16:30:10 - now =
2021-03-05 16:30:10 - unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737296811776, 2446154361035792246, 0, 140737488346511, 140737296812480, 0, -2446134902655049866, -2446139358932787338}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
2021-03-05 16:30:10 - not_first_call =
2021-03-05 16:30:10 - pagesize_m1 =
2021-03-05 16:30:10 - sp =
2021-03-05 16:30:10 - freesize =
2021-03-05 16:30:10 - PRETTY_FUNCTION = "start_thread"
2021-03-05 16:30:10 - #7 0x00007ffff5f5b4dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
2021-03-05 16:30:10 - No locals.
2021-03-05 16:30:10 -
2021-03-05 16:30:10 - Thread 2 (Thread 0x7ffff5155700 (LWP 12917)):
2021-03-05 16:30:10 - #0 0x00007ffff5e89438 in __GI_raise ([email protected]=6) at ../sysdeps/unix/sysv/linux/raise.c:54
2021-03-05 16:30:10 - resultvar = 0
2021-03-05 16:30:10 - pid = 12913
2021-03-05 16:30:10 - selftid = 12917
2021-03-05 16:30:10 - #1 0x00007ffff5e8b03a in __GI_abort () at abort.c:89
2021-03-05 16:30:10 - save_stage = 2
2021-03-05 16:30:10 - act = {__sigaction_handler = {sa_handler = 0x756e672d78756e69, sa_sigaction = 0x756e672d78756e69}, sa_mask = {__val = {8175011259317054511, 3347421804882584428, 3329055334092140403, 7378697628689248306, 3256155514134094903, 7233967814408037943, 3276212736508309559, 3472328296227676272, 3472339291342909488, 7378697426072252448, 3472328327168276326, 7221353117502551853, 3274715270390768742, 3472328296226648184, 3475151841819373616, 2314909801965035569}}, sa_flags = 538976288, sa_restorer = 0x56}
2021-03-05 16:30:10 - sigs = {__val = {32, 0 }}
2021-03-05 16:30:10 - #2 0x00007ffff5ecb7fa in __libc_message (do_abort=2, [email protected]=0x7ffff5fe4f98 "* Error in `%s': %s: 0x%s *\n") at ../sysdeps/posix/libc_fatal.c:175
2021-03-05 16:30:10 - ap =
2021-03-05 16:30:10 - fd = 10
2021-03-05 16:30:10 - on_2 =
2021-03-05 16:30:10 - list =
2021-03-05 16:30:10 - nlist =
2021-03-05 16:30:10 - cp =
2021-03-05 16:30:10 - written =
2021-03-05 16:30:10 - #3 0x00007ffff5ed29ec in malloc_printerr (ar_ptr=0x7ffff0000020, ptr=0x7ffff165ffa0, str=0x7ffff5fe1d35 "corrupted size vs. prev_size", action=) at malloc.c:5020
2021-03-05 16:30:10 - buf = "00007ffff165ffa0"
2021-03-05 16:30:10 - cp =
2021-03-05 16:30:10 - ar_ptr = 0x7ffff0000020
2021-03-05 16:30:10 - ptr = 0x7ffff165ffa0
2021-03-05 16:30:10 - str = 0x7ffff5fe1d35 "corrupted size vs. prev_size"
2021-03-05 16:30:10 - action =
2021-03-05 16:30:10 - #4 malloc_consolidate ([email protected]=0x7ffff0000020) at malloc.c:4190
2021-03-05 16:30:10 - fb = 0x7ffff0000030
2021-03-05 16:30:10 - maxfb = 0x7ffff0000070
2021-03-05 16:30:10 - p = 0x7ffff165f070
2021-03-05 16:30:10 - nextp =
2021-03-05 16:30:10 - unsorted_bin = 0x7ffff0000078
2021-03-05 16:30:10 - first_unsorted =
2021-03-05 16:30:10 - nextchunk = 0x7ffff165ffa0
2021-03-05 16:30:10 - size = 3936
2021-03-05 16:30:10 - nextsize =
2021-03-05 16:30:10 - prevsize =
2021-03-05 16:30:10 - nextinuse =
2021-03-05 16:30:10 - bck =
2021-03-05 16:30:10 - fwd =
2021-03-05 16:30:10 - #5 0x00007ffff5ed5d0c in _int_malloc ([email protected]=0x7ffff0000020, [email protected]=1592) at malloc.c:3457
2021-03-05 16:30:10 - nb = 1600
2021-03-05 16:30:10 - idx = 73
2021-03-05 16:30:10 - bin =
2021-03-05 16:30:10 - victim =
2021-03-05 16:30:10 - size =
2021-03-05 16:30:10 - victim_index =
2021-03-05 16:30:10 - remainder =
2021-03-05 16:30:10 - remainder_size =
2021-03-05 16:30:10 - block =
2021-03-05 16:30:10 - bit =
2021-03-05 16:30:10 - map =
2021-03-05 16:30:10 - fwd =
2021-03-05 16:30:10 - bck =
2021-03-05 16:30:10 - errstr = 0x0
2021-03-05 16:30:10 - func = "_int_malloc"
2021-03-05 16:30:10 - #6 0x00007ffff5ed81d4 in __GI___libc_malloc (bytes=1592) at malloc.c:2920
2021-03-05 16:30:10 - ar_ptr = 0x7ffff0000020
2021-03-05 16:30:10 - victim =
2021-03-05 16:30:10 - hook =
2021-03-05 16:30:10 - #7 0x00007ffff67cae78 in operator new(unsigned long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
2021-03-05 16:30:10 - No symbol table info available.
2021-03-05 16:30:10 - #8 0x000000000052c625 in __gnu_cxx::new_allocator::allocate (this=, [email protected]=1592) at /usr/include/c++/5/ext/new_allocator.h:104
2021-03-05 16:30:10 - No locals.
2021-03-05 16:30:10 - #9 std::allocator_traits >::allocate (__a=, [email protected]=1592) at /usr/include/c++/5/bits/alloc_traits.h:491
2021-03-05 16:30:10 - No locals.
2021-03-05 16:30:10 - #10 std::__detail::_Hashtable_alloc, false> > >::_M_allocate_buckets ([email protected]=199, this=0x7ffff5154d70) at /usr/include/c++/5/bits/hashtable_policy.h:1996
2021-03-05 16:30:10 - __ptr =
2021-03-05 16:30:10 - #11 0x000000000053060f in std::_Hashtable, std::allocator >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::_M_allocate_buckets (__n=199, this=0x7ffff5154d70, [email protected]=0xc7) at /usr/include/c++/5/bits/hashtable.h:347
2021-03-05 16:30:10 - No locals.
2021-03-05 16:30:10 - #12 std::_Hashtable, std::allocator >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::_M_rehash_aux (__n=199, this=0x7ffff5154d70, [email protected]=0xc7) at /usr/include/c++/5/bits/hashtable.h:1974
2021-03-05 16:30:10 - __new_buckets =
2021-03-05 16:30:10 - __p =
2021-03-05 16:30:10 - __bbegin_bkt =
2021-03-05 16:30:10 - #13 std::_Hashtable, std::allocator >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::_M_rehash ([email protected]=0x7ffff5154d70, __n=199, [email protected]: 97) at /usr/include/c++/5/bits/hashtable.h:1953
2021-03-05 16:30:10 - No locals.
2021-03-05 16:30:10 - #14 0x0000000000530736 in std::_Hashtable, std::allocator >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::_M_insert_unique_node ([email protected]=0x7ffff5154d70, [email protected]=7, [email protected]=2122087922, __node=0x7ffff1939950) at /usr/include/c++/5/bits/hashtable.h:1600
2021-03-05 16:30:10 - __saved_state = @0x7ffff5151a30: 97
2021-03-05 16:30:10 - #15 0x0000000000530869 in std::__detail::_Map_base, std::allocator >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, true>::eek:perator[](unsigned int&&) (this=0x7ffff5154d70, [email protected]=0x7ffff5151a50, [email protected]=) at /usr/include/c++/5/bits/hashtable_policy.h:625
2021-03-05 16:30:10 - __h = 0x7ffff5154d70
2021-03-05 16:30:10 - __code = 2122087922
2021-03-05 16:30:10 - __n = 7
2021-03-05 16:30:10 - __p =
2021-03-05 16:30:10 - #16 0x000000000052f09e in std::unordered_map, std::equal_to, std::allocator > >::eek:perator[](unsigned int&&) (__k=, this=) at /usr/include/c++/5/bits/unordered_map.h:672
2021-03-05 16:30:10 - No locals.
2021-03-05 16:30:10 - #17 AStarNodes::createOpenNode ([email protected]=0x7ffff5151b70, [email protected]=0x7ffff5152278, x=32380, y=32242, f=105) at /home/copile/src/map.cpp:775
2021-03-05 16:30:10 - retNode =
2021-03-05 16:30:10 - node = 0x7ffff5152470
2021-03-05 16:30:10 - #18 0x000000000052f4c5 in Map::getPathMatching (this=0x80d498 , creature=..., dirList=empty std::forward_list, pathCondition=..., fpp=...) at /home/copile/src/map.cpp:694
2021-03-05 16:30:10 - tile =
2021-03-05 16:30:10 - neighborNode =
2021-03-05 16:30:10 - extraCost =
2021-03-05 16:30:10 - newf =
2021-03-05 16:30:10 - i =
2021-03-05 16:30:10 - y = 32241
2021-03-05 16:30:10 - dirCount =
2021-03-05 16:30:10 - neighbors = 0x80b160 >&, FrozenPathingConditionCall const&, FindPathParams const&) const::dirNeighbors+160>
2021-03-05 16:30:10 - x = 32381
2021-03-05 16:30:10 - f = 80
2021-03-05 16:30:10 - pos = {x = 32380, y = 32242, z = 10 '\n'}
2021-03-05 16:30:10 - endPos = {x = 0, y = 0, z = }
2021-03-05 16:30:11 - nodes = {nodes = {{parent = 0x0, f = 0, x = 32387, y = 32239}, {parent = 0x7ffff5151b70, f = 10, x = 32386, y = 32239}, {parent = 0x7ffff5151b70, f = 10, x = 32387, y = 32240}, {parent = 0x7ffff5151b70, f = 10, x = 32387, y = 32238}, {parent = 0x7ffff5151b88, f = 20, x = 32386, y = 32238}, {parent = 0x7ffff5151ba0, f = 20, x = 32388, y = 32240}, {parent = 0x7ffff5151b88, f = 20, x = 32386, y = 32240}, {parent = 0x7ffff5151b88, f = 20, x = 32385, y = 32239}, {parent = 0x7ffff5151bd0, f = 30, x = 32385, y = 32238}, {parent = 0x7ffff5151c00, f = 30, x = 32385, y = 32240}, {parent = 0x7ffff5151ba0, f = 20, x = 32387, y = 32241}, {parent = 0x7ffff5151be8, f = 30, x = 32388, y = 32241}, {parent = 0x7ffff5151c00, f = 30, x = 32386, y = 32241}, {parent = 0x7ffff5151bb8, f = 20, x = 32387, y = 32237}, {parent = 0x7ffff5151bd0, f = 30, x =

2021-03-05 16:30:11 - #5 ServiceManager::run ([email protected]=0x7fffffffde80) at /home/copile/src/server.cpp:45
2021-03-05 16:30:11 - No locals.
2021-03-05 16:30:11 - #6 0x0000000000426d61 in main (argc=1, argv=0x7fffffffe0c8) at /home/copile/src/otserv.cpp:114
2021-03-05 16:30:11 - sigh = {__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = {__val = {0 }}, sa_flags = 0, sa_restorer = 0x59c500 <__libc_csu_init>}
2021-03-05 16:30:11 - serviceManager = {acceptors = std::unordered_map with 2 elements = {[7171] = std::shared_ptr (count 3, weak 1) 0x7ffff1668f90, [7172] = std::shared_ptr (count 15, weak 1) 0x7ffff1669040}, io_service = { = {}, service_registry_ = 0x838660, impl_ = @0x8386b0}, death_timer = { >, false>> = {service = @0x838790, implementation = { = {}, expiry = { > >> = {, boost::detail::false_t>, boost::detail::empty_base, boost::detail::true_t>> = {, boost::detail::false_t> >> = {, boost::detail::false_t>> = { >> = {> = {}, }, }, }, }, time_ = {time_count_ = {value_ = 9223372036854775806}}}, }, might_have_pending_waits = false, timer_data = {op_queue_ = { = {}, front_ = 0x0, back_ = 0x0}, heap_index_ = 140737488346928, next_ = 0x0, prev_ = 0x0}}}, }, running = true}
2021-03-05 16:30:11 - Saving server...
2021-03-05 16:30:11 - > Saved house items in: 0.191 s
2021-03-05 16:30:11 - A debugging session is active.
2021-03-05 16:30:11 -
2021-03-05 16:30:11 - Inferior 1 [process 12913] will be killed.
2021-03-05 16:30:11 -
2021-03-05 16:30:11 - Quit anyway? (y or n) [answered Y; input not from terminal]

I cut some small pieces to get it shipped. But I can send full


Would it be this? I believe that when this happened, I had compiled it as mentioned above.
Do you have compiled the server in debug mode? If not then compile it and wait for crash then show up the gdb log
 
Top