[asterisk-bugs] [Asterisk 0011026]: Asterisk segfaults on Playback of mp3

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Oct 18 13:49:09 CDT 2007


The following issue has been CLOSED 
====================================================================== 
http://bugs.digium.com/view.php?id=11026 
====================================================================== 
Reported By:                ruffle
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11026
Category:                   Applications/app_playback
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.13  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             10-18-2007 11:20 CDT
Last Modified:              10-18-2007 13:49 CDT
====================================================================== 
Summary:                    Asterisk segfaults on Playback of mp3
Description: 
The following causes Asterisk to segfault if
/tmp/weasels-eaten-phonesys.mp3 is present. If
/tmp/weasels-eaten-phonesys.wav exists and the mp3 doesn't then 
all is well.

;
exten => *134,1,Answer
exten => *134,n,Wait(1)
exten => *134,n,Playback("/tmp/weasels-eaten-phonesys")
exten => *134,n,Hangup
;


The mp3 was generated by "lame --prefix phone
/tmp/weasels-eaten-phonesys.wav /tmp/weasels-eaten-phonesys.mp3" but other
known mp3s cause the same problem.

I get an entry in syslog:

Oct 18 17:20:03 asterisk kernel: [3618672.768496] asterisk[17515]:
segfault at 0000000000000060 rip 00002aad053ab3f0 rsp 00000000408674f8
error 6

The bit of Asterisk debug leading up to the segfault is:


[Oct 18 17:20:03] DEBUG[17515] channel.c: Set channel SIP/112-007177e0 to
write format alaw
[Oct 18 17:20:03] DEBUG[17515] pbx.c: Launching 'Playback'
[Oct 18 17:20:03] DEBUG[17515] channel.c: Set channel SIP/112-007177e0 to
write format slin

ControlPlayback also causes a segfault but I guess that's no surprise :-)

Mp3Player doesn't cause a segfault but there's no audio output and when
used with a larger file (3 minutes long) the MP3Player finishes within
about 4 seconds.

I'm running this on an Ubuntu based machine running 64bit on
an Intel(R) Core(TM)2 CPU 6600  @ 2.40GHz.

What other tests/debug would the developers like me to do?

====================================================================== 

---------------------------------------------------------------------- 
 putnopvut - 10-18-07 13:49  
---------------------------------------------------------------------- 
Closing since it has been fixed. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-18-07 13:49  putnopvut      Status                   new => closed       
10-18-07 13:49  putnopvut      Note Added: 0072245                          
======================================================================




More information about the asterisk-bugs mailing list