Issue information

Issue ID
#2594
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Dec 27, 2008 17:27
Last Post
Hercules Elf Bot
Apr 4, 2012 9:07
Confirmation
N/A

Hercules Elf Bot - Dec 27, 2008 17:27

Originally posted by [b]Koca[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=2594

Hi, I've got this crash:
CODE
Program terminated with signal 11, Segmentation fault.
#0  0x080de2e0 in skill_unit_ondamaged (src=0xadd8a094, bl=0xab1b3020, damage=2140, tick=456589449) at skill.c:7558
7558            switch( sg->unit_id )


On that line there's this function:
CODE
int skill_unit_ondamaged (struct skill_unit *src, struct block_list *bl, int damage, unsigned int tick)
{
    struct skill_unit_group *sg;

    nullpo_retr(0, src);
    nullpo_retr(0, sg=src->group);

    switch( sg->unit_id ).
..
..
..


src-> bl shows: ID 212, BL_SKILL -> back stab, map pvp_n_1-1
CODE
p src->bl
$2 = {next = 0x0, prev = 0x0, id = 212, m = 207, x = 91, y = 19, type = BL_SKILL}


src->group shows 0x0 ... shouldn't have line nullpo_retr(0, sg=src->group); take care of it?
CODE
p src->group
$16 = (struct skill_unit_group *) 0x0


anyway... another info... when i go up, there's this:
CODE
up
#1  0x0811dc74 in battle_delay_damage (tick=456589448, amotion=313, src=0xab1b3020, target=0xadd8a094, attack_type=273, skill_id=62, skill_lv=10,
    damage=2140, dmg_lv=ATK_DEF, ddelay=2000) at battle.c:187
187                     status_fix_damage(src, target, damage, ddelay);

from another info, it shows that source was Lord Knight attacking (bowling bash) on Back Stab skill (IMG:style_emoticons/default/confused.gif)

Well.. if you need any other info, just say so.. It looks strange... when someone attacks skill...

Hercules Elf Bot - Dec 10, 2011 0:26

Originally posted by [b]Ind[/b]
has been fixed already in a past revision