[Home]

Summary:ASTERISK-15092: Core dump in vsnprintf / ast_rtp_get_quality / sip_hangup
Reporter:Atis Lezdins (atis)Labels:
Date Opened:2009-11-06 10:01:52.000-0600Date Closed:2011-07-26 14:28:52
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) bt.ast-dev14.iqlabs.lv-2009-11-06T07:24:56-0800.28738.txt
Description:Using very minimal setup - chan_sip, chan_local, agi.

# 0  0x473e0411 in vsnprintf () from /lib/libc.so.6
# 1  0x473c7435 in snprintf () from /lib/libc.so.6
# 2  0x08136484 in __ast_rtp_get_quality (rtp=0x84df728) at rtp.c:2974
# 3  0x081365a5 in ast_rtp_get_quality (rtp=0x84df728, qual=0x0, qtype=RTPQOS_SUMMARY) at rtp.c:3005
# 4  0x08135da0 in ast_rtp_set_vars (chan=0x8a63ad0, rtp=0x84df728) at rtp.c:2806
# 5  0xb7b8287f in sip_hangup (ast=0x8a63ad0) at chan_sip.c:5353

Comments:By: Cristian Dimache (cristiandimache) 2010-10-18 07:11:24

I had the exact backtrace, I increased the number of file descriptors with ulimit -n 65000, and it doesn't crash anymore.

By: Atis Lezdins (atis) 2010-10-18 07:15:51

I have maxfiles set by safe_asterisk and it should be 771104/2 = 385552

By: Leif Madsen (lmadsen) 2011-07-26 14:28:47.046-0500

Per the Asterisk maintenance timeline page at http://www.asterisk.org/asterisk-versions maintenance (bug) support for the 1.4 and 1.6.x branches has ended. For continued maintenance support please move to the 1.8 branch which is a long term support (LTS) branch. For more information about branch support, please see https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions

If this is still an issue, please open a new issue so it can be re-triaged appropriately. Thanks!