Hi, i'm using +- latest rAmod (did't apply last 2 commits only)
I need to understand, what is provoke server to crash by this core dump output, and i can't understand.
Here is core dump output step by step. Who understand in this code, help me please to understand where is a problem what make map-server crash.
step 0
#0 0x000000000042f5aa in status_get_party_id.part.38.116024 (
bl=0x7ff49d4edb64) at status.c:6877
No locals.
Source Code from this part:
int status_get_party_id(struct block_list *bl)
{
...
...
6876 case BL_SKILL:
6877 return ((TBL_SKILL*)bl)->group->party_id;
Step 1
#1 0x0000000000450fe5 in status_get_party_id (bl=0x7ff49d4edb64)
at status.c:6848
No locals.
Source:
6841 /**
6842 * Gets the party ID of the given bl
6843 * @param bl: Object whose party ID to get [PC|MOB|PET|HOM|MER|SKILL|ELEM]
6844 * @return party ID
6845 */
6846 int status_get_party_id(struct block_list *bl)
6847 {
6848 nullpo_ret(bl);
6849 switch (bl->type) {
6850 case BL_PC:
6851
STEP 2
#2 0x0000000000602d6f in battle_check_target.part.25 (src=0x7ff49d4edb64,
target=0x1114b5f0, flag=131072) at battle.c:7607
s_party = 32756
m = 497
strip_enemy = 1
#5 0x00000000004b1f10 in skill_unit_onplace.110673 (unit=0x7ff49d4ede3c,
---Type <return> to continue, or q <return> to quit---
bl=0x1114b5f0, tick=32079193) at skill.c:12726
No locals.
#6 0x0000000000491632 in skill_unit_move_sub (bl=0x7ff49d4ede3c,
ap=0x7fff7a67dd90) at skill.c:18195
result = 10006
group = 0x117a4008
target = 0x1114b5f0
tick = 32079193
flag = 3
dissonance = 0 '\000'
skill_id = 92
i = 4
Source Code:
18193 } else {
18194 if( flag&1 ) {
18195 int result = skill_unit_onplace(unit,target,tick);
18196
18197 if( flag&2 && result ) { //Clear skill ids we have stored in onout.
18198 ARR_FIND( 0, ARRAYLENGTH(skill_unit_temp), i, skill_unit_temp[i] == result );
18199 if( i < ARRAYLENGTH(skill_unit_temp) )
18200 skill_unit_temp[i] = 0;
18201 }
18202 } else {
18203
Step 7
#7 0x0000000000577c75 in map_foreachincell (
func=0x491258 <skill_unit_move_sub>, m=497, x=158, y=137, type=64)
at map.c:1023
bx = 19
by = 17
returnCount = 4
bl = 0x0
ap = {{gp_offset = 48, fp_offset = 48,
overflow_arg_area = 0x7fff7a67dea0,
reg_save_area = 0x7fff7a67ddd0}}
Source Code
1020 for( i = blockcount; i < bl_list_count; i++ )
1021 if( bl_list[ i ]->prev ) { //func() may delete this bl_list[] slot, checking for prev ensures it wasn't queued for deletion.
1022 va_start(ap, type);
1023 returnCount += func(bl_list[ i ], ap);
1024 va_end(ap);
1025 }
1026
Step 8
#8 0x0000000000491872 in skill_unit_move (bl=0x1114b5f0, tick=32079193,
---Type <return> to continue, or q <return> to quit---
flag=3) at skill.c:18245
No locals.
#10 0x0000000000418691 in unit_walktoxy_timer (tid=942, tick=32079193,
id=2002662, data=210) at unit.c:378
i = 224
x = 158
y = 137
dx = 1
dy = 1
dir = 7 '\a'
bl = 0x1114b5f0
ud = 0x1114b610
sd = 0x1114b5f0
md = 0x0
Source Code:
373 // Refresh view for all those we lose sight
374 map_foreachinmovearea(clif_outsight, bl, AREA_SIZE, dx, dy, sd?BL_ALL:BL_PC, bl);
375
376 x += dx;
377 y += dy;
378 map_moveblock(bl, x, y, tick);
379 ud->walk_count++; // Walked cell counter, to be used for walk-triggered skills. [Skotlex]
380 status_change_end(bl, SC_ROLLINGCUTTER, INVALID_TIMER); // If you move, you lose your counters. [malufett]
381
Help me please, understand what is wrong, what did provoke to crash a map server?
#0 0x000000000042f5aa in status_get_party_id.part.38.116024 (
bl=0x7ff49d4edb64) at status.c:6877
No locals.
#1 0x0000000000450fe5 in status_get_party_id (bl=0x7ff49d4edb64)
at status.c:6848
No locals.
#2 0x0000000000602d6f in battle_check_target.part.25 (src=0x7ff49d4edb64,
target=0x1114b5f0, flag=131072) at battle.c:7607
s_party = 32756
m = 497
strip_enemy = 1
#3 0x00000000005f6d96 in battle_check_target (src=0x7ff49d4edb64,
target=0x1114b5f0, flag=131072) at battle.c:7223
No locals.
#4 0x000000000045a706 in skill_unit_onplace.part.60.110668 (
unit=0x7ff49d4ede3c, bl=0x1114b5f0, tick=32079193) at skill.c:12829
sg = 0x117a4008
ss = 0x7ff493f16a24
sc = 0x1114b960
sce = 0x0
type = SC_QUAGMIRE
skill_id = 92
#5 0x00000000004b1f10 in skill_unit_onplace.110673 (unit=0x7ff49d4ede3c,
---Type <return> to continue, or q <return> to quit---
bl=0x1114b5f0, tick=32079193) at skill.c:12726
No locals.
#6 0x0000000000491632 in skill_unit_move_sub (bl=0x7ff49d4ede3c,
ap=0x7fff7a67dd90) at skill.c:18195
result = 10006
group = 0x117a4008
target = 0x1114b5f0
tick = 32079193
flag = 3
dissonance = 0 '\000'
skill_id = 92
i = 4
#7 0x0000000000577c75 in map_foreachincell (
func=0x491258 <skill_unit_move_sub>, m=497, x=158, y=137, type=64)
at map.c:1023
bx = 19
by = 17
returnCount = 4
bl = 0x0
ap = {{gp_offset = 48, fp_offset = 48,
overflow_arg_area = 0x7fff7a67dea0,
reg_save_area = 0x7fff7a67ddd0}}
#8 0x0000000000491872 in skill_unit_move (bl=0x1114b5f0, tick=32079193,
---Type <return> to continue, or q <return> to quit---
flag=3) at skill.c:18245
No locals.
#9 0x0000000000574a54 in map_moveblock (bl=0x1114b5f0, x1=158, y1=137,
tick=32079193) at map.c:435
x0 = 157
y0 = 136
sc = 0x1114b960
moveblock = 0
#10 0x0000000000418691 in unit_walktoxy_timer (tid=942, tick=32079193,
id=2002662, data=210) at unit.c:378
i = 224
x = 158
y = 137
dx = 1
dy = 1
dir = 7 '\a'
bl = 0x1114b5f0
ud = 0x1114b610
sd = 0x1114b5f0
md = 0x0
#11 0x0000000000428cd8 in do_timer (tick=32079202) at timer.c:371
tid = 942
diff = -9
---Type <return> to continue, or q <return> to quit---
#12 0x0000000000424575 in main (argc=1, argv=0x7fff7a67e178) at core.c:375
next = 50
Question
anacondaq
Hi, i'm using +- latest rAmod (did't apply last 2 commits only)
I need to understand, what is provoke server to crash by this core dump output, and i can't understand.
Here is core dump output step by step. Who understand in this code, help me please to understand where is a problem what make map-server crash.
step 0
Source Code from this part:
Step 1
Source:
STEP 2
Source Code:
STEP 3
Source Code:
STEP 4
Source code
Step 5:
Source Code:
STEP 6
Source Code:
Step 7
Source Code
Step 8
Source Code:
Step 9
Source Code:
Step 10:
Source Code:
Help me please, understand what is wrong, what did provoke to crash a map server?
Thank you very much!
Technical information: rAthena with latest updates (except 3 latest), pre-re. 20100730
Full Core dump:
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.