[SR-Users] Crash kamailio 4.3.1

Daniel-Constantin Mierla miconda at gmail.com
Thu Sep 10 14:25:21 CEST 2015


Do you have msrp enabled in configuration file?

Send the output from gdb for next commands:

frame 0
info locals
p *msg
p *ruri
p *ptr
p *_r


Cheers,
Daniel

On 10/09/15 14:07, Thibault Gueslin wrote:
>
> [Thread debugging using libthread_db enabled]
>
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
>
> Core was generated by `/usr/sbin/kamailio -f
> /etc/kamailio/kamailio.cfg -P /var/run/kamailio/kamailio.'.
>
> Program terminated with signal SIGSEGV, Segmentation fault.
>
> #0  ts_append (msg=0x7f883bfd5490, ruri=0x7fff65fbfe30,
> table=0x7f883bf7e390 "location") at ts_append.c:60
>
> 60ts_append.c: No such file or directory.
>
> (gdb) bt
>
> #0  ts_append (msg=0x7f883bfd5490, ruri=0x7fff65fbfe30,
> table=0x7f883bf7e390 "location") at ts_append.c:60
>
> #1  0x00007f8837f638fc in w_ts_append (_msg=0x7f883bfd5490,
> _table=0x7f883bf7e390 "location", _ruri=0x7f88339aa634 "\002") at
> tsilo.c:225
>
> #2  0x0000000000534db0 in do_action (h=0x7fff65fc1a40,
> a=0x7f883bf7d278, msg=0x7f883bfd5490) at action.c:1059
>
> #3  0x00000000005339e8 in run_actions (h=0x7f8837f65540, a=0x5,
> msg=0x7f88339aa634) at action.c:1548
>
> #4  0x00000000005352e6 in do_action (h=0x7fff65fc1a40,
> a=0x7f883bf7dc50, msg=0x7f883bfd5490) at action.c:1048
>
> #5  0x00000000005339e8 in run_actions (h=0x7f8837f65540, a=0x5,
> msg=0x7f88339aa634) at action.c:1548
>
> #6  0x00000000005352e6 in do_action (h=0x7fff65fc1a40,
> a=0x7f883bf7df48, msg=0x7f883bfd5490) at action.c:1048
>
> #7  0x00000000005339e8 in run_actions (h=0x7f8837f65540, a=0x5,
> msg=0x7f88339aa634) at action.c:1548
>
> #8  0x00000000005354a3 in do_action (h=0x7fff65fc1a40,
> a=0x7f883bfa8ab8, msg=0x7f883bfd5490) at action.c:677
>
> #9  0x00000000005339e8 in run_actions (h=0x7f8837f65540, a=0x5,
> msg=0x7f88339aa634) at action.c:1548
>
> #10 0x00000000005354a3 in do_action (h=0x7fff65fc1a40,
> a=0x7f883bfa8ab8, msg=0x7f883bfd5490) at action.c:677
>
> #11 0x00000000005339e8 in run_actions (h=0x7f8837f65540, a=0x5,
> msg=0x7f88339aa634) at action.c:1548
>
> #12 0x00000000005352e6 in do_action (h=0x7fff65fc1a40,
> a=0x7f883bf56068, msg=0x7f883bfd5490) at action.c:1048
>
> #13 0x00000000005339e8 in run_actions (h=0x7f8837f65540,
> h at entry=0x7fff65fc1a40, a=0x5, a at entry=0x7f883bf4f958,
> msg=0x7f88339aa634, msg at entry=0x7f883bfd5490) at action.c:1548
>
> #14 0x000000000053f885 in run_top_route (a=0x7f883bf4f958,
> msg=0x7f883bfd5490, c=<optimized out>) at action.c:1634
>
> #15 0x00000000005407e6 in receive_msg (buf=0x0, len=5,
> rcv_info=0x7f88339b8638) at receive.c:196
>
> #16 0x00000000005b806b in tcp_read_req (con=0x7f88339b8620,
> bytes_read=0x7fff65fc1d50, read_flags=0x7fff65fc1d54) at tcp_read.c:1382
>
> #17 0x00000000005bb4e1 in handle_io (fm=0xb, events=5, idx=865773108)
> at tcp_read.c:1568
>
> #18 0x00000000005c191a in io_wait_loop_epoll (h=<optimized out>,
> t=<optimized out>, repeat=<optimized out>) at io_wait.h:1061
>
> #19 tcp_receive_loop (unix_sock=938890560) at tcp_read.c:1733
>
> #20 0x00000000004d3447 in tcp_init_children () at tcp_main.c:4787
>
> #21 0x0000000000506863 in main_loop () at main.c:1658
>
> #22 0x000000000041b944 in main (argc=0, argv=0x0) at main.c:2533
>
>
> It seems to be on reception of REGISTER from client.
>
>
>

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
Kamailio Advanced Training, Sep 28-30, 2015, in Berlin - http://asipto.com/u/kat

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150910/797773b8/attachment.html>


More information about the sr-users mailing list