[asterisk-bugs] [Asterisk 0014138]: Unable to use iLBC codec under virtual machine (nor Xen, nor VMWare)

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Dec 25 08:19:25 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14138 
====================================================================== 
Reported By:                malaiwah
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14138
Category:                   Codecs/codec_ilbc
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 166731 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-12-25 08:08 CST
Last Modified:              2008-12-25 08:19 CST
====================================================================== 
Summary:                    Unable to use iLBC codec under virtual machine (nor
Xen, nor VMWare)
Description: 
I'm running Asterisk (as test machines) under various virtual
environnements and am having the same problem under every virtual
environnement I tried.
I had this problem with Asterisk 1.4 before but did not bother mentionning
because I did not want to use the iLBC codec at that time. I think this
issue started when the iLBC source code went out-of-tree.

I'm running a Ubuntu 32-bit guest in a 64-bit server, this one is running
under VMWare Server on Linux.

If I try to run Asterisk with the iLBC codec enabled (with the contrib
script downloading/extracting the source from the online RFC) it segfaults.
I'm currently testing it with asterisk-trunk.

I can successfully start asterisk if I add a noload directive in the
modules.conf configuration file, but I'm missing the ilbc codec in the
supported translations report.

In "additionnal informations", I have the gdb stacktrace (bt) of my core
dump file.
====================================================================== 

---------------------------------------------------------------------- 
 (0096946) malaiwah (reporter) - 2008-12-25 08:19
 http://bugs.digium.com/view.php?id=14138#c96946 
---------------------------------------------------------------------- 
Sorry, my backtrace in add'l informations is not correct, this build was
not done using "DONT_OPTIMIZE".
I will post the correct gdb output as a file attachment (gdb.txt).

Core was generated by `asterisk -vvvvvvvvvdddgc'.
Program terminated with signal 11, Segmentation fault.

(gdb) bt
http://bugs.digium.com/view.php?id=0  0xb70f04a4 in window () from
/usr/lib/libvpb.so.0
http://bugs.digium.com/view.php?id=1  0xb5819800 in SimpleAnalysis
(lsf=0xbfb2ddd0, data=0xbfb2eda8,
iLBCenc_inst=0x83a54ec) at LPCencode.c:50
http://bugs.digium.com/view.php?id=2  0xb5819da5 in LPCencode
(syntdenum=0xbfb2f5fc, weightdenum=0xbfb2f4f4,
lsf_index=0xbfb2f78c, data=0xbfb2eda8, iLBCenc_inst=0x83a54ec) at
LPCencode.c:229
http://bugs.digium.com/view.php?id=3  0xb5814db3 in iLBC_encode (bytes=0x83aa8c0
"", block=0xbfb2f834,
iLBCenc_inst=0x83a54ec) at iLBC_encode.c:134
http://bugs.digium.com/view.php?id=4  0xb58132ed in lintoilbc_frameout
(pvt=0x83a5478) at codec_ilbc.c:148
http://bugs.digium.com/view.php?id=5  0x081507b4 in calc_cost (t=0xb581ea60,
seconds=1) at translate.c:422
http://bugs.digium.com/view.php?id=6  0x081517ae in __ast_register_translator
(t=0xb581ea60, mod=0x840ff08)
at translate.c:672
http://bugs.digium.com/view.php?id=7  0xb5813429 in load_module () at
codec_ilbc.c:202
http://bugs.digium.com/view.php?id=8  0x080e20fe in load_resource
(resource_name=0x836c3e0 "codec_ilbc.so",
global_symbols_only=0) at loader.c:694
http://bugs.digium.com/view.php?id=9  0x080e2a71 in ?? ()
http://bugs.digium.com/view.php?id=10 0x08080b7e in ?? ()
http://bugs.digium.com/view.php?id=11 0xb6dd2450 in __libc_start_main () from
/lib/tls/i686/cmov/libc.so.6
http://bugs.digium.com/view.php?id=12 0x0805fbb1 in ?? () 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-25 08:19 malaiwah       Note Added: 0096946                          
======================================================================




More information about the asterisk-bugs mailing list