Issue information

Issue ID
#5441
Status
Done
Severity
None
Started
Hercules Elf Bot
Mar 14, 2012 4:14
Last Post
Hercules Elf Bot
Jul 1, 2012 12:39
Confirmation
Yes (1)
No (0)

Hercules Elf Bot - Mar 14, 2012 4:14

Originally posted by [b]kroxt[/b]
Since [rev=15686]

I'm using Champion after attacking some monsters this error shows at the server logs.

[code]status_change_timer: Mismatch for type 93: 47 != 655371[/code]

This post has been edited by Brian on Mar 14, 2012 6:40

Hercules Elf Bot - Mar 14, 2012 4:55

Originally posted by [b]ngek202[/b]
just normal attacks?

Hercules Elf Bot - Mar 14, 2012 5:01

Originally posted by [b]kroxt[/b]
Yea, just normal attacks.

Hercules Elf Bot - Mar 14, 2012 6:00

Originally posted by [b]kroxt[/b]
[s]I got blinded then after the blind status is over. The Map Server crashes.[/s]

This post has been edited by kroxt on Mar 14, 2012 8:30

Hercules Elf Bot - Mar 14, 2012 6:10

Originally posted by [b]kroxt[/b]
sc_type 93

is "SC_COMBO"

I think that's the reason why the map crashes. :)

Hercules Elf Bot - Mar 14, 2012 12:46

Originally posted by [b]kroxt[/b]
[quote]
[Error]: delete_timer error : no such timer 327692 (0x80a9fb0(status_change_timer))
[Debug]: status_change_timer: Null pointer id: 2000758 data: 93 bl-type: 1
[Error]: Server received crash signal! Attempting to save all online characters![/quote]

Hercules Elf Bot - Mar 14, 2012 13:55

Originally posted by [b]kroxt[/b]
I have reverted my SVN to r15681. While the bug is still there. I'm using Client 2011-05-17

Hercules Elf Bot - Mar 14, 2012 16:38

Originally posted by [b]Wildcard[/b]
I cannot reproduce this just by poking things with a champion. Can you provide additional details as to what exactly you are doing?

Hercules Elf Bot - Mar 15, 2012 11:48

