[OpenSIPS-Users] Segfault Crash siptrace

inder sharma inder.itpro at gmail.com
Wed Jul 22 20:39:10 EST 2020


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: <<<sip:1>> .
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: <<<sip:1>> .
ERROR:core:get_hdr_field: bad to header
ERROR:uri:has_totag: To parsing failed
ERROR:core:_parse_to: unexpected char ["] in status 6: <<<sip:1>> .
ERROR:core:get_hdr_field: bad to header
ERROR:uri:has_totag: To parsing failed
opensips[8202]: segfault at 20 ip 00007f7e2b038170 sp 00007ffda97bcd50
error 4 in siptrace.so[7f7e2b035000+1d000]
ERROR:core:_parse_to: unexpected char ["] in status 6: <<<sip:1>> .
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200723/e96acefd/attachment.html>


More information about the Users mailing list