Hello Olex.<br><br>Could you enable debug on your opensips and paste the lines before crash.<br><br>Regards.<br><br>Sergio.<br><br><div class="gmail_quote">On Thu, Feb 5, 2009 at 10:57 AM, <span dir="ltr"><<a href="mailto:olex@osm.org.ua">olex@osm.org.ua</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">The problem was that opensips binary was stripped after compilation.<br>
Here is full backtrace.<br>
<br>
#0 get_username_domain (msg=0x7fe9e6356468, gcp=0x0,<br>
username=0x7fffee0cc070,<br>
domain=0x7fffee0cc0b0) at group.c:59<br>
puri = {user = {s = 0x6d00000001 <Address 0x6d00000001 out of bounds>,<br>
len = 4}, passwd = {s = 0x0, len = 7200}, host = {s = 0x7fe9e6417690<br>
"EET",<br>
len = -436117617}, port = {s = 0xffffffff <Address 0xffffffff out of<br>
bounds>,<br>
len = -432850920}, params = {s = 0x7fe9e6358168 "", len = -432851312},<br>
headers = {<br>
s = 0x7fe9e6356468 "\004", len = -301148160}, port_no = 1, proto = 0,<br>
type = ERROR_URI_T, transport = {s = 0x7fe9e5716560 "H\201��", len =<br>
24}, ttl = {<br>
s = 0x7fffee0cbf80 "", len = -301154624}, user_param = {s = 0x0, len =<br>
-445555808},<br>
maddr = {s = 0x7fffee0cbeb0 "��\f��\177", len = -502729501}, method = {<br>
s = 0x7fe9e59959a0 "", len = -431565200}, lr = {s = 0x0, len = -1}, r2<br>
= {<br>
s = 0x7300000000000000 <Address 0x7300000000000000 out of bounds>,<br>
len = -301152992}, transport_val = {s = 0x7fe9e56df3ad<br>
"\205�\017\204\205\001",<br>
len = 16}, ttl_val = {s = 0xee0cc570 <Address 0xee0cc570 out of<br>
bounds>, len = -1},<br>
user_param_val = {s = 0x0, len = 0}, maddr_val = {s = 0x0, len = 0},<br>
method_val = {<br>
s = 0x500000011 <Address 0x500000011 out of bounds>, len =<br>
-432850920}, lr_val = {<br>
s = 0x7fe9e6358168 "", len = 0}, r2_val = {s = 0x7fe9e6356468 "\004",<br>
len = -432850920}}<br>
turi = (struct sip_uri *) 0x0<br>
h = (struct hdr_field *) 0x0<br>
c = (struct auth_body *) 0x0<br>
value = {rs = {s = 0x2010 "", len = -301154656}, ri = 29, flags = 51}<br>
__FUNCTION__ = "get_username_domain"<br>
#1 0x00007fe9e208d278 in is_user_in (_msg=0x7fe9e6356468, _hf=0x0,<br>
_grp=0x7fe9e6333690 "\001") at group.c:153<br>
my_ps = (db_ps_t) 0x0<br>
keys = {0x7fe9e2291070, 0x7fe9e2291090, 0x7fe9e2291080}<br>
vals = {{type = DB_DOUBLE, nul = 0, free = 33188, val = {int_val = 0,<br>
double_val = 0, time_val = 0, string_val = 0x0, str_val = {s = 0x0,<br>
len = -445245638}, blob_val = {s = 0x0, len = -445245638},<br>
bitmap_val = 0}}, {<br>
type = 3849721658, nul = 32745, free = -432708504, val = {int_val =<br>
-432708504,<br>
double_val = 6.9486660384542317e-310, time_val = 140642566366312,<br>
---Type <return> to continue, or q <return> to quit---<br>
string_val = 0x7fe9e6356468 "\004", str_val = {s = 0x7fe9e6356468<br>
"\004",<br>
len = -470301741}, blob_val = {s = 0x7fe9e6356468 "\004", len =<br>
-470301741},<br>
bitmap_val = 3862258792}}, {type = 16, nul = 48, free = -301152512,<br>
val = {<br>
int_val = -301152704, double_val = 6.9533409289144845e-310,<br>
time_val = 140737187202624, string_val = 0x7fffee0cc640 "", str_val = {<br>
s = 0x7fffee0cc640 "", len = -445755489}, blob_val = {s =<br>
0x7fffee0cc640 "",<br>
len = -445755489}, bitmap_val = 3993814592}}}<br>
col = {0x7fe9e2291090}<br>
res = (db_res_t *) 0x0<br>
hf_s = {s = 0x7fe9e6333818 "Session-Expires: 1800\r\n", len = 4}<br>
grp_s = {s = 0x7fe9e63338a8 "zero_balance", len = 12}<br>
__FUNCTION__ = "is_user_in"<br>
hfPtr = (group_check_p) 0x0<br>
#2 0x00007fe9e5fe2f17 in do_action (a=0x7fe9e6333938, msg=0x7fe9e6356468)<br>
at action.c:961<br>
val_s = {s = 0x7fffee0cc438 "", len = 32}<br>
expires = -432708504<br>
aux = {s = 0x7fffee0cc520 "", len = -445691043}<br>
ret = -5<br>
v = 1<br>
to = (union sockaddr_union *) 0xfffffffb<br>
p = (struct proxy_l *) 0x7fffee0cd800<br>
tmp = 0x1 <Address 0x1 out of bounds><br>
new_uri = 0x7fe9e6356468 "\004"<br>
end = 0x8 <Address 0x8 out of bounds><br>
crt = 0xfffffffb <Address 0xfffffffb out of bounds><br>
len = -301148160<br>
user = 0<br>
uri = {user = {s = 0x0, len = 0}, passwd = {s = 0x0, len = 0}, host = {s<br>
= 0x0,<br>
len = 0}, port = {s = 0x0, len = -431848992}, params = {s = 0x0, len =<br>
0},<br>
headers = {s = 0x0, len = -432745568}, port_no = 65191, proto = 58926,<br>
type = 32745,<br>
transport = {s = 0x7fe9e5702193 "\211�\203=Tr)", len = 0}, ttl = {s =<br>
0x0, len = 0},<br>
---Type <return> to continue, or q <return> to quit---<br>
user_param = {s = 0xffffffff00000000 <Address 0xffffffff00000000 out of<br>
bounds>,<br>
len = 0}, maddr = {s = 0x7fe9e6356468 "\004", len = -432851208},<br>
method = {<br>
s = 0x7fe9e6356488 "��.��\177", len = -432851176}, lr = {<br>
s = 0x20 <Address 0x20 out of bounds>, len = 21}, r2 = {<br>
s = 0x7fe9e6029b91<br>
"\205�\017\224�\017��IcT$\bI\213\004$D\2104\020A\203�\026\017\205�",<br>
len = 0}, transport_val = {s = 0x7fe9e6427960 "PzB��\177", len = 0},<br>
ttl_val = {<br>
s = 0x0, len = 0}, user_param_val = {s = 0x7fe9e634cea0 "`yB��\177",<br>
len = -433127769}, maddr_val = {s = 0x7fe9e5702193 "\211�\203=Tr)",<br>
len = 0},<br>
method_val = {s = 0x0, len = 0}, lr_val = {s = 0x7fe9e6356468 "\004",<br>
len = 0},<br>
r2_val = {s = 0x7fe9e6356468 "\004", len = -432859640}}<br>
next_hop = {user = {s = 0x7fe9e645e510 "\022", len = 0}, passwd = {<br>
s = 0x100000011 <Address 0x100000011 out of bounds>, len = 0}, host = {<br>
s = 0x7fe9e64280d0 "", len = 50}, port = {<br>
s = 0x600000000 <Address 0x600000000 out of bounds>, len = 0}, params<br>
= {s = 0x0,<br>
len = -431848992}, headers = {s = 0xe646d670 <Address 0xe646d670 out<br>
of bounds>,<br>
len = 0}, port_no = 65191, proto = 58926, type = 32745, transport = {<br>
s = 0x7fe9e634d3a0 "�\201B��\177", len = 0}, ttl = {s = 0x0, len = 88},<br>
user_param = {<br>
s = 0x7fe9e646d670 "<27>Feb 5 17:51:29 /usr/sbin/opensips[4296]:<br>
ERROR:group:get_hf: unsupported User Field identifier\n", len = 0},<br>
maddr = {<br>
s = 0x1 <Address 0x1 out of bounds>, len = -431665056}, method = {s =<br>
0x0,<br>
len = -1}, lr = {s = 0x7fffee0cc4dc "�\177", len = -433127769}, r2 = {<br>
s = 0x7fe9e64634f0 "��D��\177", len = 0}, transport_val = {s = 0x0,<br>
len = 0},<br>
ttl_val = {s = 0x1700000000 <Address 0x1700000000 out of bounds>, len =<br>
23},<br>
user_param_val = {s = 0x2400000011 <Address 0x2400000011 out of bounds>,<br>
len = 36},<br>
maddr_val = {s = 0x600000024 <Address 0x600000024 out of bounds>, len = 0},<br>
method_val = {s = 0x7fe9e6428288 "", len = 16777217}, lr_val = {<br>
s = 0x1 <Address 0x1 out of bounds>, len = -431848992}, r2_val = {<br>
s = 0x1100000000 <Address 0x1100000000 out of bounds>, len = 0}}<br>
u = (struct sip_uri *) 0x0<br>
port = 0<br>
cmatch = -5<br>
---Type <return> to continue, or q <return> to quit---<br>
aitem = (struct action *) 0x7fe9e6356468<br>
adefault = (struct action *) 0x7fffee0cd800<br>
spec = (pv_spec_t *) 0x7fe9e6356468<br>
model = (pv_elem_p) 0x0<br>
val = {rs = {s = 0x16 <Address 0x16 out of bounds>, len = 0}, ri =<br>
-301152992,<br>
flags = 32767}<br>
pve = (pv_elem_t *) 0x0<br>
name_s = {s = 0x0, len = -442934976}<br>
__FUNCTION__ = "do_action"<br>
#3 0x00007fe9e5fdf3d9 in run_action_list (a=0x7fe9e6356468,<br>
msg=0x7fe9e6356468)<br>
at action.c:139<br>
ret = -1<br>
t = (struct action *) 0x7fe9e6333938<br>
__FUNCTION__ = "run_action_list"<br>
#4 0x00007fe9e6024342 in eval_elem (e=0x7fe9e6333a08, msg=0x7fe9e6356468,<br>
val=0x0)<br>
at route.c:1182<br>
uri = {user = {s = 0x0, len = -445873502}, passwd = {<br>
s = 0xf <Address 0xf out of bounds>, len = 0}, host = {<br>
s = 0x7fe9e5762b20 "^0-9,+-]", len = -431565189}, port = {<br>
s = 0x8 <Address 0x8 out of bounds>, len = 0}, params = {<br>
s = 0xffffff3b000000c5 <Address 0xffffff3b000000c5 out of bounds>, len<br>
= 0},<br>
headers = {s = 0x0, len = 0}, port_no = 0, proto = 0, type = ERROR_URI_T,<br>
transport = {s = 0x7fe900000000 <Address 0x7fe900000000 out of bounds>,<br>
len = -445245638}, ttl = {s = 0x7fe9e57633a3 "", len = 0}, user_param = {<br>
s = 0x100000000 <Address 0x100000000 out of bounds>, len =<br>
-301150696}, maddr = {<br>
s = 0x0, len = -459498875}, method = {<br>
s = 0xc5e56e4f9f <Address 0xc5e56e4f9f out of bounds>, len = -1}, lr =<br>
{s = 0x0,<br>
len = -301150320}, r2 = {s = 0x7fe9e49c9a85 "%.*s", len = -431565808},<br>
transport_val = {s = 0x1000 "y", len = 16}, ttl_val = {s =<br>
0x7fffee0cce60 "\024",<br>
len = -301150816}, user_param_val = {<br>
s = 0x4948347a <Address 0x4948347a out of bounds>, len = 0}, maddr_val<br>
= {<br>
s = 0x4948347a <Address 0x4948347a out of bounds>, len = 0},<br>
method_val = {s = 0x0,<br>
---Type <return> to continue, or q <return> to quit---<br>
len = -432851208}, lr_val = {s = 0x7fe9e6356468 "\004", len =<br>
-432708504},<br>
r2_val = {s = 0x7fe9e6029db5 "��\001", len = -442948928}}<br>
ret = -5<br>
ival = -432708504<br>
lval = {rs = {s = 0x7fffee0ccd80 "p�F��\177", len = -445238369},<br>
ri = -431565808, flags = 32745}<br>
rval = {rs = {s = 0x7fe9e57633a0 "%d]", len = 0}, ri = -1, flags = -1}<br>
p = 0x7fe9e6356468 "\004"<br>
__FUNCTION__ = "eval_elem"<br>
#5 0x00007fe9e6029db5 in eval_expr (e=0x7fe9e6333a08, msg=0x7fe9e6356468,<br>
val=0x0)<br>
at route.c:1479<br>
rec_lev = 3<br>
ret = 0<br>
__FUNCTION__ = "eval_expr"<br>
#6 0x00007fe9e6029e15 in eval_expr (e=0x7fe9e6333a50, msg=0x7fe9e6356468,<br>
val=0x0)<br>
at route.c:1486<br>
rec_lev = 3<br>
ret = 0<br>
__FUNCTION__ = "eval_expr"<br>
#7 0x00007fe9e6029e66 in eval_expr (e=0x7fe9e6333a98, msg=0x7fe9e6356468,<br>
val=0x0)<br>
at route.c:1500<br>
rec_lev = 3<br>
ret = 0<br>
__FUNCTION__ = "eval_expr"<br>
#8 0x00007fe9e5fe1c5b in do_action (a=0x7fe9e6333ec0, msg=0x7fe9e6356468)<br>
at action.c:688<br>
val_s = {s = 0x7fe9e6330498 "\002", len = -5}<br>
expires = -432882096<br>
aux = {s = 0x7fe9e646d660 "`\002", len = -432708504}<br>
ret = -5<br>
v = 1<br>
to = (union sockaddr_union *) 0x7fe9e646d67b<br>
---Type <return> to continue, or q <return> to quit---<br>
p = (struct proxy_l *) 0x7fffee0cd800<br>
tmp = 0x1 <Address 0x1 out of bounds><br>
new_uri = 0x7fe9e5762b0b "/etc/localtime"<br>
end = 0xf <Address 0xf out of bounds><br>
crt = 0xfffffffb <Address 0xfffffffb out of bounds><br>
len = -301148160<br>
user = 0<br>
uri = {user = {s = 0x7fe9e634a030 "", len = -432708504}, passwd = {<br>
s = 0x7fffee0cd800 "\002", len = -435798311}, host = {s = 0x0, len =<br>
-431565104},<br>
port = {s = 0x0, len = -432758640}, params = {<br>
s = 0x330000001d <Address 0x330000001d out of bounds>, len = 17},<br>
headers = {<br>
s = 0x6d00000001 <Address 0x6d00000001 out of bounds>, len = 4},<br>
port_no = 0,<br>
proto = 0, type = 32745, transport = {s = 0x1c20 "", len = -431917424},<br>
ttl = {<br>
s = 0xe <Address 0xe out of bounds>, len = 0}, user_param = {<br>
s = 0x3 <Address 0x3 out of bounds>, len = -432708504}, maddr = {<br>
s = 0x7fe9e632bd30 "��2��\177", len = -432708504}, method = {<br>
s = 0x7fffee0cd800 "\002", len = -301148160}, lr = {s = 0x7fe9e5716560<br>
"H\201��",<br>
len = 32}, r2 = {s = 0x7fffee0cd070 "hd5��\177", len = 0},<br>
transport_val = {<br>
s = 0x3ae646d670 <Address 0x3ae646d670 out of bounds>, len = -432757997},<br>
ttl_val = {s = 0x0, len = -432873752}, user_param_val = {s =<br>
0x7fe9e6356468 "\004",<br>
len = -432708504}, maddr_val = {s = 0x7fe9e6029db5 "��\001", len = 16},<br>
method_val = {s = 0x7fffee0cd510 "\024", len = 0}, lr_val = {<br>
s = 0x29 <Address 0x29 out of bounds>, len = 0}, r2_val = {s = 0x0,<br>
len = -432864104}}<br>
next_hop = {user = {<br>
s = 0x7fe9e646d670 "<27>Feb 5 17:51:29 /usr/sbin/opensips[4296]:<br>
ERROR:group:get_hf: unsupported User Field identifier\n", len =<br>
-445875032}, passwd = {<br>
s = 0x7fffee0ccda0 "@Y\231��\177", len = -432705496}, host = {<br>
s = 0x7fe9e5995940 "", len = -442934976}, port = {<br>
s = 0xf4 <Address 0xf4 out of bounds>, len = -431565200}, params = {s<br>
= 0x0,<br>
len = 1}, headers = {s = 0x7fe9e49c9a85 "%.*s", len = -445871724},<br>
port_no = 8208,<br>
proto = 0, type = ERROR_URI_T, transport = {s = 0x7fffee0cce70 "p�F��\177",<br>
---Type <return> to continue, or q <return> to quit---<br>
len = -431565808}, ttl = {s = 0x7fe9e5995940 "", len = -431565808},<br>
user_param = {<br>
s = 0x0, len = 0}, maddr = {s = 0x7fe9e5995940 "", len = -442934976},<br>
method = {<br>
s = 0x7fe9e646d410 "�Y\231��\177", len = -1}, lr = {s = 0x0, len =<br>
-301150320},<br>
r2 = {s = 0x7fe9e56c67e8 "\203=\001,-", len = -301150592}, transport_val<br>
= {<br>
s = 0x7fe9e571618f "\220H\213\234$�", len = 20}, ttl_val = {<br>
s = 0x498b0b01 <Address 0x498b0b01 out of bounds>, len = -431565200},<br>
user_param_val = {s = 0xf4 <Address 0xf4 out of bounds>, len = -431565200},<br>
maddr_val = {s = 0x0, len = -445555808}, method_val = {<br>
s = 0x7fffee0cce80 "p�F��\177", len = 0}, lr_val = {s = 0x7fe9e62f0319<br>
"",<br>
len = -301149208}, r2_val = {s = 0x7fe9e600d48e "f\220�:\005", len =<br>
-432706168}}<br>
u = (struct sip_uri *) 0x0<br>
port = 0<br>
cmatch = -5<br>
aitem = (struct action *) 0x7fe9e632be50<br>
adefault = (struct action *) 0x7fffee0cd800<br>
spec = (pv_spec_t *) 0x7fe9e632be50<br>
model = (pv_elem_p) 0x0<br>
val = {rs = {s = 0x7fe9e646f670 "", len = 8208}, ri = 8208, flags = 0}<br>
pve = (pv_elem_t *) 0x0<br>
name_s = {s = 0x0, len = -436059326}<br>
__FUNCTION__ = "do_action"<br>
#9 0x00007fe9e5fdf3d9 in run_action_list (a=0x7fe9e6356468,<br>
msg=0x7fe9e6356468)<br>
at action.c:139<br>
ret = 1<br>
t = (struct action *) 0x7fe9e6333ec0<br>
__FUNCTION__ = "run_action_list"<br>
#10 0x00007fe9e5fe1d69 in do_action (a=0x7fe9e63343f0, msg=0x7fe9e6356468)<br>
at action.c:705<br>
val_s = {s = 0x7fffee0cd640 "�C3��\177", len = -435532848}<br>
expires = -432882096<br>
aux = {s = 0x7fe9e5762b0b "/etc/localtime", len = -431565196}<br>
ret = 1<br>
---Type <return> to continue, or q <return> to quit---<br>
v = 1<br>
to = (union sockaddr_union *) 0x8<br>
p = (struct proxy_l *) 0x7fffee0cd800<br>
tmp = 0x1 <Address 0x1 out of bounds><br>
new_uri = 0x0<br>
end = 0x0<br>
crt = 0x1 <Address 0x1 out of bounds><br>
len = -301148160<br>
user = 32745<br>
uri = {user = {s = 0x7fe9e5995940 "", len = -431565808}, passwd = {<br>
s = 0xffffffff <Address 0xffffffff out of bounds>, len = 0}, host = {<br>
s = 0x7fffee0cd640 "�C3��\177", len = -445880344}, port = {<br>
s = 0x7fffee0cd530 "p�F��\177", len = -445554289}, params = {<br>
s = 0x14 <Address 0x14 out of bounds>, len = 1233849089}, headers = {<br>
s = 0x7fe9e646d670 "<27>Feb 5 17:51:29 /usr/sbin/opensips[4296]:<br>
ERROR:group:get_hf: unsupported User Field identifier\n", len = 105},<br>
port_no = 54896, proto = 58950,<br>
type = 32745, transport = {s = 0x0, len = -445555808}, ttl = {<br>
s = 0x7fffee0cd530 "p�F��\177", len = 0}, user_param = {s =<br>
0x7fe9e4bf126c "�\001",<br>
len = 2}, maddr = {s = 0x479 "", len = -433127723}, method = {<br>
s = 0x7fe9e6356470 "\001", len = -432708504}, lr = {s = 0x7fffee0cd800<br>
"\002",<br>
len = -301148160}, r2 = {s = 0x7fe9e5716560 "H\201��", len = 0},<br>
transport_val = {<br>
s = 0x7fffee0cd680 "p�F��\177", len = 1145}, ttl_val = {s =<br>
0x7fe9e6356468 "\004",<br>
len = 29}, user_param_val = {s = 0x500000011 <Address 0x500000011 out<br>
of bounds>,<br>
len = 1}, maddr_val = {s = 0x2300000004 <Address 0x2300000004 out of<br>
bounds>,<br>
len = 0}, method_val = {s = 0x1c20 "", len = -431917424}, lr_val = {s<br>
= 0x0,<br>
len = 0}, r2_val = {s = 0x479 "", len = -301148160}}<br>
next_hop = {user = {s = 0xffffffff <Address 0xffffffff out of bounds>,<br>
len = 1}, passwd = {s = 0x7fe9e576339c "T ", len = -445245638}, host = {<br>
s = 0x7fe9e646d67b "17:51:29 /usr/sbin/opensips[4296]:<br>
ERROR:group:get_hf: unsupported User Field identifier\n", len =<br>
-442934888}, port = {s = 0x7fe9e59959a0 "",<br>
len = -431565088}, params = {s = 0x7fe9e5995940 "", len = 133408},<br>
headers = {<br>
s = 0x7fe9e646f670 "", len = 125328}, port_no = 54880, proto = 58950,<br>
type = 32745,<br>
---Type <return> to continue, or q <return> to quit---<br>
transport = {s = 0x7fe9e56c63d4<br>
"�����H\213D$\020H\001�H\211\004$�EH9X\020\017\205<br>
len = -431565200}, ttl = {s = 0x1f <Address 0x1f out of bounds>, len =<br>
-1},<br>
user_param = {s = 0x7fe9e646f670 "", len = -431557008}, maddr = {s =<br>
0x2010 "",<br>
len = 8208}, method = {s = 0x0, len = -431565200}, lr = {<br>
s = 0x7fe9e56c7ca8<br>
"I\215G\020�����H\213|$\020I\215p�L\211\004$�}���I\211�1�L\213\004$M\205�\017\204����I\215M�H\211L$\bM\213e�I\203��H9�\017\204\026\001",<br>
len = -301149104}, r2 = {s = 0x500000004 <Address 0x500000004 out of<br>
bounds>,<br>
len = -442934976}, transport_val = {s = 0x7fe9e5995940 "", len = 105},<br>
ttl_val = {<br>
s = 0x7fe9e646d670 "<27>Feb 5 17:51:29 /usr/sbin/opensips[4296]:<br>
ERROR:group:get_hf: unsupported User Field identifier\n", len = 0},<br>
user_param_val = {<br>
s = 0x1 <Address 0x1 out of bounds>, len = -435532848}, maddr_val = {<br>
s = 0x7fe9e56c8994 "I\211�\203=R\n-", len = 8208}, method_val = {<br>
s = 0x7fffee0cd520 "p�F��\177", len = -431565808}, lr_val = {s =<br>
0x7fe9e5995940 "",<br>
len = -431565808}, r2_val = {s = 0x0, len = 0}}<br>
u = (struct sip_uri *) 0x0<br>
port = 0<br>
cmatch = 1<br>
aitem = (struct action *) 0x7fe9e632be50<br>
adefault = (struct action *) 0x7fffee0cd800<br>
spec = (pv_spec_t *) 0x7fe9e632be50<br>
model = (pv_elem_p) 0x0<br>
val = {rs = {s = 0x7fe9e646d410 "�Y\231��\177", len = -442934976},<br>
ri = -431565808, flags = 14642}<br>
pve = (pv_elem_t *) 0x0<br>
name_s = {s = 0x7fffee0cd3a0 "{�F��\177", len = -445783251}<br>
__FUNCTION__ = "do_action"<br>
#11 0x00007fe9e5fdf3d9 in run_action_list (a=0x7fe9e6356468,<br>
msg=0x7fe9e6356468)<br>
at action.c:139<br>
ret = 1<br>
t = (struct action *) 0x7fe9e63343f0<br>
__FUNCTION__ = "run_action_list"<br>
#12 0x00007fe9e5fdf886 in run_top_route (a=0x7fe9e632be50,<br>
msg=0x7fe9e6356468)<br>
---Type <return> to continue, or q <return> to quit---<br>
at action.c:119<br>
bk_action_flags = 0<br>
bk_rec_lev = 0<br>
ret = 0<br>
#13 0x00007fe9e601ca11 in receive_msg (<br>
buf=0x7fe9e62efea0 "INVITE <a href="mailto:sip%3A380322218488@voip.leotelecom.net">sip:380322218488@voip.leotelecom.net</a><br>
SIP/2.0\r\nDate: Thu, 05 Feb 2009 15:51:29 GMT\r\nCSeq: 2<br>
INVITE\r\nVia: SIP/2.0/UDP<br>
194.44.160.178:5085;branch=z9hG4bKc68d7285-0af2-dd11-9564-001fc6030555;rport\r"...,<br>
len=1145,<br>
rcv_info=0x7fffee0cd800) at receive.c:165<br>
msg = (struct sip_msg *) 0x7fe9e6356468<br>
__FUNCTION__ = "receive_msg"<br>
#14 0x00007fe9e60571b9 in udp_rcv_loop () at udp_server.c:449<br>
len = 1145<br>
buf = "INVITE <a href="mailto:sip%3A380322218488@voip.leotelecom.net">sip:380322218488@voip.leotelecom.net</a> SIP/2.0\r\nDate: Thu,<br>
05 Feb 2009 15:51:29 GMT\r\nCSeq: 2 INVITE\r\nVia: SIP/2.0/UDP<br>
194.44.160.178:5085;branch=z9hG4bKc68d7285-0af2-dd11-9564-001fc6030555;rport\r"...<br>
tmp = 0x479 ""<br>
from = (union sockaddr_union *) 0x7fe9e6356448<br>
fromlen = 16<br>
ri = {src_ip = {af = 2, len = 4, u = {addrl = {140641700949186, 0},<br>
addr32 = {<br>
2996841666, 32745, 0, 0}, addr16 = {11458, 45728, 32745, 0, 0, 0,<br>
0, 0},<br>
addr = "�,���\177\000\000\000\000\000\000\000\000\000"}}, dst_ip =<br>
{af = 2,<br>
len = 4, u = {addrl = {983575746, 0}, addr32 = {983575746, 0, 0, 0},<br>
addr16 = {<br>
11458, 15008, 0, 0, 0, 0, 0, 0}, addr = "�,�:", '\0' <repeats 11<br>
times>}},<br>
src_port = 5085, dst_port = 5060, proto = 1, proto_reserved1 = 0,<br>
proto_reserved2 = 0, src_su = {s = {sa_family = 2,<br>
sa_data = "\023��,��\000\000\000\000\000\000\000"}, sin =<br>
{sin_family = 2,<br>
sin_port = 56595, sin_addr = {s_addr = 2996841666},<br>
sin_zero = "\000\000\000\000\000\000\000"}}, bind_address =<br>
0x7fe9e6319af0}<br>
__FUNCTION__ = "udp_rcv_loop"<br>
#15 0x00007fe9e5ff5007 in main_loop () at main.c:774<br>
chd_rank = 6<br>
---Type <return> to continue, or q <return> to quit---<br>
i = 5<br>
pid = 0<br>
si = (struct socket_info *) 0x7fe9e6319af0<br>
__FUNCTION__ = "main_loop"<br>
#16 0x00007fe9e5ff7d55 in main (argc=4, argv=0x0) at main.c:1313<br>
cfg_log_stderr = 0<br>
cfg_stream = (FILE *) 0x7fe9e64110f0<br>
c = 0<br>
r = 0<br>
tmp = 0x7fffee0cde67 ""<br>
tmp_len = 0<br>
port = 0<br>
proto = 0<br>
options = 0x7fe9e64110f0 "\230$�<br>
ret = -1<br>
seed = 504339942<br>
rfd = 4<br>
__FUNCTION__ = "main"<br>
<div><div></div><div class="Wj3C7c"><br>
> Hmmm, as far as I know, you should include -g in your CFLAGS, to generate<br>
> debugging symbols.<br>
><br>
> Regards.<br>
><br>
> Sergio.<br>
><br>
> On Thu, Feb 5, 2009 at 10:27 AM, <<a href="mailto:olex@osm.org.ua">olex@osm.org.ua</a>> wrote:<br>
><br>
>> Hi, Sergia!<br>
>><br>
>> > Hello Olex.<br>
>> ><br>
>> > Could you execute a list at frame 0?<br>
>> ><br>
>> Unfortunately it does not give more info:<br>
>> #0 0x00007f46a3f42b0a in get_username_domain () from<br>
>> /usr/lib/opensips/modules/group.so<br>
>> No symbol table info available.<br>
>> #1 0x00007f46a3f4364f in is_user_in () from<br>
>> /usr/lib/opensips/modules/group.so<br>
>> No symbol table info available.<br>
>> #2 0x00007f46a7e8f64c in do_action () from /usr/sbin/opensips<br>
>> No symbol table info available.<br>
>> #3 0x00007f46a7e91cc4 in run_action_list () from /usr/sbin/opensips<br>
>> No symbol table info available.<br>
>><br>
>> Which commands should I use to compile opensips with debugging symbols?<br>
>><br>
>> > Did you download opensips from SVN? What OS are you running on?<br>
>> ><br>
>> opensips 1.5.0 r5249<br>
>> os Gentoo linux x86_64<br>
>> $ uname -a<br>
>> Linux voip 2.6.25-hardened-r7-20080922 #1 SMP Tue Sep 23 00:30:01 EEST<br>
>> 2008 x86_64 Intel(R) Xeon(R) CPU X3220 @ 2.40GHz GenuineIntel GNU/Linux<br>
>><br>
>> > Regards.<br>
>> ><br>
>> > Sergio.<br>
>> ><br>
>> ><br>
>> > On Thu, Feb 5, 2009 at 10:12 AM, <<a href="mailto:olex@osm.org.ua">olex@osm.org.ua</a>> wrote:<br>
>> ><br>
>> >> Hello, All!<br>
>> >><br>
>> >> When using function is_user_in() from module group.so there is a<br>
>> crash<br>
>> >> of<br>
>> >> opensips.<br>
>> >> The same opensips.cfg was tested on 1.4.3 and 1.4.4 without any<br>
>> crashes<br>
>> >> or<br>
>> >> problems.<br>
>> >><br>
>> >> /var/log/messages<br>
>> >> ------------------<br>
>> >> Feb 5 16:05:13 voip /usr/sbin/opensips[11992]:<br>
>> INFO:core:handle_sigs:<br>
>> >> child process 1203<br>
>> >> 9 exited by a signal 11<br>
>> >> Feb 5 16:05:13 voip /usr/sbin/opensips[11992]:<br>
>> INFO:core:handle_sigs:<br>
>> >> core was generated<br>
>> >> Feb 5 16:05:13 voip /usr/sbin/opensips[11992]:<br>
>> INFO:core:handle_sigs:<br>
>> >> terminating due to<br>
>> >> SIGCHLD<br>
>> >> Feb 5 16:05:13 voip /usr/sbin/opensips[12037]: INFO:core:sig_usr:<br>
>> >> signal<br>
>> >> 15 received<br>
>> >><br>
>> >> opensips.cfg(only some strings)<br>
>> >> ---------------------------------<br>
>> >> if (is_user_in("From", "disabled")) {<br>
>> >> xlog("L_INFO", "User is in group 'disabled' F=$fu D=$fd\n");<br>
>> >> rewriteuser("403");<br>
>> >> }<br>
>> >><br>
>> >><br>
>> >> GDB trace<br>
>> >> -----------<br>
>> >> #0 0x00007f46a3f42b0a in get_username_domain () from<br>
>> >> /usr/lib/opensips/modules/group.so<br>
>> >> #1 0x00007f46a3f4364f in is_user_in () from<br>
>> >> /usr/lib/opensips/modules/group.so<br>
>> >> #2 0x00007f46a7e8f64c in do_action () from /usr/sbin/opensips<br>
>> >> #3 0x00007f46a7e91cc4 in run_action_list () from /usr/sbin/opensips<br>
>> >> #4 0x00007f46a7ed0f8e in eval_expr () from /usr/sbin/opensips<br>
>> >> #5 0x00007f46a7ed0dac in eval_expr () from /usr/sbin/opensips<br>
>> >> #6 0x00007f46a7e8e37e in do_action () from /usr/sbin/opensips<br>
>> >> #7 0x00007f46a7e91cc4 in run_action_list () from /usr/sbin/opensips<br>
>> >> #8 0x00007f46a7e916e5 in do_action () from /usr/sbin/opensips<br>
>> >> #9 0x00007f46a7e91cc4 in run_action_list () from /usr/sbin/opensips<br>
>> >> #10 0x00007f46a7e916e5 in do_action () from /usr/sbin/opensips<br>
>> >> #11 0x00007f46a7e91cc4 in run_action_list () from /usr/sbin/opensips<br>
>> >> #12 0x00007f46a7e92046 in run_top_route () from /usr/sbin/opensips<br>
>> >> #13 0x00007f46a7ec6d24 in receive_msg () from /usr/sbin/opensips<br>
>> >> #14 0x00007f46a7efd23b in udp_rcv_loop () from /usr/sbin/opensips<br>
>> >> #15 0x00007f46a7ea485c in main () from /usr/sbin/opensips<br>
>> >><br>
>> >><br>
>> >><br>
>> >> _______________________________________________<br>
>> >> Users mailing list<br>
>> >> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
>> >> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
>> >><br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> > Sergio Gutiérrez<br>
>> ><br>
>><br>
>><br>
>><br>
><br>
><br>
> --<br>
> Sergio Gutiérrez<br>
><br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Sergio Gutiérrez<br>