Re: [OpenSIPS-Users] Segfault Crash siptrace

2020-07-23 Thread inder sharma
It's working now after upgrading opensips 2.4.8.
Thanks John.

On Thu, Jul 23, 2020 at 2:09 AM inder sharma  wrote:

> Hello Team
>
> Opensips service crashes when we get a symbol/special character in RURI.It
> stopped crashing after disabling the siptrace module.
>
> version: opensips 2.4.6 (x86_64/linux)
> flags: STATS: On, DISABLE_NAGLE, USE_MCAST, 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, sigio_rt, select.
> git revision: edef893c5
> main.c compiled on 16:46:10 Dec 27 2019 with gcc 6.3.0
>
> ERROR:core:_parse_to: unexpected char ["] in status 6: <<> .
> ERROR:core:get_hdr_field: bad to header
> ERROR:core:parse_from_header: bad msg or missing FROM header
> ERROR:siptrace:sip_trace: cannot parse FROM header
> ERROR:siptrace:sip_trace_w: sip trace failed!
> ERROR:core:_parse_to: unexpected char ["] in status 6: <<> .
> ERROR:core:get_hdr_field: bad to header
> ERROR:uri:has_totag: To parsing failed
> ERROR:core:_parse_to: unexpected char ["] in status 6: <<> .
> ERROR:core:get_hdr_field: bad to header
> ERROR:uri:has_totag: To parsing failed
> opensips[8202]: segfault at 20 ip 7f7e2b038170 sp 7ffda97bcd50
> error 4 in siptrace.so[7f7e2b035000+1d000]
> ERROR:core:_parse_to: unexpected char ["] in status 6: <<> .
> ERROR:core:get_hdr_field: bad to header
> ERROR:uri:has_totag: To parsing failed
> CRITICAL:core:sig_usr: segfault in process pid: 8202, id: 12
>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Segfault Crash siptrace

2020-07-23 Thread John Quick
Hello Inder,

I think there are bugs in the sip_trace module in v2.4.6
My application would not start when the sip_trace module was enabled, using
v2.4.6
This problem was fixed when I tried v2.4.7, but you should upgrade to 2.4.8
now.

John Quick
Smartvox Limited
Web: www.smartvox.co.uk



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users