root@ns3280051:/home/otsmanager/forgottenserver# gdb tfs core.pid
GNU gdb (Ubuntu 7.7-0ubuntu3.1) 7.7
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from tfs...done.
[New LWP 4580]
[New LWP 4579]
[New LWP 4688]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./tfs --log-file output.txt error.txt'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x0000000702ec06aa in ?? ()
(gdb) bt
#0 0x0000000702ec06aa in ?? ()
#1 0x000000000057af59 in Tile::__queryDestination (this=<optimised out>,
index=<optimised out>, thing=<optimised out>, destItem=0x7fded5b8d9a8,
flags=@0x7fded5b8d998: 1) at tile.cpp:874
#2 0x000000000046a237 in Game::internalAddItem (
this=this@entry=0x82f260 <g_game>, actor=actor@entry=0x0,
toCylinder=<optimised out>, item=item@entry=0x7fde6df0dc50,
index=index@entry=-1, flags=flags@entry=1, test=test@entry=false)
at game.cpp:1564
#3 0x000000000046ce06 in Game::combatChangeHealth (this=0x82f260 <g_game>,
combatType=COMBAT_PHYSICALDAMAGE, attacker=attacker@entry=0x7fdeb49660f0,
target=target@entry=0x7fdebebfb510, healthChange=<optimised out>,
hitEffect=MAGIC_EFFECT_UNKNOWN, hitColor=TEXTCOLOR_UNKNOWN,
force=force@entry=false) at game.cpp:4316
#4 0x0000000000427e21 in Combat::CombatHealthFunc (
caster=caster@entry=0x7fdeb49660f0, target=target@entry=0x7fdebebfb510,
params=..., data=data@entry=0x7fded5b8db30) at combat.cpp:553
#5 0x000000000042a840 in Combat::doCombatHealth (
caster=caster@entry=0x7fdeb49660f0, target=target@entry=0x7fdebebfb510,
minChange=-82631, maxChange=-82631, params=...) at combat.cpp:839
#6 0x00000000005854b9 in Weapon::internalUseWeapon (
this=this@entry=0x7fdec27ca300, player=player@entry=0x7fdeb49660f0,
item=item@entry=0x7fde77aae1b0, target=target@entry=0x7fdebebfb510,