Hello!
My server is crashing and I dont know why.
Floating point exception is the error
I'm using TFS 0.3.5
Look my screen log:
UPDATE:
Crash log:
My server is crashing and I dont know why.
Floating point exception is the error
I'm using TFS 0.3.5
Look my screen log:
Code:
Compiled with GNU C++ version 4.6.3 at Oct 14 2013, 14:35:51.
A server developed by Elf, slawkens, Talaturen, KaczooH, Lithium, Kiper, Kornholijo.
Visit our forum for updates, support and resources: http://otland.net.
>> Loading config (config.lua)
> Using SHA1 encryption
>> Loading RSA key
>> Starting SQL connection
>> Running Database Manager
>> Loading items
>> Loading groups
>> Loading vocations
>> Loading tournaments
>> Loading script systems
>> Loading chat channels
>> Loading outfits
>> Loading experience stages
>> Loading monsters
>> Loading mods...
>> Loading map and spawns...
> Map size: 2048x2048.
> Map descriptions:
"Saved with Remere's Map Editor 1.1.9"
"map"
> Map loading time: 2.647 seconds.
> Data parsing time: 0.342 seconds.
> Houses synchronization time: 1.588 seconds.
> Content unserialization time: 1.369 seconds.
>> Checking world type... PvP
>> Initializing game state modules and registering services...
> Global address: 127.0.0.1
> Local ports: 7278 7279
>> All modules were loaded, server is starting up...
>> One server Online!
Floating point exception
UPDATE:
Crash log:
Code:
Program terminated with signal 8, Arithmetic exception.
#0 0x00007f0472cf07be in __gmp_exception ()
from /usr/lib/x86_64-linux-gnu/libgmp.so.10
(gdb) bt
#0 0x00007f0472cf07be in __gmp_exception ()
from /usr/lib/x86_64-linux-gnu/libgmp.so.10
#1 0x00007f0472cf07ee in __gmp_divide_by_zero ()
from /usr/lib/x86_64-linux-gnu/libgmp.so.10
#2 0x00007f0472d09571 in __gmpz_tdiv_r ()
from /usr/lib/x86_64-linux-gnu/libgmp.so.10
#3 0x00007f0472d0366a in __gmpz_mod ()
from /usr/lib/x86_64-linux-gnu/libgmp.so.10
#4 0x0000000000596f2b in RSA::decrypt (this=0x882520,
msg=0x10a1c57 "\nSÌÓ0ó¹Lp?\fçU:é\215_\200c.ß:ì¤)¨iÚU\177sÅÌ\210¤\030\231\071*\235ÿE\213\037!d)\032\202wðÛ:P'µÄUÄ\202\225\216q\216\016¹ãí\n#\225Ç\205qº\032®rP\203/\002a·¤\237¤ó\bt>W\031\rLAY*sj\b{B\032|eGË#½\236", size=<optimized out>)
at rsa.cpp:95
#5 0x000000000056bea2 in Protocol::RSA_decrypt (this=<optimized out>,
rsa=<optimized out>, msg=...) at protocol.cpp:206
#6 0x000000000056bef9 in Protocol::RSA_decrypt (this=<optimized out>, msg=...)
at protocol.cpp:195
#7 0x000000000058dfa0 in ProtocolLogin::parseFirstPacket (this=0x10b9180,
msg=...) at protocollogin.cpp:85
#8 0x000000000058f49b in ProtocolLogin::onRecvFirstMessage (
this=<optimized out>, msg=...) at protocollogin.h:31
#9 0x0000000000442e71 in Connection::parsePacket (this=0x10a1c20, error=...)
at connection.cpp:427
Last edited: