Originally posted by [b]AquaWolf[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=3526
well... simple =/ reload crashed my server.
CODE
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208592176 (LWP 17151)]
0x08150d74 in ers_obj_free_entry (self=0xb7f1cbac, entry=0x9) at ers.c:237
237 reuse->next = obj->reuse;
(gdb) bt full
#0 0x08150d74 in ers_obj_free_entry (self=0xb7f1cbac, entry=0x9) at ers.c:237
No locals.
#1 0x080a245b in npc_unload (nd=0xb5ef8c5c) at npc.c:1478
td = <value optimized out>
iter = (struct s_mapiterator *) 0xb353e2ac
bl = (struct block_list *) 0x0
__FUNCTION__ = "npc_unload"
#2 0x080a77a2 in npc_reload () at npc.c:3152
nsl = <value optimized out>
m = 0
i = <value optimized out>
npc_new_min = 113295638
iter = (struct s_mapiterator *) 0xb3ade674
bl = (struct block_list *) 0xb5ef8c5c
__FUNCTION__ = "npc_reload"
#3 0x0810cbb5 in atcommand_reloadscript (fd=25, sd=0x1031d5c0, command=0xbffb11a0 "@reloadscript", message=0xbffb1268 "")
at atcommand.c:4206
__FUNCTION__ = "atcommand_reloadscript"
#4 0x0810207a in is_atcommand (fd=25, sd=<value optimized out>, message=0xb35ae301 "@reloadscript", type=1)
at atcommand.c:9117
charname = "X\024�\000\000\000\000��Z�\021\000\000\000\006\000\000\000\031\000\000"
params = '\0' <repeats 99 times>
charname2 = "\230�\005\b\001�Z�\016\000\000\000\006\000\000\000\001\200��|\232ֳ"
params2 = "�\001\000\000�\000\000\000\017\000\000\000\001\001\000\000+\000\000\000\001\000\000\00016745984dvC�\002\000\000\000\030\000\000\0008\t\001\r\000\000\000\000�\\�\000�J�\a\000\000\000\000�\000\000\000�\022�,\022\005\b��N�\030ٸ\017��N�S\001\000\000�i0�\030\001\000"
command = "@reloadscript", '\0' <repeats 86 times>
output = "\022\000\000\000\017", '\0' <repeats 19 times>, "\020\000\000\000c", '\0' <repeats 23 times>, "\225\000\000\000\020\000\000\000\003\000\000\000�\021�Z�\006\b\000�\005\b\212\001\000\000\225\000\000\000c\000\000\000�\000\000\000\177\000\000\000\001\000\000\000\\\022�\020\000\000\000\234i0�\003\000\000\000\000\000\000\000!\000\000\000\201\001\000\000\210\021�ZZ\024\b\016\000\000\000�\001\000\000a\002\000\000_\002\000\000\237\002\000\000�\001\000\000�\\�\000\214{ֳ\214{ֳ�\000\000\000�\021�,\022\005\b\\\022�i0��\021��\177\024\b"
x = 0
y = <value optimized out>
z = 0
atcmd_msg = "@reloadscript", '\0' <repeats 135 times>, "\225\000\000\000\030\021�,\022\005\b", '\0' <repeats 28 times>, "�\035�\b�\214+\000\026\000\000"
ssd = (TBL_PC *) 0x0
info = (AtCommandInfo *) 0x817e5c0
__FUNCTION__ = "is_atcommand"
#5 0x08072a6e in clif_parse_GlobalMessage (fd=25, sd=0x1031d5c0) at clif.c:8553
text = <value optimized out>
textlen = <value optimized out>
name = 0xb35ae2f8 "GM Jin : @reloadscript"
message = 0xb35ae301 "@reloadscript"
namelen = 6
messagelen = 14
#6 0x080695bc in clif_parse (fd=25) at clif.c:13472
cmd = 243
packet_ver = 23
packet_len = 27
err = 128
sd = (TBL_PC *) 0x1031d5c0
pnum = 0
#7 0x08146570 in do_sockets (next=50) at socket.c:761
rfd = {__fds_bits = {33554432, 0 <repeats 31 times>}}
timeout = {tv_sec = 0, tv_usec = 40000}
ret = 0
i = <value optimized out>
#8 0x08144ff6 in main (argc=1, argv=0xbffb1624) at core.c:254