Issue information

Issue ID
#6561
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Aug 26, 2012 10:36
Last Post
pan
Jul 9, 2014 3:56
Confirmation
N/A

Hercules Elf Bot - Aug 26, 2012 10:36

Originally posted by [b]Lelouch vi Britannia[/b]
Recently i have noticed this unknown crash. Here's the Core Dump
[code]#0 0x08095ad3 in clif_getareachar_skillunit (sd=<value optimized out>,
unit=0xab6e3ed4) at clif.c:4393
fd = 17
#1 0x0809b0e5 in clif_getareachar (bl=0xab6e3ed4,
ap=0xbfc6d97c "\030\004\032\r\024\350\061\253") at clif.c:4495
sd = 0x0
#2 0x0806dc42 in map_foreachinarea (func=0x809b090 <clif_getareachar>, m=204,
x0=<value optimized out>, y0=94, x1=107, y1=<value optimized out>,
type=<value optimized out>) at map.c:736
ap = 0xbfc6d97c "\030\004\032\r\024\350\061\253"
bx = <value optimized out>
by = 16
returnCount = 0
bl = <value optimized out>
blockcount = 113
i = 61
#3 0x0809b6ab in clif_parse_LoadEndAck (fd=17, sd=0xd1a0418) at clif.c:9191
No locals.
#4 0x08089e94 in clif_parse (fd=17) at clif.c:16355
cmd = 125
packet_ver = 30
packet_len = 2
err = 2048
sd = 0xd1a0418
pnum = 1
#5 0x081a9c18 in do_sockets (next=50) at socket.c:803
rfd = {__fds_bits = {131072, 0 <repeats 31 times>}}
timeout = {tv_sec = 0, tv_usec = 4387}
ret = 0
i = <value optimized out>
#6 0x081a80f5 in main (argc=1, argv=0xbfc6dbe4) at core.c:301
next = 0[/code]

Hercules Elf Bot - Aug 26, 2012 13:07

Originally posted by [b]Rage[/b]
what revision of rathena are you using?

Hercules Elf Bot - Aug 26, 2012 14:04

Originally posted by [b]Lelouch vi Britannia[/b]
Im currently using r16707

Hercules Elf Bot - Sep 16, 2012 16:39

Originally posted by [b]Lighta[/b]
Probably due to the sd nullpointer.
Weird cause clif_getareachar called clif_getareachar_skillunit with a sd=0x0 where he should have returned before. Are you sure you don"t have some custom here ?

Hercules Elf Bot - Dec 9, 2012 0:33

Originally posted by [b]mkbu95[/b]
Any new info Lelouch?

pan - Jul 9, 2014 3:56

In current GIT clif_getareachar_skillunit doesn't even have the same parameters, this was fixed in an earlier revision, even so I added a check in: [url="https://github.com/HerculesWS/Hercules/commit/e829011073ff9906542b1bc0f5615f714c91eff0"]https://github.com/HerculesWS/Hercules/commit/e829011073ff9906542b1bc0f5615f714c91eff0[/url]