Re: [OpenSIPS-Devel] [opensips] Segfault on usr_avp.c (#166)

2015-05-07 Thread Bogdan Andrei IANCU
Closed #166.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/166#event-299130948___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] Segfault on usr_avp.c (#166)

2015-05-07 Thread Bogdan Andrei IANCU
@kaduww , if the problem persists, please re-open

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/166#issuecomment-99810058___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] Segfault on usr_avp.c (#166)

2014-04-22 Thread Bogdan Andrei IANCU
Hi @kaduww - is this crash still going ?

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/166#issuecomment-41080037___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] Segfault on usr_avp.c (#166)

2014-02-21 Thread kaduww
Hello Bogdan, how are you?

As you asked me, thats the back trace:
(gdb) bt
#0  destroy_avp_list_unsafe (list=0x7f11c412f958) at usr_avp.c:436
#1  0x7f11dcace09f in free_cell (dead_cell=0x7f11c412df48) at
h_table.c:183
#2  0x7f11dcace18f in free_hash_table () at h_table.c:357
#3  0x7f11dcadd60a in tm_shutdown () at t_funcs.c:99
#4  0x0049f760 in destroy_modules () at sr_module.c:371
#5  0x0042d708 in cleanup (show_status=1) at main.c:348
#6  0x0042e1cb in handle_sigs () at main.c:549
#7  0x00431e95 in main_loop (argc=value optimized out,
argv=value optimized out) at main.c:1024
#8  main (argc=value optimized out, argv=value optimized out) at
main.c:1557

Thanks,


2014-02-20 15:34 GMT-03:00 Bogdan Andrei IANCU notificati...@github.com:

 Hi Carlos, the trace is not complete - the lower frames are missing -
 could you post the entires set of frame (just bt, no need to bt full) ?
 or email it to me please.

 Thanks and regards,
 Bogdan

 --
 Reply to this email directly or view it on 
 GitHubhttps://github.com/OpenSIPS/opensips/issues/166#issuecomment-35653527
 .




-- 
Carlos Eduardo Wagner
Tecnólogo em Telecomunicações, dCAA

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/166#issuecomment-35729920___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [opensips] Segfault on usr_avp.c (#166)

2014-02-10 Thread kaduww
Hello,

I've been having an issue on a running OpenSIPS. I's been crashing at least 
once a day and we noticed an unknown problem on the corefile.

