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

Lua Error server crashing (help) what is the reason for the crash

LockeLamora

New Member
Joined
Oct 16, 2021
Messages
3
Reaction score
0
GitHub
LockeLamora
Thread 2 "otx" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff2385700 (LWP 847)]
ChatChannel::removeUser (this=0x707070707070706, player=player@entry=
0x7fffe1833c20) at chat.cpp:143
143 UsersMap::iterator it = m_users.find(player->getID());
Saving server...
SAVE: Complete in 1.598 seconds using binary-tilebased house storage.

Thread 3 (Thread 0x7ffff1972700 (LWP 848)):
#0 0x00007ffff53d6065 in futex_abstimed_wait_cancelable (
private=<optimized out>, abstime=0x7ffff1971b60, expected=0,
futex_word=0x555555a6a88c <Scheduler::getInstance()::scheduler+204>)
at ../sysdeps/unix/sysv/linux/futex-internal.h:205
__ret = -516
oldtype = 0
err = <optimized out>
oldtype = <optimized out>
err = <optimized out>
__ret = <optimized out>
resultvar = <optimized out>
__arg6 = <optimized out>
__arg5 = <optimized out>
__arg4 = <optimized out>
__arg3 = <optimized out>
__arg2 = <optimized out>
__arg1 = <optimized out>
_a6 = <optimized out>
_a5 = <optimized out>
_a4 = <optimized out>
_a3 = <optimized out>
_a2 = <optimized out>
_a1 = <optimized out>
#1 __pthread_cond_wait_common (abstime=0x7ffff1971b60,
mutex=0x555555a6a838 <Scheduler::getInstance()::scheduler+120>,
cond=0x555555a6a860 <Scheduler::getInstance()::scheduler+160>)
at pthread_cond_wait.c:539
spin = 0
buffer = {__routine = 0x7ffff53d5770 <__condvar_cleanup_waiting>,
__arg = 0x7ffff1971ad0, __canceltype = -241755312, __prev = 0x0}
cbuffer = {wseq = 12689051,
cond = 0x555555a6a860 <Scheduler::getInstance()::scheduler+160>,
mutex = 0x555555a6a838 <Scheduler::getInstance()::scheduler+120>,
private = 0}
err = <optimized out>
g = 1
flags = <optimized out>
g1_start = <optimized out>
maxspin = 0
signals = <optimized out>
result = 0
wseq = <optimized out>
seq = 6344525
private = <optimized out>
maxspin = <optimized out>
err = <optimized out>
result = <optimized out>
wseq = <optimized out>
g = <optimized out>
seq = <optimized out>
flags = <optimized out>
private = <optimized out>
signals = <optimized out>
g1_start = <optimized out>
spin = <optimized out>
buffer = <optimized out>
cbuffer = <optimized out>
rt = <optimized out>
s = <optimized out>
#2 __pthread_cond_timedwait (
cond=cond@entry=0x555555a6a860 <Scheduler::getInstance()::scheduler+160>,
mutex=mutex@entry=0x555555a6a838 <Scheduler::getInstance()::scheduler+120>, abstime=abstime@entry=0x7ffff1971b60) at pthread_cond_wait.c:667
No locals.
#3 0x00005555556ea812 in boost::condition_variable::do_wait_until (
timeout=..., m=...,
this=0x555555a6a838 <Scheduler::getInstance()::scheduler+120>)
at /usr/include/boost/thread/pthread/condition_variable.hpp:115
guard = {m = 0x7ffff1971b50}
check_for_interruption = {thread_info = 0x7fffece63dd0,
m = 0x555555a6a838 <Scheduler::getInstance()::scheduler+120>,
set = true, done = false}
the_mutex = 0x555555a6a838 <Scheduler::getInstance()::scheduler+120>
cond_res = <optimized out>
cond_res = <optimized out>
guard = <optimized out>
check_for_interruption = <optimized out>
the_mutex = <optimized out>
#4 boost::condition_variable::timed_wait (abs_time=..., m=...,
this=0x555555a6a838 <Scheduler::getInstance()::scheduler+120>)
at /usr/include/boost/thread/pthread/condition_variable_fwd.hpp:142
timeout = {tv_sec = 1634413031, tv_nsec = 700074000}
timeout = <optimized out>
#5 Scheduler::schedulerThread (
this=0x555555a6a7c0 <Scheduler::getInstance()::scheduler>)
at scheduler.cpp:50
task = 0x0
run = false
action = false
eventLockUnique = {
m = 0x555555a6a810 <Scheduler::getInstance()::scheduler+80>,
is_locked = false}
#6 0x00007ffff7711bcd in ?? ()
from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.65.1
No symbol table info available.
#7 0x00007ffff53cf6db in start_thread (arg=0x7ffff1972700)
at pthread_create.c:463
pd = 0x7ffff1972700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737246603008,
-94969796017232090, 140737246601152, 0, 140737167900112,
140737257158224, 94991583279081254, 94983513828517670},
mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0},
data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#8 0x00007ffff50f871f in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 2 (Thread 0x7ffff2385700 (LWP 847)):
#0 std::_Rb_tree<unsigned int, std::pair<unsigned int const, Player*>, std::_Select1st<std::pair<unsigned int const, Player*> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, Player*> > >::find (
__k=<optimized out>, this=<optimized out>)
at /usr/include/c++/7/bits/stl_tree.h:2523
__j = <optimized out>
__j = <optimized out>
#1 std::map<unsigned int, Player*, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, Player*> > >::find (__x=<optimized out>,
this=<optimized out>) at /usr/include/c++/7/bits/stl_map.h:1163
No locals.
#2 ChatChannel::removeUser (this=0x707070707070706,
player=player@entry=0x7fffe1833c20) at chat.cpp:143
it = <optimized out>
leaveEvents = std::__cxx11::listPython Exception <class 'ValueError'> Cannot find type CreatureEventList::_Node:

