[Asterisk-Users] g729 codec + kernel upgrade

Steven Critchfield critch at basesys.com
Wed Sep 3 09:13:44 MST 2003


On Wed, 2003-09-03 at 10:20, Tais M. Hansen wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Wednesday 03 September 2003 16:37, Martin Pycko wrote:
> > Try the new_codec_binary/codec_g729b.so from our ftp site.
> 
> Yes, sir! :)
> 
> ... Sadly, that one also segfaults:
> 
> (gdb) bt
> #0  0x4015acad in memset () from /lib/libc.so.6
> #1  0x40226bea in load_module () at codec_g729b.c:514
> #2  0x08054794 in ast_load_resource (resource_name=0x80d1098 "codec_g729b.so") 
> at loader.c:298
> #3  0x08054de3 in load_modules () at loader.c:344
> #4  0x0807de5e in main (argc=-1073747744, argv=0x1) at asterisk.c:1398
> #5  0x400f4bb4 in __libc_start_main () from /lib/libc.so.6
> 
> Does it require anything in the kernel that I might accidently have switched 
> off?

I wonder if you are having a libc problem. Recently my workstation
started having problems with a couple of apps and libc. I did track it
down to a recent update I had done, and then about a few days ago debian
released another libc update and all is fine again. 

>From your backtrace, either libc is doing something wrong, or the
load_module is not validating that malloc was successful, or passing an
incorrect value to memset. 

-- 
Steven Critchfield  <critch at basesys.com>




More information about the asterisk-users mailing list