Issue information

Issue ID
#5425
Status
Unable to Reproduce
Severity
None
Started
Hercules Elf Bot
Mar 11, 2012 8:03
Last Post
Hercules Elf Bot
Jun 23, 2012 9:45
Confirmation
N/A

Hercules Elf Bot - Mar 11, 2012 8:03

Originally posted by [b]sizenine[/b]
Experienced my first server crash with rAthena today, currently running on r15627.

[quote]
[Error]: Memory manager: args of aFree 0x0xf28f072c is invalid pointer pc.c line 7090
[Error]: Server received crash signal! Attempting to save all online characters![/quote]

Here is line 7090 in my pc.c in bold:

[quote]
{// nothing free, increase size
sd->reg_num++;
[color=#ff0000][b]RECREATE(sd->reg, struct script_reg, sd->reg_num);[/b][/color]
}
[/quote]

Happened again... but seems like its caused by a different reason..

[img]http://i.minus.com/imeMQbsYYvJX8.png[/img]

This post has been edited by sizenine on Mar 11, 2012 14:26

Hercules Elf Bot - Mar 11, 2012 10:25

Originally posted by [b]Ind[/b]
whats in your skill.c line 14763? if you're on unix please provide a full gdb dump

This post has been edited by Ind on Mar 11, 2012 10:25

Hercules Elf Bot - Mar 11, 2012 14:24

Originally posted by [b]sizenine[/b]
from function int skill_blockpc_end:
[quote]
cursor++;
}
if( cursor == 0 ) {
idb_remove(skillcd_db,sd->status.char_id);
[color=#ff0000][b]aFree(cd);[/b][/color]
} else
cd->cursor = cursor;
}[/quote]

how do i get the gdb dump?

This post has been edited by sizenine on Mar 11, 2012 14:26

Hercules Elf Bot - Mar 11, 2012 15:03

Originally posted by [b]Protimus[/b]
[url="http://rathena.org/wiki/GDB"]http://rathena.org/wiki/GDB[/url]

Hercules Elf Bot - Mar 12, 2012 3:46

Originally posted by [b]sizenine[/b]
aw i cant install it because im using a shared host.

Hercules Elf Bot - Mar 17, 2012 23:03

Originally posted by [b]Ind[/b]
I believe it was fixed in a recent svn revision, because that line you highlighted (afree) isn't present anymore.