[asterisk-bugs] [Asterisk 0017240]: startup fails with libspeex.so.1.2.0

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jun 2 12:29:36 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17240 
====================================================================== 
Reported By:                seandarcy
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17240
Category:                   Codecs/codec_speex
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.2.7-rc2 
JIRA:                       SWP-1408 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-04-23 20:01 CDT
Last Modified:              2010-06-02 12:29 CDT
====================================================================== 
Summary:                    startup fails with libspeex.so.1.2.0
Description: 
I'm upgrading from 1.6.1.18 to 1.6.2.6. configure, make, make menuselect,
and make install all work without error. I've rm'd
/usr/lib/asterisk/modules. On startup 1.6.2.6 (and 1.6.2.7-rc2) hangs here:

    -- CODEC SPEEX: Setting preprocessor Dereverb Level to 0.300000
  == Registered translator 'speextolin' from format speex to slin, cost 1 

I can asterisk -r, but it's just hung. You can't even shut it down:

CLI> core stop now
No such command 'core stop now'

Deselecting speex func and codec in menuselect makes it work.
====================================================================== 

---------------------------------------------------------------------- 
 (0122809) svnbot (reporter) - 2010-06-02 12:29
 https://issues.asterisk.org/view.php?id=17240#c122809 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 267065

U   trunk/include/asterisk/slin.h

------------------------------------------------------------------------
r267065 | jpeeler | 2010-06-02 12:29:35 -0500 (Wed, 02 Jun 2010) | 12
lines

Fix infinite loop when loading codec speex

This changes the sample slinear frame data to contain non-zero data so
that
translation calculations for speex works when preprocessing and VAD is
turned
on. The encoder expects samples to be returned, but when attempted with
the
mentioned two options and silent sample frames everything was discarded. 

(closes issue https://issues.asterisk.org/view.php?id=17240)
Reported by: seandarcy

Review: https://reviewboard.asterisk.org/r/682/

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=267065 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-02 12:29 svnbot         Note Added: 0122809                          
======================================================================




More information about the asterisk-bugs mailing list