[OpenSIPS-Users] Crash of Opensips

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Feb 6 16:08:55 CET 2014


Hello,

Based on the BT, I guess you are using the acc_db_request() function 
from the local_route, right ? If so, have you defined a db_url for the 
acc module ? I see the "table" param is NULL  and this may happen only 
if you do not set the db_url for the module.

Best regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 06.02.2014 15:26, hutx wrote:
>
> Hi All,
>
> I am playing with opensips + call control + cdrtool. When I set MaximumSession=60 and the opensips tries to hang up two call legs upon timeout, opensips experiences crash. The bt of core file is below.
> Any help and opinion are appreciated.
>
>
> Best Regards,
> Sean
>
>
> /////////////////////////bt of Core file/////////////////////////
>
> Program terminated with signal 11, Segmentation fault.
> #0  0xb6b7bc96 in w_acc_db_request (rq=0xb7156740, comment=0xb7185360, table=0x0) at acc_logic.c:213
> 213             int table_len = strlen(table);
> (gdb) bt
> #0  0xb6b7bc96 in w_acc_db_request (rq=0xb7156740, comment=0xb7185360, table=0x0) at acc_logic.c:213
> #1  0x0805f5b5 in do_action (a=0xb7182718, msg=0xb7156740) at action.c:1715
> #2  0x08064ea4 in run_action_list (a=0xb7182718, msg=0xb7156740) at action.c:171
> #3  0x08062851 in do_action (a=0xb7182784, msg=0xb7156740) at action.c:1010
> #4  0x08064891 in run_action_list (a=Unhandled dwarf expression opcode 0xf3
> ) at action.c:171
> #5  run_actions (a=Unhandled dwarf expression opcode 0xf3
> ) at action.c:136
> #6  0x08065276 in run_actions (a=0xb7182784, msg=0xb7156740) at action.c:129
> #7  run_top_route (a=0xb7182784, msg=0xb7156740) at action.c:211
> #8  0xb713672c in t_uac (method=0xbfc942d8, headers=0xbfc942d0, body=0x0, dialog=0xb7195c64, cb=0xb6adf606 <bye_reply_cb>, cbp=0xb2bd6e94, release_func=0)
>      at uac.c:313
> #9  0xb7137dd3 in req_within (method=0xbfc942d8, headers=0xbfc942d0, body=0x0, dialog=0xb7195c64, completion_cb=0xb6adf606 <bye_reply_cb>, cbp=0xb2bd6e94,
>      release_func=0) at uac.c:476
> #10 0xb6ae081b in send_leg_bye (dlg=0xb2bd6e94, extra_hdrs=0x0) at dlg_req_within.c:352
> #11 dlg_end_dlg (dlg=0xb2bd6e94, extra_hdrs=0x0) at dlg_req_within.c:418
> #12 0xb6ae1b05 in mi_terminate_dlg (cmd_tree=0xb7195bac, param=0x0) at dlg_req_within.c:475
> #13 0xb6a6ea75 in run_mi_cmd (rx_sock=8, tx_sock=9) at ../../mi/mi.h:109
> #14 mi_datagram_server (rx_sock=8, tx_sock=9) at datagram_fnc.c:520
> #15 0xb6a6fda4 in datagram_process (rank=0) at mi_datagram.c:311
> #16 0x080e41d8 in start_module_procs () at sr_module.c:586
> #17 0x0805b6e0 in main_loop (argc=13, argv=0xbfc946a4) at main.c:840
> #18 main (argc=13, argv=0xbfc946a4) at main.c:1598
> (gdb)
> ///////////////////////////////////////////////////////
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>




More information about the Users mailing list