root@sip-thor-node-01:/home/agp/work/new_packages# gdb opensips /cores/core.29486.opensips.1593519030 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 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: . Find the GDB manual and other documentation resources online at: . 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/ec/ba126bc74f56c25738d818251c0e5a6b9a4020.debug...done. done. [New LWP 29486] [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 Q_MALLOC_DBG -m 1536'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007efde4b5ce2c in list_remove (list=0x55a9f050c010, strng=...) at ../pua/uri_list.h:77 77 ../pua/uri_list.h: No such file or directory. (gdb) bt full #0 0x00007efde4b5ce2c in list_remove (list=0x55a9f050c010, strng=...) at ../pua/uri_list.h:77 cmp = -1 p = 0x55a9f050c010 cmp = p = __FUNCTION__ = "list_remove" p = q = #1 resource_subscriptions (subs=subs@entry=0x55a9f06a9350, rl_node=) at subscribe.c:918 s = {id = {s = 0x55a9f066b500 "JW-BWQuvIBR3lEIlBV-KF3ik4OZhlctA;zaLB0Ha-8BkW-cyPApBbCYM-jgWFj7q2;4c1b-0b7b69775e81515d3fd65f4a2a738c83", len = 103}, pres_uri = 0x7ffe13c116c0, to_uri = {s = 0x0, len = 0}, watcher_uri = 0x7ffe13c12530, contact = 0x7efde4b72420 , remote_target = 0x0, outbound_proxy = 0x0, event = 1, extra_headers = 0x7efde4b71f50 , expires = 362, source_flag = 512, internal_update_flag = 0, flag = 0, cb_param = 0x0} wuri = {s = 0x55a9f079efd0 "sip:tijmen@ag-projects.com", len = 26} did_str = {s = 0x55a9f066b500 "JW-BWQuvIBR3lEIlBV-KF3ik4OZhlctA;zaLB0Ha-8BkW-cyPApBbCYM-jgWFj7q2;4c1b-0b7b69775e81515d3fd65f4a2a738c83", len = 103} tmp_str = 0x55a9f0705560 cont_no = 60 ehdr = { s = 0x7efde4b6c1d0 "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 = 0x55a9f072a8c0 rls_subs_list = 0x55a9f050c010 params = {0x7ffe13c12550, 0x7ffe13c12520} __FUNCTION__ = "resource_subscriptions" #2 0x00007efde4b55f0c in update_subs (subs=0x55a9f06a9350) at rls.c:841 doc = 0x55a9f07301f0 service_node = 0x55a9f05be130 doc = service_node = __FUNCTION__ = "update_subs" #3 mi_update_subscriptions (params=, async_hdl=) at rls.c:911 parsed_uri = {user = {s = 0x55a9f078d0f4 "tijmen@ag-projects.com", len = 6}, passwd = {s = 0x0, len = 0}, host = {s = 0x55a9f078d0fb "ag-projects.com", len = 15}, 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}, pn_provider = {s = 0x0, len = 0}, pn_prid = {s = 0x0, len = 0}, pn_param = {s = 0x0, len = 0}, pn_purr = {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}, pn_provider_val = {s = 0x0, len = 0}, pn_prid_val = {s = 0x0, len = 0}, pn_param_val = {s = 0x0, len = 0}, pn_purr_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 = 0x55a9f078d0f0 "sip:tijmen@ag-projects.com", len = 26} i = 0 subs = 0x7efdea163ff8 subs_copy = 0x55a9f06a9350 __FUNCTION__ = "mi_update_subscriptions" #4 0x000055a9ef115b20 in handle_mi_request (req=req@entry=0x7ffe13c12b50, cmd=cmd@entry=0x55a9f0749a90, async_hdl=async_hdl@entry=0x0) at mi/mi.c:407 resp = cmd_recipe = 0x7efde4b71120 cmd_params = {item = 0x55a9f0738650, list = 0x7efde4b71128 } is_ambiguous = 0 pos_params = __FUNCTION__ = "handle_mi_request" #5 0x00007efe48cebe6b in mi_datagram_server (rx_sock=234, tx_sock=235) at datagram_fnc.c:512 ret = req_method = 0x55a9f07a8350 "rls_update_subscriptions" request = {req_obj = 0x55a9f05fdc00, id = 0x55a9f060e240, method = 0x55a9f05f9e50, params = 0x55a9f0738650, invalid = 0} response = async_hdl = 0x0 cmd = 0x55a9f0749a90 print_buf = {s = 0x55a9f07fb5a0 "{\"params\": [\"sip:tijmen@ag-projects.com\"], \"jsonrpc\": \"2.0\", \"method\": \"rls_update_subscriptions\", \"id\": \"feaf44a3\"}", len = 47} __FUNCTION__ = "mi_datagram_server" #6 0x00007efe48cee2f0 in datagram_process (rank=) at mi_datagram.c:332 __FUNCTION__ = "datagram_process" #7 0x000055a9ef0669e0 in start_module_procs () at sr_module.c:814 m = 0x55a9f0554990 n = 0 l = 0 x = __FUNCTION__ = "start_module_procs" #8 0x000055a9eefc8669 in main_loop () at main.c:780 startup_done = 0x0 last_check = 0 rc = chd_rank = 0 startup_done = last_check = rc = __FUNCTION__ = "main_loop" #9 main (argc=, argv=) at main.c:1488 c = r = 0 tmp = 0x7ffe13c14e86 "" tmp_len = port = proto = protos_no = options = 0x55a9ef17ba30 "f:cCm:M:b:l:n:N:rRvdDFEVhw:t:u:g:p:P:G:W:o:a:k:s:" seed = 2703854795 rfd = __FUNCTION__ = "main"