[Home]

Summary:ASTERISK-20838: Crash - segfault at 13bc ip 00007f7ecb492911 sp 00007f7e817ed9e8 error 6 in libc-2.15.so
Reporter:Igor (kinga3)Labels:
Date Opened:2012-12-26 04:40:27.000-0600Date Closed:2017-12-19 05:13:19.000-0600
Priority:CriticalRegression?
Status:Closed/CompleteComponents:Core/General
Versions:1.8.11.1 1.8.19.0 Frequency of
Occurrence
Frequent
Related
Issues:
Environment:Attachments:( 0) backtrace_full.txt
( 1) backtrace.txt
( 2) log.zip
( 3) verbose.txt
Description:Asterisk crushing randomly few times in day.
in dmesg: asterisk[10876]: segfault at 13bc ip 00007f7ecb492911 sp 00007f7e817ed9e8 error 6 in libc-2.15.so[7f7ecb401000+1b5000]

If increase maxfiles to 3000 in asterisk.conf - crush is lesser, but it more cpu using. Crash happend if active calls more than 20

Platform: Ubuntu server 12.04.1 x64
Comments:By: Rusty Newton (rnewton) 2012-12-28 14:33:07.570-0600

Igor, Can you provide an Asterisk full log showing VERBOSE and DEBUG messages (missing from your verbose.txt) set to at least level 5. We would like to see what is happening right up to the crash.



By: Matt Jordan (mjordan) 2012-12-31 10:52:24.904-0600

Can you also provide your sip.conf, as well as a pcap of the SIP message traffic?

Somehow the SRTP structure is non-NULL on the SIP channel when it appears as if no SRTP session was initiated. I'm curious if your SIP peer negotiated SRTP at all, or if it somehow is not being set to NULL at some point in the lifetime of the channel.

By: Rusty Newton (rnewton) 2013-01-17 09:44:22.843-0600

Igor, are you able to provide the requested information? Or provide instructions on how to reproduce the issue?   We won't be able to do much without one or the other.

By: Igor (kinga3) 2013-01-17 12:34:00.966-0600

Hi, attached archive with last crash. No data for verbose, there was set level 5.

By: Joshua C. Colp (jcolp) 2017-12-19 05:13:19.487-0600

I am suspending this issue as after further investigation it appears as though the underlying cause was libsrtp itself. We require at least 1.5.4[1] as it has crash fixes in this area.

[1] https://wiki.asterisk.org/wiki/display/AST/libsrtp