[SR-Users] segfault kamailio 4.4.6 Registrar

Daniel-Constantin Mierla miconda at gmail.com
Wed May 26 17:15:09 CEST 2021


Hello,

the backtrace is incomplete or corefile truncated, not much useful
information out of it. Like it was suggested, the best is to move to a
maintained series, 4.4 is pretty old for a devel to remember easily what
issues were at that moment and fixed meanwhile.

Cheers,
Daniel

On 25.05.21 12:25, Jonathan Hunter wrote:
>
> 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 <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>  
>
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
>   * sr-users at lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to the sender!
> Edit mailing list options or unsubscribe:
>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Online
May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone)
  * https://www.asipto.com/sw/kamailio-advanced-training-online/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210526/ec601609/attachment.htm>


More information about the sr-users mailing list