We're using the OpenSIPS 1.8.3-notls:
opensips -V
version: opensips 1.8.3-notls (x86_64/linux)
flags: STATS: Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MEM, 
SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, 
MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
svnrevision: 2:10376M
@(#) $Id: main.c 10273 2013-10-03 18:40:16Z opensipsrelease $
main.c compiled on 17:44:02 Jan 20 2014 with gcc 4.4.7

The back trace we got:
#0  internal_search_ID_avp (flags=value optimized out, id=57, 
val=0x7fff35d13720, start=0x0) at usr_avp.c:316
No locals.
#1  search_first_avp (flags=value optimized out, id=57, val=0x7fff35d13720, 
start=0x0) at usr_avp.c:354
head = value optimized out
avp = value optimized out
#2  0x00468a10 in pv_get_avp (msg=0x7f11dcd14ba0, param=value 
optimized out, res=0x7fff35d13a20) at pvar.c:1819
name_type = value optimized out
avp_name = 57
avp_value = {n = -590263392, s = {s = 0x7f11dcd14ba0 \340!, len = 
902903640}}
avp = value optimized out
avp_value0 = {n = -1, s = {s = 0x Address 0x out of 
bounds, len = 13}}
avp0 = value optimized out
idx = value optimized out
idxf = value optimized out
p = value optimized out
n = 0
__FUNCTION__ = pv_get_avp
#3  0x0046693a in pv_get_spec_value (msg=value optimized out, 
sp=0x7f11dd48a028, value=0x7fff35d13a20) at pvar.c:3989
ret = 0
pv_msg = 0x7f11dcd14ba0
__FUNCTION__ = pv_get_spec_value
#4  0x0048c58d in comp_scriptvar (e=0x7f11dd48a140, msg=0x7f11dcd14ba0, 
val=0x0) at route.c:1222
ln = 0
rn = 0
type = value optimized out
lstr = {s = 0x0, len = 0}
rstr = {s = 0x0, len = 0}
lvalue = {rs = {s = 0x0, len = 0}, ri = 0, flags = 0}
rvalue = {rs = {s = 0x7fff35d13f70 x~M, incomplete sequence \335, 
len = 2}, ri = 1580561094, flags = 62}
#5  eval_elem (e=0x7f11dd48a140, msg=0x7f11dcd14ba0, val=0x0) at route.c:1747
uri = {user = {s = 0x0, len = 1}, passwd = {s = 0xdcd25340 Address 
0xdcd25340 out of bounds, len = 902904984}, host = {
s = 0x35d14220 Address 0x35d14220 out of bounds, len = 4276768}, 
port = {s = 0x7fff35d13f20 \270\203\231\275\021\177, 
len = 902905616}, params = {s = 0x Address 0x out 
of bounds, len = 2479}, headers = {s = 0x0, len = 1579435111}, 
  port_no = 0, proto = 0, type = 32767, transport = {s = 0x2 
Address 0x2 out of bounds, len = 5673572}, ttl = {
---Type return to continue, or q return to quit---
s = 0x7fff Address 0x7fff out of bounds, len = 
5673573}, user_param = {s = 0x7fff35d13c98 , len = 902905203}, 
  maddr = {s = 0x0, len = -612269506}, method = {s = 0x35d13e68 
Address 0x35d13e68 out of bounds, len = 0}, lr = {s = 0x0, 
len = 902905436}, r2 = {s = 0x7fff35d13e78 
\270\203\231\275\021\177, len = -1}, gr = {
s = 0x7fff35d13e98 314ec47a\300?\321\065\377\177, len = 5673472}, 
transport_val = {s = 0x3e5e244467 f\203;, len = 8}, ttl_val = {
s = 0x7fff35d13ea8 \020\212F, len = 0}, user_param_val = {s = 
0x7fff35d13ec8 h\345x, len = 0}, maddr_val = {s = 0x7fff35d139e0 , 
len = -1}, method_val = {s = 0x7fff35d13e50 (, len = 0}, lr_val = 
{
s = 0x7fff35d14110 
\315\314\314\314\314\314\314\314\310yk\270\021\177, len = 5673648}, r2_val = {
s = 0x7fff35d13dc8 
\250\377\377\377\377\377\377\377\340\321\065\377\177, len = -1}, gr_val = {s 
= 0x7fff35d13e20 , len = 0}, 
  u_name = {{s = 0x7fff35d13f18 
\376\377\377\377\377\377\377\377\270\203\231\275\021\177, len = 902905612}, {
  s = 0xa09af Address 0xa09af out of bounds, len = 192}, 
{s = 0x7fff35d13f20 \270\203\231\275\021\177, len = 902905285}, {
  s = 0x0, len = 22671520}, {s = 0x7fff35d14080 \020 , len = 6}}, 
u_val = {{s = 0x7fff35d14090 \020 , len = 1580561097}, {
  s = 0x3e5e244467 f\203;, len = 1580561098}, {s = 0x1 Address 
0x1 out of bounds, len = 1}, {
  s = 0x35d13df8 Address 0x35d13df8 out of bounds, len = 0}, {s = 
0x7f11dd48e2f8 \002, len = -590263392}}, u_params_no = 0}
ret = -5
ival = value optimized out
lval = {rs = {s = 0x0, len = 4}, ri = 2, flags = 0}
rval = {rs = {s = 0x7fff35d1430c \021\177, len = 4775453}, ri = 
-582462008, flags = 32529}
p = value optimized out
i = value optimized out
n = value optimized out
__FUNCTION__ = eval_elem
#6  0x0048de1d in eval_expr (e=0x7f11dd48a140, msg=0x7f11dcd14ba0, 
val=0x0) at route.c:1783
rec_lev = 2
ret =