Hi Guys,

 

We are running kamailio 4.4.6 on debian 8 and not had any issues, however we did suffer a segfault and a core was generated;

 

May 25 09:17:06 Kam-HA-1 /usr/sbin/kamailio[9560]: ALERT: <core> [main.c:740]: handle_sigs(): child process 9575 exited by a signal 11

May 25 09:17:06 Kam-HA-1 /usr/sbin/kamailio[9560]: ALERT: <core> [main.c:743]: handle_sigs(): core was generated

May 25 09:17:06 Kam-HA-1 /usr/sbin/kamailio[9560]: INFO: <core> [main.c:755]: handle_sigs(): terminating due to SIGCHLD

 

 

Running gdb on the core file generated returns this output;

 

 

Reading symbols from /usr/sbin/kamailio...Reading symbols from /usr/lib/debug/.build-id/bc/fbd7e44c057e9e7e0680c2a5e8f6a47290c5ba.debug...done.

done.

[New LWP 9575]

 

warning: Error reading shared library list entry at 0x28250c3348

 

warning: Error reading shared library list entry at 0x79c0850018bf73e8

Core was generated by `/usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f /etc/kamailio/kamailio.'.

Program terminated with signal SIGSEGV, Segmentation fault.

#0  0x0000000000589cce in lval_pvar_assign (lv=<optimized out>, rv=<optimized out>, msg=<optimized out>, h=<optimized out>) at lvalue.c:353

353     lvalue.c: No such file or directory.

(gdb) bt full

#0  0x0000000000589cce in lval_pvar_assign (lv=<optimized out>, rv=<optimized out>, msg=<optimized out>, h=<optimized out>) at lvalue.c:353

        r_avp = 0x6

        destroy_pval = -874501672

        pvar = 0x0

        pval = {rs = {s = 0x0, len = 0}, ri = 0, flags = 0}

        avp_val = {n = -874501704, s = {s = 0x7fb6cbe029b8 "\272/}", len = 5807505}, re = 0x7fb6cbe029b8}

        v = 6

#1  lval_assign (h=0x7fb6cbe029d8, msg=0x344, lv=0x0, rve=0x0) at lvalue.c:400

        rv = 0x7fb6cbe029b8

        ret = -874501672

        __FUNCTION__ = "lval_assign"

#2  0x0000000000000000 in ?? ()

No symbol table info available.

 

Is this  of any help? Could someone advise what next steps might be?

 

Should we be looking to upgrade or is there a way to get more detail out of the core dump?

 

Many Thanks

 

Jon

 

Sent from Mail for Windows 10