> Can you give the local variables in frame 1:
I assume you are talking about the last crash i mentioned with corruption of
linked list:
```
(gdb) frame 1
#1 0x00007f8f2a2ab511 in update_dialog_dbinfo_unsafe (cell=0x7f8f1634b738) at
dlg_db_handler.c:718
718 if (update_dialog_vars_dbinfo(cell, var) != 0)
(gdb) info locals
i = 32764
var = 0x3433
jdoc = {root = 0x0, flags = 1, buf = {s = 0x7ffcbe7360c4 "\001", len =
4283776}, malloc_fn = 0xbe7360e0, free_fn = 0x400}
values = {{type = DB1_INT, nul = 32764, free = 764441280, val = {int_val =
762032144, ll_val = 140252919083024, double_val = 6.9294149047874345e-310,
time_val = 140252919083024,
string_val = 0x7f8f2d6bb010 "\001", str_val = {s = 0x7f8f2d6bb010 "\001",
len = 762032584}, blob_val = {s = 0x7f8f2d6bb010 "\001", len = 762032584},
bitmap_val = 762032144}}, {type = 763656408,
nul = 7, free = 764441336, val = {int_val = -1099735504, ll_val =
140723503717936, double_val = 6.9526648749445109e-310, time_val =
140723503717936, string_val = 0x7ffcbe735e30 "\220^s\276\374\177",
str_val = {s = 0x7ffcbe735e30 "\220^s\276\374\177", len = 6412890},
blob_val = {s = 0x7ffcbe735e30 "\220^s\276\374\177", len = 6412890}, bitmap_val
= 3195231792}}, {type = 876032052,
nul = 892743988, free = 763656464, val = {int_val = 4283776, ll_val =
4283776, double_val = 2.1164665560792318e-317, time_val = 4283776,
string_val = 0x415d80 "1\355I\211\321^H\211\342H\203\344\360PTI\307\300",
str_val = {s = 0x415d80 "1\355I\211\321^H\211\342H\203\344\360PTI\307\300", len
= -1099726096}, blob_val = {
s = 0x415d80 "1\355I\211\321^H\211\342H\203\344\360PTI\307\300", len =
-1099726096}, bitmap_val = 4283776}}, {type = DB1_INT, nul = 0, free = 0, val =
{int_val = 24, ll_val = 206158430232,
double_val = 1.0185579797819065e-312, time_val = 206158430232, string_val
= 0x3000000018 <Address 0x3000000018 out of bounds>, str_val = {s =
0x3000000018 <Address 0x3000000018 out of bounds>,
len = -1099734784}, blob_val = {s = 0x3000000018 <Address 0x3000000018
out of bounds>, len = -1099734784}, bitmap_val = 24}}, {type = 3195232320, nul
= 32764, free = -1, val = {
int_val = -1099735360, ll_val = 140723503718080, double_val =
6.9526648749516255e-310, time_val = 140723503718080, string_val =
0x7ffcbe735ec0 "\001\200\255\373\374\177", str_val = {
s = 0x7ffcbe735ec0 "\001\200\255\373\374\177", len = 5520532}, blob_val
= {s = 0x7ffcbe735ec0 "\001\200\255\373\374\177", len = 5520532}, bitmap_val =
3195231936}}, {type = DB1_BIGINT, nul = 1,
free = 762032144, val = {int_val = 764441280, ll_val = 140252921492160,
double_val = 6.9294150238145678e-310, time_val = 140252921492160, string_val =
0x7f8f2d9072c0 "8", str_val = {
s = 0x7f8f2d9072c0 "8", len = 764441336}, blob_val = {s =
0x7f8f2d9072c0 "8", len = 764441336}, bitmap_val = 764441280}}, {type =
DB1_DOUBLE, nul = 0, free = 764441336, val = {
int_val = -1099735192, ll_val = 20375101288, double_val =
1.0066637576936534e-313, time_val = 20375101288, string_val = 0x4be735f68
<Address 0x4be735f68 out of bounds>, str_val = {
s = 0x4be735f68 <Address 0x4be735f68 out of bounds>, len = 0}, blob_val
= {s = 0x4be735f68 <Address 0x4be735f68 out of bounds>, len = 0}, bitmap_val =
3195232104}}, {type = 762988240,
nul = 32655, free = -1099733856, val = {int_val = 764431176, ll_val =
43714104136, double_val = 2.1597637092324347e-313, time_val = 43714104136,
string_val = 0xa2d904b48 <Address 0xa2d904b48 out of bounds>, str_val =
{s = 0xa2d904b48 <Address 0xa2d904b48 out of bounds>, len = -1099727920},
blob_val = {
s = 0xa2d904b48 <Address 0xa2d904b48 out of bounds>, len =
-1099727920}, bitmap_val = 764431176}}, {type = 3195231888, nul = 32764, free =
741846319, val = {int_val = 763002856,
ll_val = 140252920053736, double_val = 6.9294149527469796e-310, time_val
= 140252920053736, string_val = 0x7f8f2d7a7fe8 " ", str_val = {s =
0x7f8f2d7a7fe8 " ", len = 0}, blob_val = {
s = 0x7f8f2d7a7fe8 " ", len = 0}, bitmap_val = 763002856}}, {type =
DB1_INT, nul = 0, free = 746368817, val = {int_val = -1099726096, ll_val =
140723503727344,
double_val = 6.9526648754093279e-310, time_val = 140723503727344,
string_val = 0x7ffcbe7382f0 "\a", str_val = {s = 0x7ffcbe7382f0 "\a", len = 0},
blob_val = {s = 0x7ffcbe7382f0 "\a", len = 0},
bitmap_val = 3195241200}}, {type = 4283776, nul = 116, free = 707819752,
val = {int_val = 707816553, ll_val = 17887685737, double_val =
8.8376910062561592e-314, time_val = 17887685737,
string_val = 0x42a306c69 <Address 0x42a306c69 out of bounds>, str_val =
{s = 0x42a306c69 <Address 0x42a306c69 out of bounds>, len = 7702785}, blob_val
= {
s = 0x42a306c69 <Address 0x42a306c69 out of bounds>, len = 7702785},
bitmap_val = 707816553}}, {type = 372744104, nul = 32655, free = 369111040, val
= {int_val = 0, ll_val = 0, double_val = 0,
time_val = 0, string_val = 0x0, str_val = {s = 0x0, len = 372744104},
blob_val = {s = 0x0, len = 372744104}, bitmap_val = 0}}, {type = 3195232112,
nul = 32764, free = 6406847, val = {
int_val = -72515583, ll_val = 140724530937857, double_val =
6.9527156263518799e-310, time_val = 140724530937857, string_val =
0x7ffcfbad8001 <Address 0x7ffcfbad8001 out of bounds>, str_val = {
s = 0x7ffcfbad8001 <Address 0x7ffcfbad8001 out of bounds>, len =
719313408}, blob_val = {s = 0x7ffcfbad8001 <Address 0x7ffcfbad8001 out of
bounds>, len = 719313408}, bitmap_val = 4222451713}}, {
type = 719313408, nul = 32655, free = 719313408, val = {int_val =
719313408, ll_val = 140252876364288, double_val = 6.9294127942014453e-310,
time_val = 140252876364288,
string_val = 0x7f8f2adfda00 "1440744243.165", str_val = {s =
0x7f8f2adfda00 "1440744243.165", len = 719313422}, blob_val = {s =
0x7f8f2adfda00 "1440744243.165", len = 719313422},
bitmap_val = 719313408}}, {type = 719313663, nul = 32655, free = 1, val =
{int_val = 369145008, ll_val = 140252526195888, double_val =
6.9293954935837754e-310, time_val = 140252526195888,
string_val = 0x7f8f1600b4b0 "", str_val = {s = 0x7f8f1600b4b0 "", len =
0}, blob_val = {s = 0x7f8f1600b4b0 "", len = 0}, bitmap_val = 369145008}},
{type = 707819752, nul = 32655, free = 707816553,
val = {int_val = 16, ll_val = 4294967312, double_val =
2.1219957988703226e-314, time_val = 4294967312, string_val = 0x100000010
<Address 0x100000010 out of bounds>, str_val = {
s = 0x100000010 <Address 0x100000010 out of bounds>, len = 369145008},
blob_val = {s = 0x100000010 <Address 0x100000010 out of bounds>, len =
369145008}, bitmap_val = 16}}, {type = 3195232112,
nul = 32764, free = 707692427, val = {int_val = 2, ll_val =
140252157050882, double_val = 6.9293772553971956e-310, time_val =
140252157050882,
string_val = 0x7f8f00000002 <Address 0x7f8f00000002 out of bounds>,
str_val = {s = 0x7f8f00000002 <Address 0x7f8f00000002 out of bounds>, len =
369145008}, blob_val = {
s = 0x7f8f00000002 <Address 0x7f8f00000002 out of bounds>, len =
369145008}, bitmap_val = 2}}, {type = 3195232528, nul = 32764, free =
369145008, val = {int_val = 4283776, ll_val = 4283776,
double_val = 2.1164665560792318e-317, time_val = 4283776, string_val =
0x415d80 "1\355I\211\321^H\211\342H\203\344\360PTI\307\300", str_val = {
s = 0x415d80 "1\355I\211\321^H\211\342H\203\344\360PTI\307\300", len =
-1099726096}, blob_val = {s = 0x415d80
"1\355I\211\321^H\211\342H\203\344\360PTI\307\300", len = -1099726096},
bitmap_val = 4283776}}, {type = 3195232192, nul = 32764, free =
707692599, val = {int_val = -1, ll_val = 502511173631, double_val =
2.482735075424428e-312, time_val = 502511173631,
string_val = 0x74ffffffff <Address 0x74ffffffff out of bounds>, str_val =
{s = 0x74ffffffff <Address 0x74ffffffff out of bounds>, len = 707819752},
blob_val = {
s = 0x74ffffffff <Address 0x74ffffffff out of bounds>, len =
707819752}, bitmap_val = 4294967295}}, {type = 707816553, nul = 32655, free =
-1111960512, val = {int_val = 0, ll_val = 0,
double_val = 0, time_val = 0, string_val = 0x0, str_val = {s = 0x0, len =
372744160}, blob_val = {s = 0x0, len = 372744160}, bitmap_val = 0}}, {type =
DB1_INT, nul = 0, free = 14, val = {
int_val = -1099734992, ll_val = 140723503718448, double_val =
6.9526648749698071e-310, time_val = 140723503718448, string_val =
0x7ffcbe736030 "\340`s\276", str_val = {
s = 0x7ffcbe736030 "\340`s\276", len = 707698866}, blob_val = {s =
0x7ffcbe736030 "\340`s\276", len = 707698866}, bitmap_val = 3195232304}}, {type
= 168587263, nul = 62914568, free = 373266808,
val = {int_val = 0, ll_val = 0, double_val = 0, time_val = 0, string_val =
0x0, str_val = {s = 0x0, len = -1099734992}, blob_val = {s = 0x0, len =
-1099734992}, bitmap_val = 0}}, {type = 3195232656,
nul = 32764, free = 719239008, val = {int_val = 4283776, ll_val = 4283776,
double_val = 2.1164665560792318e-317, time_val = 4283776,
string_val = 0x415d80 "1\355I\211\321^H\211\342H\203\344\360PTI\307\300",
str_val = {s = 0x415d80 "1\355I\211\321^H\211\342H\203\344\360PTI\307\300", len
= 385987040}, blob_val = {
s = 0x415d80 "1\355I\211\321^H\211\342H\203\344\360PTI\307\300", len =
385987040}, bitmap_val = 4283776}}}
insert_keys = {0x7f8f2a50cdc0, 0x7f8f2a50cdb0, 0x7f8f2a50cd60, 0x7f8f2a50cd70,
0x7f8f2a50cd80, 0x7f8f2a50cd90, 0x7f8f2a50cda0, 0x7f8f2a50ce70, 0x7f8f2a50ce60,
0x7f8f2a50cde0, 0x7f8f2a50cdd0,
0x7f8f2a50cdf0, 0x7f8f2a50ce10, 0x7f8f2a50ce00, 0x7f8f2a50ce30,
0x7f8f2a50ce20, 0x7f8f2a50ce50, 0x7f8f2a50ce40, 0x7f8f2a50ce80, 0x7f8f2a50cea0,
0x7f8f2a50ceb0, 0x7f8f2a50cec0, 0x7f8f2a50ce90}
__FUNCTION__ = "update_dialog_dbinfo_unsafe"
```
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/301#issuecomment-135744623
_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev