gdb -batch -n -ex 'set pagination off' -ex run -ex bt -ex 'thread apply all bt full' --args osmo-sip-connector -c ~/.osmocom/osmo-sip-connector.cfg [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". <0004> telnet_interface.c:104 telnet at 127.0.0.1 4256 <0001> mncc.c:879 Scheduling MNCC connect su_source_port_create() returns 0x5555557bf4a0 sres: nameserver fe80::1%wlan0: invalid address <0001> mncc.c:786 Reconnected to /tmp/bsc_mncc <0001> mncc.c:699 Got hello message version 5 Program received signal SIGSEGV, Segmentation fault. strlen () at ../sysdeps/x86_64/strlen.S:106 106 ../sysdeps/x86_64/strlen.S: No such file or directory. #0 strlen () at ../sysdeps/x86_64/strlen.S:106 #1 0x00007ffff79660e6 in url_xtra (url=url@entry=0x5555557c88a0) at url.c:1048 #2 0x00007ffff792281a in sip_request_create (home=home@entry=0x5555557c8290, method=method@entry=sip_method_invite, name=0x7ffff79874cf "INVITE", name@entry=0x7ffff7984ae3 "INVITE", uri=uri@entry=0x5555557c88a0, version=version@entry=0x0) at sip_basic.c:225 #3 0x00007ffff78da026 in nta_msg_request_complete (msg=msg@entry=0x5555557c8290, leg=leg@entry=0x5555557c7de0, method=method@entry=sip_method_invite, method_name=method_name@entry=0x7ffff7984ae3 "INVITE", request_uri=0x5555557c88a0, request_uri@entry=0x0) at nta.c:3890 #4 0x00007ffff78fcc11 in nua_client_request_sendmsg (cr=cr@entry=0x5555557c7170) at nua_client.c:803 #5 0x00007ffff78fdc39 in nua_client_request_try (cr=0x5555557c7170) at nua_client.c:708 #6 0x00007ffff78fba23 in nua_client_init_request0 (cr=0x5555557c7170) at nua_client.c:605 #7 nua_client_init_request (cr=0x5555557c7170) at nua_client.c:442 #8 0x00007ffff78fc0fe in nua_client_create (nh=nh@entry=0x5555557c6d60, event=event@entry=31, methods=methods@entry=0x7ffff7bbdb40 , tags=tags@entry=0x5555557c73c0) at nua_client.c:199 #9 0x00007ffff7911971 in nua_stack_invite (nua=nua@entry=0x5555557c0800, nh=nh@entry=0x5555557c6d60, e=e@entry=nua_r_invite, tags=tags@entry=0x5555557c73c0) at nua_session.c:705 #10 0x00007ffff78f8a63 in nua_stack_signal (nua=0x5555557c0800, msg=, ee=0x5555557c7398) at nua_stack.c:582 #11 0x00007ffff79459a4 in su_base_port_execute_msgs (queue=0x0) at su_base_port.c:280 #12 0x00007ffff7945cd1 in su_base_port_getmsgs (self=self@entry=0x5555557bf4a0) at su_base_port.c:202 #13 0x00007ffff7bd6c95 in su_source_dispatch (gs=0x5555557bf440, callback=0x0, user_data=0x0) at su_source.c:459 #14 0x00007ffff7583f67 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #15 0x00007ffff75841a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #16 0x00007ffff75844b2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #17 0x000055555555d19f in main (argc=3, argv=0x7fffffffe198) at main.c:164 Thread 1 (Thread 0x7ffff7fb5700 (LWP 4761)): #0 strlen () at ../sysdeps/x86_64/strlen.S:106 No locals. #1 0x00007ffff79660e6 in url_xtra (url=url@entry=0x5555557c88a0) at url.c:1048 len_scheme = xtra = #2 0x00007ffff792281a in sip_request_create (home=home@entry=0x5555557c8290, method=method@entry=sip_method_invite, name=0x7ffff79874cf "INVITE", name@entry=0x7ffff7984ae3 "INVITE", uri=uri@entry=0x5555557c88a0, version=version@entry=0x0) at sip_basic.c:225 xtra = rq = __PRETTY_FUNCTION__ = "sip_request_create" #3 0x00007ffff78da026 in nta_msg_request_complete (msg=msg@entry=0x5555557c8290, leg=leg@entry=0x5555557c7de0, method=method@entry=sip_method_invite, method_name=method_name@entry=0x7ffff7984ae3 "INVITE", request_uri=0x5555557c88a0, request_uri@entry=0x0) at nta.c:3890 rq = 0x0 use_headers = 1 home = 0x5555557c8290 to = seq = reg_url = {{url_pad = "\000\000\000\000\000", url_type = 0 '\000', url_root = 0 '\000', url_scheme = 0x0, url_user = 0x0, url_password = 0x0, url_host = 0x0, url_port = 0x0, url_path = 0x0, url_params = 0x0, url_headers = 0x0, url_fragment = 0x0}} original = #4 0x00007ffff78fcc11 in nua_client_request_sendmsg (cr=cr@entry=0x5555557c7170) at nua_client.c:803 nh = 0x5555557c6d60 ds = 0x5555557c6dc8 method = sip_method_invite name = 0x7ffff7984ae3 "INVITE" url = 0x0 leg = 0x5555557c7de0 msg = 0x5555557c8290 error = __PRETTY_FUNCTION__ = "nua_client_request_sendmsg" #5 0x00007ffff78fdc39 in nua_client_request_try (cr=0x5555557c7170) at nua_client.c:708 error = #6 0x00007ffff78fba23 in nua_client_init_request0 (cr=0x5555557c7170) at nua_client.c:605 nh = msg = 0x5555557c7500 url = has_contact = nua = 0x5555557c0800 ds = t = 0x0 error = #7 nua_client_init_request (cr=0x5555557c7170) at nua_client.c:442 No locals. #8 0x00007ffff78fc0fe in nua_client_create (nh=nh@entry=0x5555557c6d60, event=event@entry=31, methods=methods@entry=0x7ffff7bbdb40 , tags=tags@entry=0x5555557c73c0) at nua_client.c:199 home = 0x5555557c6d60 cr = method = name = #9 0x00007ffff7911971 in nua_stack_invite (nua=nua@entry=0x5555557c0800, nh=nh@entry=0x5555557c6d60, e=e@entry=nua_r_invite, tags=tags@entry=0x5555557c73c0) at nua_session.c:705 No locals. #10 0x00007ffff78f8a63 in nua_stack_signal (nua=0x5555557c0800, msg=, ee=0x5555557c7398) at nua_stack.c:582 e = 0x5555557c73a0 nh = 0x5555557c6d60 tags = 0x5555557c73c0 event = nua_r_invite error = 0 #11 0x00007ffff79459a4 in su_base_port_execute_msgs (queue=0x0) at su_base_port.c:280 root = f = msg = 0x0 n = 0 #12 0x00007ffff7945cd1 in su_base_port_getmsgs (self=self@entry=0x5555557bf4a0) at su_base_port.c:202 queue = #13 0x00007ffff7bd6c95 in su_source_dispatch (gs=0x5555557bf440, callback=0x0, user_data=0x0) at su_source.c:459 ss = 0x5555557bf440 self = 0x5555557bf4a0 __func__ = "su_source_dispatch" #14 0x00007ffff7583f67 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 No symbol table info available. #15 0x00007ffff75841a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 No symbol table info available. #16 0x00007ffff75844b2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 No symbol table info available. #17 0x000055555555d19f in main (argc=3, argv=0x7fffffffe198) at main.c:164 rc = 0 loop = 0x5555557c6780