This is the output of the core file:
(gdb) bt full
#0 do_action (h=<value optimized out>, a=0x485f3832315f4d43, msg=<value
optimized out>) at action.c:340
ret = <value optimized out>
v = <value optimized out>
dst = {send_sock = 0x1bca1e0, to = {s = {sa_family = 0, sa_data =
"\000\000\003\000\000\000\000\000\000\000\000\000\000"}, sin = {
sin_family = 0, sin_port = 0, sin_addr = {s_addr = 3},
sin_zero = "\000\000\000\000\000\000\000"}, sin6 = {sin6_family = 0,
sin6_port = 0, sin6_flowinfo = 3, sin6_addr = {__in6_u =
{__u6_addr8 = '\000' <repeats 15 times>, __u6_addr16 = {0, 0, 0, 0,
0, 0, 0, 0}, __u6_addr32 = {0, 0, 0, 0}}},
sin6_scope_id = 0}}, id = 0, proto = 0 '\000', send_flags = {f = 0
'\000',
blst_imask = 0 '\000'}}
tmp = <value optimized out>
new_uri = <value optimized out>
end = <value optimized out>
crt = <value optimized out>
len = <value optimized out>
user = <value optimized out>
uri = {user = {s = 0x7f5392d0de40 "", len = 4}, passwd = {s = 0x0,
len = 0}, host = {s = 0x7f5392617aa0 "\230\216^\222S\177",
len = -1834849744}, port = {s = 0x4 <Address 0x4 out of
bounds>, len = -1831805376}, params = {
s = 0x7fffc8687450 "\250\v\213", len = 0}, sip_params = {s =
0x0, len = 0}, headers = {s = 0x1bc6510 "\004",
len = -1834849972}, port_no = 0, proto = 0, type = ERROR_URI_T,
flags = 2460386843, transport = {
s = 0x7f538994e050 "%u.%u.%u.%u.in-addr.arpa", len = 0}, ttl =
{s = 0x7fffc8687558 "CM_128_H\373\377\377\377", len = 3},
user_param = {s = 0x7fffc8687500 "", len = 0}, maddr = {s = 0x10
<Address 0x10 out of bounds>, len = 29139424}, method = {
s = 0x7f53925e8e98 "\340\241\274\001", len = -1845602791}, lr =
{s = 0x1bcac60 "", len = -1827450870}, r2 = {
s = 0x3 <Address 0x3 out of bounds>, len = 9112488}, gr = {s =
0x100000002 <Address 0x100000002 out of bounds>,
len = -932678384}, transport_val = {s = 0x0, len = 0}, ttl_val
= {s = 0x1d3764dcf <Address 0x1d3764dcf out of bounds>,
len = -932678360}, user_param_val = {s = 0xd827590 <Address
0xd827590 out of bounds>, len = 7}, maddr_val = {
s = 0x7fffc8687540 "\bzh\310\377\177", len = -932678316},
method_val = {s = 0x7f53906236a0 "\024", len = 0}, lr_val = {
s = 0x8b0ba8 "100 Giving a try\r\nVia: SIP/2.0/UDP
172.30.1.76;branch=z9hG4bK3568.03a3e98.0;i=1\r\nVia: SIP/2.0/tls
172.30.1.241:54666;rport=54666;branch=z9hG4bKPj0n0hVs50Gyl6TfXJPcSI4xeJnWZ3QUKc\r\nFrom:
\"Samuel\" <sip:s"..., len = 29117296}, r2_val = {s = 0x0,
len = 0}, gr_val = {s = 0x0, len = 0}}
next_hop = {user = {s = 0x2001400000040 <Address 0x2001400000040
out of bounds>, len = 1349779723}, passwd = {
s = 0x2fd80400a <Address 0x2fd80400a out of bounds>, len =
65556}, host = {
s = 0xffac000000000000 <Address 0xffac000000000000 out of
bounds>, len = 151002878}, port = {
s = 0xffffffffffffffff <Address 0xffffffffffffffff out of
bounds>, len = 1110}, params = {
s = 0x100007fffff0000 <Address 0x100007fffff0000 out of
bounds>, len = 0}, sip_params = {s = 0x7fffc8687607 "",
len = -1834348756}, headers = {s = 0x2000300000014 <Address
0x2000300000014 out of bounds>, len = 1349779723}, port_no = 0,
proto = 0, type = SIP_URI_T, flags = 65556, transport = {s = 0x0,
len = 16777216}, ttl = {
s = 0xffffffffffffffff <Address 0xffffffffffffffff out of
bounds>, len = -1834588776}, user_param = {
s = 0x2001400000040 <Address 0x2001400000040 out of bounds>,
len = 0}, maddr = {
s = 0x2fd80400a <Address 0x2fd80400a out of bounds>, len =
65556}, method = {s = 0x0, len = -932678912}, lr = {
s = 0xffffffff <Address 0xffffffff out of bounds>, len =
-932691472}, r2 = {s = 0x7fffc86841e8 "\020e\274\001", len = -1},
gr = {s = 0x7fffc868733c "S\177", len = 29123664}, transport_val
= {s = 0x7fffc8685210 "", len = -932691488}, ttl_val = {
s = 0x7fff00000001 <Address 0x7fff00000001 out of bounds>, len
= -932678880}, user_param_val = {
s = 0x10 <Address 0x10 out of bounds>, len = 32}, maddr_val =
{s = 0x7f5392d0de98 "\260\v\276\001", len = -1831805272},
method_val = {s = 0x7f539205204f "latin1_swedish_ci", len = 4},
lr_val = {s = 0x2c8687707 <Address 0x2c8687707 out of bounds>,
len = -1831805368}, r2_val = {s = 0x40 <Address 0x40 out of
bounds>, len = 0}, gr_val = {s = 0x0, len = -1834602969}}
u = <value optimized out>
port = <value optimized out>
i = <value optimized out>
flags = <value optimized out>
avp = <value optimized out>
st = {flags = 0, id = 0, name = {n = 0, s = {s = 0x0, len = 0}, re
= 0x0}, avp = 0x0}
sct = <value optimized out>
---Type <return> to continue, or q <return> to quit---
sjt = <value optimized out>
rve = <value optimized out>
mct = <value optimized out>
rv = <value optimized out>
rv1 = <value optimized out>
c1 = {cache_type = RV_CACHE_SELECT, val_type = RV_ACTION_ST, c =
{avp_val = {n = 3, s = {
s = 0x300000003 <Address 0x300000003 out of bounds>, len =
3}, re = 0x300000003}, pval = {rs = {
s = 0x300000003 <Address 0x300000003 out of bounds>, len =
3}, ri = 3, flags = 6}},
i2s =
"\000\000\000\000\000\000\000\000\210\242\274\001\000\000\000\000\001\000\000\001\000"}
s = {s = 0x0, len = 0}
srevp = {0x2, 0x0}
mod_f_params = {{type = NOSUBTYPE, u = {number = 0, string = 0x0,
str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0,
select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string =
0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0,
select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string =
0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0,
select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string =
0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0,
select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string =
0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0,
select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string =
0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0,
select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string =
0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0,
select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string =
0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0,
select = 0x0}}}
#1 0x000000000041e406 in run_actions (h=0x7fffc8688230, a=<value optimized
out>, msg=<value optimized out>) at action.c:1644
t = 0x485f3832315f4d43
ret = -5
mod = <value optimized out>
ms = 4294967291
#2 0x000000000041742c in do_action (h=<value optimized out>,
a=0x7f5392617b50, msg=<value optimized out>) at action.c:761
ret = -5
v = <value optimized out>
dst = {send_sock = 0x6, to = {s = {sa_family = 2, sa_data =
"\000\000\000\000\000\000P|h\310\377\177\000"}, sin = {sin_family = 2,
sin_port = 0, sin_addr = {s_addr = 0}, sin_zero =
"P|h\310\377\177\000"}, sin6 = {sin6_family = 2, sin6_port = 0,
sin6_flowinfo = 0, sin6_addr = {__in6_u = {__u6_addr8 =
"P|h\310\377\177\000\000\240\203a\222S\177\000", __u6_addr16 = {
31824, 51304, 32767, 0, 33696, 37473, 32595, 0},
__u6_addr32 = {3362290768, 32767, 2455864224, 32595}}},
sin6_scope_id = 2455824448}}, id = 32595, proto = 48 '0',
send_flags = {f = 130 '\202', blst_imask = 104 'h'}}
tmp = <value optimized out>
new_uri = <value optimized out>
end = <value optimized out>
crt = <value optimized out>
len = <value optimized out>
user = <value optimized out>
uri = {user = {s = 0x7fffc8687e50 "", len = -932676032}, passwd =
{s = 0x5a65e3 "", len = -1835130845}, host = {
s = 0x7f538a8731c4 "\002", len = -1839133152}, port = {s = 0x1
<Address 0x1 out of bounds>, len = 4318352}, params = {
s = 0x7f5391b710b5 "%.*s=", len = -932676100}, sip_params = {s
= 0x0, len = -1825307208}, headers = {s = 0x7f5393340000 "",
len = 4254337}, port_no = 1656, proto = 37532, type = 32595,
flags = 4219224, transport = {
s = 0x100000000 <Address 0x100000000 out of bounds>, len =
1684}, ttl = {s = 0x7fffc8687df0 "", len = -1825262464},
user_param = {s = 0x7f53906236a0 "\024", len = -932676032}, maddr
= {s = 0x7f5392610e20 "\251\003", len = -1825263320},
method = {s = 0x1b81fa72 <Address 0x1b81fa72 out of bounds>, len
= -1839132912}, lr = {s = 0x7f539260fcb0 "\001",
len = -932676032}, r2 = {s = 0x5a65e3 "", len = 5863229}, gr =
{s = 0x8092e0 "1\350Y", len = 4290462}, transport_val = {
s = 0x7fffc8687f08 "172.30.1.87:5060", len = -932675864},
ttl_val = {
s = 0x7f5300000000 <Address 0x7f5300000000 out of bounds>, len
= -932675892}, user_param_val = {s = 0x0, len = -1825262464},
maddr_val = {s = 0x7fffc86879c0 "hl\214", len = -932675704},
method_val = {s = 0x7fffc8688230 "\003", len = -932675024},
lr_val = {s = 0x7fffc8687f88 "\001", len = 5863229}, r2_val = {s
= 0x8092e0 "1\350Y", len = 4931420}, gr_val = {
---Type <return> to continue, or q <return> to quit---
s = 0xbec27c38f7bcc18a <Address 0xbec27c38f7bcc18a out of
bounds>, len = 1624100772}}
next_hop = {user = {s = 0x0, len = 0}, passwd = {s = 0x7fff00000001
<Address 0x7fff00000001 out of bounds>, len = -1839105408},
host = {s = 0x7f539260e840 "/", len = -932675024}, port = {s =
0x7fffc8687f88 "\001", len = 5863229}, params = {
s = 0x8092e0 "1\350Y", len = 4892947}, sip_params = {s =
0x7fffc8687773 "", len = -932676872}, headers = {
s = 0x7f538e241fdb "%s: %s%.*stimestamp=%lu%s", len = 0},
port_no = 32768, proto = 51304, type = 32767, flags = 2449501538,
transport = {s = 0x3a28d <Address 0x3a28d out of bounds>, len =
-932676296}, ttl = {s = 0x7fffc8687e40 "", len = 4931461},
user_param = {s = 0x3a28d <Address 0x3a28d out of bounds>, len =
-1845460557}, maddr = {s = 0x1 <Address 0x1 out of bounds>,
len = -1839104096}, method = {s = 0x7f53929b94d8 "RD", len =
-1825308672}, lr = {
s = 0x7fff00000000 <Address 0x7fff00000000 out of bounds>, len
= -1}, r2 = {s = 0xb <Address 0xb out of bounds>, len = 1},
gr = {s = 0x806ca0 "\360\037\236\222S\177", len = 0},
transport_val = {s = 0x59773d "corefunc", len = 8426208}, ttl_val = {
s = 0x0, len = -1827432686}, user_param_val = {s =
0x7fff00000001 <Address 0x7fff00000001 out of bounds>, len = 0},
maddr_val = {s = 0xffffffff <Address 0xffffffff out of bounds>,
len = -1835297576}, method_val = {
s = 0x7fffc8687eb0 "\004\177h\310\377\177", len = -1839133152},
lr_val = {s = 0x1 <Address 0x1 out of bounds>,
len = -932676032}, r2_val = {s = 0x5a65e3 "", len =
-1827408347}, gr_val = {s = 0x1 <Address 0x1 out of bounds>, len = 1}}
u = <value optimized out>
port = <value optimized out>
i = 9
flags = <value optimized out>
avp = <value optimized out>
st = {flags = 3362291592, id = 32767, name = {n = 4948316, s = {
s = 0x4b815c
"\205\300A\211\307\017\211u\376\377\377\350\004\323\370\377\205\300f\220\017\210\272\005",
len = -1831821280},
re = 0x4b815c}, avp = 0x7fffc8687c2f}
sct = <value optimized out>
sjt = <value optimized out>
rve = <value optimized out>
mct = <value optimized out>
rv = 0x7f538a96e460
rv1 = <value optimized out>
c1 = {cache_type = 2179837245, val_type = 3476970084, c = {avp_val
= {n = -1868273171, s = {
s = 0x7f5390a469ed "\211C\f1\300[\303fff.\017\037\204", len
= -1973731328}, re = 0x7f5390a469ed}, pval = {rs = {
s = 0x7f5390a469ed "\211C\f1\300[\303fff.\017\037\204", len
= -1973731328}, ri = -1834707850, flags = 32595}},
i2s =
"hl\214\000\000\000\000\000h\000\000\000\000\000\000\000\b\r\214\000\000"}
s = {s = 0x7fffc8687cd0 "Пa\222S\177", len = -932676544}
srevp = {0x3000000018, 0x7fffc8687d90}
mod_f_params = {{type = NOSUBTYPE, u = {number = 0, string = 0x0,
str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0,
select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string =
0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0,
select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string =
0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0,
select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string =
0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0,
select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string =
0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0,
select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string =
0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0,
select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string =
0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0,
select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string =
0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0,
select = 0x0}}}
#3 0x000000000041e406 in run_actions (h=0x7fffc8688230, a=<value optimized
out>, msg=<value optimized out>) at action.c:1644
t = 0x7f5392617b50
ret = 0
mod = <value optimized out>
ms = 0
#4 0x000000000041779e in do_action (h=<value optimized out>,
a=0x7f5392618a70, msg=<value optimized out>) at action.c:1136
ret = 1
v = 1
---Type <return> to continue, or q <return> to quit---
dst = {send_sock = 0x3a70647500000000, to = {s = {sa_family =
14129, sa_data = "2.30.1.87:5060"}, sin = {sin_family = 14129,
sin_port = 11826, sin_addr = {s_addr = 825110579}, sin_zero =
".87:5060"}, sin6 = {sin6_family = 14129, sin6_port = 11826,
sin6_flowinfo = 825110579, sin6_addr = {__in6_u = {__u6_addr8
= ".87:5060\000\000\000\000\000\000\000", __u6_addr16 = {
14382, 14903, 12341, 12342, 0, 0, 0, 0}, __u6_addr32 =
{976697390, 808857653, 0, 0}}}, sin6_scope_id = 0}}, id = 0,
proto = 0 '\000', send_flags = {f = 0 '\000', blst_imask = 0
'\000'}}
tmp = <value optimized out>
new_uri = <value optimized out>
end = <value optimized out>
crt = <value optimized out>
len = <value optimized out>
user = <value optimized out>
uri = {user = {s = 0x57011eac13c40002 <Address 0x57011eac13c40002
out of bounds>, len = 0}, passwd = {s = 0x0, len = 0}, host = {
s = 0x50740211 <Address 0x50740211 out of bounds>, len =
492511}, port = {
s = 0x783df50740211 <Address 0x783df50740211 out of bounds>,
len = -1969815551}, params = {s = 0x0, len = -932676064},
sip_params = {s = 0x4c011eac57011eac <Address 0x4c011eac57011eac
out of bounds>, len = 0}, headers = {
s = 0xc413c41311021002 <Address 0xc413c41311021002 out of
bounds>, len = -1839142848}, port_no = 32832, proto = 51304,
type = 32767, flags = 2325169800, transport = {s = 0x7f538a959700
"\026", len = 72}, ttl = {
s = 0x7fffc8687ed0 "udp:172.30.1.76:5060", len = -1839143408},
user_param = {s = 0x20 <Address 0x20 out of bounds>,
len = -932676064}, maddr = {s = 0x0, len = -1982407143}, method
= {s = 0x0, len = 0}, lr = {s = 0x0, len = 0}, r2 = {s = 0x0,
len = 0}, gr = {s = 0x0, len = 0}, transport_val = {s = 0x0,
len = 0}, ttl_val = {s = 0x0, len = 9112480}, user_param_val = {
s = 0x1ad <Address 0x1ad out of bounds>, len = 9112789},
maddr_val = {s = 0x20 <Address 0x20 out of bounds>,
len = -1969906352}, method_val = {s = 0x6 <Address 0x6 out of
bounds>, len = -932675760}, lr_val = {
s = 0x3 <Address 0x3 out of bounds>, len = -1982401395}, r2_val
= {
s = 0x8b0c84 "RtS65yC7G7LvJqZ-V3486e7HiRthsjgU\r\nTo: <
sip:00555654646848@172.30.1.76>\r\nCall-ID:
OsN.Pg6z4jgmqhrELm98-7AIPCVjxAhg\r\nCSeq: 12989 INVITE\r\nServer: OpenSIPS
(1.8.0-tls (x86_64/linux))\r\nContent-Length: 0\r\n\r"..., len = 32},
gr_val = {
s = 0x7fffc8687f04 "udp:172.30.1.87:5060", len = 20}}
next_hop = {user = {s = 0x7f53925af010 "", len = 5424982}, passwd =
{s = 0x1 <Address 0x1 out of bounds>, len = -1868273171},
host = {s = 0x7f53925af010 "", len = 5424982}, port = {s = 0x1
<Address 0x1 out of bounds>, len = -1839168248}, params = {
s = 0x7f53926084f0 "", len = -1980290472}, sip_params = {s =
0x1 <Address 0x1 out of bounds>, len = -932676064}, headers = {
s = 0x8c0d00 "\020\360Z\222S\177", len = -1980290472}, port_no
= 11896, proto = 37472, type = 32595, flags = 2312528666,
transport = {s = 0x43e <Address 0x43e out of bounds>, len =
-1839104816}, ttl = {s = 0x8c0d00 "\020\360Z\222S\177",
len = -932676464}, user_param = {s = 0x0, len = -1839104816},
maddr = {s = 0x0, len = -1980291912}, method = {
s = 0x1be <Address 0x1be out of bounds>, len = 300}, lr = {s =
0x8c0d00 "\020\360Z\222S\177", len = -932676400}, r2 = {
s = 0x0, len = -1868273171}, gr = {s = 0x7f53925af010 "", len =
5426506}, transport_val = {
s = 0x8b0c7f ";tag=RtS65yC7G7LvJqZ-V3486e7HiRthsjgU\r\nTo: <
sip:00555654646848@172.30.1.76>\r\nCall-ID:
OsN.Pg6z4jgmqhrELm98-7AIPCVjxAhg\r\nCSeq: 12989 INVITE\r\nServer: OpenSIPS
(1.8.0-tls (x86_64/linux))\r\nContent-Length:"..., len = -1839143408},
ttl_val = {
s = 0x7f5392619fd0 "\b", len = 1680015362}, user_param_val = {s
= 0x0, len = 0}, maddr_val = {s = 0x0, len = 1}, method_val = {
s = 0x4c011eac13c50002 <Address 0x4c011eac13c50002 out of
bounds>, len = 9112741}, lr_val = {s = 0x5a65e3 "", len = 0},
r2_val = {s = 0x4c011eac13c40002 <Address 0x4c011eac13c40002 out
of bounds>, len = 0}, gr_val = {s = 0x0, len = 0}}
u = <value optimized out>
port = <value optimized out>
i = <value optimized out>
flags = <value optimized out>
avp = <value optimized out>
st = {flags = 0, id = 0, name = {n = 1349779985, s = {s =
0x50740211 <Address 0x50740211 out of bounds>, len = 492510},
re = 0x50740211}, avp = 0x48}
sct = <value optimized out>
sjt = <value optimized out>
rve = 0x7f53926183a0
mct = <value optimized out>
rv = <value optimized out>
---Type <return> to continue, or q <return> to quit---
rv1 = <value optimized out>
c1 = {cache_type = 3362291408, val_type = 32767, c = {avp_val = {n
= 20, s = {s = 0x14 <Address 0x14 out of bounds>,
len = 980444277}, re = 0x14}, pval = {rs = {s = 0x14
<Address 0x14 out of bounds>, len = 980444277}, ri = 825110579,
flags = 976631598}}, i2s = "5060", '\000' <repeats 17
times>}
s = {s = 0x800000 <Address 0x800000 out of bounds>, len =
-1969817840}
srevp = {0x303031, 0x7f538a96eb08}
mod_f_params = {{type = NOSUBTYPE, u = {number = 0, string = 0x0,
str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0,
select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string =
0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0,
select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string =
0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0,
select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string =
0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0,
select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string =
0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0,
select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string =
0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0,
select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string =
0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0,
select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string =
0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0,
select = 0x0}}}
#5 0x000000000041e406 in run_actions (h=0x7fffc8688230, a=<value optimized
out>, msg=<value optimized out>) at action.c:1644
t = 0x7f5392618a70
ret = 1
mod = <value optimized out>
ms = 1
#6 0x000000000041e9b0 in run_top_route (a=0x7f5392617870,
msg=0x7f539260e840, c=<value optimized out>) at action.c:1729
ctx = {rec_lev = 34, run_flags = 0, last_retcode = 9112823, jmp_env
= {{__jmpbuf = {9112909, 5440393, 781684047872,
140736555680776, 9112835, 0, 139996784222568,
139996914837568}, __mask_was_saved = -1872608172, __saved_mask = {__val = {
140736555680776, 429, 140736555681576, 28,
139996878928701, 139996784114152, 139996814656151, 139996784114155,
139996784035848, 139996928669352, 139996878939331,
139996914927352, 139996817766136, 4591320040374, 139996914837568,
139996914837568}}}}}
p = 0x7fffc8688230
ret = <value optimized out>
sfbk = 0
#7 0x00007f53903f20b2 in reply_received (p_msg=0x7f539260e840) at
t_reply.c:2234
msg_status = 100
last_uac_status = 0
ack = <value optimized out>
ack_len = 16
branch = 0
reply_status = <value optimized out>
onreply_route = 0
cancel_data = {cancel_bitmap = 0, reason = {cause = 0, u = {text =
{s = 0x0, len = 9112511}, e2e_cancel = 0x0, packed_hdrs = {
s = 0x0, len = 9112511}}}}
t = 0x7f538a974688
lack_dst = {send_sock = 0x1b0, to = {s = {sa_family = 18168,
sa_data = "b\222S\177\000\000\200\204h\310\377\177\000"}, sin = {
sin_family = 18168, sin_port = 37474, sin_addr = {s_addr =
32595}, sin_zero = "\200\204h\310\377\177\000"}, sin6 = {
sin6_family = 18168, sin6_port = 37474, sin6_flowinfo =
32595, sin6_addr = {__in6_u = {
__u6_addr8 =
"\200\204h\310\377\177\000\000\370Fb\222S\177\000", __u6_addr16 = {33920,
51304, 32767, 0, 18168, 37474,
32595, 0}, __u6_addr32 = {3362292864, 32767,
2455914232, 32595}}}, sin6_scope_id = 1}}, id = 0, proto = -12 '\364',
send_flags = {f = 11 '\v', blst_imask = 139 '\213'}}
backup_user_from = 0x8c0bf0
backup_user_to = 0x8c0bf8
backup_domain_from = 0x8c0c00
backup_domain_to = 0x8c0c08
backup_uri_from = 0x8c0be0
---Type <return> to continue, or q <return> to quit---
backup_uri_to = 0x8c0be8
backup_xavps = 0x8c0cf0
replies_locked = <value optimized out>
branch_ret = <value optimized out>
blst_503_timeout = <value optimized out>
hf = <value optimized out>
onsend_params = {req = 0x8b0bf4, rpl = 0x7f539260e170, param =
0x8b0d4d, code = 5583256, flags = 0, branch = 0, t_rbuf = 0x8b0e5b,
dst = 0x0, send_buf = {s = 0x30 <Address 0x30 out of bounds>, len
= -1839095808}}
ctx = {rec_lev = 3, run_flags = 0, last_retcode = 1, jmp_env =
{{__jmpbuf = {140736555680304, 4105241171855655996,
139996914874480, 139996914837568, 100, 139996784187664,
-4105259996694723524, 4105241735827276860}, __mask_was_saved = 0,
__saved_mask = {__val = {9113494, 9113174, 5435765, 29110320,
139996919130444, 5873181, 139996822528191, 139996784052600,
139996914927352, 17179869186, 139998502395564,
139996914446352, 5424982, 29230000, 139996885707245, 139996914446352}}}}}
#8 0x0000000000453325 in forward_reply (msg=0x7f539260e840) at
forward.c:790
new_buf = <value optimized out>
dst = {send_sock = 0x0, to = {s = {sa_family = 0, sa_data = '\000'
<repeats 13 times>}, sin = {sin_family = 0, sin_port = 0,
sin_addr = {s_addr = 0}, sin_zero =
"\000\000\000\000\000\000\000"}, sin6 = {sin6_family = 0, sin6_port = 0,
sin6_flowinfo = 0, sin6_addr = {__in6_u = {__u6_addr8 =
'\000' <repeats 15 times>, __u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0},
__u6_addr32 = {0, 0, 0, 0}}}, sin6_scope_id = 0}}, id =
0, proto = 0 '\000', send_flags = {f = 0 '\000',
blst_imask = 0 '\000'}}
new_len = <value optimized out>
r = -1970851388
s = <value optimized out>
len = <value optimized out>
#9 0x0000000000497175 in receive_msg (
buf=0x8b0ba0 "SIP/2.0 100 Giving a try\r\nVia: SIP/2.0/UDP
172.30.1.76;branch=z9hG4bK3568.03a3e98.0;i=1\r\nVia: SIP/2.0/tls
172.30.1.241:54666;rport=54666;branch=z9hG4bKPj0n0hVs50Gyl6TfXJPcSI4xeJnWZ3QUKc\r\nFrom:
\"Samuel"..., len=<value optimized out>,
rcv_info=<value optimized out>) at receive.c:270
msg = 0x7f539260e840
ctx = {rec_lev = 0, run_flags = 0, last_retcode = 0, jmp_env =
{{__jmpbuf = {139996914552432, 29123520, 139996918690424,
139996928671744, 7, 4294967295, 7, 1}, __mask_was_saved =
8416480, __saved_mask = {__val = {0, 140736555681576, 28, 0,
139996926547730, 139994459013121, 0, 139996783012124,
139996918690424, 0, 139996914883664, 139996928669352,
139996914883672, 4294967245, 139996926572069,
140736555681462}}}}}
ret = 0
inb = {
s = 0x8b0ba0 "SIP/2.0 100 Giving a try\r\nVia: SIP/2.0/UDP
172.30.1.76;branch=z9hG4bK3568.03a3e98.0;i=1\r\nVia: SIP/2.0/tls
172.30.1.241:54666;rport=54666;branch=z9hG4bKPj0n0hVs50Gyl6TfXJPcSI4xeJnWZ3QUKc\r\nFrom:
\"Samuel"..., len = 429}
#10 0x00000000005204b7 in udp_rcv_loop () at udp_server.c:544
len = 429
buf = "SIP/2.0 100 Giving a try\r\nVia: SIP/2.0/UDP
172.30.1.76;branch=z9hG4bK3568.03a3e98.0;i=1\r\nVia: SIP/2.0/tls
172.30.1.241:54666;rport=54666;branch=z9hG4bKPj0n0hVs50Gyl6TfXJPcSI4xeJnWZ3QUKc\r\nFrom:
\"Samuel"...
from = 0x7f5392619c50
fromlen = 16
ri = {src_ip = {af = 2, len = 4, u = {addrl = {1459691180, 0},
addr32 = {1459691180, 0, 0, 0}, addr16 = {7852, 22273, 0, 0, 0, 0,
0, 0}, addr = "\254\036\001W", '\000' <repeats 11
times>}},
dst_ip = {af = 2, len = 4, u = {addrl = {1275141804, 0},
addr32 = {1275141804, 0, 0, 0}, addr16 = {7852, 19457, 0, 0,
0, 0, 0, 0},
addr = "\254\036\001L", '\000' <repeats 11 times>}},
src_port
= 5060, dst_port = 5060, proto_reserved1 = 0,
proto_reserved2 = 0, src_su = {s = {sa_family = 2, sa_data =
"\023Ĭ\036\001W\000\000\000\000\000\000\000"}, sin = {
sin_family = 2, sin_port = 50195, sin_addr = {s_addr =
1459691180}, sin_zero = "\000\000\000\000\000\000\000"}, sin6 = {
sin6_family = 2, sin6_port = 50195, sin6_flowinfo =
1459691180, sin6_addr = {__in6_u = {
__u6_addr8 = '\000' <repeats 15 times>, __u6_addr16 = {0,
0, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {0, 0, 0, 0}}},
sin6_scope_id = 0}}, bind_address = 0x7f5392619fd0, proto = 1
'\001'}
---Type <return> to continue, or q <return> to quit---
#11 0x000000000046349d in main_loop () at main.c:1633
i = 2
pid = 0
si = 0x7f5392619fd0
si_desc = "udp receiver child=2 sock=172.30.1.76:5060
\000\000\000\000\000\000@
\360\\\222S\177\000\000\005\000\000\000\t\000\000\000\030\061\275\214S\177\000\000\001\000\000\000\000\000\000\000\300j\214\000\000\000\000\000\000\000@\002",
'\000' <repeats 12 times>,
"\005\000\000\000\000\000\000\000\004\000\000\000\000\000\000\000W\\J\000\000\000\000"
nrprocs = 4
#12 0x000000000046607c in main (argc=<value optimized out>, argv=0x0) at
main.c:2546
cfg_stream = <value optimized out>
c = <value optimized out>
r = 0
tmp = 0x41597b "H\203\304\b\303\377\065:\017?"
tmp_len = 0
port = <value optimized out>
proto = <value optimized out>
ret = <value optimized out>
seed = 2037467145
rfd = <value optimized out>
debug_save = <value optimized out>
debug_flag = 37748736
dont_fork_cnt = 0
n_lst = 0x4
p = <value optimized out>
On 9 October 2012 12:53, Daniel-Constantin Mierla <miconda(a)gmail.com> wrote:
If you provided -w parameter, then it is at that
path. If not, it should
be in '/' or in the OS-configured corefiles directory.
Daniel
On 10/9/12 12:45 PM, samuel wrote:
I can not locate where the core is (wasn'i it in /tmp?) but I see the
following statement in the log:
Oct 9 12:44:21 kamailio1 kamailio[17420]: ALERT: <core> [main.c:788]:
core was generated
so i guess somewhere in the disk there is a core file....
Thanks a lot, Daniel,
Samuel.
On 9 October 2012 12:08, Daniel-Constantin Mierla <miconda(a)gmail.com>wrote;wrote:
Did you get a core dump, can you send the
backtrace?
Daniel
On 10/9/12 11:00 AM, samuel wrote:
Hi folks,
I was making some tests with kamailio (both 3.3.0 and 3.3.1 tgz) with
siptrace module sending "homer" packets to a remote central agent where the
data is stored and presented to the user.
The related config is:
# ----- siptrace params from HOMER -----
modparam("siptrace", "duplicate_uri", "sip:A.B.C.D:9060")
modparam("siptrace", "trace_to_database", 0)
modparam("siptrace", "trace_flag", 22)
modparam("siptrace", "trace_on", 1)
#HEPv2 == timestamp will be included to HEP header
modparam("siptrace", "hep_version", 2)
modparam("siptrace", "hep_mode_on", 1)
modparam("siptrace", "hep_capture_id", 1)
basically for all incoming messages, a route is called with the following
actions:
route[HOMER] {
setflag(22);
sip_trace();
}
I've been making some tests and if I disable the setflag action, there is
no problem (well, no transaction messages are sent to the central agent),
but as soon as I activated setflag, kamailio crashes with the following
error:
<core> [pass_fd.c:293]: ERROR: receive_fd: EOF on 28
There's no concrete point in the config file where it fails so I think
the problem is more tm-internals related. I can provide further information
in case you need it.
Just for adding information, and without any intention to start a
flame-war, with opensips 1.8.0-tls the server does not crash...
Thanks in advance!
Samuel.
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
listsr-users@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla -
http://www.asipto.comhttp://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 -
http://asipto.com/u/kat
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 -
http://asipto.com/u/katu
--
Daniel-Constantin Mierla -
http://www.asipto.comhttp://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 -
http://asipto.com/u/kat
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 -
http://asipto.com/u/katu