[OpenSIPS-Users] segfault when doing ul_add in v2.3
Răzvan Crainea
razvan at opensips.org
Wed May 10 06:28:05 EDT 2017
Hi, Cindy!
Thanks for the crash report! I've just fixed this issue on both
master[1] and 2.3 branches. Please update your sources and try again.
[1]
https://github.com/OpenSIPS/opensips/commit/a8294457a9bfefbdbb6786e8a40e0acab16560f7
Best regards,
Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com
On 05/10/2017 01:21 AM, Cindy Leung wrote:
> Hello!
>
> I was using the MI interface (both mi_fifo and mi_json) to run ul_add
> and got segfault for both. Please help. Thanks!
>
> May 9 17:44:08 val-tpx2 opensips[31285]: DBG:mi_fifo:mi_parse_tree:
> adding node <> ; val <location>
> May 9 17:44:08 val-tpx2 opensips[31285]: DBG:mi_fifo:mi_parse_tree:
> adding node <> ; val <user1>
> May 9 17:44:08 val-tpx2 opensips[31285]: DBG:mi_fifo:mi_parse_tree:
> adding node <> ; val <sip:user1 at 1.1.1.1>
> May 9 17:44:08 val-tpx2 opensips[31285]: DBG:mi_fifo:mi_parse_tree:
> adding node <> ; val <0>
> May 9 17:44:08 val-tpx2 opensips[31285]: DBG:mi_fifo:mi_parse_tree:
> adding node <> ; val <1>
> May 9 17:44:08 val-tpx2 opensips[31285]: DBG:mi_fifo:mi_parse_tree:
> adding node <> ; val <0>
> May 9 17:44:08 val-tpx2 opensips[31285]: DBG:mi_fifo:mi_parse_tree:
> adding node <> ; val <0>
> May 9 17:44:08 val-tpx2 opensips[31285]: DBG:mi_fifo:mi_parse_tree:
> adding node <> ; val <0>
> May 9 17:44:08 val-tpx2 opensips[31285]: DBG:mi_fifo:mi_parse_tree:
> adding node <> ; val <0>
> May 9 17:44:08 val-tpx2 opensips[31285]: DBG:mi_fifo:mi_parse_node:
> end of input tree
> May 9 17:44:08 val-tpx2 opensips[31285]: DBG:mi_fifo:mi_fifo_server:
> done parsing the mi tree
> May 9 17:44:08 val-tpx2 opensips[31285]: DBG:core:evi_param_set:
> adding string param
> May 9 17:44:08 val-tpx2 opensips[31285]: DBG:core:destroy_avp_list:
> destroying list (nil)
> May 9 17:44:08 val-tpx2 opensips[31285]: DBG:core:evi_param_set:
> adding string param
> May 9 17:44:08 val-tpx2 opensips[31285]: DBG:core:evi_param_set:
> adding string param
> May 9 17:44:08 val-tpx2 opensips[31285]: DBG:core:evi_param_set:
> adding string param
> May 9 17:44:08 val-tpx2 opensips[31285]: DBG:core:evi_param_set:
> adding string param
> May 9 17:44:08 val-tpx2 opensips[31285]: DBG:core:evi_param_set:
> adding int param
> May 9 17:44:08 val-tpx2 opensips[31285]: DBG:core:evi_param_set:
> adding string param
> May 9 17:44:08 val-tpx2 opensips[31304]: DBG:core:io_wait_loop_epoll:
> [TCP_main] EPOLLHUP on IN ->connection closed by the remote peer!
> May 9 17:44:08 val-tpx2 opensips[31304]: CRITICAL:core:receive_fd: EOF
> on 10
> May 9 17:44:08 val-tpx2 opensips[31304]: DBG:core:handle_worker: dead
> child 2, pid 31285 (shutting down?)
> May 9 17:44:08 val-tpx2 opensips[31304]: DBG:core:io_watch_del:
> [TCP_main] io_watch_del op on index 2 10 (0x7e5720, 10, 2, 0x0,0x1)
> fd_no=27 called
> May 9 17:44:08 val-tpx2 opensips[31283]: DBG:core:handle_sigs: status
> = 139
> May 9 17:44:08 val-tpx2 opensips[31283]: INFO:core:handle_sigs: child
> process 31285 exited by a signal 11
> May 9 17:44:08 val-tpx2 opensips[31283]: INFO:core:handle_sigs: core
> was generated
> May 9 17:44:08 val-tpx2 opensips[31283]: INFO:core:handle_sigs:
> terminating due to SIGCHLD
> May 9 17:44:08 val-tpx2 opensips[31301]: INFO:core:sig_usr: signal 15
> received
> May 9 17:44:08 val-tpx2 opensips[31303]: INFO:core:sig_usr: signal 15
> received
> May 9 17:44:08 val-tpx2 opensips[31298]: INFO:core:sig_usr: signal 15
> received
> May 9 17:44:08 val-tpx2 opensips[31302]: INFO:core:sig_usr: signal 15
> received
> May 9 17:44:08 val-tpx2 opensips[31296]: INFO:core:sig_usr: signal 15
> received
> May 9 17:44:08 val-tpx2 opensips[31299]: INFO:core:sig_usr: signal 15
> received
> May 9 17:44:08 val-tpx2 opensips[31295]: INFO:core:sig_usr: signal 15
> received
> May 9 17:44:08 val-tpx2 opensips[31287]: INFO:core:sig_usr: signal 15
> received
> May 9 17:44:08 val-tpx2 opensips[31297]: INFO:core:sig_usr: signal 15
> received
> May 9 17:44:08 val-tpx2 opensips[31294]: INFO:core:sig_usr: signal 15
> received
> May 9 17:44:08 val-tpx2 opensips[31288]: INFO:core:sig_usr: signal 15
> received
> May 9 17:44:08 val-tpx2 opensips[31292]: INFO:core:sig_usr: signal 15
> received
> May 9 17:44:08 val-tpx2 opensips[31286]: INFO:core:sig_usr: signal 15
> received
> May 9 17:44:08 val-tpx2 opensips[31289]: INFO:core:sig_usr: signal 15
> received
> May 9 17:44:08 val-tpx2 opensips[31300]: INFO:core:sig_usr: signal 15
> received
> May 9 17:44:08 val-tpx2 opensips[31293]: INFO:core:sig_usr: signal 15
> received
> May 9 17:44:08 val-tpx2 opensips[31304]: INFO:core:sig_usr: signal 15
> received
> May 9 17:44:08 val-tpx2 opensips[31283]: INFO:core:cleanup: cleanup
>
>
>
> May 9 17:57:13 val-tpx2 opensips[31861]:
> DBG:mi_json:mi_json_run_mi_cmd: got command=ul_add
> May 9 17:57:13 val-tpx2 opensips[31861]:
> DBG:mi_json:mi_json_run_mi_cmd: command=ul_add accepts parameters
> May 9 17:57:13 val-tpx2 opensips[31861]:
> DBG:mi_json:mi_json_run_mi_cmd: got string param [location]
> May 9 17:57:13 val-tpx2 opensips[31861]:
> DBG:mi_json:mi_json_run_mi_cmd: got string param [user1]
> May 9 17:57:13 val-tpx2 opensips[31861]:
> DBG:mi_json:mi_json_run_mi_cmd: got string param [sip:1.1.1.1]
> May 9 17:57:13 val-tpx2 opensips[31861]:
> DBG:mi_json:mi_json_run_mi_cmd: got string param [0]
> May 9 17:57:13 val-tpx2 opensips[31861]:
> DBG:mi_json:mi_json_run_mi_cmd: got string param [1]
> May 9 17:57:13 val-tpx2 opensips[31861]:
> DBG:mi_json:mi_json_run_mi_cmd: got string param [0]
> May 9 17:57:13 val-tpx2 opensips[31861]:
> DBG:mi_json:mi_json_run_mi_cmd: got string param [0]
> May 9 17:57:13 val-tpx2 opensips[31861]:
> DBG:mi_json:mi_json_run_mi_cmd: got string param [0]
> May 9 17:57:13 val-tpx2 opensips[31861]:
> DBG:mi_json:mi_json_run_mi_cmd: got string param [0]
> May 9 17:57:13 val-tpx2 opensips[31861]: DBG:core:evi_param_set:
> adding string param
> May 9 17:57:13 val-tpx2 opensips[31861]: DBG:core:destroy_avp_list:
> destroying list (nil)
> May 9 17:57:13 val-tpx2 opensips[31861]: DBG:core:evi_param_set:
> adding string param
> May 9 17:57:13 val-tpx2 opensips[31861]: DBG:core:evi_param_set:
> adding string param
> May 9 17:57:13 val-tpx2 opensips[31861]: DBG:core:evi_param_set:
> adding string param
> May 9 17:57:13 val-tpx2 opensips[31861]: DBG:core:evi_param_set:
> adding string param
> May 9 17:57:13 val-tpx2 opensips[31861]: DBG:core:evi_param_set:
> adding int param
> May 9 17:57:13 val-tpx2 opensips[31861]: DBG:core:evi_param_set:
> adding string param
> May 9 17:57:13 val-tpx2 opensips[31879]: DBG:core:io_wait_loop_epoll:
> [TCP_main] EPOLLHUP on IN ->connection closed by the remote peer!
> May 9 17:57:13 val-tpx2 opensips[31879]: CRITICAL:core:receive_fd: EOF
> on 13
> May 9 17:57:13 val-tpx2 opensips[31879]: DBG:core:handle_worker: dead
> child 3, pid 31861 (shutting down?)
> May 9 17:57:13 val-tpx2 opensips[31879]: DBG:core:io_watch_del:
> [TCP_main] io_watch_del op on index 3 13 (0x7e5720, 13, 3, 0x0,0x1)
> fd_no=27 called
> May 9 17:57:13 val-tpx2 opensips[31858]: DBG:core:handle_sigs: status
> = 139
> May 9 17:57:13 val-tpx2 opensips[31858]: INFO:core:handle_sigs: child
> process 31861 exited by a signal 11
> May 9 17:57:13 val-tpx2 opensips[31858]: INFO:core:handle_sigs: core
> was generated
> May 9 17:57:13 val-tpx2 opensips[31858]: INFO:core:handle_sigs:
> terminating due to SIGCHLD
> May 9 17:57:13 val-tpx2 opensips[31877]: INFO:core:sig_usr: signal 15
> received
> May 9 17:57:13 val-tpx2 opensips[31878]: INFO:core:sig_usr: signal 15
> received
> May 9 17:57:13 val-tpx2 opensips[31875]: INFO:core:sig_usr: signal 15
> received
> May 9 17:57:13 val-tpx2 opensips[31876]: INFO:core:sig_usr: signal 15
> received
> May 9 17:57:13 val-tpx2 opensips[31873]: INFO:core:sig_usr: signal 15
> received
> May 9 17:57:13 val-tpx2 opensips[31874]: INFO:core:sig_usr: signal 15
> received
> May 9 17:57:13 val-tpx2 opensips[31871]: INFO:core:sig_usr: signal 15
> received
> May 9 17:57:13 val-tpx2 opensips[31867]: INFO:core:sig_usr: signal 15
> received
> May 9 17:57:13 val-tpx2 opensips[31864]: INFO:core:sig_usr: signal 15
> received
> May 9 17:57:13 val-tpx2 opensips[31868]: INFO:core:sig_usr: signal 15
> received
> May 9 17:57:13 val-tpx2 opensips[31862]: INFO:core:sig_usr: signal 15
> received
> May 9 17:57:13 val-tpx2 opensips[31870]: INFO:core:sig_usr: signal 15
> received
> May 9 17:57:13 val-tpx2 opensips[31879]: INFO:core:sig_usr: signal 15
> received
> May 9 17:57:13 val-tpx2 opensips[31860]: INFO:core:sig_usr: signal 15
> received
> May 9 17:57:13 val-tpx2 opensips[31863]: INFO:core:sig_usr: signal 15
> received
> May 9 17:57:13 val-tpx2 opensips[31872]: INFO:core:sig_usr: signal 15
> received
> May 9 17:57:13 val-tpx2 opensips[31869]: INFO:core:sig_usr: signal 15
> received
> May 9 17:57:13 val-tpx2 opensips[31858]: INFO:core:cleanup: cleanup
>
>
> Cindy
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170510/8e0faebb/attachment-0001.html>
More information about the Users
mailing list