#3 0x000055555566dc1e in Chat::removeUserFromChannels (
this=0x555555a6af80 <g_chat>, player=player@entry=0x7fffe1833c20)
at chat.cpp:1184
it = {first = 1799, second = 0x707070707070706}
#4 0x0000555555792247 in Player::eek:nCreatureDisappear (this=0x7fffe1833c20,
creature=<optimized out>, isLogout=<optimized out>) at player.cpp:1690
item = <optimized out>
saved = <optimized out>
#5 0x000055555569c513 in Game::removeCreature (this=0x555555a6b0c0 <g_game>,
creature=creature@entry=0x7fffe1833c20, isLogout=isLogout@entry=true)
at game.cpp:1027
tile = 0x7fffdab24930
list = std::unordered_set with 28 elements = {[0] = 0x7fffe1e816d0,
[1] = 0x7fffd86fa110, [2] = 0x7fffe0e9aaa0, [3] = 0x7fffe1833c20,
[4] = 0x7fffeb6ff770, [5] = 0x7fffd73678b0, [6] = 0x7fffe217b7b0,
[7] = 0x7fffeb0efc10, [8] = 0x7fffe2011540, [9] = 0x7fffea637520,
[10] = 0x7fffeb4b1470, [11] = 0x7fffea669bf0, [12] = 0x7fffd93ef5c0,
[13] = 0x7fffea6878e0, [14] = 0x7fffe143a500, [15] = 0x7fffd9314940,
[16] = 0x7fffe1a9fe00, [17] = 0x7fffe2c155c0, [18] = 0x7fffe042b1e0,
[19] = 0x7fffd9608870, [20] = 0x7fffe1e78620, [21] = 0x7fffe1ebbe10,
[22] = 0x7fffe24793e0, [23] = 0x7fffe28dad30, [24] = 0x7fffeb572490,
[25] = 0x7fffd88a1e30, [26] = 0x7fffd93d88a0, [27] = 0x7fffd93eb430}
it = {<std::__detail::_Node_iterator_base<Creature*, false>> = {
_M_cur = 0x7fffbd5c7c30}, <No data fields>}
player = <optimized out>
oldStackPosVector = std::vector of length -5397918952, capacity 35176476360000 = {
<error reading variable oldStackPosVector (Cannot access memory at address 0x7003700a0)>
oldIndex = <optimized out>
i = <optimized out>
#6 0x000055555578fa7a in Player::eek:nThink (this=0x7fffe1833c20, interval=1000)
at player.cpp:2007
timeNow = <optimized out>
#7 0x00005555556aeecb in Game::checkCreatures (this=0x555555a6b0c0 <g_game>)
at game.cpp:4755
it = 0x7fffe1833c20
creatureVector = std::vector of length 83, capacity 83 = {
0x7fffd8f77a30, 0x7fffd8f83d00, 0x7fffd91a05e0, 0x7fffd9030130,
0x7fffd9263880, 0x7fffd9314940, 0x7fffd931f220, 0x7fffd9123620,
0x7fffd943d6d0, 0x7fffd9cc2490, 0x7fffd8bbb1e0, 0x7fffd8bbd680,
0x7fffd9c356f0, 0x7fffd9ccb2c0, 0x7fffea68fd40, 0x7fffecc12cb0,
0x7fffe00fdd10, 0x7fffeb505720, 0x7fffd9c33750, 0x7fffd9c7e280,
0x7fffe148bb50, 0x7fffe1881eb0, 0x7fffd9c32780, 0x7fffe1db15e0,
0x7fffd9c7bdb0, 0x7fffd9c42990, 0x7fffd9c870d0, 0x7fffd9c7ade0,
0x7fffd9c7b330, 0x7fffe2457930, 0x7fffd9c31ce0, 0x7fffd9cc8df0,
0x7fffd9cc9320, 0x7fffd9c39610, 0x7fffd8bba780, 0x7fffd9c37670,
0x7fffd8a6ab90, 0x7fffeb3371a0, 0x7fffd740c590, 0x7fffd9c3b060,
0x7fffd73678b0, 0x7fffeb6a94e0, 0x7fffeb35c7a0, 0x7fffeb0d7670,
0x7fffe13cfbe0, 0x7fffd98c9140, 0x7fffea63a740, 0x7fffd9c317b0,
0x7fffe217b7b0, 0x7fffd9c33c80, 0x7fffd9c79e30, 0x7fffeb572490,
0x7fffd9c3ef80, 0x7fffd9c3ff70, 0x7fffd9928520, 0x7fffeb32e4f0,
0x7fffd9927c00, 0x7fffd9927770, 0x7fffd992b2c0, 0x7fffd992ae30,
0x7fffe2c8fd10, 0x7fffd99252f0, 0x7fffd99249d0, 0x7fffd8b493a0,
0x7fffe2c16460, 0x7fffe2587630, 0x7fffe2b18ad0, 0x7fffd87532c0,
0x7fffd88a1e30, 0x7fffed084a70, 0x7fffd866c590, 0x7fffd8708870,
0x7fffd99b6f70, 0x7fffe13962c0, 0x7fffea875230, 0x7fffd85ea3a0,
0x7fffeb09e780, 0x7fffd8d462a0, 0x7fffd7c4c3d0, 0x7fffd992e060,
0x7fffe2a8c2c0, 0x7fffe2131a00, 0x7fffe2b74c50}
checkCreatureVector = std::vector of length 74, capacity 128 = {
0x7fffd90fcc70, 0x7fffd9125ab0, 0x7fffd91780d0, 0x7fffd95b4680,
0x7fffd980ab40, 0x7fffea64fd50, 0x7fffebadfb80, 0x7fffebdec830,
0x7fffebde7bb0, 0x7fffd9cc5930, 0x7fffd9c2fd60, 0x7fffd9c34700,
0x7fffe19f6a60, 0x7fffe1ebbe10, 0x7fffd9c40f20, 0x7fffd9c39b40,
0x7fffe24793e0, 0x7fffe29ea8a0, 0x7fffea92bb50, 0x7fffd87c5b60,
0x7fffd9c36bf0, 0x7fffe2b9bdc0, 0x7fffe194a050, 0x7fffd8b9bee0,
0x7fffe2b21500, 0x7fffd9c3d550, 0x7fffd71fb0b0, 0x7fffeacf4220,
0x7fffd77369b0, 0x7fffeb988140, 0x7fffd7ba16e0, 0x7fffe2cc5de0,
0x7fffed217aa0, 0x7fffe0e52d00, 0x7fffea65edb0, 0x7fffd9c36170,
0x7fffd9929760, 0x7fffd99269c0, 0x7fffd8a10010, 0x7fffe2be6bb0,
0x7fffd86966e0, 0x7fffd992d740, 0x7fffd992dbd0, 0x7fffe1833c20,
0x7fffd99b1040, 0x7fffe2901df0, 0x7fffeacd4340, 0x7fffd8d46790,
0x7fffd79522e0, 0x7fffe1e816d0, 0x7fffd8b49eb0, 0x7fffeb3eafd0,
0x7fffd99fcd10, 0x7fffeacaf960, 0x7fffd889c9b0, 0x7fffea7675e0,
0x7fffd87c7540, 0x7fffd84d5630, 0x7fffe29026b0, 0x7fffeaf8bd20,
0x7fffecd35b20, 0x7fffd8767020, 0x7fffd85f3710, 0x7fffd8a3ab40,
0x7fffd838e7e0, 0x7fffd70b4c80, 0x7fffd8a30850, 0x7fffd81d2850,
0x7fffd7422510, 0x7fffeaeebfa0, 0x7fffd79c13b0, 0x7fffea9e9c30,
0x7fffeb054ad0, 0x7fffd8c2a7b0}
#8 0x0000555555628a98 in boost::function0<void>::eek:perator() (
this=0x7fff9d8c1570)
at /usr/include/boost/function/function_template.hpp:759
No locals.
#9 Task::eek:perator() (this=0x7fff9d8c1560) at dispatcher.h:34
No locals.
#10 Dispatcher::dispatcherThread (
this=0x555555a6a540 <Dispatcher::getInstance()::dispatcher>)
at dispatcher.cpp:61
task = 0x7fff9d8c1560
taskLockUnique = {
m = 0x555555a6a558 <Dispatcher::getInstance()::dispatcher+24>,
is_locked = false}
#11 0x00007ffff7711bcd in ?? ()
from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.65.1
No symbol table info available.
#12 0x00007ffff53cf6db in start_thread (arg=0x7ffff2385700)
at pthread_create.c:463
pd = 0x7ffff2385700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737257166592,
-94969796017232090, 140737257164736, 0, 93824998170480,
140737488345696, 94994548417128230, 94983513828517670},
mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0},
data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#13 0x00007ffff50f871f in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 1 (Thread 0x7ffff7fddb80 (LWP 843)):
#0 0x00005555555b76d9 in Protocol::XTEA_decrypt (this=<optimized out>,
msg=...) at protocol.cpp:120
v0 = 3973998825
v1 = 1077992635
sum = 2415085441
delta = 1640531527
buffer = 0x555555eb4dab "i\002\334\363\221\322\302v\377\361_\020\246w\342\270 MAS FRIGO6\351\v\376\337ln\v"
messageLength = 16
readPos = 0
k = {3600374688, 702385834, 1107263853, 2676375024}
innerLength = <optimized out>
#1 0x00005555555b77e5 in Protocol::eek:nRecvMessage (this=0x555555deaea0,
msg=...) at protocol.cpp:42
No locals.
#2 0x000055555570bad9 in Connection::parsePacket (this=0x555555eb4d90,
error=...) at connection.cpp:255
lockClass = {_M_device = @0x555555ebae38}
checksum = 1379600876
len = <optimized out>
recvChecksum = <optimized out>
#3 0x00005555557107d2 in std::__invoke_impl<void, void (Connection::*&)(boost::system::error_code const&), std::shared_ptr<Connection>&, boost::system::error_code const&> (__t=..., __f=<optimized out>)
at /usr/include/c++/7/bits/invoke.h:73
No locals.
#4 std::__invoke<void (Connection::*&)(boost::system::error_code const&), std::shared_ptr<Connection>&, boost::system::error_code const&> (
__fn=<optimized out>) at /usr/include/c++/7/bits/invoke.h:95
No locals.
#5 std::_Bind<void (Connection::*(std::shared_ptr<Connection>, std::_Placeholder<1>))(boost::system::error_code const&)>::__call<void, boost::system::error_code const&, unsigned long const&, 0ul, 1ul>(std::tuple<boost::system::error_code const&, unsigned long const&>&&, std::_Index_tuple<0ul, 1ul>) (__args=...,
this=<optimized out>) at /usr/include/c++/7/functional:467
No locals.
#6 std::_Bind<void (Connection::*(std::shared_ptr<Connection>, std::_Placeholder<1>))(boost::system::error_code const&)>::eek:perator()<boost::system::error_code const&, unsigned long const&, void>(boost::system::error_code const&, unsigned long const&) (this=<optimized out>) at /usr/include/c++/7/functional:551
No locals.
#7 boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, std::_Bind<void (Connection::*(std::shared_ptr<Connection>, std::_Placeholder<1>))(boost::system::error_code const&)> >::eek:perator()(boost::system::error_code const&, unsigned long, int) (this=<optimized out>, ec=..., bytes_transferred=<optimized out>,
start=<optimized out>) at /usr/include/boost/asio/impl/read.hpp:282
n = <optimized out>
ec = <optimized out>
this = <optimized out>
bytes_transferred = <optimized out>
start = <optimized out>
n = <optimized out>
n = <optimized out>
#8 0x0000555555710b40 in boost::asio::detail::binder2<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, std::_Bind<void (Connection::*(std::shared_ptr<Connection>, std::_Placeholder<1>))(boost::system::error_code const&)> >, boost::system::error_code, unsigned long>::eek:perator()() (this=0x7fffffffdad0)
at /usr/include/boost/asio/detail/bind_handler.hpp:127
No locals.
#9 boost::asio::asio_handler_invoke<boost::asio::detail::binder2<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, std::_Bind<void (Connection::(std::shared_ptr<Connection>, std::_Placeholder<1>))(boost::system::error_code const&)> >, boost::system::error_code, unsigned long> >(boost::asio::detail::binder2<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, std::_Bind<void (Connection::(std::shared_ptr<Connection>, std::_Placeholder<1>))(boost::system::error_code const&)> >, boost::system::error_code, unsigned long>&, ...) (function=...)
at /usr/include/boost/asio/handler_invoke_hook.hpp:69
No locals.
#10 boost_asio_handler_invoke_helpers::invoke<boost::asio::detail::binder2<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, std::_Bind<void (Connection::(std::shared_ptr<Connection>, std::_Placeholder<1>))(boost::system::error_code const&)> >, boost::system::error_code, unsigned long>, std::_Bind<void (Connection::(std::shared_ptr<Connection>, std::_Placeholder<1>))(boost::system::error_code const&)> >(boost::asio::detail::binder2<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, std::_Bind<void (Connection::(std::shared_ptr<Connection>, std::_Placeholder<1>))(boost::system::error_code const&)> >, boost::system::error_code, unsigned long>&, std::_Bind<void (Connection::(std::shared_ptr<Connection>, std::_Placeholder<1>))(boost::system::error_code const&)>&) (context=...,
function=...)
at /usr/include/boost/asio/detail/handler_invoke_helpers.hpp:37
No locals.
 
Back
Top