Page MenuHomePhabricator

Opensips BT
ActivePublic

Authored by tijmen on Apr 16 2020, 3:40 PM.
Tags
None
Referenced Files
F1044313: raw.txt
Apr 16 2020, 3:44 PM
F1044309: raw.txt
Apr 16 2020, 3:40 PM
Subscribers
None
root@sip-thor-node-01:~# gdb opensips /cores/core.944.opensips.1586626575
GNU gdb (Debian 8.2.1-2+b3) 8.2.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from opensips...Reading symbols from /usr/lib/debug/.build-id/b9/c322343d50ee482d2790319d78288c3d874a8d.debug...done.
done.
[New LWP 944]
[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/opensips -w /run/opensips -P opensips.pid -a F_MALLOC_DBG -m 512'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007fbb1fa0cf9c in list_remove (list=0x55ffce197010, strng=...) at ../pua/uri_list.h:77
77 ../pua/uri_list.h: No such file or directory.
(gdb) bt full
#0 0x00007fbb1fa0cf9c in list_remove (list=0x55ffce197010, strng=...) at ../pua/uri_list.h:77
cmp = -1
p = 0x55ffce197010
cmp = <optimized out>
p = <optimized out>
__FUNCTION__ = "list_remove"
p = <optimized out>
q = <optimized out>
#1 resource_subscriptions (subs=subs@entry=0x55ffce3bc2f0, rl_node=<optimized out>) at subscribe.c:918
s = {id = {
s = 0x55ffce3e5fe0 "75646485-7f7e-49d0-bfa5-ff69c0a67c33;2e39e28d-594d-4da8-a01b-1a9c5259bdb5;4c1b-575f82b36ef93fff3dd954f117007031", len = 111}, pres_uri = 0x7ffde7f58240, to_uri = {s = 0x0, len = 0}, watcher_uri = 0x7ffde7f59030,
contact = 0x7fbb1fa22420 <contact>, remote_target = 0x0, outbound_proxy = 0x0, event = 1,
extra_headers = 0x7fbb1fa21f50 <ehdr>, expires = 514, source_flag = 512, internal_update_flag = 0, flag = 0,
cb_param = 0x0}
wuri = {s = 0x55ffce3aa810 "sip:solarbranka@sip2sip.info", len = 28}
did_str = {
s = 0x55ffce3e5fe0 "75646485-7f7e-49d0-bfa5-ff69c0a67c33;2e39e28d-594d-4da8-a01b-1a9c5259bdb5;4c1b-575f82b36ef93fff3dd954f117007031", len = 111}
tmp_str = 0x55ffce2ba3b0
cont_no = 3
ehdr = {
s = 0x7fbb1fa1c260 "Supported: eventlist\r\nAccept: application/pidf+xml, application/rlmi+xml, application/watcherinfo+xml, multipart/related, application/xcap-diff+xml\r\n", len = 149}
rls_contact_list = 0x55ffce332030
rls_subs_list = 0x55ffce197010
params = {0x7ffde7f59050, 0x7ffde7f59020}
__FUNCTION__ = "resource_subscriptions"
#2 0x00007fbb1fa0607c in update_subs (subs=0x55ffce3bc2f0) at rls.c:854
doc = 0x55ffce39cab0
service_node = 0x55ffce33e600
doc = <optimized out>
service_node = <optimized out>
__FUNCTION__ = "update_subs"
#3 mi_update_subscriptions (params=<optimized out>, async_hdl=<optimized out>) at rls.c:924
parsed_uri = {user = {s = 0x55ffce3f62b4 "solarbranka@sip2sip.info", len = 11}, passwd = {s = 0x0, len = 0},
host = {s = 0x55ffce3f62c0 "sip2sip.info", len = 12}, port = {s = 0x0, len = 0}, params = {s = 0x0, len = 0},
headers = {s = 0x0, len = 0}, port_no = 0, proto = 0, type = SIP_URI_T, transport = {s = 0x0, len = 0}, ttl = {
s = 0x0, len = 0}, user_param = {s = 0x0, len = 0}, maddr = {s = 0x0, len = 0}, method = {s = 0x0, len = 0},
lr = {s = 0x0, len = 0}, r2 = {s = 0x0, len = 0}, gr = {s = 0x0, len = 0}, transport_val = {s = 0x0, len = 0},
ttl_val = {s = 0x0, len = 0}, user_param_val = {s = 0x0, len = 0}, maddr_val = {s = 0x0, len = 0}, method_val = {
s = 0x0, len = 0}, lr_val = {s = 0x0, len = 0}, r2_val = {s = 0x0, len = 0}, gr_val = {s = 0x0, len = 0},
u_name = {{s = 0x0, len = 0}, {s = 0x0, len = 0}, {s = 0x0, len = 0}, {s = 0x0, len = 0}, {s = 0x0, len = 0}, {
s = 0x0, len = 0}, {s = 0x0, len = 0}, {s = 0x0, len = 0}, {s = 0x0, len = 0}, {s = 0x0, len = 0}}, u_val = {{
s = 0x0, len = 0}, {s = 0x0, len = 0}, {s = 0x0, len = 0}, {s = 0x0, len = 0}, {s = 0x0, len = 0}, {s = 0x0,
len = 0}, {s = 0x0, len = 0}, {s = 0x0, len = 0}, {s = 0x0, len = 0}, {s = 0x0, len = 0}}, u_params_no = 0}
uri = {s = 0x55ffce3f62b0 "sip:solarbranka@sip2sip.info", len = 28}
i = 0
subs = 0x7fbb256c8e00
subs_copy = 0x55ffce3bc2f0
__FUNCTION__ = "mi_update_subscriptions"
#4 0x000055ffcc1f76e0 in handle_mi_request (req=req@entry=0x7ffde7f595d0, cmd=cmd@entry=0x55ffce3b5ad0,
async_hdl=async_hdl@entry=0x0) at mi/mi.c:407
resp = <optimized out>
cmd_recipe = 0x7fbb1fa21120 <mi_cmds+32>
cmd_params = {item = 0x55ffce31f2f0, list = 0x7fbb1fa21128 <mi_cmds+40>}
is_ambiguous = 0
pos_params = <optimized out>
__FUNCTION__ = "handle_mi_request"
#5 0x00007fbb224e3e6b in mi_datagram_server (rx_sock=242, tx_sock=243) at datagram_fnc.c:512
ret = <optimized out>
req_method = 0x55ffce3aaa90 "rls_update_subscriptions"
request = {req_obj = 0x55ffce346660, id = 0x55ffce3a3e50, method = 0x55ffce2fa0b0, params = 0x55ffce31f2f0,
invalid = 0}
response = <optimized out>
async_hdl = 0x0
cmd = 0x55ffce3b5ad0
print_buf = {
s = 0x55ffce462d80 "{\"params\": [\"sip:solarbranka@sip2sip.info\"], \"jsonrpc\": \"2.0\", \"method\": \"rls_update_subscriptions\", \"id\": \"82f884c0\"}", len = 47}
__FUNCTION__ = "mi_datagram_server"
#6 0x00007fbb224e62f0 in datagram_process (rank=<optimized out>) at mi_datagram.c:332
__FUNCTION__ = "datagram_process"
#7 0x000055ffcc151950 in start_module_procs () at sr_module.c:807
m = 0x55ffce209910
n = 0
l = 0
x = <optimized out>
__FUNCTION__ = "start_module_procs"
#8 0x000055ffcc0b2738 in main_loop () at main.c:777
startup_done = 0x0
last_check = 0
rc = <optimized out>
chd_rank = 0
startup_done = <optimized out>
last_check = <optimized out>
rc = <optimized out>
__FUNCTION__ = "main_loop"
#9 main (argc=<optimized out>, argv=<optimized out>) at main.c:1483
c = <optimized out>
r = 0
tmp = 0x7ffde7f5ae88 ""
tmp_len = <optimized out>
port = <optimized out>
proto = <optimized out>
protos_no = <optimized out>
options = 0x55ffcc25ded0 "f:cCm:M:b:l:n:N:rRvdDFEVhw:t:u:g:p:P:G:W:o:a:k:s:"
seed = 2771014366
rfd = <optimized out>
__FUNCTION__ = "main"

Event Timeline

tijmen created this object with visibility "Public (No Login Required)".