Originally posted by [b]kroxt[/b]
I tried using Assassin Cross, it works fine. But when I use my champ it crashes the server. This happened when I updated r15681 to r15686. The only thing I do is attack the monsters with normal attacks. The error is always "delete_time error" or "status_change_timer" after that the server crashes. Sometimes the error doesn't appear only this:
[quote] [color=#282828][font=helvetica, arial, sans-serif][size=3][Error]: Server received crash signal! Attempting to save all online characters![/size][/font][/color][/quote]

Then the char-server & map-server crashes.

Because I can log on but can not go on in character selection.

Thanks.

Hercules Elf Bot - Mar 15, 2012 12:04

Originally posted by [b]Gepard[/b]
Please update to [rev=15687]+. In r15687 a bug that could cause crashes and memory corruption has been fixed.

This post has been edited by Gepard on Mar 15, 2012 12:06

Hercules Elf Bot - Mar 15, 2012 13:23

Originally posted by [b]kroxt[/b]
I tried the r15687 it still gives crashes. I'm now trying the r15689, seems fine.. I'll report if it still crash again.

Hercules Elf Bot - Mar 15, 2012 13:52

Originally posted by [b]Wildcard[/b]
There was actually a timer mismatch I fixed in r15689, but that should only affect SC_BURNING, not combos...

Hercules Elf Bot - Mar 15, 2012 14:04

Originally posted by [b]kroxt[/b]
in r15688 you fixed the thing about status changes. maybe it'll work, but not :'(



[quote]
[Error]: delete_timer error : no such timer 327691 (0x80aab70(status_change_timer))
[Debug]: status_change_timer: Null pointer id: 2000758 data: 93 bl-type: 1
[Error]: status_change_timer: Mismatch for type 93: 71 != 11 (bl id 2000758)
[Error]: delete_timer error : function mismatch 0x80823e0(pc_autosave) != 0x80aab70(status_change_timer)
[Error]: delete_timer error : function mismatch 0x80823e0(pc_autosave) != 0x80aab70(status_change_timer)
[Debug]: status_change_timer: Null pointer id: 110012637 data: 1 bl-type: 2
[Error]: Server received crash signal! Attempting to save all online characters![/quote]

This was the error message in r15689

Hercules Elf Bot - Mar 15, 2012 14:16

Originally posted by [b]Gepard[/b]
Please enable timestamps in console, and enable coredumps so we can analyze backtrace. Otherwise it will be just pointless guessing.

Hercules Elf Bot - Mar 15, 2012 15:10

Originally posted by [b]kroxt[/b]
how to enable it? sorry -.-

Hercules Elf Bot - Mar 15, 2012 15:10

Originally posted by [b]kroxt[/b]
[s]how to enable it? sorry -.-[/s]

This post has been edited by kroxt on Mar 15, 2012 15:12

Hercules Elf Bot - Mar 15, 2012 15:20

Originally posted by [b]MarkZD[/b]
You can enable backtrace in this way:
http://rathena.org/board/topic/53447-how-to-enable-crashcore-dumps-in-your-server-linux/page__p__54065
[url="http://rathena.org/wiki/GDB"]http://rathena.org/wiki/GDB[/url]

Hercules Elf Bot - Mar 15, 2012 16:00

Originally posted by [b]kroxt[/b]
I typed this:


[color=#666600]./[/color][color=#000000]configure [/color][color=#666600]--[/color][color=#000000]enable[/color][color=#666600]-[/color][color=#000000]debug[/color][color=#666600]=[/color][color=#000000]gdb[/color]

[color=#000000]then I typed[/color]


[CODE][color=#000000]gdb map-server_sql map-server_sql.core[/color][color=#000000] [/color][/CODE]

then

bt full

Nothing's happening.. I can't get it work.

I'm in circles.. please help me Mark. Thanks.

This post has been edited by kroxt on Mar 15, 2012 16:01

Hercules Elf Bot - Mar 15, 2012 16:13

Originally posted by [b]kroxt[/b]
I can't find where the core file is.

Hercules Elf Bot - Mar 15, 2012 16:26

Originally posted by [b]Mr. No One[/b]
Sorry if thats only a false assumption, but.. Did you start the server and make it crash since recompiling? The core file will be only there if the server crashes.

Hercules Elf Bot - Mar 15, 2012 16:42

Originally posted by [b]kroxt[/b]
This is what I got:

[CODE]
#0 ers_obj_alloc_entry (self=0xb7b7486c) at ers.c:191
ret = (void *) 0xb
__FUNCTION__ = "ers_obj_alloc_entry"
#1 0x080a6706 in status_change_start (bl=0xcfb3178, type=SC_COMBO, rate=10
val1=263, val2=<value optimized out>, val3=<value optimized out>, val4=
tick=301, flag=0) at status.c:7926
sd = (struct map_session_data *) 0xcfb3178
sc = (struct status_change *) 0xcfb341c
sce = (struct status_change_entry *) 0x0
status = (struct status_data *) 0xcfb33c8
vd = (struct view_data *) 0xcfb335c
opt_flag = 0
calc_flag = 0
undead_flag = 0
val_flag = 0
tick_time = <value optimized out>
__FUNCTION__ = "status_change_start"
types = {SC_AUTOGUARD, SC_DEFENDER, SC_REFLECTSHIELD, SC_ENDURE}
#2 0x08105850 in skill_attack (attack_type=1, src=0xcfb3178, dsrc=0xcfb317
bl=0xac537c84, skillid=263, skilllv=5, tick=4267068379, flag=0) at skil
flag = 1
sce = <value optimized out>
dmg = {damage = 508, damage2 = 0, type = 0, div_ = 3, amotion = 538
dmotion = 384, blewcount = 0, flag = 273, dmg_lv = ATK_DEF}
sstatus = (struct status_data *) 0xcfb33c8
tstatus = (struct status_data *) 0xac537e6c
sc = (struct status_change *) 0xac537ec4
sd = (struct map_session_data *) 0xcfb3178
tsd = (struct map_session_data *) 0x0
type = 8
damage = 508
rdamage = 0
__FUNCTION__ = "skill_attack"
#3 0x08153728 in battle_weapon_attack (src=0xcfb3178, target=0xac537c84,
tick=4267068379, flag=0)
at battle.c:4021
triple_rate = 25
sd = (struct map_session_data *) 0xcfb3178
tsd = (struct map_session_data *) 0x0
sstatus = (struct status_data *) 0xcfb33c8
tstatus = (struct status_data *) 0xac537e6c
sc = (struct status_change *) 0x0
tsc = (struct status_change *) 0xac537ec4
damage = <value optimized out>
rdamage = <value optimized out>
rdelay = <value optimized out>
skillv = 5
wd = {damage = -1, damage2 = -1074308232, type = 182, div_ = 1, amotion = 1,
dmotion = -1074308232, blewcount = 134535323, flag = 135849849, dmg_lv = 2328}
__FUNCTION__ = "battle_weapon_attack"
#4 0x0816fc2e in unit_attack_timer (tid=22, tick=4267068379, id=2000758, data=0)
at unit.c:1773
bl = (struct block_list *) 0xcfb3178
#5 0x0817cb30 in do_timer (tick=4267068405) at timer.c:371
tid = 22
diff = -26
__FUNCTION__ = "do_timer"
#6 0x08179e94 in main (argc=1, argv=0xbff75ce4) at core.c:264
next = <value optimized out>
[/CODE]

Hercules Elf Bot - Mar 16, 2012 12:42

Originally posted by [b]kroxt[/b]
[CODE]
#0 ers_obj_alloc_entry (self=0xb7b7486c) at ers.c:191
ret = (void *) 0xb
__FUNCTION__ = "ers_obj_alloc_entry"
#1 0x080a6706 in status_change_start (bl=0xcfb3178, type=SC_COMBO, rate=10
val1=263, val2=<value optimized out>, val3=<value optimized out>, val4=
tick=301, flag=0) at status.c:7926
sd = (struct map_session_data *) 0xcfb3178
sc = (struct status_change *) 0xcfb341c
sce = (struct status_change_entry *) 0x0
status = (struct status_data *) 0xcfb33c8
vd = (struct view_data *) 0xcfb335c
opt_flag = 0
calc_flag = 0
undead_flag = 0
val_flag = 0
tick_time = <value optimized out>
__FUNCTION__ = "status_change_start"
types = {SC_AUTOGUARD, SC_DEFENDER, SC_REFLECTSHIELD, SC_ENDURE}
#2 0x08105850 in skill_attack (attack_type=1, src=0xcfb3178, dsrc=0xcfb317
bl=0xac537c84, skillid=263, skilllv=5, tick=4267068379, flag=0) at skil
flag = 1
sce = <value optimized out>
dmg = {damage = 508, damage2 = 0, type = 0, div_ = 3, amotion = 538
dmotion = 384, blewcount = 0, flag = 273, dmg_lv = ATK_DEF}
sstatus = (struct status_data *) 0xcfb33c8
tstatus = (struct status_data *) 0xac537e6c
sc = (struct status_change *) 0xac537ec4
sd = (struct map_session_data *) 0xcfb3178
tsd = (struct map_session_data *) 0x0
type = 8
damage = 508
rdamage = 0
__FUNCTION__ = "skill_attack"
#3 0x08153728 in battle_weapon_attack (src=0xcfb3178, target=0xac537c84,
tick=4267068379, flag=0)
at battle.c:4021
triple_rate = 25
sd = (struct map_session_data *) 0xcfb3178
tsd = (struct map_session_data *) 0x0
sstatus = (struct status_data *) 0xcfb33c8
tstatus = (struct status_data *) 0xac537e6c
sc = (struct status_change *) 0x0
tsc = (struct status_change *) 0xac537ec4
damage = <value optimized out>
rdamage = <value optimized out>
rdelay = <value optimized out>
skillv = 5
wd = {damage = -1, damage2 = -1074308232, type = 182, div_ = 1, amotion = 1,
dmotion = -1074308232, blewcount = 134535323, flag = 135849849, dmg_lv = 2328}
__FUNCTION__ = "battle_weapon_attack"
#4 0x0816fc2e in unit_attack_timer (tid=22, tick=4267068379, id=2000758, data=0)
at unit.c:1773
bl = (struct block_list *) 0xcfb3178
#5 0x0817cb30 in do_timer (tick=4267068405) at timer.c:371
tid = 22
diff = -26
__FUNCTION__ = "do_timer"
#6 0x08179e94 in main (argc=1, argv=0xbff75ce4) at core.c:264
next = <value optimized out>
[/CODE]

Hercules Elf Bot - Mar 17, 2012 20:36

Originally posted by [b]sizenine[/b]
I confirm receiving those errors in r15689 as I've posted here with many test case updates:
[url="http://rathena.org/board/topic/60362-map-server-crashes/"]http://rathena.org/board/topic/60362-map-server-crashes/[/url]

However, those skills are not the cause of the map server crashes I'm 99% sure (was deceiving me too). But this bug report I have posted here is actually the cause of the map server crashes:
[url="http://rathena.org/board/tracker/issue-5458-map-server-crash-when-guild-tax-is-applied/"]http://rathena.org/board/tracker/issue-5458-map-server-crash-when-guild-tax-is-applied/[/url]

Hercules Elf Bot - Mar 17, 2012 21:54

Originally posted by [b]Ind[/b]
I wasn't able to reproduce, make sure it happens on latest svn (as i've done a few fixes earlier that could have fixed this)

Hercules Elf Bot - Mar 19, 2012 10:19

Originally posted by [b]kroxt[/b]
Ok thank you. I'll test it on r15728.

Hercules Elf Bot - Jul 1, 2012 12:39

Originally posted by [b]Ind[/b]
No new info in months, archiving.