Need your suggestion. I'm just comletely satisfied of openser 1.3.4 fuction set. However, it's going down too recently(3-5 times per month) in the last half year. Some of gdb output applyed.
Can you suggest me the best stabile version for relocation.
Thanks in advance.
-------------------------- core.27986
Core was generated by `openser -P /var/run/openser/openser.pid -m 32 -u openser -g openser -w /var/run'. Program terminated with signal 11, Segmentation fault. #0 0x0000000000443315 in pv_get_authattr (msg=0x2aaaae6685a8, param=0x763958, res=0x7fff701d7860) at pvar.c:1319 1319 res->rs.s =((auth_body_t*)(hdr->parsed))->digest.username.user.s;
------------------ core.29065:
Core was generated by `openser -P /var/run/openser/openser.pid -m 32 -u openser -g openser -w /var/run'. Program terminated with signal 11, Segmentation fault. #0 0x000000000048e679 in fm_free (qm=0x7389e0, p=<value optimized out>) at mem/f_malloc.c:125 125 if (frag->size <= (*f)->size) break; --------------- core.29063:
Core was generated by `openser -P /var/run/openser/openser.pid -m 32 -u openser -g openser -w /var/run'. Program terminated with signal 11, Segmentation fault. #0 fm_status (qm=0x7389e0) at mem/f_malloc.c:513 513 size+=f->size,f=f->u.nxt_free,i++,j++){ -------------------------- core.27985:
Core was generated by `openser -P /var/run/openser/openser.pid -m 32 -u openser -g openser -w /var/run'. Program terminated with signal 11, Segmentation fault. #0 fm_status (qm=0x7389e0) at mem/f_malloc.c:513 513 size+=f->size,f=f->u.nxt_free,i++,j++){ (gdb) print i $1 = 383 (gdb) print j $2 = 1 (gdb) print f $3 = (struct fm_frag *) 0x6366373364393531 (gdb) print size $4 = 3631135185266580216 (gdb) print f->u.nxt_free Cannot access memory at address 0x6366373364393539 (gdb) print f->size Cannot access memory at address 0x6366373364393531 ------------------------------------------ core.29790:
Core was generated by `openser -P /var/run/openser/openser.pid -m 32 -u openser -g openser -w /var/run'. Program terminated with signal 11, Segmentation fault. #0 fm_malloc (qm=0x7389e0, size=<value optimized out>) at mem/f_malloc.c:267 267 if ((*f)->size>=size) goto found; (gdb) print size $1 = <value optimized out> (gdb) print *f $2 = (struct fm_frag *) 0x12 ----------------------------------------- core.2156:
Core was generated by `openser -P /var/run/openser/openser.pid -m 32 -u openser -g openser -w /var/run'. Program terminated with signal 11, Segmentation fault. #0 fm_status (qm=0x7389e0) at mem/f_malloc.c:513 513 size+=f->size,f=f->u.nxt_free,i++,j++){ (gdb) print size $1 = 4268969821966590315 (gdb) print f $2 = (struct fm_frag *) 0x373365383d676174 (gdb) print i $3 = 0 (gdb) print j $4 = 1 ---------------------------------------------------------------------------- core.2157:
Core was generated by `openser -P /var/run/openser/openser.pid -m 32 -u openser -g openser -w /var/run'. Program terminated with signal 11, Segmentation fault. #0 sip_msg_cloner (org_msg=0x770a50, sip_msg_len=0x7fff9430d31c) at sip_msg.c:327 327 for(prm=via->param_lst;prm;prm=prm->next) ------------------------------------------------------- core.32225
Core was generated by `openser -P /var/run/openser/openser.pid -m 32 -u openser -g openser -w /var/run'. Program terminated with signal 11, Segmentation fault. #0 0x00002aaaacbf78fb in acc_log_request (rq=0x2aaaae4fd0e8) at acc.c:223 223 memcpy(p, val_arr[i].s, val_arr[i].len); (gdb) print i $1 = 8 (gdb) print val_arr[i].len $2 = 6 (gdb) print val_arr[i].s $3 = 0x5e2c34 <Address 0x5e2c34 out of bounds> (gdb) print p $4 = 0x0 ---------------------------- core.21832
Core was generated by `openser -P /var/run/openser/openser.pid -m 32 -u openser -g openser -w /var/run'. Program terminated with signal 11, Segmentation fault. #0 0x00002aaaacbf78fb in acc_log_request (rq=0x2aaaae72baa0) at acc.c:223 223 memcpy(p, val_arr[i].s, val_arr[i].len); (gdb) print p $1 = 0x0 (gdb) print i $2 = 8 (gdb) print val_arr[i].s $3 = 0x636084 <Address 0x636084 out of bounds> (gdb) print val_arr[i].len $4 = 6 ------------------- core.24808:
Core was generated by `openser -P /var/run/openser/openser.pid -m 32 -u openser -g openser -w /var/run'. Program terminated with signal 11, Segmentation fault. #0 fm_status (qm=0x7389e0) at mem/f_malloc.c:513 513 size+=f->size,f=f->u.nxt_free,i++,j++){ (gdb) print size $1 = 8317892 (gdb) print f $2 = (struct fm_frag *) 0xc (gdb) print i $3 = 367 (gdb) print j $4 = 1 (gdb) q
Need your suggestion. I'm just comletely satisfied of openser 1.3.4 fuction set. However, it's going down too recently(3-5 times per month) in the last half year. Some of gdb output applyed.
Can you suggest me the best stabile version for relocation.
Thanks in advance.
-------------------------- core.27986
Core was generated by `openser -P /var/run/openser/openser.pid -m 32 -u openser -g openser -w /var/run'. Program terminated with signal 11, Segmentation fault. #0 0x0000000000443315 in pv_get_authattr (msg=0x2aaaae6685a8, param=0x763958, res=0x7fff701d7860) at pvar.c:1319 1319 res->rs.s =((auth_body_t*)(hdr->parsed))->digest.username.user.s;
------------------ core.29065:
Core was generated by `openser -P /var/run/openser/openser.pid -m 32 -u openser -g openser -w /var/run'. Program terminated with signal 11, Segmentation fault. #0 0x000000000048e679 in fm_free (qm=0x7389e0, p=<value optimized out>) at mem/f_malloc.c:125 125 if (frag->size <= (*f)->size) break; --------------- core.29063:
Core was generated by `openser -P /var/run/openser/openser.pid -m 32 -u openser -g openser -w /var/run'. Program terminated with signal 11, Segmentation fault. #0 fm_status (qm=0x7389e0) at mem/f_malloc.c:513 513 size+=f->size,f=f->u.nxt_free,i++,j++){ -------------------------- core.27985:
Core was generated by `openser -P /var/run/openser/openser.pid -m 32 -u openser -g openser -w /var/run'. Program terminated with signal 11, Segmentation fault. #0 fm_status (qm=0x7389e0) at mem/f_malloc.c:513 513 size+=f->size,f=f->u.nxt_free,i++,j++){ (gdb) print i $1 = 383 (gdb) print j $2 = 1 (gdb) print f $3 = (struct fm_frag *) 0x6366373364393531 (gdb) print size $4 = 3631135185266580216 (gdb) print f->u.nxt_free Cannot access memory at address 0x6366373364393539 (gdb) print f->size Cannot access memory at address 0x6366373364393531 ------------------------------------------ core.29790:
Core was generated by `openser -P /var/run/openser/openser.pid -m 32 -u openser -g openser -w /var/run'. Program terminated with signal 11, Segmentation fault. #0 fm_malloc (qm=0x7389e0, size=<value optimized out>) at mem/f_malloc.c:267 267 if ((*f)->size>=size) goto found; (gdb) print size $1 = <value optimized out> (gdb) print *f $2 = (struct fm_frag *) 0x12 ----------------------------------------- core.2156:
Core was generated by `openser -P /var/run/openser/openser.pid -m 32 -u openser -g openser -w /var/run'. Program terminated with signal 11, Segmentation fault. #0 fm_status (qm=0x7389e0) at mem/f_malloc.c:513 513 size+=f->size,f=f->u.nxt_free,i++,j++){ (gdb) print size $1 = 4268969821966590315 (gdb) print f $2 = (struct fm_frag *) 0x373365383d676174 (gdb) print i $3 = 0 (gdb) print j $4 = 1 ---------------------------------------------------------------------------- core.2157:
Core was generated by `openser -P /var/run/openser/openser.pid -m 32 -u openser -g openser -w /var/run'. Program terminated with signal 11, Segmentation fault. #0 sip_msg_cloner (org_msg=0x770a50, sip_msg_len=0x7fff9430d31c) at sip_msg.c:327 327 for(prm=via->param_lst;prm;prm=prm->next) ------------------------------------------------------- core.32225
Core was generated by `openser -P /var/run/openser/openser.pid -m 32 -u openser -g openser -w /var/run'. Program terminated with signal 11, Segmentation fault. #0 0x00002aaaacbf78fb in acc_log_request (rq=0x2aaaae4fd0e8) at acc.c:223 223 memcpy(p, val_arr[i].s, val_arr[i].len); (gdb) print i $1 = 8 (gdb) print val_arr[i].len $2 = 6 (gdb) print val_arr[i].s $3 = 0x5e2c34 <Address 0x5e2c34 out of bounds> (gdb) print p $4 = 0x0 ---------------------------- core.21832
Core was generated by `openser -P /var/run/openser/openser.pid -m 32 -u openser -g openser -w /var/run'. Program terminated with signal 11, Segmentation fault. #0 0x00002aaaacbf78fb in acc_log_request (rq=0x2aaaae72baa0) at acc.c:223 223 memcpy(p, val_arr[i].s, val_arr[i].len); (gdb) print p $1 = 0x0 (gdb) print i $2 = 8 (gdb) print val_arr[i].s $3 = 0x636084 <Address 0x636084 out of bounds> (gdb) print val_arr[i].len $4 = 6 ------------------- core.24808:
Core was generated by `openser -P /var/run/openser/openser.pid -m 32 -u openser -g openser -w /var/run'. Program terminated with signal 11, Segmentation fault. #0 fm_status (qm=0x7389e0) at mem/f_malloc.c:513 513 size+=f->size,f=f->u.nxt_free,i++,j++){ (gdb) print size $1 = 8317892 (gdb) print f $2 = (struct fm_frag *) 0xc (gdb) print i $3 = 367 (gdb) print j $4 = 1 (gdb) q
On 11/30/2010 11:06 AM, Andrew O. Zhukov wrote:
Need your suggestion. I'm just comletely satisfied of openser 1.3.4 fuction set. However, it's going down too recently(3-5 times per month) in the last half year. Some of gdb output applyed.
Can you suggest me the best stabile version for relocation.
Thanks in advance.
The 1.3.4 version is pretty old, haven't use that in a while. The bugs , IMHO, will be marked as will-not-fix because the version is so ancient and not maintained. The current release 3.1 is stable, but if you don't want to go through the hassle of updating to 3.x version you can use 1.5.5. I, for example, kept pushing patches to the latest 1.5. This will be the last 1.5 release so moving to 3.1 might be better for you.
If you keep using 1.5 then http://www.kamailio.org/dokuwiki/doku.php/install:1.3.x-to-1.4.0 and the 1.4.0 to 1.5.0 migration guide should give you a heads up on what were the changes: mostly db, some modules interfaces (siputils, carrierroute).The difficulty of migration depends greatly on your config.
Marius