Issue information

Issue ID
#6576
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Aug 28, 2012 21:26
Last Post
Hercules Elf Bot
Aug 30, 2012 20:50
Confirmation
Yes (3)
No (0)

Hercules Elf Bot - Aug 28, 2012 21:26

Originally posted by [b]wend[/b]
[CODE]
Core was generated by `./map-server_sql'.
Program terminated with signal 11, Segmentation fault.
#0 map_delblock (bl=0x2b6da566f77c) at map.c:358
358 bl->next->prev = bl->prev;
(gdb) bt full
#0 map_delblock (bl=0x2b6da566f77c) at map.c:358
pos = <value optimized out>
__FUNCTION__ = "map_delblock"
#1 0x00000000004b217e in mvptomb_destroy (md=0x2b6da5e0da54) at mob.c:182
m = -515
i = <value optimized out>
nd = 0x2b6da566f77c
__FUNCTION__ = "mvptomb_destroy"
#2 0x000000000056c155 in unit_free (bl=0x2b6da5e0da54, clrtype=CLR_OUTSIGHT)
at unit.c:2412
ud = <value optimized out>
__FUNCTION__ = "unit_free"
#3 0x0000000000434a1a in cleanup_sub (bl=0x2b6da5e0da54,
ap=<value optimized out>) at map.c:3577
__FUNCTION__ = "cleanup_sub"
#4 0x000000000058234a in db_obj_vforeach (self=<value optimized out>,
func=0x434a30 <cleanup_db_sub>, args=0x7fff89c1b280) at db.c:1931
argscopy = {{gp_offset = 16, fp_offset = 48,
overflow_arg_area = 0x7fff89c1b360,
reg_save_area = 0x7fff89c1b2a0}}
sum = 12
node = 0x151c7200
parent = <value optimized out>
[/CODE]

Hercules Elf Bot - Aug 28, 2012 22:19

Originally posted by [b]GreenBox[/b]
Seems like the NPC was deleted before the mob and it was still referencing the NPC.

Hercules Elf Bot - Aug 30, 2012 20:50

Originally posted by [b]Ind[/b]
Fixed in [rev=16721]