Issue information

Issue ID
#7765
Status
Fixed
Severity
None
Started
hemagx
Oct 14, 2013 17:51
Last Post
Ind
Nov 26, 2013 7:08
Confirmation
N/A

hemagx - Oct 14, 2013 17:51

Hello.
i got some new crash. i don't know reasons but i know it's wake up me when my staff call me on phoen and say Hell NO server down in WoE.

This one is by login-server.
[code=auto:0] Core was generated by `./login-server'. Program terminated with signal 11, Segmentation fault. #0 0x00007f32cad5afc3 in pthread_join () from /lib64/libpthread.so.0 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.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 zlib-1.2.3-29.el6.x86_64 (gdb) bt full #0 0x00007f32cad5afc3 in pthread_join () from /lib64/libpthread.so.0 No symbol table info available. #1 0x00000000004270ad in rathread_wait (handle=<value optimized out>, out_exitCode=<value optimized out>) at thread.c:292 No locals. #2 0x0000000000428b3a in console_parse_final () at console.c:378 No locals. #3 0x000000000042880b in console_final () at console.c:418 i = <value optimized out> __FUNCTION__ = "console_final" #4 0x00000000004170b1 in main (argc=1, argv=<value optimized out>) at core.c:354 No locals. [/code]

This one is by map-server.
[code=auto:0] Core was generated by `./map-server'. Program terminated with signal 11, Segmentation fault. #0 0x0000000000479b57 in clif_clearunit_single (id=110737050, type=CLR_OUTSIGHT, fd=41) at clif.c:758 758 WFIFOHEAD(fd, packet_len(0x80)); 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.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 0x0000000000479b57 in clif_clearunit_single (id=110737050, type=CLR_OUTSIGHT, fd=41) at clif.c:758 No locals. #1 0x000000000045267a in clif_outsight (bl=0xac30ae0, ap=<value optimized out>) at clif.c:4828 tbl = 0x7f3341007d6c vd = <value optimized out> sd = 0xac30ae0 tsd = <value optimized out> #2 0x0000000000447416 in bl_vforeach (func=0x4525a0 <clif_outsight>, blockcount=0, max=2147483647, args=<value optimized out>) at map.c:535 argscopy = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 0x7fff4a1411b8, reg_save_area = 0x7fff4a1410d0}} i = 0 returnCount = <value optimized out> #3 0x000000000044786b in map_foreachinmovearea ( func=0x4525a0 <clif_outsight>, center=<value optimized out>, range=<value optimized out>, dx=<value optimized out>, dy=<value optimized out>, type=<value optimized out>) at map.c:985 returnCount = 0 blockcount = 0 ap = {{gp_offset = 48, fp_offset = 48, [/code]

Have Fun :3
thanks to hercules xd

Haru - Oct 15, 2013 14:16

The login server crash is something that used to happen on server shutdown/restart, and it should have been fixed last month in [url="https://github.com/HerculesWS/Hercules/commit/a2722019a379f83ee5a1b35a1a100400e3e7170e"]https://github.com/HerculesWS/Hercules/commit/a2722019a379f83ee5a1b35a1a100400e3e7170e[/url]

About the map server crash, I'm not really sure what the cause might be, there are a few things that could have gone wrong in that line. Once past the preprocessor stage, it gets expanded to this[code=auto:0] do{ if((fd) && session[fd]->wdata_size + (packet_db[0x80].len) > session[fd]->max_wdata ) realloc_writefifo(fd, packet_db[0x80].len); } while(0);[/code]A wild guess would be that session[fd] no longer exists (delete_session or something), but can this happen? I don't remember recent changes to that code, how old is the revision you're running on?

Ind - Nov 26, 2013 7:08

given no response was provided in over a month I'm going to assume this was indeed fixed