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

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Oct 18 11:59:27 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
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:                     new
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:              
====================================================================== 
Date Submitted:             10-18-2007 11:20 CDT
Last Modified:              10-18-2007 11:59 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?

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

---------------------------------------------------------------------- 
 ruffle - 10-18-07 11:59  
---------------------------------------------------------------------- 
Argh!  I'm a muppet :-(   Just noticed asterisk-addons-1.4.4, got it,
installed it and Voila!  mp3 playback works.

So it looks like there's an issue with addons-1.4.3 and asterisk-1.4.13
but it's fixed now. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-18-07 11:59  ruffle         Note Added: 0072234                          
======================================================================




More information about the asterisk-bugs mailing list