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

Linux GDB~~ crash upon start

Ped0bear

Haters keep hating
Joined
Mar 16, 2010
Messages
528
Reaction score
9
Location
Everywhere and nowhere
Just added some script files and well now the server crashes upon start.


gdb report:

Code:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff2eb2710 (LWP 11415)]
0x000000000054dedb in Map::getTile(int, int, int) ()
(gdb) bt
#0  0x000000000054dedb in Map::getTile(int, int, int) ()
#1  0x000000000053b2b7 in LuaInterface::luaGetThingFromPos(lua_State*) ()
#2  0x00007ffff77abbc1 in ?? () from /usr/lib/liblua5.1.so.0
#3  0x00007ffff77b6959 in ?? () from /usr/lib/liblua5.1.so.0
#4  0x00007ffff77ac08d in ?? () from /usr/lib/liblua5.1.so.0
#5  0x00007ffff77ab737 in ?? () from /usr/lib/liblua5.1.so.0
#6  0x00007ffff77ab7b2 in ?? () from /usr/lib/liblua5.1.so.0
#7  0x00007ffff77a71a1 in lua_pcall () from /usr/lib/liblua5.1.so.0
#8  0x000000000053b9d2 in LuaInterface::loadFile(std::string const&, Npc*) ()
#9  0x0000000000429c77 in Event::loadScript(std::string const&, bool) ()
#10 0x000000000042a62a in BaseEvents::parseEventNode(_xmlNode*, std::string, bool) ()
#11 0x000000000042afab in BaseEvents::loadFromXml() ()
#12 0x00000000005e3666 in ScriptManager::loadSystem() ()
#13 0x0000000000586388 in otserv(std::vector<std::string, std::allocator<std::string> >, ServiceManager*) ()
#14 0x000000000058b351 in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, void (*)(std::vector<std::string, std::allocator<std::string> >, ServiceManager*), boost::_bi::list2<boost::_bi::value<std::vector<std::string, std::allocator<std::string> > >, boost::_bi::value<ServiceManager*> > >, void>::invoke(boost::detail::function::function_buffer&) ()
#15 0x00000000004958bf in Task::operator()() ()
#16 0x0000000000494282 in Dispatcher::dispatcherThread(void*) ()
 
--enable-debug version:

Code:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff2eb2710 (LWP 11426)]
0x00000000005ce514 in QTreeNode::isLeaf (this=0x38) at map.h:106
106                     bool isLeaf() const {return m_isLeaf;}
(gdb) bt
#0  0x00000000005ce514 in QTreeNode::isLeaf (this=0x38) at map.h:106
#1  0x00000000005cdb0e in QTreeNode::getLeafStatic (root=0x38, x=33207,
    y=32537) at map.cpp:1092
#2  0x00000000005c9d00 in Map::getTile (this=0x0, x=33207, y=32537, z=6)
    at map.cpp:112
#3  0x0000000000432979 in Map::getTile (this=0x0, pos=...) at map.h:183
#4  0x0000000000594383 in LuaInterface::luaGetThingFromPos (L=0xe2ace60)
    at luascript.cpp:4388
#5  0x00007ffff77abbc1 in ?? () from /usr/lib/liblua5.1.so.0
#6  0x00007ffff77b6959 in ?? () from /usr/lib/liblua5.1.so.0
#7  0x00007ffff77ac08d in ?? () from /usr/lib/liblua5.1.so.0
#8  0x00007ffff77ab737 in ?? () from /usr/lib/liblua5.1.so.0
#9  0x00007ffff77ab7b2 in ?? () from /usr/lib/liblua5.1.so.0
#10 0x00007ffff77a71a1 in lua_pcall () from /usr/lib/liblua5.1.so.0
#11 0x0000000000586e01 in LuaInterface::loadFile (this=0xe2b0d88, file=...,
    npc=0x0) at luascript.cpp:726
#12 0x000000000042f8c2 in Event::loadScript (this=0xe644a00, script=...,
    file=true) at baseevents.cpp:196
#13 0x000000000042ede3 in BaseEvents::parseEventNode (this=0xe2b0d70,
    p=0xe761db0, scriptsPath=..., override=false) at baseevents.cpp:91
#14 0x000000000042ea3e in BaseEvents::loadFromXml (this=0xe2b0d70)
    at baseevents.cpp:55
#15 0x00000000006901de in ScriptManager::loadSystem (this=0xa48fa0)
 
Back
Top