Hi Dan
(gdb) frame 0
#0 0x00007f3b39dfca38 in usrloc_dmq_send_contact (ptr=0x7f3b3b34bf28, aor=..., action=1, node=0x7f3b3b319868) at usrloc_sync.c:749
749 srjson_AddStrToObject(&jdoc, jdoc.root, "sock", ptr->sock->sock_str.s, ptr->sock->sock_str.len);
(gdb) list
744 srjson_AddStrToObject(&jdoc, jdoc.root, "aor", aor.s, aor.len);
745 srjson_AddStrToObject(&jdoc, jdoc.root, "ruid", ptr->ruid.s, ptr->ruid.len);
746 srjson_AddStrToObject(&jdoc, jdoc.root, "c", ptr->c.s, ptr->c.len);
747 srjson_AddStrToObject(&jdoc, jdoc.root, "received", ptr->received.s, ptr->received.len);
748 if (_dmq_usrloc_replicate_socket_info==1)
749 srjson_AddStrToObject(&jdoc, jdoc.root, "sock", ptr->sock->sock_str.s, ptr->sock->sock_str.len);
750 srjson_AddStrToObject(&jdoc, jdoc.root, "path", ptr->path.s, ptr->path.len);
751 srjson_AddStrToObject(&jdoc, jdoc.root, "callid", ptr->callid.s, ptr->callid.len);
752 srjson_AddStrToObject(&jdoc, jdoc.root, "user_agent", ptr->user_agent.s, ptr->user_agent.len);
753 srjson_AddStrToObject(&jdoc, jdoc.root, "instance", ptr->instance.s, ptr->instance.len);
(gdb) p *ptr
$1 = {domain = 0x7f3b3b2f3660, ruid = {s = 0x7f3b3b346e20 "uloc-5f437d69-5ce9-eb", len = 21}, aor = 0x7f3b3b34bdf8, c = {s = 0x7f3b3b346c80 "sip:konsultant@10.14.5.93:5060", len = 30}, received = {s = 0x0, len = 0}, path = {s = 0x0, len = 0}, expires = 1598259464, q = -1, callid = {s = 0x7f3b3b346d08 "772b73866b2cee3801ee5a017d1e9b3e@10.14.5.93;;\177",
len = 43}, cseq = 126, state = CS_NEW, flags = 0, cflags = 0, user_agent = {s = 0x7f3b3b346da0 "CORE__CONF_2.648_G729_", len = 22}, uniq = {s = 0x0, len = 0}, sock = 0x0, last_modified = 1598259346, last_keepalive = 1598259346, ka_roundtrip = 0, methods = 4294967295, instance = {s = 0x0, len = 0}, reg_id = 0, server_id = 0, tcpconn_id = -1, keepalive = 0,
xavp = 0x0, next = 0x0, prev = 0x0}
(gdb) p*ptr->sock
Cannot access memory at address 0x0
(gdb)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.