[sr-dev] [kamailio/kamailio] Kamailio Crash (#619)

Sunil More notifications at github.com
Fri May 13 11:47:09 CEST 2016


Hello,
I have changed the order i have declared the modules and just brought "mi_fifo" to the top. The crash was however there but now frame 0 has some data.


```c
Program terminated with signal SIGSEGV, Segmentation fault.

#0  0x00007fdf88f8af6d in run_create_callbacks (dlg=0x7fdf8d7f20e0, msg=0x7fdfae27e7e8) at dlg_cb.c:230

230	cb->callback( dlg, DLGCB_CREATED, &params );

(gdb) bt

#0  0x00007fdf88f8af6d in run_create_callbacks (dlg=0x7fdf8d7f20e0, msg=0x7fdfae27e7e8) at dlg_cb.c:230

#1  0x00007fdf88fa6edf in dlg_new_dialog (req=0x7fdfae27e7e8, t=0x7fdf8d7f0a50, run_initial_cbs=1) at dlg_handlers.c:869

#2  0x00007fdf88fa580e in dlg_onreq (t=0x7fdf8d7f0a50, type=1, param=0x7fdf8d2ddc60 <params>) at dlg_handlers.c:722

#3  0x00007fdf8d016b25 in run_reqin_callbacks_internal (hl=0x7fdf8d2fb6e8, trans=0x7fdf8d7f0a50, params=0x7fdf8d2ddc60 <params>) at t_hooks.c:360

#4  0x00007fdf8d016c31 in run_reqin_callbacks (trans=0x7fdf8d7f0a50, req=0x7fdfae27e7e8, code=1) at t_hooks.c:385

#5  0x00007fdf8cfd2e63 in build_cell (p_msg=0x7fdfae27e7e8) at h_table.c:373

#6  0x00007fdf8d028e8c in new_t (p_msg=0x7fdfae27e7e8) at t_lookup.c:1269

#7  0x00007fdf8d02a194 in t_newtran (p_msg=0x7fdfae27e7e8) at t_lookup.c:1409

#8  0x00007fdf8cffbf8c in t_relay_to (p_msg=0x7fdfae27e7e8, proxy=0x0, proto=0, replicate=0) at t_funcs.c:242

#9  0x00007fdf8d03e9e8 in _w_t_relay_to (p_msg=0x7fdfae27e7e8, proxy=0x0, force_proto=0) at tm.c:1425

#10 0x00007fdf8d03fc6d in w_t_relay (p_msg=0x7fdfae27e7e8, _foo=0x0, _bar=0x0) at tm.c:1626

#11 0x000000000041f71f in do_action (h=0x7ffe6460b4a0, a=0x7fdfae11ccf0, msg=0x7fdfae27e7e8) at action.c:1054

#12 0x000000000042c5aa in run_actions (h=0x7ffe6460b4a0, a=0x7fdfae11ccf0, msg=0x7fdfae27e7e8) at action.c:1549

#13 0x000000000042cc6a in run_actions_safe (h=0x7ffe6460e9d0, a=0x7fdfae11ccf0, msg=0x7fdfae27e7e8) at action.c:1614

#14 0x000000000055a40a in rval_get_int (h=0x7ffe6460e9d0, msg=0x7fdfae27e7e8, i=0x7ffe6460b894, rv=0x7fdfae11b850, cache=0x0) at rvalue.c:912

#15 0x000000000055ea84 in rval_expr_eval_int (h=0x7ffe6460e9d0, msg=0x7fdfae27e7e8, res=0x7ffe6460b894, rve=0x7fdfae11b848) at rvalue.c:1910

#16 0x000000000055eee6 in rval_expr_eval_int (h=0x7ffe6460e9d0, msg=0x7fdfae27e7e8, res=0x7ffe6460b9f8, rve=0x7fdfae11cef8) at rvalue.c:1918

#17 0x000000000041f1ca in do_action (h=0x7ffe6460e9d0, a=0x7fdfae11d930, msg=0x7fdfae27e7e8) at action.c:1030

#18 0x000000000042c5aa in run_actions (h=0x7ffe6460e9d0, a=0x7fdfae1099b8, msg=0x7fdfae27e7e8) at action.c:1549

#19 0x000000000041f68e in do_action (h=0x7ffe6460e9d0, a=0x7fdfae11db90, msg=0x7fdfae27e7e8) at action.c:1045

#20 0x000000000042c5aa in run_actions (h=0x7ffe6460e9d0, a=0x7fdfae0daa18, msg=0x7fdfae27e7e8) at action.c:1549

#21 0x000000000041bee8 in do_action (h=0x7ffe6460e9d0, a=0x7fdfae0c1d98, msg=0x7fdfae27e7e8) at action.c:678

#22 0x000000000042c5aa in run_actions (h=0x7ffe6460e9d0, a=0x7fdfae0c19f8, msg=0x7fdfae27e7e8) at action.c:1549

#23 0x000000000041f68e in do_action (h=0x7ffe6460e9d0, a=0x7fdfae0c3d48, msg=0x7fdfae27e7e8) at action.c:1045

#24 0x000000000042c5aa in run_actions (h=0x7ffe6460e9d0, a=0x7fdfae0beee0, msg=0x7fdfae27e7e8) at action.c:1549

#25 0x000000000041f68e in do_action (h=0x7ffe6460e9d0, a=0x7fdfae0c54d8, msg=0x7fdfae27e7e8) at action.c:1045

#26 0x000000000042c5aa in run_actions (h=0x7ffe6460e9d0, a=0x7fdfae0c54d8, msg=0x7fdfae27e7e8) at action.c:1549

#27 0x000000000041bee8 in do_action (h=0x7ffe6460e9d0, a=0x7fdfadf9c928, msg=0x7fdfae27e7e8) at action.c:678

#28 0x000000000042c5aa in run_actions (h=0x7ffe6460e9d0, a=0x7fdfadf9be90, msg=0x7fdfae27e7e8) at action.c:1549

#29 0x000000000041f68e in do_action (h=0x7ffe6460e9d0, a=0x7fdfadf9cb88, msg=0x7fdfae27e7e8) at action.c:1045

#30 0x000000000042c5aa in run_actions (h=0x7ffe6460e9d0, a=0x7fdfadf933d0, msg=0x7fdfae27e7e8) at action.c:1549

#31 0x000000000042cd53 in run_top_route (a=0x7fdfadf933d0, msg=0x7fdfae27e7e8, c=0x0) at action.c:1635

#32 0x000000000051d57a in receive_msg (

    buf=0xabb500 <buf> "INVITE sip:064e32d0-18ee-11e6-9f61-3f5695f881cd at sunilmore.in SIP/2.0\r\nVia: SIP/2.0/UDP sunilmore.in:6000;rport;branch=z9hG4bKcDSrNSQN56cKc\r\nMax-Forwards: 69\r\nFrom: \"\" <sip:16468107000 at sunilmore.in>"..., len=1972, rcv_info=0x7ffe6460ed40) at receive.c:240

#33 0x00000000006302f1 in udp_rcv_loop () at udp_server.c:495

#34 0x00000000004b3062 in main_loop () at main.c:1600

#35 0x00000000004ba772 in main (argc=13, argv=0x7ffe6460f248) at main.c:2616
```


---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/619#issuecomment-218999484
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160513/23f4ead5/attachment-0001.html>


More information about the sr-dev mailing list