[Asterisk-Users] segmentation fault at voicemail

NOHATA Hi hnohata at emerge.jp
Tue Apr 29 09:27:55 MST 2003


Hi,

I would like to express my appreciation to your big efforts. I am enjoying
Asterisk very much.
My Asterisk works very well, but I encountered a segfault at voicemail after
pressing # to end the recording. Please see the log below.

My asterisk is running on RedHat 8.
When booting the Asterisk, I found a WARNING around IAX, and it says "Unable
to open IAX timing interface: No such device."  Also I saw "No ISA tormenta
card found at d0000" because I have no zapata channel right now.
Is this related to the trouble of voicemail?

It is highly appreciated if I could have any suggestions.

Thank you very much in advance,
Hiro


--------------------
# gdb ./asterisk
GNU gdb Red Hat Linux (5.2.1-4)
Copyright 2002 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"...
(gdb) set args -vvvc
(gdb) run
Starting program: /usr/sbin/asterisk -vvvc
[New Thread 8192 (LWP 920)]
[New Thread 16385 (LWP 927)]
[New Thread 8194 (LWP 928)]
  == Parsing '/etc/asterisk/asterisk.conf': Found
Asterisk CVS-03/31/03-17:20:21, Copyright (C) 1999-2001 Linux Support
Services, Inc.
Written by Mark Spencer <markster at linux-support.net>
=========================================================================
  == Parsing '/etc/asterisk/logger.conf': Found
Asterisk Event Logger Started /var/log/asterisk/event_log

...

 [chan_mgcp.so] => (Media Gateway Control Protocol (MGCP))
  == Parsing '/etc/asterisk/mgcp.conf': Found
  == MGCP Listening on 0.0.0.0:2427
  == Registered channel type 'MGCP' (Media Gateway Control Protocol (MGCP))
[New Thread 49159 (LWP 933)]
 [chan_iax2.so] => (Inter Asterisk eXchange (Ver 2))
WARNING[8192]: File chan_iax2.c, Line 5473 (load_module): Unable to open IAX
timing interface: No such device
  == Manager registered action IAXpeers
  == Parsing '/etc/asterisk/iax.conf': Found
WARNING[8192]: File chan_iax2.c, Line 4958 (set_config): Ignoring port for
now
  == Registered channel type 'IAX2' (Inter Asterisk eXchange Driver (Ver 2))
  == Using TOS bits 16
[New Thread 57352 (LWP 936)]
  == IAX Ready and Listening on 0.0.0.0 port 4569
 [chan_phone.so] => (Linux Telephony API Support)

...

Asterisk Ready.
*CLI>
    -- Executing VoiceMail("IAX[iaxtel2 at 219.7.2.26:5036]/139", "301") in new
stack
  == Parsing '/etc/asterisk/voicemail.conf': Found
    -- Playing 'vm-intro'
    -- Playing 'beep'
    -- Recording to /var/spool/asterisk/vm/301/INBOX/msg0009
    -- User ended message by pressing #
    -- Playing 'vm-msgsaved'
  == Parsing '/etc/asterisk/voicemail.conf': Found

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 32773 (LWP 931)]
0x40120f2a in _int_malloc () from /lib/libc.so.6
(gdb) bt
#0  0x40120f2a in _int_malloc () from /lib/libc.so.6
#1  0x4012059c in malloc () from /lib/libc.so.6
#2  0x080526b3 in ast_frdup (f=0xbf1fe94c) at frame.c:250
#3  0x40308c85 in socket_read (id=0x80d6498, fd=11, events=1, cbdata=0x0) at
chan_iax.c:712
#4  0x08050b5c in ast_io_wait (ioc=0x80d0d00, howlong=15) at io.c:268
#5  0x40306d3e in network_thread (ignore=0x0) at chan_iax.c:4280
#6  0x4002a76e in pthread_start_thread () from /lib/libpthread.so.0
#7  0x4002a7dd in pthread_start_thread_event () from /lib/libpthread.so.0



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030429/5d4312c1/attachment.htm


More information about the asterisk-users mailing list