Originally posted by [b]digos[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=4272
i have a error in my map-server. like a skill error. please see bellow
CODE
Program terminated with signal 11, Segmentation fault.
#0 status_get_class (bl=0x170) at status.c:4097
4097 status.c: No such file or directory.
in status.c
(gdb) bt full
#0 status_get_class (bl=0x170) at status.c:4097
No locals.
#1 0x0811918a in battle_calc_attack (attack_type=1, bl=0xb385d0fc,
target=0xf494238, skill_num=368, skill_lv=5, count=0) at battle.c:2775
d = {damage = 259456488, damage2 = -1208526620, type = 110213715,
div_ = -1078437832, amotion = 135531634, dmotion = 110213715,
blewcount = -1283075844, flag = 2, dmg_lv = 134681149}
#2 0x080e34b4 in skill_attack (attack_type=1, src=0xb385d0fc,
dsrc=0xb385d0fc, bl=0xbfb857c0, skillid=368, skilllv=5, tick=1478403295,
flag=0) at skill.c:1634
dmg = {damage = 16800280, damage2 = -1283075356, type = -1283075272,
div_ = 57, amotion = 56, dmotion = 55, blewcount = 0, flag = 53,
dmg_lv = ATK_DEF}
sstatus = (struct status_data *) 0xb385d2e4
tstatus = (struct status_data *) 0xf494480
sc = (struct status_change *) 0xf4944d0
sd = (struct map_session_data *) 0x0
tsd = (struct map_session_data *) 0xf494238
type = <value optimized out>
damage = <value optimized out>
rdamage = <value optimized out>
#3 0x0811972c in battle_weapon_attack (src=0xb385d0fc, target=0xf494238,
tick=1478403295, flag=0) at battle.c:3000
---Type <return> to continue, or q <return> to quit---
skilllv = 5
sd = (struct map_session_data *) 0x0
tsd = (struct map_session_data *) 0xf494238
sstatus = (struct status_data *) 0xb385d2e4
tstatus = (struct status_data *) 0xf494480
sc = (struct status_change *) 0xb385d338
tsc = (struct status_change *) 0xf4944d0
damage = <value optimized out>
rdamage = <value optimized out>
rdelay = <value optimized out>
skillv = <value optimized out>
wd = {damage = 218, damage2 = 246, type = 16, div_ = 0, amotion = 8,
dmotion = -1283075844, blewcount = -1283075820, flag = 16842751,
dmg_lv = 3216529872}
#4 0x0813357b in unit_attack_timer (tid=-1, tick=1478403295, id=110213715,
data=0) at unit.c:1563
bl = (struct block_list *) 0xb385d0fc
#5 0x081337f5 in unit_attack (src=0xb385d0fc, target_id=2198572, continuous=1)
at unit.c:1320
target = <value optimized out>
ud = (struct unit_data *) 0xb385d114
#6 0x080b0764 in mob_ai_sub_hard (md=0xb385d0fc, tick=1478403288)
at mob.c:1513
---Type <return> to continue, or q <return> to quit---
tbl = (struct block_list *) 0xb385d0fc
abl = (struct block_list *) 0x0
dist = 173
mode = 63135
view_range = 14
can_move = 1
#7 0x080b11ae in mob_ai_sub_hard_timer (bl=0xb385d0fc,
ap=0xbfb85b40 "?\036X??\202\017x[??=?\004\b8BI\017\204[???\036X+#")
at mob.c:1553
md = (struct mob_data *) 0x0
tick = 1478403288
#8 0x0804fec2 in map_foreachinrange (func=0x80b1190 <mob_ai_sub_hard_timer>,
center=0xf494238, range=16, type=<value optimized out>) at map.c:567
ap = 0xbfb85b40 "?\036X??\202\017x[??=?\004\b8BI\017\204[???\036X+#"
bx = <value optimized out>
by = 31
m = 406
returnCount = 0
bl = <value optimized out>
blockcount = -1078436988
i = 1
x0 = <value optimized out>
x1 = <value optimized out>
---Type <return> to continue, or q <return> to quit---
y0 = 215
y1 = 247
#9 0x080abc96 in mob_ai_sub_foreachclient (sd=0xf494238,
ap=0xbfb85b84 "?\036X?[????\023\b\t") at mob.c:1569
No locals.
#10 0x0804ee3d in map_foreachpc (func=0x80abc60 <mob_ai_sub_foreachclient>)
at map.c:1762
args = 0xbfb85b84 "?\036X?[????\023\b\t"
ret = <value optimized out>
iter = (DBIterator *) 0xb7f9c5ac
sd = (struct map_session_data *) 0xf494238
#11 0x080abdc6 in mob_ai_hard (tid=9, tick=0, id=0, data=0) at mob.c:1661
No locals.
#12 0x0813e9e2 in do_timer (tick=1478403295) at timer.c:330
tid = 9
diff = -7
__FUNCTION__ = "do_timer"
#13 0x0813c05e in main (argc=1, argv=0xbfb85ca4) at core.c:253
next = <value optimized out>
(gdb)
Here another skill error:
CODE
Program terminated with signal 11, Segmentation fault.
#0 skill_trap_splash (bl=0xafe5b32c,
ap=0xbff81110 ",\204?i??\227?3?\017,\204?\214N?\214N?8\021???\004")
at skill.c:9833
9833 skill.c: No such file or directory.
in skill.c
(gdb) bt full
#0 skill_trap_splash (bl=0xafe5b32c,
ap=0xbff81110 ",\204?i??\227?3?\017,\204?\214N?\214N?8\021???\004")
at skill.c:9833
src = (struct block_list *) 0xb7ef842c
tick = -1745295255
sg = (struct skill_unit_group *) 0x0
ss = (struct block_list *) 0xfee33d8
#1 0x0804fec2 in map_foreachinrange (func=0x80e4a80 <skill_trap_splash>,
center=0xb7ef842c, range=2, type=<value optimized out>) at map.c:567
ap = 0xbff81110 ",\204?i??\227?3?\017,\204?\214N?\214N?8\021???\004"
bx = <value optimized out>
by = 7
m = 333
returnCount = 1
bl = <value optimized out>
blockcount = 1
i = 2
x0 = <value optimized out>
x1 = <value optimized out>
y0 = 47
y1 = 51
#2 0x080e58d2 in skill_unit_onplace_timer (src=0xb7ef842c, bl=0xafe54e8c,
---Type <return> to continue, or q <return> to quit---
tick=2549672041) at skill.c:7560
sec = <value optimized out>
sg = (struct skill_unit_group *) 0xb45ff7d8
ss = (struct block_list *) 0xfee33d8
tsd = (TBL_PC *) 0x0
tstatus = (struct status_data *) 0xafe55074
sstatus = (struct status_data *) 0x0
tsc = (struct status_change *) 0xafe550c8
sc = (struct status_change *) 0x0
ts = <value optimized out>
type = SC_NONE
skillid = 80
diff = 0
#3 0x080e6708 in skill_unit_timer_sub_onplace (bl=0xafe54e8c,
ap=0xbff81250 ",\204?i??\227?\017") at skill.c:10290
unit = (struct skill_unit *) 0xb7ef842c
group = (struct skill_unit_group *) 0xb45ff7d8
tick = 2549672041
#4 0x08051ca9 in map_foreachinshootrange (
func=0x80e66a0 <skill_unit_timer_sub_onplace>, center=0xb7ef842c, range=1,
type=<value optimized out>) at map.c:639
ap = 0xbff81250 ",\204?i??\227?\017"
bx = <value optimized out>
---Type <return> to continue, or q <return> to quit---
by = 7
m = 333
returnCount = 0
bl = <value optimized out>
blockcount = 0
i = 0
x0 = <value optimized out>
x1 = 53
y0 = 48
y1 = 50
#5 0x080d9f05 in skill_unit_timer_sub (key=
{i = 970478, ui = 970478, str = 0xeceee <Address 0xeceee out of bounds>}, data=0xb7ef842c, ap=0xbff81318 "i??\227\t") at skill.c:10429
unit = <value optimized out>
group = (struct skill_unit_group *) 0xb45ff7d8
tick = 2549672041
dissonance = 0 '\0'
#6 0x081405e6 in db_obj_vforeach (self=0xb7ed6de4,
func=0x80d9e60 <skill_unit_timer_sub>, args=0xbff81318 "i??\227\t")
at db.c:1875
argscopy = 0xbff81318 "i??\227\t"
db = <value optimized out>
i = 71
---Type <return> to continue, or q <return> to quit---
sum = 0
node = <value optimized out>
parent = (DBNode) 0xb7ef842c
#7 0x081403b6 in db_obj_foreach (self=0xb7ef842c,
func=0x80d9e60 <skill_unit_timer_sub>) at db.c:1921
args = 0xbff81318 "i??\227\t"
ret = <value optimized out>
#8 0x080d9bb6 in skill_unit_timer (tid=8, tick=2549672041, id=0, data=0)
at skill.c:10458
No locals.
#9 0x0813e9e2 in do_timer (tick=2549672042) at timer.c:330
tid = 8
diff = -1
__FUNCTION__ = "do_timer"
#10 0x0813c05e in main (argc=1, argv=0xbff81444) at core.c:253
next = <value optimized out>
(gdb)
thank you
This post has been edited by digos: May 31 2010, 11:13 AM