Issue information

Issue ID
#8037
Status
Fixed
Severity
None
Started
FeNixZ
Feb 20, 2014 13:34
Last Post
Ind
Feb 20, 2014 14:49
Confirmation
N/A

FeNixZ - Feb 20, 2014 13:34

[code=auto:0] #0 0x0000000000000000 in ?? () No symbol table info available. #1 0x00000000004f1dc2 in intif_saveregistry (sd=0x9650740) at intif.c:288 iter = <value optimized out> key = {i = 1667460978, ui = 1667460978, str = 0x7461672e63636f72 <Address 0x7461672e63636f72 out of bounds>, i64 = 8386097430074191730, ui64 = 8386097430074191730} data = <value optimized out> plen = 14 len = <value optimized out> #2 0x000000000048c123 in chrif_save (sd=0x9650740, flag=1) at chrif.c:266 No locals. #3 0x0000000000488821 in chrif_reconnect (key=<value optimized out>, data=<value optimized out>, ap=<value optimized out>) at chrif.c:450 node = 0x2b7e4c8 #4 0x000000000061759a in db_obj_vforeach (self=0x280dbb8, func=0x488770 <chrif_reconnect>, args=0x7fff92919110) at db.c:2033 argscopy = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7fff929191f0, reg_save_area = 0x7fff92919130}} db = 0x280dbb8 sum = 0 node = 0x2593e468 ---Type <return> to continue, or q <return> to quit--- parent = <value optimized out> #5 0x0000000000616361 in db_obj_foreach (self=<value optimized out>, func=<value optimized out>) at db.c:2079 args = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7fff929191f0, reg_save_area = 0x7fff92919130}} #6 0x000000000048c48b in chrif_on_ready () at chrif.c:483 once = true #7 0x000000000048ccde in chrif_parse (fd=7) at chrif.c:1439 packet_len = 27 cmd = <value optimized out> r = <value optimized out> #8 0x0000000000621d1e in do_sockets (next=<value optimized out>) at socket.c:887 rfd = {__fds_bits = {128, 0 <repeats 26 times>, 33554432, 0, 0, 0, 0, 0, 0, 0, 0, 268435456, 0 <repeats 26 times>, 512, 0, 33554432, 0 <repeats 94 times>}} timeout = {tv_sec = 0, tv_usec = 49451} ret = 0 i = <value optimized out> #9 0x000000000061e2e9 in main (argc=<value optimized out>, argv=<value optimized out>) at core.c:369 next = <value optimized out> [/code]

Look like some variables are wrong. : intif.c 326-327[code=auto:326] if( p->value ) { len = strlen(p->value)+1; [/code]

Dastgir Pojee - Feb 20, 2014 14:20

Upload your intif.c or show us lines 278-298

Ind - Feb 20, 2014 14:49

Fixed in [url="https://github.com/HerculesWS/Hercules/commit/a7d421274b308f7d9cc4ac39935beae851b29b97"]https://github.com/HerculesWS/Hercules/commit/a7d421274b308f7d9cc4ac39935beae851b29b97[/url]
Thank you!