Hercules Elf Bot - Aug 29, 2012 16:46
Originally posted by [b]tommym[/b]
The only main custom modifications I have are 1)Lilith's skill damage source mod([url="http://rathena.org/board/topic/62238-manage-skill-damage-11/"]http://rathena.org/board/topic/62238-manage-skill-damage-11/[/url]) and the 2)@go/@warp delay mod([url="http://rathena.org/board/topic/61836-warp-go-damage-delay/"]http://rathena.org/board/topic/61836-warp-go-damage-delay/[/url]). Both were applied through provided patch. The only other source mods I did was change 3) MAX_CHAR to 12, 4) MAX_LEVEL to 255, and 5) PACKETVER to 20110315(all 5 mods were done over a month ago and I only started to receive map server crashes recently after updating the SVN).
My server actually crashed two times again today and here are the respective core dump outputs:
Crash #2-
[CODE]
Core was generated by `./map-server_sql'.
Program terminated with signal 11, Segmentation fault.
#0 map_foreachinmap (func=0x80e9aa0 <mob_warpslave_sub>, m=609, type=2) at map.c:1270
1270 for( bl = map[m].block_mob[b] ; bl != NULL ; bl = bl->next )
(gdb) bt full
#0 map_foreachinmap (func=0x80e9aa0 <mob_warpslave_sub>, m=609, type=2) at map.c:1270
b = <value optimized out>
bsize = 900
returnCount = <value optimized out>
bl = 0xfdfdfdfd
blockcount = <value optimized out>
i = <value optimized out>
#1 0x080eab7a in mob_warpslave (bl=0xa8a31e94, range=2) at mob.c:2822
No locals.
#2 0x08142c39 in skill_castend_nodamage_id (src=0xa8a31e94, bl=0xa8a31e94, skillid=352, skilllv=1, tick=1573805156, flag=0) at skill.c:6570
sd = 0x0
dstsd = 0x0
md = 0xa8a31e94
dstmd = 0xa8a31e94
hd = 0x0
mer = 0x0
sstatus = 0xa8a32080
tstatus = 0xa8a32080
tsc = 0xa8a320dc
tsce = 0x0
i = <value optimized out>
type = SC_NONE
__FUNCTION__ = "skill_castend_nodamage_id"
scs = {SC_QUAGMIRE, SC_PROVOKE, SC_ROKISWEIL, SC_GRAVITATION, SC_SUITON, SC_STRIPWEAPON, SC_STRIPSHIELD, SC_STRIPARMOR, SC_STRIPHELM, SC_BLADESTOP}
spellarray = {14, 19, 20}
mask = {{0, -1}, {1, -1}, {1, 0}, {1, 1}, {0, 1}, {-1, 1}, {-1, 0}, {-1, -1}}
per = {{20, 50}, {50, 60}, {25, 75}, {60, 64}, {34, 67}}
sc = {SC_STUN, SC_SILENCE, SC_CONFUSION, SC_BLEEDING}
#3 0x08154810 in skill_castend_id (tid=-1, tick=1573805156, id=110083485, data=0) at skill.c:9136
target = 0xa8a31e94
src = 0xa8a31e94
sd = 0x0
md = 0xa8a31e94
ud = 0xa8a31eac
sc = <value optimized out>
inf = <value optimized out>
inf2 = <value optimized out>
flag = 0
#4 0x081a3e0b in unit_skilluse_id2 (src=0xa8a31e94, target_id=110083485, skill_num=352, skill_lv=1, casttime=0, castcancel=<value optimized out>) at unit.c:1339
ud = 0xa8a31eac
tstatus = 0xa8a32080
sc = 0x0
sd = 0x0
target = 0xa8a31e94
tick = 1573805156
temp = 0
__FUNCTION__ = "unit_skilluse_id2"
#5 0x080ea657 in mobskill_use (md=0xa8a31e94, tick=1573805135, event=-1) at mob.c:3249
c2 = <value optimized out>
flag = <value optimized out>
ms = 0xaedee544
---Type <return> to continue, or q <return> to quit---
fbl = 0x0
bl = 0xa8a31e94
fmd = 0x0
i = <value optimized out>
j = <value optimized out>
n = 5
__FUNCTION__ = "mobskill_use"
#6 0x081a4a11 in unit_attack_timer_sub (tid=5924, tick=1573805135, id=110083485, data=0) at unit.c:1803
No locals.
#7 unit_attack_timer (tid=5924, tick=1573805135, id=110083485, data=0) at unit.c:1843
bl = 0xa8a31e94
#8 0x081b6149 in do_timer (tick=1573805156) at timer.c:370
tid = 5924
diff = -21
__FUNCTION__ = "do_timer"
#9 0x081b354d in main (argc=1, argv=0xbfbda834) at core.c:300
next = <value optimized out>[/CODE]
Crash #3-
[CODE]
Core was generated by `./map-server_sql'.
Program terminated with signal 11, Segmentation fault.
#0 map_foreachinrange (func=0x81203a0 <skill_area_sub>, center=0xa9bbc3ac, range=5, type=<value optimized out>) at map.c:579
579 if( bl->x>=x0 && bl->x<=x1 && bl->y>=y0 && bl->y<=y1
(gdb) bt full
#0 map_foreachinrange (func=0x81203a0 <skill_area_sub>, center=0xa9bbc3ac, range=5, type=<value optimized out>) at map.c:579
bx = 17
by = 40
m = 646
returnCount = <value optimized out>
bl = 0xfdfdfdfd
blockcount = 7
i = <value optimized out>
x0 = 139
x1 = 149
y0 = 311
y1 = 321
#1 0x08143e35 in skill_castend_nodamage_id (src=0xa9bbc3ac, bl=0xa9bbc3ac, skillid=173, skilllv=1, tick=1593651998, flag=0) at skill.c:5599
sd = 0x0
dstsd = <value optimized out>
md = 0xa9bbc3ac
dstmd = 0xa9bbc3ac
hd = 0x0
mer = 0x0
sstatus = 0xa9bbc598
tstatus = 0xa9bbc598
tsc = 0xa9bbc5f4
tsce = 0x0
i = <value optimized out>
type = SC_NONE
__FUNCTION__ = "skill_castend_nodamage_id"
scs = {SC_QUAGMIRE, SC_PROVOKE, SC_ROKISWEIL, SC_GRAVITATION, SC_SUITON, SC_STRIPWEAPON, SC_STRIPSHIELD, SC_STRIPARMOR, SC_STRIPHELM, SC_BLADESTOP}
spellarray = {14, 19, 20}
mask = {{0, -1}, {1, -1}, {1, 0}, {1, 1}, {0, 1}, {-1, 1}, {-1, 0}, {-1, -1}}
per = {{20, 50}, {50, 60}, {25, 75}, {60, 64}, {34, 67}}
sc = {SC_STUN, SC_SILENCE, SC_CONFUSION, SC_BLEEDING}
#2 0x08154810 in skill_castend_id (tid=130, tick=1593651998, id=110017741, data=0) at skill.c:9136
target = 0xa9bbc3ac
src = 0xa9bbc3ac
sd = 0x0
md = 0xa9bbc3ac
ud = 0xa9bbc3c4
sc = <value optimized out>
inf = <value optimized out>
inf2 = <value optimized out>
flag = 0
#3 0x081b6149 in do_timer (tick=1593652001) at timer.c:370
tid = 130
diff = -3
__FUNCTION__ = "do_timer"
#4 0x081b354d in main (argc=1, argv=0xbf99ac34) at core.c:300
next = <value optimized out>[/CODE]
If you can take a look at this when you have the time, that would be much appreciated. Thanks!
This post has been edited by
tommym
on Aug 29, 2012 16:50