• 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 Segmentation fault.

keilost

Member
Joined
Aug 4, 2012
Messages
63
Reaction score
12
Location
Brazil
I have the Ubuntu 10.04, and i compiled a distro 9.86...

When I try run the tfs, appear this message:
Segmentation fault.

I used gdb to run, and show this:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff3838700 (LWP 1104)]
0x00007ffff7658a41 in ?? () from /usr/lib/liblua5.1.so.0
 
(gdb) bt
#0 0x00007ffff7658a41 in ?? () from /usr/lib/liblua5.1.so.0
#1 0x00007ffff765a2ae in ?? () from /usr/lib/liblua5.1.so.0
#2 0x00007ffff764c805 in lua_getfield () from /usr/lib/liblua5.1.so.0
#3 0x0000000000464009 in ConfigManager::loadFile(std::string const&) ()
#4 0x000000000056b3af in mainLoader(int, char**, ServiceManager*) ()
#5 0x00000000005eb34f in Task::eek:perator()() ()
#6 0x00000000005ea2d5 in Dispatcher::dispatcherThread(void*) ()
#7 0x00007ffff6b3cb70 in thread_proxy ()
from /usr/lib/libboost_thread.so.1.40.0
#8 0x00007ffff78769ca in start_thread () from /lib/libpthread.so.0
#9 0x00007ffff59ec21d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()
 
Did you compile it on your own? For some reason it doesn't include debugging information!
You should compile again with -ggdb to get a more helpful output.

What TFS version are you using btw?
 
I put, and when I execute the command run file, appear this:
[Thread debugging using libthread_db enabled]
[New Thread 0x7ffff3838700 (LWP 3154)]
[New Thread 0x7ffff3037700 (LWP 3155)]
The Forgotten Server - Version 0.2.15 (Mystic Spirit).
Compilied on Aug 12 2013 16:33:40 for arch x64

A server developed by Talaturen, Kornholijo, Elf and Dalkon.
Visit our forum for updates, support, and resources: http://otland.net/.
> WARNING: The Forgotten Server has been executed as root user, it is recommended to execute is as a normal user.

>> Loading config

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff3838700 (LWP 3154)]
0x00007ffff7658a41 in ?? () from /usr/lib/liblua5.1.so.0

And when I execute the command bt, appear this:
(gdb) bt
#0 0x00007ffff7658a41 in ?? () from /usr/lib/liblua5.1.so.0
#1 0x00007ffff765a2ae in ?? () from /usr/lib/liblua5.1.so.0
#2 0x00007ffff764c805 in lua_getfield () from /usr/lib/liblua5.1.so.0
#3 0x0000000000464009 in ConfigManager::getGlobalNumber (this=0x89bc20,
_filename=<value optimized out>) at configmanager.cpp:243
#4 ConfigManager::loadFile (this=0x89bc20, _filename=<value optimized out>)
at configmanager.cpp:141
#5 0x000000000056b3af in mainLoader (argc=<value optimized out>,
argv=<value optimized out>, services=0x7fffffffe5c0) at otserv.cpp:313
#6 0x00000000005eb34f in Task::eek:perator()() ()
#7 0x00000000005ea2d5 in Dispatcher::dispatcherThread (
p=<value optimized out>) at tasks.cpp:96
#8 0x00007ffff6b3cb70 in thread_proxy ()
from /usr/lib/libboost_thread.so.1.40.0
#9 0x00007ffff78769ca in start_thread () from /lib/libpthread.so.0
#10 0x00007ffff59ec21d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()
 
I am using another vps now.. And the compilation works 100%..
But, i have many problems on the intiation of server :((

The spells don't work, systems..

Warning: [Items::loadFromXml] Unknown key value closingDoor
Warning: [Items::loadFromXml] Unknown key value transformUseTo
Warning: [Items::loadFromXml] Unknown key value specialDoor
Warning: [Items::loadFromXml] Unknown key value transformUseTo
Warning: [Items::loadFromXml] Unknown key value closingDoor
Warning: [Items::loadFromXml] Unknown key value transformUseTo
>> Loading script systems
[Warning - Spell::configureSpell] Unknown groups (secondary): 1,2000
 
Back
Top