My server is randomly crashing all the time(tfs 0.4_DEV):
and here is crash log:
I will gladly donate 25 EUR if you will help me to find the issue why my server crashed.
Code:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff300f910 (LWP 3883)]
0x0000000000632439 in vtable for Item ()
and here is crash log:
(gdb) bt
#0 0x0000000000632439 in vtable for Item ()
#1 0x0000000000494fc3 in Game::addMagicEffect (this=<value optimized out>,
list=..., pos=..., effect=10 '\n', ghostMode=false) at game.cpp:4583
#2 0x00000000005fafa5 in Teleport::__addThing (this=0x21fcfb20,
actor=0x7fffee79a590, thing=<value optimized out>) at teleport.cpp:65
#3 0x00000000005ff52a in Tile:ostAddNotification (
this=<value optimized out>, actor=0x7fffee79a590, thing=0x7fffe9da70e0,
oldParent=0x21fd00b0, index=6, link=<value optimized out>) at tile.cpp:1504
#4 0x000000000049a3ec in Game::internalMoveItem (this=<value optimized out>,
actor=<value optimized out>, fromCylinder=<value optimized out>,
toCylinder=<value optimized out>, index=0, item=0x7fffe9da7090, count=1,
_moveItem=0x0, flags=0) at game.cpp:1568
#5 0x00000000004a09fe in Game:layerMoveItem (this=0x8cb940,
playerId=268549904, fromPos=..., spriteId=<value optimized out>,
fromStackpos=<value optimized out>, toPos=..., count=224 '\340')
at game.cpp:1440
#6 0x00000000004a13e7 in Game:layerMoveThing (this=0x8cb940,
playerId=268549904, fromPos=..., spriteId=<value optimized out>,
fromStackpos=<value optimized out>, toPos=<value optimized out>,
count=224 '\340') at game.cpp:1037
#7 0x00000000004b2ce2 in boost::_mfi::mf6<bool, Game, unsigned int, Position const&, unsigned short, short, Position const&, unsigned char>:perator() (
function_obj_ptr=<value optimized out>)
---Type <return> to continue, or q <return> to quit---
at /usr/include/boost/bind/mem_fn_template.hpp:714
#8 operator()<bool, boost::_mfi::mf6<bool, Game, unsigned int, const Position&, short unsigned int, short int, const Position&, unsigned char>, boost::_bi::list0> (function_obj_ptr=<value optimized out>)
at /usr/include/boost/bind/bind.hpp:653
#9 boost::_bi::bind_t<bool, boost::_mfi::mf6<bool, Game, unsigned int, Position const&, unsigned short, short, Position const&, unsigned char>, boost::_bi::list7<boost::_bi::value<Game*>, boost::_bi::value<unsigned int>, boost::_bi::value<Position>, boost::_bi::value<unsigned short>, boost::_bi::value<short>, boost::_bi::value<Position>, boost::_bi::value<unsigned char> > >:perator() (
function_obj_ptr=<value optimized out>)
at /usr/include/boost/bind/bind_template.hpp:20
#10 boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<bool, boost::_mfi::mf6<bool, Game, unsigned int, Position const&, unsigned short, short, Position const&, unsigned char>, boost::_bi::list7<boost::_bi::value<Game*>, boost::_bi::value<unsigned int>, boost::_bi::value<Position>, boost::_bi::value<unsigned short>, boost::_bi::value<short>, boost::_bi::value<Position>, boost::_bi::value<unsigned char> > >, void>::invoke (
function_obj_ptr=<value optimized out>)
at /usr/include/boost/function/function_template.hpp:153
#11 0x0000000000491b4f in Task:perator()() ()
#12 0x000000000049087a in Dispatcher::dispatcherThread (
p=<value optimized out>) at dispatcher.cpp:73
#13 0x00007ffff65a9f30 in thread_proxy ()
from /usr/lib/libboost_thread.so.1.40.0
#14 0x00007ffff50c873a in start_thread () from /lib/libpthread.so.0
#15 0x00007ffff53a969d in clone () from /lib/libc.so.6
#16 0x0000000000000000 in ?? ()
I will gladly donate 25 EUR if you will help me to find the issue why my server crashed.