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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Apr 30 17:31:44 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:                     feedback
Asterisk Version:           1.6.2.7-rc2 
JIRA:                        
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-04-30 17:31 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0121256) seandarcy (reporter) - 2010-04-30 17:31
 https://issues.asterisk.org/view.php?id=17240#c121256 
---------------------------------------------------------------------- 
Well I didn't do that,but I now know what is the problem.

codecs.conf for speex:

the deadlock will occur if preproccessing is set to true AND pp_vad is set
to true.

This works with 1.6.2.7-rc3:
 
;enable preprocessor [true / false]
; allows dsp functionality below but incurs CPU overhead
preprocess => true

; preproc voice activity detection [true / false]
; more advanced equivalent of DTX, based on voice frequencies
pp_vad => false

I've no clue why pp_vad  worked with 1.16.1.17, but not 1.6.2.7-rc3. In
any event, I suggest pp_vad be hard-wired to false. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-30 17:31 seandarcy      Note Added: 0121256                          
======================================================================




More information about the asterisk-bugs mailing list