opentibiabr / canary

Canary Server 13.x for OpenTibia community.
https://docs.opentibiabr.com/
GNU General Public License v2.0
369 stars 604 forks source link

Compilei com a source normal e tá dando este erro... #808

Closed AndersenGriep closed 1 year ago

AndersenGriep commented 1 year ago
2023-01-20 15:39:39 -  [2023-20-01 15:39:39.223] [info] Loading npc 
2023-01-20 15:39:39 -  [2023-20-01 15:39:39.223] [info] Boosted creature: Infernal Demon 
2023-01-20 15:39:39 -  [2023-20-01 15:39:39.226] [info] World type set as PVP 
2023-01-20 15:39:39 -  [2023-20-01 15:39:39.227] [info] Loading map... 
2023-01-20 15:39:59 -  [2023-20-01 15:39:59.695] [info] Map size: 35143x34812 
2023-01-20 15:40:36 -  [2023-20-01 15:40:36.917] [info] Map loading time: 57.69 seconds 
2023-01-20 15:40:39 -  [2023-20-01 15:40:39.577] [warning] [SpawnsMonster::loadFromXml] - Empty spawn at position: ( 33826, 31863, 3 ) with radius: 1 
2023-01-20 15:40:39 -  [2023-20-01 15:40:39.661] [warning] [SpawnsMonster::loadFromXml] - Empty spawn at position: ( 31951, 32328, 8 ) with radius: 1 
2023-01-20 15:40:39 -  [2023-20-01 15:40:39.677] [error] Invalid argument -1238175488 
2023-01-20 15:40:39 -  terminate called after throwing an instance of 'std::invalid_argument'
2023-01-20 15:40:39 -    what():  Invalid argument: -1238175488
2023-01-20 15:40:39 -  
2023-01-20 15:40:39 -  Thread 2 "canary" received signal SIGABRT, Aborted.
2023-01-20 15:40:39 -  [Switching to Thread 0x7ffff79aa700 (LWP 16809)]
2023-01-20 15:40:39 -  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
2023-01-20 15:40:39 -  50   ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
2023-01-20 15:40:39 -  
2023-01-20 15:40:39 -  Thread 4 (Thread 0x7ffff6994700 (LWP 16811) "canary"):
2023-01-20 15:40:39 -  #0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55555669df48 <DatabaseTasks::getInstance()::instance+136>) at ../sysdeps/nptl/futex-internal.h:183
2023-01-20 15:40:39 -          __ret = -512
2023-01-20 15:40:39 -          oldtype = 0
2023-01-20 15:40:39 -          err = <optimized out>
2023-01-20 15:40:39 -          oldtype = <optimized out>
2023-01-20 15:40:39 -          err = <optimized out>
2023-01-20 15:40:39 -          __ret = <optimized out>
2023-01-20 15:40:39 -          resultvar = <optimized out>
2023-01-20 15:40:39 -          __arg4 = <optimized out>
2023-01-20 15:40:39 -          __arg3 = <optimized out>
2023-01-20 15:40:39 -          __arg2 = <optimized out>
2023-01-20 15:40:39 -          __arg1 = <optimized out>
2023-01-20 15:40:39 -          _a4 = <optimized out>
2023-01-20 15:40:39 -          _a3 = <optimized out>
2023-01-20 15:40:39 -          _a2 = <optimized out>
2023-01-20 15:40:39 -          _a1 = <optimized out>
2023-01-20 15:40:39 -  #1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55555669def8 <DatabaseTasks::getInstance()::instance+56>, cond=0x55555669df20 <DatabaseTasks::getInstance()::instance+96>) at pthread_cond_wait.c:508
2023-01-20 15:40:39 -          spin = 0
2023-01-20 15:40:39 -          buffer = {__routine = 0x7ffff7fab050 <__condvar_cleanup_waiting>, __arg = 0x7ffff6983ca0, __canceltype = 0, __prev = 0x0}
2023-01-20 15:40:39 -          cbuffer = {wseq = 0, cond = 0x55555669df20 <DatabaseTasks::getInstance()::instance+96>, mutex = 0x55555669def8 <DatabaseTasks::getInstance()::instance+56>, private = 0}
2023-01-20 15:40:39 -          err = <optimized out>
2023-01-20 15:40:39 -          g = 0
2023-01-20 15:40:39 -          flags = <optimized out>
2023-01-20 15:40:39 -          g1_start = <optimized out>
2023-01-20 15:40:39 -          maxspin = 0
2023-01-20 15:40:39 -          signals = <optimized out>
2023-01-20 15:40:39 -          result = 0
2023-01-20 15:40:39 -          wseq = 0
2023-01-20 15:40:39 -          seq = 0
2023-01-20 15:40:39 -          private = <optimized out>
2023-01-20 15:40:39 -          maxspin = <optimized out>
2023-01-20 15:40:39 -          err = <optimized out>
2023-01-20 15:40:39 -          result = <optimized out>
2023-01-20 15:40:39 -          wseq = <optimized out>
2023-01-20 15:40:39 -          g = <optimized out>
2023-01-20 15:40:39 -          seq = <optimized out>
2023-01-20 15:40:39 -          flags = <optimized out>
2023-01-20 15:40:39 -          private = <optimized out>
2023-01-20 15:40:39 -          signals = <optimized out>
2023-01-20 15:40:39 -          done = <optimized out>
2023-01-20 15:40:39 -          g1_start = <optimized out>
2023-01-20 15:40:39 -          spin = <optimized out>
2023-01-20 15:40:39 -          buffer = {__routine = <optimized out>, __arg = <optimized out>, __canceltype = <optimized out>, __prev = <optimized out>}
2023-01-20 15:40:39 -          cbuffer = {wseq = <optimized out>, cond = <optimized out>, mutex = <optimized out>, private = <optimized out>}
2023-01-20 15:40:39 -          s = <optimized out>
2023-01-20 15:40:39 -  #2  __pthread_cond_wait (cond=0x55555669df20 <DatabaseTasks::getInstance()::instance+96>, mutex=0x55555669def8 <DatabaseTasks::getInstance()::instance+56>) at pthread_cond_wait.c:647
2023-01-20 15:40:39 -  No locals.
2023-01-20 15:40:39 -  #3  0x00007ffff7d012d0 in std::condition_variable::wait(std::unique_lock<std::mutex>&) () from /lib/x86_64-linux-gnu/libstdc++.so.6
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #4  0x00005555557e71ab in void std::condition_variable::wait<DatabaseTasks::threadMain()::{lambda()#1}>(std::unique_lock<std::mutex>&, DatabaseTasks::threadMain()::{lambda()#1}) ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #5  0x00005555557e6746 in DatabaseTasks::threadMain() ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #6  0x00005555557e91bf in void std::__invoke_impl<void, void (DatabaseTasks::*)(), DatabaseTasks*>(std::__invoke_memfun_deref, void (DatabaseTasks::*&&)(), DatabaseTasks*&&) ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #7  0x00005555557e9102 in std::__invoke_result<void (DatabaseTasks::*)(), DatabaseTasks*>::type std::__invoke<void (DatabaseTasks::*)(), DatabaseTasks*>(void (DatabaseTasks::*&&)(), DatabaseTasks*&&) ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #8  0x00005555557e9073 in void std::thread::_Invoker<std::tuple<void (DatabaseTasks::*)(), DatabaseTasks*> >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #9  0x00005555557e902e in std::thread::_Invoker<std::tuple<void (DatabaseTasks::*)(), DatabaseTasks*> >::operator()() ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #10 0x00005555557e9014 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (DatabaseTasks::*)(), DatabaseTasks*> > >::_M_run() ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #11 0x00007ffff7d076b4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #12 0x00007ffff7fa4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
2023-01-20 15:40:39 -          ret = <optimized out>
2023-01-20 15:40:39 -          pd = <optimized out>
2023-01-20 15:40:39 -          unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737330628352, 6823173187381102955, 140737347424382, 140737347424383, 140737347424384, 140737330560896, -6823187715072063125, -6823190756271847061}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
2023-01-20 15:40:39 -          not_first_call = 0
2023-01-20 15:40:39 -  #13 0x00007ffff7b3f133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
2023-01-20 15:40:39 -  No locals.
2023-01-20 15:40:39 -  
2023-01-20 15:40:39 -  Thread 3 (Thread 0x7ffff71a9700 (LWP 16810) "canary"):
2023-01-20 15:40:39 -  #0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7ffff7198cf0, clockid=<optimized out>, expected=0, futex_word=0x5555566afea8 <Scheduler::getInstance()::instance+104>) at ../sysdeps/nptl/futex-internal.h:320
2023-01-20 15:40:39 -          __ret = -516
2023-01-20 15:40:39 -          clockbit = <optimized out>
2023-01-20 15:40:39 -          op = <optimized out>
2023-01-20 15:40:39 -          __ret = <optimized out>
2023-01-20 15:40:39 -          oldtype = 0
2023-01-20 15:40:39 -          err = <optimized out>
2023-01-20 15:40:39 -          oldtype = <optimized out>
2023-01-20 15:40:39 -          err = <optimized out>
2023-01-20 15:40:39 -          __ret = <optimized out>
2023-01-20 15:40:39 -          clockbit = <optimized out>
2023-01-20 15:40:39 -          op = <optimized out>
2023-01-20 15:40:39 -          __ret = <optimized out>
2023-01-20 15:40:39 -          resultvar = <optimized out>
2023-01-20 15:40:39 -          __arg6 = <optimized out>
2023-01-20 15:40:39 -          __arg5 = <optimized out>
2023-01-20 15:40:39 -          __arg4 = <optimized out>
2023-01-20 15:40:39 -          __arg3 = <optimized out>
2023-01-20 15:40:39 -          __arg2 = <optimized out>
2023-01-20 15:40:39 -          __arg1 = <optimized out>
2023-01-20 15:40:39 -          _a6 = <optimized out>
2023-01-20 15:40:39 -          _a5 = <optimized out>
2023-01-20 15:40:39 -          _a4 = <optimized out>
2023-01-20 15:40:39 -          _a3 = <optimized out>
2023-01-20 15:40:39 -          _a2 = <optimized out>
2023-01-20 15:40:39 -          _a1 = <optimized out>
2023-01-20 15:40:39 -  #1  __pthread_cond_wait_common (abstime=0x7ffff7198cf0, clockid=<optimized out>, mutex=0x5555566afe58 <Scheduler::getInstance()::instance+24>, cond=0x5555566afe80 <Scheduler::getInstance()::instance+64>) at pthread_cond_wait.c:520
2023-01-20 15:40:39 -          spin = 0
2023-01-20 15:40:39 -          buffer = {__routine = 0x7ffff7fab050 <__condvar_cleanup_waiting>, __arg = 0x7ffff7198be0, __canceltype = -149320704, __prev = 0x0}
2023-01-20 15:40:39 -          cbuffer = {wseq = 18, cond = 0x5555566afe80 <Scheduler::getInstance()::instance+64>, mutex = 0x5555566afe58 <Scheduler::getInstance()::instance+24>, private = 0}
2023-01-20 15:40:39 -          err = <optimized out>
2023-01-20 15:40:39 -          g = 0
2023-01-20 15:40:39 -          flags = <optimized out>
2023-01-20 15:40:39 -          g1_start = <optimized out>
2023-01-20 15:40:39 -          maxspin = 0
2023-01-20 15:40:39 -          signals = <optimized out>
2023-01-20 15:40:39 -          result = 0
2023-01-20 15:40:39 -          wseq = 18
2023-01-20 15:40:39 -          seq = 9
2023-01-20 15:40:39 -          private = <optimized out>
2023-01-20 15:40:39 -          maxspin = <optimized out>
2023-01-20 15:40:39 -          err = <optimized out>
2023-01-20 15:40:39 -          result = <optimized out>
2023-01-20 15:40:39 -          wseq = <optimized out>
2023-01-20 15:40:39 -          g = <optimized out>
2023-01-20 15:40:39 -          seq = <optimized out>
2023-01-20 15:40:39 -          flags = <optimized out>
2023-01-20 15:40:39 -          private = <optimized out>
2023-01-20 15:40:39 -          signals = <optimized out>
2023-01-20 15:40:39 -          done = <optimized out>
2023-01-20 15:40:39 -          g1_start = <optimized out>
2023-01-20 15:40:39 -          spin = <optimized out>
2023-01-20 15:40:39 -          buffer = {__routine = <optimized out>, __arg = <optimized out>, __canceltype = <optimized out>, __prev = <optimized out>}
2023-01-20 15:40:39 -          cbuffer = {wseq = <optimized out>, cond = <optimized out>, mutex = <optimized out>, private = <optimized out>}
2023-01-20 15:40:39 -          s = <optimized out>
2023-01-20 15:40:39 -  #2  __pthread_cond_timedwait (cond=0x5555566afe80 <Scheduler::getInstance()::instance+64>, mutex=0x5555566afe58 <Scheduler::getInstance()::instance+24>, abstime=0x7ffff7198cf0) at pthread_cond_wait.c:665
2023-01-20 15:40:39 -          flags = <optimized out>
2023-01-20 15:40:39 -          clockid = <optimized out>
2023-01-20 15:40:39 -  #3  0x0000555555861799 in __gthread_cond_timedwait(pthread_cond_t*, pthread_mutex_t*, timespec const*) ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #4  0x000055555586186e in std::__condvar::wait_until(std::mutex&, timespec&) ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #5  0x0000555555862b58 in std::cv_status std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > >(std::unique_lock<std::mutex>&, std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&) ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #6  0x000055555586275b in std::cv_status std::condition_variable::wait_until<std::chrono::duration<long, std::ratio<1l, 1000000000l> > >(std::unique_lock<std::mutex>&, std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&) ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #7  0x0000555555861c58 in Scheduler::threadMain() ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #8  0x0000555555ac6a56 in void std::__invoke_impl<void, void (Scheduler::*)(), Scheduler*>(std::__invoke_memfun_deref, void (Scheduler::*&&)(), Scheduler*&&) ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #9  0x0000555555ac67fd in std::__invoke_result<void (Scheduler::*)(), Scheduler*>::type std::__invoke<void (Scheduler::*)(), Scheduler*>(void (Scheduler::*&&)(), Scheduler*&&) ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #10 0x0000555555ac63f1 in void std::thread::_Invoker<std::tuple<void (Scheduler::*)(), Scheduler*> >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #11 0x0000555555ac5b42 in std::thread::_Invoker<std::tuple<void (Scheduler::*)(), Scheduler*> >::operator()() ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #12 0x0000555555ac53d8 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (Scheduler::*)(), Scheduler*> > >::_M_run() ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #13 0x00007ffff7d076b4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #14 0x00007ffff7fa4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
2023-01-20 15:40:39 -          ret = <optimized out>
2023-01-20 15:40:39 -          pd = <optimized out>
2023-01-20 15:40:39 -          unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737339102976, 6823173187381102955, 140737488347390, 140737488347391, 140737488347392, 140737339035520, -6823188800088176277, -6823190756271847061}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
2023-01-20 15:40:39 -          not_first_call = 0
2023-01-20 15:40:39 -  #15 0x00007ffff7b3f133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
2023-01-20 15:40:39 -  No locals.
2023-01-20 15:40:39 -  
2023-01-20 15:40:39 -  Thread 2 (Thread 0x7ffff79aa700 (LWP 16809) "canary"):
2023-01-20 15:40:39 -  #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
2023-01-20 15:40:39 -          set = {__val = {0, 0, 4605380978944857422, 0, 13831198063404271081, 0, 0, 0, 0, 0, 0, 0, 0, 9007199254740992, 72057594037927935, 18446744073709551615}}
2023-01-20 15:40:39 -          pid = <optimized out>
2023-01-20 15:40:39 -          tid = <optimized out>
2023-01-20 15:40:39 -          ret = <optimized out>
2023-01-20 15:40:39 -  #1  0x00007ffff7a42859 in __GI_abort () at abort.c:79
2023-01-20 15:40:39 -          save_stage = 1
2023-01-20 15:40:39 -          act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0 <repeats 11 times>, 19, 140737348570771, 10, 140737349998016, 93825010357728}}, sa_flags = -137521164, sa_restorer = 0x55555669d5e0 <stderr@@GLIBC_2.2.5>}
2023-01-20 15:40:39 -          sigs = {__val = {32, 0 <repeats 15 times>}}
2023-01-20 15:40:39 -  #2  0x00007ffff7ccea31 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #3  0x00007ffff7cda5dc in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #4  0x00007ffff7cda647 in std::terminate() () from /lib/x86_64-linux-gnu/libstdc++.so.6
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #5  0x00007ffff7cda8e9 in __cxa_throw () from /lib/x86_64-linux-gnu/libstdc++.so.6
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #6  0x0000555555736875 in unsigned int pugi::cast<unsigned int>(char const*) ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #7  0x0000555555734617 in SpawnsMonster::loadFromXML(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #8  0x0000555555a9feda in IOMap::loadMonsters(Map*) ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #9  0x0000555555aa08fa in Map::loadMap(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool, bool, bool, Position const&, bool) ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #10 0x00005555557f1b34 in Game::loadMainMap(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #11 0x0000555555ab2310 in mainLoader(int, char**, ServiceManager*) ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #12 0x0000555555abe33f in void std::__invoke_impl<void, void (*&)(int, char**, ServiceManager*), int&, char**&, ServiceManager*&>(std::__invoke_other, void (*&)(int, char**, ServiceManager*), int&, char**&, ServiceManager*&) ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #13 0x0000555555abcff1 in std::__invoke_result<void (*&)(int, char**, ServiceManager*), int&, char**&, ServiceManager*&>::type std::__invoke<void (*&)(int, char**, ServiceManager*), int&, char**&, ServiceManager*&>(void (*&)(int, char**, ServiceManager*), int&, char**&, ServiceManager*&) ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #14 0x0000555555abbd71 in void std::_Bind<void (*(int, char**, ServiceManager*))(int, char**, ServiceManager*)>::__call<void, , 0ul, 1ul, 2ul>(std::tuple<>&&, std::_Index_tuple<0ul, 1ul, 2ul>) ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #15 0x0000555555abae29 in void std::_Bind<void (*(int, char**, ServiceManager*))(int, char**, ServiceManager*)>::operator()<, void>() ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #16 0x0000555555aba362 in void std::__invoke_impl<void, std::_Bind<void (*(int, char**, ServiceManager*))(int, char**, ServiceManager*)>&>(std::__invoke_other, std::_Bind<void (*(int, char**, ServiceManager*))(int, char**, ServiceManager*)>&) ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #17 0x0000555555ab8868 in std::enable_if<is_invocable_r_v<void, std::_Bind<void (*(int, char**, ServiceManager*))(int, char**, ServiceManager*)>&>, void>::type std::__invoke_r<void, std::_Bind<void (*(int, char**, ServiceManager*))(int, char**, ServiceManager*)>&>(std::_Bind<void (*(int, char**, ServiceManager*))(int, char**, ServiceManager*)>&) ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #18 0x0000555555ab6045 in std::_Function_handler<void (), std::_Bind<void (*(int, char**, ServiceManager*))(int, char**, ServiceManager*)> >::_M_invoke(std::_Any_data const&) ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #19 0x00005555558670fc in std::function<void ()>::operator()() const ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #20 0x00005555558668bc in Task::operator()() ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #21 0x0000555555866b24 in Dispatcher::threadMain() ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #22 0x0000555555ac6b0e in void std::__invoke_impl<void, void (Dispatcher::*)(), Dispatcher*>(std::__invoke_memfun_deref, void (Dispatcher::*&&)(), Dispatcher*&&) ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #23 0x0000555555ac688d in std::__invoke_result<void (Dispatcher::*)(), Dispatcher*>::type std::__invoke<void (Dispatcher::*)(), Dispatcher*>(void (Dispatcher::*&&)(), Dispatcher*&&) ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #24 0x0000555555ac643b in void std::thread::_Invoker<std::tuple<void (Dispatcher::*)(), Dispatcher*> >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #25 0x0000555555ac5b5c in std::thread::_Invoker<std::tuple<void (Dispatcher::*)(), Dispatcher*> >::operator()() ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #26 0x0000555555ac53fa in std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (Dispatcher::*)(), Dispatcher*> > >::_M_run() ()
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #27 0x00007ffff7d076b4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
2023-01-20 15:40:39 -  No symbol table info available.
2023-01-20 15:40:39 -  #28 0x00007ffff7fa4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
2023-01-20 15:40:39 -          ret = <optimized out>
2023-01-20 15:40:39 -          pd = <optimized out>
2023-01-20 15:40:39 -          unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737347495680, 6823173187381102955, 140737488347390, 140737488347391, 140737488347392, 140737347428224, -6823189900136674965, -6823190756271847061}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
2023-01-20 15:40:39 -          not_first_call = 0
2023-01-20 15:40:39 -  #29 0x00007ffff7b3f133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
2023-01-20 15:40:39 -  No locals.
2023-01-20 15:40:39 -  
2023-01-20 15:40:39 -  Thread 1 (Thread 0x7ffff7a1b780 (LWP 16805) "canary"):
2023-01-20 15:40:39 -  #0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5555566b6f08 <g_loaderSignal+40>) at ../sysdeps/nptl/futex-internal.h:183
2023-01-20 15:40:39 -          __ret = -512
2023-01-20 15:40:39 -          oldtype = 0
2023-01-20 15:40:39 -          err = <optimized out>
2023-01-20 15:40:39 -          oldtype = <optimized out>
2023-01-20 15:40:39 -          err = <optimized out>
2023-01-20 15:40:39 -          __ret = <optimized out>
2023-01-20 15:40:39 -          resultvar = <optimized out>
2023-01-20 15:40:39 -          __arg4 = <optimized out>
2023-01-20 15:40:39 -          __arg3 = <optimized out>
2023-01-20 15:40:39 -          __arg2 = <optimized out>
2023-01-20 15:40:39 -          __arg1 = <optimized out>
2023-01-20 15:40:39 -          _a4 = <optimized out>
2023-01-20 15:40:39 -          _a3 = <optimized out>
2023-01-20 15:40:39 -          _a2 = <optimized out>
2023-01-20 15:40:39 -          _a1 = <optimized out>
2023-01-20 15:40:40 -  #1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5555566b6ea0 <g_loaderLock>, cond=0x5555566b6ee0 <g_loaderSignal>) at pthread_cond_wait.c:508
2023-01-20 15:40:40 -          spin = 0
2023-01-20 15:40:40 -          buffer = {__routine = 0x7ffff7fab050 <__condvar_cleanup_waiting>, __arg = 0x7fffffffe1a0, __canceltype = 0, __prev = 0x0}
2023-01-20 15:40:40 -          cbuffer = {wseq = 0, cond = 0x5555566b6ee0 <g_loaderSignal>, mutex = 0x5555566b6ea0 <g_loaderLock>, private = 0}
2023-01-20 15:40:40 -          err = <optimized out>
2023-01-20 15:40:40 -          g = 0
2023-01-20 15:40:40 -          flags = <optimized out>
2023-01-20 15:40:40 -          g1_start = <optimized out>
2023-01-20 15:40:40 -          maxspin = 0
2023-01-20 15:40:40 -          signals = <optimized out>
2023-01-20 15:40:40 -          result = 0
2023-01-20 15:40:40 -          wseq = 0
2023-01-20 15:40:40 -          seq = 0
2023-01-20 15:40:40 -          private = <optimized out>
2023-01-20 15:40:40 -          maxspin = <optimized out>
2023-01-20 15:40:40 -          err = <optimized out>
2023-01-20 15:40:40 -          result = <optimized out>
2023-01-20 15:40:40 -          wseq = <optimized out>
2023-01-20 15:40:40 -          g = <optimized out>
2023-01-20 15:40:40 -          seq = <optimized out>
2023-01-20 15:40:40 -          flags = <optimized out>
2023-01-20 15:40:40 -          private = <optimized out>
2023-01-20 15:40:40 -          signals = <optimized out>
2023-01-20 15:40:40 -          done = <optimized out>
2023-01-20 15:40:40 -          g1_start = <optimized out>
2023-01-20 15:40:40 -          spin = <optimized out>
2023-01-20 15:40:40 -          buffer = {__routine = <optimized out>, __arg = <optimized out>, __canceltype = <optimized out>, __prev = <optimized out>}
2023-01-20 15:40:40 -          cbuffer = {wseq = <optimized out>, cond = <optimized out>, mutex = <optimized out>, private = <optimized out>}
2023-01-20 15:40:40 -          s = <optimized out>
2023-01-20 15:40:40 -  #2  __pthread_cond_wait (cond=0x5555566b6ee0 <g_loaderSignal>, mutex=0x5555566b6ea0 <g_loaderLock>) at pthread_cond_wait.c:647
2023-01-20 15:40:40 -  No locals.
2023-01-20 15:40:40 -  #3  0x00007ffff7d012d0 in std::condition_variable::wait(std::unique_lock<std::mutex>&) () from /lib/x86_64-linux-gnu/libstdc++.so.6
2023-01-20 15:40:40 -  No symbol table info available.
2023-01-20 15:40:40 -  #4  0x0000555555ab424b in void std::condition_variable::wait<main::{lambda()#1}>(std::unique_lock<std::mutex>&, main::{lambda()#1}) ()
2023-01-20 15:40:40 -  No symbol table info available.
2023-01-20 15:40:40 -  #5  0x0000555555ab17e7 in main ()
2023-01-20 15:40:40 -  No symbol table info available.
2023-01-20 15:40:40 -  A debugging session is active.
2023-01-20 15:40:40 -  
2023-01-20 15:40:40 -   Inferior 1 [process 16805] will be killed.
2023-01-20 15:40:40 -  
2023-01-20 15:40:40 -  Quit anyway? (y or n) [answered Y; input not from terminal]
majestyotbr commented 1 year ago

https://github.com/opentibiabr/canary/issues/789#issuecomment-1386170899

dudantas commented 1 year ago

Como já citado, o problema é resolvido removendo os valores negativos do spawntime nos seus arquivos de spawn... Antes de abrir issue, por favor verifique se já não tem algo semelhante que foi respondido!

AndersenGriep commented 1 year ago

@majestyotbr obrigado pela ajuda. @dudantas tudo bem