Issue information

Issue ID
#7491
Status
New
Severity
None
Started
mofo
Jul 8, 2013 1:38
Last Post
malufett
Jul 8, 2013 14:54
Confirmation
Yes (2)
No (0)

mofo - Jul 8, 2013 1:38

[code=:0] Core was generated by `./map-server'. Program terminated with signal 11, Segmentation fault. #0 map_foreachinmap (func=0x810ea20 <mob_deleteslave_sub>, m=322, type=2) at map.c:1183 1183 for( bl = map[ m ].block_mob[ b ]; bl != NULL; bl = bl->next ) (gdb) bt full #0 map_foreachinmap (func=0x810ea20 <mob_deleteslave_sub>, m=322, type=2) at map.c:1183 b = 174 bsize = 1140 returnCount = <value optimized out> bl = 0x50b6 blockcount = <value optimized out> i = <value optimized out> ap = <value optimized out> #1 0x0810eaa2 in mob_deleteslave (md=0xb35911ac) at mob.c:1911 No locals. #2 0x081171a6 in mob_dead (md=0xb35911ac, src=0x0, type=3) at mob.c:2609 status = 0xb3591398 sd = 0x0 tmpsd = {0x0 <repeats 30 times>} mvp_sd = 0x0 second_sd = 0x0 third_sd = 0x0 pt = {{p = 0x0, id = 0, zeny = 0, base_exp = 0, job_exp = 0} <repeats 30 times>} i = 0 temp = <value optimized out> count = 0 [/code]
Can anyone help me figure out what's causing this? I had a previous topic that might be the same issue but I can't verify if it's the same since I accidentally deleted the core file for it.

I have a script that spawns one mvp in a random town every hour, should I disable that? I feel like this has something to do with MvP monsters that don't generate tombs once they die.

mofo - Jul 8, 2013 6:56

[code=:0] (gdb) bt full #0 0x0807b7b7 in map_moveblock (bl=0xb348ef0c, x1=32, y1=156, tick=2257966138) at map.c:368 x0 = 31 y0 = 155 sc = 0xb348f158 moveblock = 1 #1 0x081e64e4 in unit_walktoxy_timer (tid=1405, tick=2257966138, id=110017208, data=420) at unit.c:165 i = <value optimized out> x = 32 y = 156 dx = <value optimized out> dy = <value optimized out> bl = 0xb348ef0c sd = 0x0 md = 0xb348ef0c ud = 0xb348ef24 mrd = 0x0 #2 0x081ff7a9 in do_timer (tick=2257966149) at timer.c:353 tid = 1405 diff = -11 __FUNCTION__ = "do_timer" #3 0x081fc2a5 in main (argc=1, argv=0xbf8fded4) at core.c:350 ---Type <return> to continue, or q <return> to quit--- [/code]
Crashed again with this as core dump.

mofo - Jul 8, 2013 7:52

[code=:0] (gdb) bt full #0 0x08079e37 in map_foreachinarea (func=0x80aba50 <clif_send_sub>, m=770, x0=222, y0=191, x1=262, y1=231, type=1) at map.c:668 by = 23 returnCount = 0 bl = 0xdeadbeaf blockcount = 0 i = <value optimized out> ap = <value optimized out> #1 0x080b76f4 in clif_send (buf=0xbfab06ec, len=11, bl=0xa326a18, type=AREA) at clif.c:370 i = <value optimized out> sd = 0xa326a18 p = <value optimized out> g = <value optimized out> bg = <value optimized out> x0 = <value optimized out> x1 = <value optimized out> y0 = <value optimized out> y1 = <value optimized out> fd = <value optimized out> iter = <value optimized out> #2 0x080ba125 in clif_changelook (bl=0xa326a18, type=2, val=1746) at clif.c:3361 [/code]
And again...

malufett - Jul 8, 2013 14:19

what script is that?

:meow:

mofo - Jul 8, 2013 14:33

I disabled the script I mentioned in the original post and it still crashed. Can you tell me anything about the crash dumps? Are those script related?

malufett - Jul 8, 2013 14:54

ah I know now your problem...

:meow: