Originally posted by [b]Cookie[/b]
[CODE]
Program terminated with signal 11, Segmentation fault.
#0 0x000000000054285c in battle_delay_damage_sub (tid=<value optimized out>,
tick=1713031938, id=2014330, data=140004230941104) at battle.c:206
206 if( dat->src && id == dat->src->id &&
Missing separate debuginfos, use: debuginfo-install openssl-1.0.0-20.el6_2.5.x86_64 pcre-7.8-3.1.el6.x86_64
(gdb) bt full
#0 0x000000000054285c in battle_delay_damage_sub (tid=<value optimized out>,
tick=1713031938, id=2014330, data=140004230941104) at battle.c:206
dat = 0x7f554673c9b0
target = 0x7f554650ecfc
#1 0x0000000000586dbf in do_timer (tick=1713031943) at timer.c:370
tid = 1060
diff = -5
__FUNCTION__ = "do_timer"
#2 0x000000000058433c in main (argc=1, argv=0x7ffffa0448d8) at core.c:300
next = <value optimized out>
(gdb)
[/CODE]
Any ideas?
With installed debug infos, here's a better error dump.
[CODE]
Program terminated with signal 11, Segmentation fault.
#0 0x000000000054285c in battle_delay_damage (tick=0, amotion=2014330,
src=0x7f554650ecfc, target=0x7f554673c9b0, attack_type=1713032137,
skill_id=1713031938, skill_lv=-100374869, damage=2376, dmg_lv=4194584792,
ddelay=1) at battle.c:263
263 if (src->type != BL_PC && amotion > 1000)
Missing separate debuginfos, use: debuginfo-install openssl-1.0.0-20.el6_2.5.x86_64 pcre-7.8-3.1.el6.x86_64
(gdb) bt full
#0 0x000000000054285c in battle_delay_damage (tick=0, amotion=2014330,
src=0x7f554650ecfc, target=0x7f554673c9b0, attack_type=1713032137,
skill_id=1713031938, skill_lv=-100374869, damage=2376, dmg_lv=4194584792,
ddelay=1) at battle.c:263
dat = <value optimized out>
sc = <value optimized out>
[/CODE]
I've altered 263 to reflect -
[code]
if (dat->src && src->type != BL_PC && amotion > 1000)
[/code]
I will see what happens. Let me know if you have any ideas of what it is.
Before I added the above change, I received this crash:
[code]
Program terminated with signal 11, Segmentation fault.
#0 mob_log_damage (md=0x7f0898dfaafc, src=0x7f089726ce34, damage=153)
at mob.c:2157
2157 char_id = hd->master->status.char_id;
Missing separate debuginfos, use: debuginfo-install openssl-1.0.0-20.el6_2.5.x86_64 pcre-7.8-3.1.el6.x86_64
(gdb) bt full
#0 mob_log_damage (md=0x7f0898dfaafc, src=0x7f089726ce34, damage=153)
at mob.c:2157
hd = 0x7f089726ce34
char_id = 0
flag = 1
#1 0x00000000004b1910 in mob_damage (md=0x7f0898dfaafc, src=0x7f089726ce34,
damage=<value optimized out>) at mob.c:2268
No locals.
#2 0x000000000048f055 in status_damage_ (src=0x7f089726ce34,
target=0x7f0898dfaafc, hp=<value optimized out>, sp=0, walkdelay=576,
flag=0, skill=0) at status.c:1190
status = 0x7f0898dfad9c
sc = 0x7f0898dfadf4
__FUNCTION__ = "status_damage_"
#3 0x00000000005429ad in battle_delay_damage_sub (tid=<value optimized out>,
tick=1718001439, id=110027904, data=139674899129880) at battle.c:212
dat = 0x7f0898bf2618
target = 0x7f0898dfaafc
#4 0x0000000000586e6f in do_timer (tick=1718001446) at timer.c:370
tid = 4634
diff = -7
__FUNCTION__ = "do_timer"
#5 0x00000000005843ec in main (argc=1, argv=0x7fff480916e8) at core.c:300
---Type <return> to continue, or q <return> to quit---
next = <value optimized out>
[/code]
Side note, I'm running a server with 200+ players. So, it's hard to reproduce some of this unless it happens live. :x