frame 0
(gdb) frame 0
#0 0x00007faef83f542d in update_dialog_vars_dbinfo (cell=0x7faf01fc7418, var=0x7574617473706973) at dlg_db_handler.c:755
755 SET_STR_VALUE(values+2, var->key);
p *cell
(gdb) p*cell
$1 = {ref = 2, next = 0x0, prev = 0x0, h_id = 6180, h_entry = 49, state = 5, lifetime = 10800, init_ts = 1601721402, start_ts = 0, end_ts = 1601721449, dflags = 1664, iflags = 0, sflags = 0, toroute = 0, toroute_name = {s = 0x0, len = 0}, from_rr_nb = 0, tl = {next = 0x0,
prev = 0x0, timeout = 0}, callid = {s = 0x7faf01fc7588 "5092779f03b9d32f7e14188413c59bb3@comp.net", len = 55}, from_uri = {s = 0x7faf01fc75c0 "sip:012345689@comp.net", len = 37}, to_uri = {s = 0x7faf01fc75e6 "sip:101@192.168.0.10:5060",
len = 31}, req_uri = {s = 0x7faf01fc7606 "sip:101@172.16.207.148:17401", len = 35}, tag = {{s = 0x7faefca02058 "as17bdc2ca9\r\nExp\300\300\300\300", len = 10}, {s = 0x0, len = 0}}, cseq = {{s = 0x7faefca020d0 "102ontext: 1004\r\n\r\n", len = 3}, {s = 0x0,
len = 0}}, route_set = {{s = 0x7faf027f60d8 "1;nat=ye\300\300\300\300", len = 0}, {s = 0x0, len = 0}}, contact = {{s = 0x7faf027f6050 "sip:012345689@192.168.0.138:5060a\300\300\300\300", len = 31}, {s = 0x0, len = 0}}, bind_addr = {0x7faf1efed2f8, 0x0}, cbs = {first = 0x0,
types = 0}, profile_links = 0x0, vars = 0x7faefca01dc8, ka_src_counter = 0, ka_dst_counter = 0}
list
(gdb) list
750 return -1;
751
752 VAL_TYPE(values) = VAL_TYPE(values+1) = DB1_INT;
753 VAL_TYPE(values+2) = VAL_TYPE(values+3) = DB1_STR;
754 VAL_NULL(values) = VAL_NULL(values+1) = VAL_NULL(values+2) = VAL_NULL(values+3) = 0;
755 SET_STR_VALUE(values+2, var->key);
756
757 VAL_INT(values) = cell->h_entry;
758 VAL_INT(values+1) = cell->h_id;
759
info locals
(gdb) info locals
cfg_stream = 0x1ca1010
c = -1
r = 0
tmp = 0x7fffef6fbf11 ""
tmp_len = 0
port = 0
proto = 0
ahost = 0x0
aport = 0
options = 0x7d25d8 ":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O
ret = -1
seed = 724681138
rfd = 4
debug_save = 0
debug_flag = 0
dont_fork_cnt = 0
n_lst = 0xff000000ff
p = 0x0
st = {st_dev = 19, st_ino = 10887, st_nlink = 2, st_mode = 16872, st_uid = 1001, st_gid = 1001, __pad0 = 0, st_rdev = 0, st_size = 40, st_blksize = 4096, st_blocks = 0, st_atim = {tv_sec = 1600816328, tv_nsec = 343120128}, st_mtim = {tv_sec = 1601587658, tv_nsec = 718711820},
st_ctim = {tv_sec = 1601587658, tv_nsec = 718711820}, __unused = {0, 0, 0}}
tbuf = "\000\000\000\000\000\000\000\000\020\233o\357\377\177\000\000\210;\366\267\035\177\000\000\350\003\367\267\035\177\000\000 \234o\357\377\177\000\000\020\234o\357\377\177\000\000.", '\000' <repeats 23 times>, "\320\372Ÿ\035\177\000\000\310\364Ÿ\035\177\000\000\024\016A\000\000\000\000\000\320\017\367\267\035\177\000\000\360@@\000\000\000\000\000\000\000\000\000\001\000\000\000D\b\000\000\001", '\000' <repeats 11 times>, "\330\234o\357\377\177\000\000\260\234o\357\377\177\000\000\001\000\000\000\000\000\000\000\320\372Ÿ\035\177\000\000\250\024Ǹ\035\177\000\000P\021Ǹ\035\177\000\000\217\200\245\270\035\177\000\000\000\000\000\000\000\000\000\000\320\372Ÿ\035\177\000\000"...
option_index = 0
long_options = {{name = 0x7d47cf "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x7cfdd4 "version", has_arg = 0, flag = 0x0, val = 118}, {name = 0x7d47d4 "alias", has_arg = 1, flag = 0x0, val = 1024}, {name = 0x7d47da "subst", has_arg = 1, flag = 0x0, val = 1025}, {
name = 0x7d47e0 "substdef", has_arg = 1, flag = 0x0, val = 1026}, {name = 0x7d47e9 "substdefs", has_arg = 1, flag = 0x0, val = 1027}, {name = 0x7d47f3 "server-id", has_arg = 1, flag = 0x0, val = 1028}, {name = 0x7d47fd "loadmodule", has_arg = 1, flag = 0x0, val = 1029}, {
name = 0x7d4808 "modparam", has_arg = 1, flag = 0x0, val = 1030}, {name = 0x7d4811 "log-engine", has_arg = 1, flag = 0x0, val = 1031}, {name = 0x7d481c "debug", has_arg = 1, flag = 0x0, val = 1032}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
FUNCTION = "main"
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.