[Asterisk-Dev] Asterisk 0.4 Seg Faulted after 4 days

Matteo Brancaleoni mbrancaleoni at espia.it
Thu Apr 17 03:22:06 MST 2003


Hi, running Asterisk 0.4 with no
problems for 4 days, today is
segfaulted.

Here's the gdb output :

[root at astro tmp]# gdb /usr/sbin/asterisk core.28866
GNU gdb Red Hat Linux (5.2-2)
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"...
Core was generated by `asterisk -vvv'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/i686/libpthread.so.0...done.
Loaded symbols for /lib/i686/libpthread.so.0
Reading symbols from /usr/lib/libncurses.so.5...done.
Loaded symbols for /usr/lib/libncurses.so.5
Reading symbols from /lib/i686/libm.so.6...done.
Loaded symbols for /lib/i686/libm.so.6
Reading symbols from /lib/i686/libc.so.6...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/asterisk/modules/chan_modem.so...done.
Loaded symbols for /usr/lib/asterisk/modules/chan_modem.so
Reading symbols from
/usr/lib/asterisk/modules/res_musiconhold.so...done.
Loaded symbols for /usr/lib/asterisk/modules/res_musiconhold.so
Reading symbols from /usr/lib/asterisk/modules/res_adsi.so...done.
Loaded symbols for /usr/lib/asterisk/modules/res_adsi.so
Reading symbols from /usr/lib/asterisk/modules/res_parking.so...done.
Loaded symbols for /usr/lib/asterisk/modules/res_parking.so
Reading symbols from /usr/lib/asterisk/modules/res_crypto.so...done.
Loaded symbols for /usr/lib/asterisk/modules/res_crypto.so
Reading symbols from /lib/libssl.so.2...done.
Loaded symbols for /lib/libssl.so.2
Reading symbols from /lib/libcrypto.so.2...done.
Loaded symbols for /lib/libcrypto.so.2
Reading symbols from
/usr/lib/asterisk/modules/res_indications.so...done.
Loaded symbols for /usr/lib/asterisk/modules/res_indications.so
---Type <return> to continue, or q <return> to quit---
Reading symbols from /usr/lib/asterisk/modules/res_monitor.so...done.
Loaded symbols for /usr/lib/asterisk/modules/res_monitor.so
Reading symbols from /usr/lib/asterisk/modules/chan_iax.so...done.
Loaded symbols for /usr/lib/asterisk/modules/chan_iax.so
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_nisplus.so.2...done.
Loaded symbols for /lib/libnss_nisplus.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /usr/lib/asterisk/modules/chan_sip.so...done.
Loaded symbols for /usr/lib/asterisk/modules/chan_sip.so
Reading symbols from
/usr/lib/asterisk/modules/chan_modem_aopen.so...done.
Loaded symbols for /usr/lib/asterisk/modules/chan_modem_aopen.so
Reading symbols from
/usr/lib/asterisk/modules/chan_modem_bestdata.so...done.
Loaded symbols for /usr/lib/asterisk/modules/chan_modem_bestdata.so
Reading symbols from /usr/lib/asterisk/modules/chan_modem_i4l.so...done.
Loaded symbols for /usr/lib/asterisk/modules/chan_modem_i4l.so
Reading symbols from /usr/lib/asterisk/modules/chan_agent.so...done.
Loaded symbols for /usr/lib/asterisk/modules/chan_agent.so
Reading symbols from /usr/lib/asterisk/modules/chan_mgcp.so...done.
Loaded symbols for /usr/lib/asterisk/modules/chan_mgcp.so
Reading symbols from /usr/lib/asterisk/modules/chan_iax2.so...done.
Loaded symbols for /usr/lib/asterisk/modules/chan_iax2.so
Reading symbols from /usr/lib/asterisk/modules/chan_phone.so...done.
Loaded symbols for /usr/lib/asterisk/modules/chan_phone.so
Reading symbols from /usr/lib/asterisk/modules/chan_zap.so...done.
Loaded symbols for /usr/lib/asterisk/modules/chan_zap.so
Reading symbols from /usr/lib/libpri.so.1...done.
Loaded symbols for /usr/lib/libpri.so.1
Reading symbols from /usr/lib/libtonezone.so.1...done.
Loaded symbols for /usr/lib/libtonezone.so.1
Reading symbols from /usr/lib/asterisk/modules/pbx_config.so...done.
Loaded symbols for /usr/lib/asterisk/modules/pbx_config.so
Reading symbols from /usr/lib/asterisk/modules/pbx_wilcalu.so...done.
Loaded symbols for /usr/lib/asterisk/modules/pbx_wilcalu.so
Reading symbols from /usr/lib/asterisk/modules/pbx_spool.so...done.
Loaded symbols for /usr/lib/asterisk/modules/pbx_spool.so
Reading symbols from /usr/lib/asterisk/modules/app_dial.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_dial.so
Reading symbols from /usr/lib/asterisk/modules/app_playback.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_playback.so
---Type <return> to continue, or q <return> to quit---
Reading symbols from /usr/lib/asterisk/modules/app_voicemail.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_voicemail.so
Reading symbols from /usr/lib/asterisk/modules/app_directory.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_directory.so
Reading symbols from /usr/lib/asterisk/modules/app_mp3.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_mp3.so
Reading symbols from /usr/lib/asterisk/modules/app_system.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_system.so
Reading symbols from /usr/lib/asterisk/modules/app_echo.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_echo.so
Reading symbols from /usr/lib/asterisk/modules/app_record.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_record.so
Reading symbols from /usr/lib/asterisk/modules/app_image.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_image.so
Reading symbols from /usr/lib/asterisk/modules/app_url.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_url.so
Reading symbols from /usr/lib/asterisk/modules/app_disa.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_disa.so
Reading symbols from /usr/lib/asterisk/modules/app_agi.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_agi.so
Reading symbols from /usr/lib/asterisk/modules/app_qcall.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_qcall.so
Reading symbols from /usr/lib/asterisk/modules/app_adsiprog.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_adsiprog.so
Reading symbols from /usr/lib/asterisk/modules/app_getcpeid.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_getcpeid.so
Reading symbols from /usr/lib/asterisk/modules/app_milliwatt.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_milliwatt.so
Reading symbols from /usr/lib/asterisk/modules/app_zapateller.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_zapateller.so
Reading symbols from /usr/lib/asterisk/modules/app_datetime.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_datetime.so
Reading symbols from
/usr/lib/asterisk/modules/app_setcallerid.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_setcallerid.so
Reading symbols from /usr/lib/asterisk/modules/app_festival.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_festival.so
Reading symbols from /usr/lib/asterisk/modules/app_queue.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_queue.so
Reading symbols from /usr/lib/asterisk/modules/app_senddtmf.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_senddtmf.so
Reading symbols from
/usr/lib/asterisk/modules/app_parkandannounce.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_parkandannounce.so
Reading symbols from /usr/lib/asterisk/modules/app_striplsd.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_striplsd.so
Reading symbols from /usr/lib/asterisk/modules/app_setcidname.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_setcidname.so
---Type <return> to continue, or q <return> to quit---
Reading symbols from
/usr/lib/asterisk/modules/app_lookupcidname.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_lookupcidname.so
Reading symbols from /usr/lib/asterisk/modules/app_substring.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_substring.so
Reading symbols from /usr/lib/asterisk/modules/app_macro.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_macro.so
Reading symbols from
/usr/lib/asterisk/modules/app_authenticate.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_authenticate.so
Reading symbols from /usr/lib/asterisk/modules/app_softhangup.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_softhangup.so
Reading symbols from
/usr/lib/asterisk/modules/app_lookupblacklist.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_lookupblacklist.so
Reading symbols from
/usr/lib/asterisk/modules/app_waitforring.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_waitforring.so
Reading symbols from /usr/lib/asterisk/modules/app_privacy.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_privacy.so
Reading symbols from /usr/lib/asterisk/modules/app_db.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_db.so
Reading symbols from
/usr/lib/asterisk/modules/app_chanisavail.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_chanisavail.so
Reading symbols from /usr/lib/asterisk/modules/app_zapras.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_zapras.so
Reading symbols from /usr/lib/asterisk/modules/app_meetme.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_meetme.so
Reading symbols from /usr/lib/asterisk/modules/app_flash.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_flash.so
Reading symbols from /usr/lib/asterisk/modules/app_zapbarge.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_zapbarge.so
Reading symbols from /usr/lib/asterisk/modules/codec_gsm.so...done.
Loaded symbols for /usr/lib/asterisk/modules/codec_gsm.so
Reading symbols from /usr/lib/asterisk/modules/codec_mp3_d.so...done.
Loaded symbols for /usr/lib/asterisk/modules/codec_mp3_d.so
Reading symbols from /usr/lib/asterisk/modules/codec_lpc10.so...done.
Loaded symbols for /usr/lib/asterisk/modules/codec_lpc10.so
Reading symbols from /usr/lib/asterisk/modules/codec_adpcm.so...done.
Loaded symbols for /usr/lib/asterisk/modules/codec_adpcm.so
Reading symbols from /usr/lib/asterisk/modules/codec_ulaw.so...done.
Loaded symbols for /usr/lib/asterisk/modules/codec_ulaw.so
Reading symbols from /usr/lib/asterisk/modules/codec_alaw.so...done.
Loaded symbols for /usr/lib/asterisk/modules/codec_alaw.so
Reading symbols from /usr/lib/asterisk/modules/codec_a_mu.so...done.
Loaded symbols for /usr/lib/asterisk/modules/codec_a_mu.so
Reading symbols from /usr/lib/asterisk/modules/format_g723.so...done.
Loaded symbols for /usr/lib/asterisk/modules/format_g723.so
Reading symbols from /usr/lib/asterisk/modules/format_wav.so...done.
Loaded symbols for /usr/lib/asterisk/modules/format_wav.so
---Type <return> to continue, or q <return> to quit---
Reading symbols from /usr/lib/asterisk/modules/format_mp3.so...done.
Loaded symbols for /usr/lib/asterisk/modules/format_mp3.so
Reading symbols from /usr/lib/asterisk/modules/format_wav_gsm.so...done.
Loaded symbols for /usr/lib/asterisk/modules/format_wav_gsm.so
Reading symbols from /usr/lib/asterisk/modules/format_gsm.so...done.
Loaded symbols for /usr/lib/asterisk/modules/format_gsm.so
Reading symbols from /usr/lib/asterisk/modules/format_vox.so...done.
Loaded symbols for /usr/lib/asterisk/modules/format_vox.so
Reading symbols from /usr/lib/asterisk/modules/format_pcm.so...done.
Loaded symbols for /usr/lib/asterisk/modules/format_pcm.so
Reading symbols from /usr/lib/asterisk/modules/format_g729.so...done.
Loaded symbols for /usr/lib/asterisk/modules/format_g729.so
Reading symbols from
/usr/lib/asterisk/modules/format_pcm_alaw.so...done.
Loaded symbols for /usr/lib/asterisk/modules/format_pcm_alaw.so
Reading symbols from /usr/lib/asterisk/modules/format_jpeg.so...done.
Loaded symbols for /usr/lib/asterisk/modules/format_jpeg.so
Reading symbols from /usr/lib/asterisk/modules/cdr_csv.so...done.
Loaded symbols for /usr/lib/asterisk/modules/cdr_csv.so
Reading symbols from /usr/lib/asterisk/modules/cdr_mysql.so...done.
Loaded symbols for /usr/lib/asterisk/modules/cdr_mysql.so
Reading symbols from /usr/lib/mysql/libmysqlclient.so.10...done.
Loaded symbols for /usr/lib/mysql/libmysqlclient.so.10
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /usr/lib/asterisk/modules/chan_local.so...done.
Loaded symbols for /usr/lib/asterisk/modules/chan_local.so
#0  zt_handle_event (ast=0x8219d70) at chan_zap.c:2527
2527
p->subs[SUB_THREEWAY].owner->_softhangup |= AST_SOFTHANGUP_DEV;
(gdb) bt
#0  zt_handle_event (ast=0x8219d70) at chan_zap.c:2527
#1  0x41c76eec in zt_exception (ast=0x8219d70) at chan_zap.c:2968
#2  0x0805703f in ast_read (chan=0x8219d70) at channel.c:1006
#3  0x08056c99 in ast_waitfordigit (c=0x8219d70, ms=999999) at
channel.c:909
#4  0x41c79d06 in ss_thread (data=0x8219d70) at chan_zap.c:3760
#5  0x4003afaf in pthread_start_thread () from /lib/i686/libpthread.so.0
(gdb)

Any idea?

Matteo Brancaleoni
mbrancaleoni at espia.it
Emmegi System Administrator
 
EspiA - EMMEGI Srl - e*solution provider
Uffici: Via Pascoli, 37
20129 Milano - Italy
Sede Legale: Corso Sempione 67
20149 Milano - Italy
Tel. +39 0270633354
Fax. +39 0245487890
http://www.espia.it




More information about the asterisk-dev mailing list