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

Crash

slaw

Software Developer
Joined
Aug 27, 2007
Messages
3,784
Solutions
133
Reaction score
1,275
Location
Germany
GitHub
slawkens
I have server from 1 month, and now i have ~80 players and it crash from today ;/

Hoow can i found the reason? Are there any logs? ;/

It crash after 5-10 minutes..

I know that in some engines when server crash there is a log file. It is too in Forgotten? Becouse i see only Debug Assertion, it show only client debugs.
 
Last edited:
Ok, i have reason, server crashed becouse of using command !createguild. How it is possible? I have it from yesterday, before all was ok ;/
 
But only with guilds? I can import from 2 days ago guilds. Will be it work? Or i need import all?
 
Ok, now i just want to know: is there any file where are saved crash logs?

I have found in sources:
Code:
#ifdef __DEBUG_CRITICALSECTION__
and
Code:
#if defined __EXCEPTION_TRACER__
So if i will add it to Compiler, then errors when crash will be generated?
 
Ok, now i just want to know: is there any file where are saved crash logs?

I have found in sources:
Code:
#ifdef __DEBUG_CRITICALSECTION__
and
Code:
#if defined __EXCEPTION_TRACER__
So if i will add it to Compiler, then errors when crash will be generated?

i wanna know that too no idea how to check on linux why the server crashed ?
 
i wanna know that too no idea how to check on linux why the server crashed ?

Dont know about linux, but at windows with __EXCEPTION_TRACER__ it will generate the report.txt file in the same place as server.exe. You will have to create a new file called forgottenserver.map in your server dir.


--
Ive been referring to yesterdays post, also, its better to bump a thread instead of making new.

\/
 
Last edited:
Look at the date, plax.
so ? i still got a problem...
Dont know about linux, but at windows with __EXCEPTION_TRACER__ it will generate the report.txt file in the same place as server.exe. You will have to create a new file called forgottenserver.map in your server dir.


--
Ive been referring to yesterdays post, also, its better to bump a thread instead of making new.

\/

i think that compile with exception tracer not working on linux ;/
 
so ? i still got a problem...


i think that compile with exception tracer not working on linux ;/

Use gdb in Linux.
 
Use gdb in Linux.
oh yea i just need on 0.3 rename this
Code:
gdb TheForgottenServer core.*
for
Code:
gdb theforgottenserver core
lal here is the crash report
Code:
(gdb) bt
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb79cd085 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb79cea01 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7bdc480 in __gnu_cxx::__verbose_terminate_handler ()
   from /usr/lib/libstdc++.so.6
#4  0xb7bd9d05 in ?? () from /usr/lib/libstdc++.so.6
#5  0xb7bd9d42 in std::terminate () from /usr/lib/libstdc++.so.6
#6  0xb7bd9e6a in __cxa_throw () from /usr/lib/libstdc++.so.6
#7  0xb7b6fd3f in std::__throw_logic_error () from /usr/lib/libstdc++.so.6
#8  0xb7bb59ef in ?? () from /usr/lib/libstdc++.so.6
#9  0xb7bb5b37 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string () from /usr/lib/libstdc++.so.6
#10 0x080a8a14 in MySQLResult (this=0xb401e7f0, res=0xb388be68)
    at databasemysql.cpp:322
#11 0x080a9b86 in DatabaseMySQL::storeQuery (this=0x84100c0, query=@0xbff61ba4)
    at databasemysql.cpp:173
#12 0x080f3281 in IOLoginData::getAccountId (this=0x8279fc0, name=@0xbff61cb0, 
    number=@0xbff61ca4) at iologindata.cpp:120
#13 0x081c63b6 in ProtocolGame::parseFirstPacket (this=0xb22d5168, 
    msg=@0xa93a59d4) at protocolgame.cpp:588
#14 0x081c6b4c in ProtocolGame::onRecvFirstMessage (this=0xb22d5168, 
    msg=@0xa93a59d4) at protocolgame.cpp:605
#15 0x0807e505 in Connection::parsePacket (this=0xa93a59d0, error=@0xbff61f6c)
any1 know the reason i think it's my scripting fault fault yes ? because 0.3 seems not to be crashing for some peoples my crashed some times ..
 
Back
Top