Issue information

Issue ID
#7599
Status
Fixed
Severity
None
Started
jTynne
Jul 29, 2013 23:43
Last Post
Haru
Jul 29, 2013 23:56
Confirmation
N/A

jTynne - Jul 29, 2013 23:43

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.107.el6.x86_64 keyutils-libs-1.4-4.el6.x86_64 krb5-libs-1.10.3-10.el6_4.2.x86_64 libcom_err-1.41.12-14.el6.x86_64 libselinux-2.0.94-5.3.el6_4.1.x86_64 mysql-libs-5.1.69-1.el6_4.x86_64 nss-softokn-freebl-3.12.9-11.el6.x86_64 openssl-1.0.0-27.el6_4.2.x86_64 pcre-7.8-6.el6.x86_64 zlib-1.2.3-29.el6.x86_64
(gdb) bt full
#0 0x0000000000000000 in ?? ()
No symbol table info available.
#1 0x00000000005c3425 in pet_catch_process2 (sd=0x5c2b8a0,
target_id=<value optimized out>) at pet.c:532
md = <value optimized out>
i = 7
pet_catch_rate = <value optimized out>
__FUNCTION__ = "pet_catch_process2"
#2 0x0000000000467749 in clif_parse (fd=21) at clif.c:17728
cmd = <value optimized out>
packet_len = 6
sd = 0x5c2b8a0
pnum = <value optimized out>
#3 0x00000000005e2536 in do_sockets (next=<value optimized out>)
at socket.c:864
rfd = {__fds_bits = {2097152, 0 <repeats 15 times>}}
timeout = {tv_sec = 0, tv_usec = 14697}
ret = <value optimized out>
i = <value optimized out>
#4 0x00000000005e03a6 in main (argc=1, argv=<value optimized out>)
at core.c:348
next = <value optimized out>

Haru - Jul 29, 2013 23:48

Yes, caused by [url="https://github.com/HerculesWS/Hercules/commit/853489bcb5f2acfce14731b117ddc2b246042883#src-map-intif-h-P152"]this[/url] (I had just noticed the problem by going through todays' commits for review.)

I'll push a fix right away.

Haru - Jul 29, 2013 23:56

[url="https://github.com/HerculesWS/Hercules/commit/a7b1b6581339b70d02eef2c0792928218ceb4b85"]https://github.com/HerculesWS/Hercules/commit/a7b1b6581339b70d02eef2c0792928218ceb4b85[/url]