[Asterisk-Dev] Core dump with latest CVS on RedHat-7.2

Darren Nickerson darren.nickerson at ifax.com
Wed Dec 17 17:53:10 MST 2003


I'm a relative newcomer, so forgive me if I'm not following established procedure. I was hoping it would be helpful to share the problems I'm having on RedHat-7.2.

[root at 209-166-32-52 Asterix]# /usr/sbin/asterisk -c -g
Asterisk CVS-12/17/03-02:39:14, Copyright (C) 1999-2001 Linux Support Services, Inc.
Written by Mark Spencer <markster at linux-support.net>
[ Booting..........    -- Registered indication country 'us'
    -- Registered indication country 'au'
    -- Registered indication country 'fr'
    -- Registered indication country 'de'
    -- Registered indication country 'nl'
    -- Registered indication country 'uk'
    -- Registered indication country 'fi'
    -- Registered indication country 'no'
    -- Registered indication country 'br'
    -- Setting default indication country to 'us'
.......WARNING[1024]: File config.c, Line 579 (cfg_process): No '=' (equal sign) in line 34 of mgcp.conf
.WARNING[1024]: File chan_iax2.c, Line 6044 (load_module): Unable to open IAX timing interface: No such device
WARNING[1024]: File chan_iax2.c, Line 5466 (set_config): Ignoring port for now
...WARNING[1024]: File chan_oss.c, Line 429 (soundcard_init): Unable to open /dev/dsp: No such device
..WARNING[1024]: File chan_zap.c, Line 7317 (setup_zap): Ignoring rxwink
.................................................Illegal instruction (core dumped)

[root at 209-166-32-52 Asterix]# gdb /usr/sbin/asterisk -core core.22204
GNU gdb Red Hat Linux (5.1-1)
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
Core was generated by `/usr/sbin/asterisk -c -g'.
Program terminated with signal 4, Illegal instruction.
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libpthread.so.0...done.

warning: Unable to set global thread event mask: generic error
[New Thread 1024 (LWP 22204)]
Error while reading shared library symbols:
Cannot enable thread event reporting for Thread 1024 (LWP 22204): generic error
lots of symbols being read
Loaded symbols for /usr/lib/asterisk/modules/codec_ilbc.so
Reading symbols from /usr/lib/asterisk/modules/codec_gsm.so...done.
Loaded symbols for /usr/lib/asterisk/modules/codec_gsm.so
#0  0x407295ef in gsm_sub () from /usr/lib/asterisk/modules/codec_gsm.so
(gdb) bt
#0  0x407295ef in gsm_sub () from /usr/lib/asterisk/modules/codec_gsm.so
#1  0x40727e1b in Gsm_RPE_Decoding ()
   from /usr/lib/asterisk/modules/codec_gsm.so
Error accessing memory address 0x7fff: No such process.

If I take a different approach and 'strace /usr/sbin/asterisk  -c', I see:

open("/etc/asterisk/modules.conf", O_RDONLY) = 18
fstat64(18, {st_mode=S_IFREG|0755, st_size=858, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4041d000
read(18, ";\n; Asterisk configuration file\n"..., 4096) = 858
read(18, "", 4096)                      = 0
close(18)                               = 0
munmap(0x4041d000, 4096)                = 0
open("/usr/lib/asterisk/modules/codec_gsm.so", O_RDONLY) = 18
read(18, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\20"..., 1024) = 1024
fstat64(18, {st_mode=S_IFREG|0755, st_size=90674, ...}) = 0
old_mmap(NULL, 46212, PROT_READ|PROT_EXEC, MAP_PRIVATE, 18, 0) = 0x40720000
mprotect(0x4072a000, 5252, PROT_NONE)   = 0
old_mmap(0x4072a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 18, 0x9000) = 0x4072a000
close(18)                               = 0
mprotect(0x40720000, 40960, PROT_READ|PROT_WRITE) = 0
mprotect(0x40720000, 40960, PROT_READ|PROT_EXEC) = 0
write(1, ".", 1.)                        = 1
gettimeofday({1071708578, 292438}, NULL) = 0
--- SIGILL (Illegal instruction) ---
+++ killed by SIGILL +++
[root at 209-166-32-52 Asterix]#



Darren Nickerson
Senior Sales & Support Engineer
iFax Solutions, Inc. www.ifax.com
darren.nickerson at ifax.com
+1.215.438.4638 office
+ fax
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20031217/9f4c92b6/attachment.htm

More information about the asterisk-dev mailing list