(gdb) bt full
#0 0x00000000005a819d in run_script_main (st=0x7f046e7f4ff4) at script.c:3908
c = <value optimized out>
cmdcount = 655360
gotocount = 2048
sd = <value optimized out>
stack = 0x0
nd = <value optimized out>
#1 0x0000000000541b65 in npc_scriptcont (sd=0x4c3bca0, id=<value optimized out>, closing=false) at npc.c:1236
__FUNCTION__ = "npc_scriptcont"
#2 0x00000000004bb713 in clif_parse (fd=19) at clif.c:18589
parse_cmd_func = <value optimized out>
cmd = <value optimized out>
packet_len = 6
sd = 0x4c3bca0
pnum = <value optimized out>
#3 0x000000000064564e in do_sockets (next=<value optimized out>) at socket.c:966
rfd = {__fds_bits = {524288, 0 <repeats 15 times>}}
timeout = {tv_sec = 0, tv_usec = 43097}
ret = 0
i = <value optimized out>
#4 0x0000000000641a89 in main (argc=<value optimized out>, argv=<value optimized out>) at core.c:361
next = <value optimized out>