[asterisk-users] Asterisk 1.4.9 reproducibly dumps core on Solaris 10
Frank Tarczynski
ftarz at mindspring.com
Wed Jul 25 23:09:32 CDT 2007
> Message: 1
> Date: Tue, 15 May 2007 23:01:24 -0400
> From: Frank Tarczynski <ftarz at mindspring.com>
> Subject: [asterisk-users] Asterisk 1.4.4 reproducibly dumps core on
> Solaris 10
> To: asterisk-users at lists.digium.com
> Message-ID: <464A7404.5000706 at mindspring.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> I have built Asterisk 1.4.4 on my Solaris 10 x86 box:
> LDFLAGS='-R/usr/sfw/lib -R/opt/csw/lib -L/opt/csw/lib -L/usr/sfw/lib'
> CPPFLAGS=-I/opt/csw/include ./configure -with-curl=/opt/csw
> --without-oss --without-vpb --prefix=/opt/asterisk-1.4
>
> The build and install go fine but the asterisk executable reproducibly
> dumps core with a segmentation violation.
>
> If I start it as: asterisk -gc and then type "help" I get a core dump.
>
> Using gdb shows the following trace. I get the same trace everytime.
>
> # gdb ./asterisk ./core
> GNU gdb 6.2.1
> Copyright 2004 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-pc-solaris2.10"...
> Core was generated by `./asterisk -gc'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /usr/lib/libcurses.so.1...done.
> Loaded symbols for /usr/lib/libcurses.so.1
> Reading symbols from /usr/lib/libpthread.so.1...
> warning: Lowest section in /usr/lib/libpthread.so.1 is .dynamic at 00000074
> done.
> Loaded symbols for /usr/lib/libpthread.so.1
> Reading symbols from /usr/lib/libdl.so.1...done.
> Loaded symbols for /usr/lib/libdl.so.1
> Reading symbols from /usr/lib/libnsl.so.1...done.
> Loaded symbols for /usr/lib/libnsl.so.1
> Reading symbols from /usr/lib/libsocket.so.1...done.
> Loaded symbols for /usr/lib/libsocket.so.1
> Reading symbols from /usr/lib/libresolv.so.2...done.
> Loaded symbols for /usr/lib/libresolv.so.2
> Reading symbols from /usr/sfw/lib/libstdc++.so.6...done.
> Loaded symbols for /usr/sfw/lib/libstdc++.so.6
> Reading symbols from /usr/lib/libm.so.2...done.
> Loaded symbols for /usr/lib/libm.so.2
> Reading symbols from /usr/sfw/lib/libgcc_s.so.1...done.
> Loaded symbols for /usr/sfw/lib/libgcc_s.so.1
> Reading symbols from /usr/lib/libc.so.1...done.
> Loaded symbols for /usr/lib/libc.so.1
> Reading symbols from /opt/asterisk/lib/modules/res_musiconhold.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/res_musiconhold.so
> Reading symbols from /opt/asterisk/lib/modules/res_adsi.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/res_adsi.so
> Reading symbols from /opt/asterisk/lib/modules/res_config_pgsql.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/res_config_pgsql.so
> Reading symbols from /usr/lib/libpq.so.4...done.
> Loaded symbols for /usr/lib/libpq.so.4
> Reading symbols from /usr/lib/libz.so...done.
> Loaded symbols for /usr/lib/libz.so
> Reading symbols from /usr/sfw/lib/libssl.so.0.9.7...done.
> Loaded symbols for /usr/sfw/lib/libssl.so.0.9.7
> Reading symbols from /usr/sfw/lib/libcrypto.so.0.9.7...done.
> Loaded symbols for /usr/sfw/lib/libcrypto.so.0.9.7
> Reading symbols from /usr/sfw/lib/libssl_extra.so.0.9.7...done.
> Loaded symbols for /usr/sfw/lib/libssl_extra.so.0.9.7
> Reading symbols from /usr/sfw/lib/libcrypto_extra.so.0.9.7...done.
> Loaded symbols for /usr/sfw/lib/libcrypto_extra.so.0.9.7
> Reading symbols from /opt/asterisk/lib/modules/res_features.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/res_features.so
> Reading symbols from /opt/asterisk/lib/modules/res_indications.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/res_indications.so
> Reading symbols from /opt/asterisk/lib/modules/res_monitor.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/res_monitor.so
> Reading symbols from /opt/asterisk/lib/modules/res_smdi.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/res_smdi.so
> Reading symbols from /opt/asterisk/lib/modules/res_snmp.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/res_snmp.so
> Reading symbols from /usr/sfw/lib/libnetsnmpagent.so.5...done.
> Loaded symbols for /usr/sfw/lib/libnetsnmpagent.so.5
> Reading symbols from /usr/sfw/lib/libnetsnmpmibs.so.5...done.
> Loaded symbols for /usr/sfw/lib/libnetsnmpmibs.so.5
> Reading symbols from /usr/sfw/lib/libnetsnmphelpers.so.5...done.
> Loaded symbols for /usr/sfw/lib/libnetsnmphelpers.so.5
> Reading symbols from /usr/sfw/lib/libnetsnmp.so.5...done.
> Loaded symbols for /usr/sfw/lib/libnetsnmp.so.5
> Reading symbols from /usr/lib/libkvm.so.1...done.
> Loaded symbols for /usr/lib/libkvm.so.1
> Reading symbols from /usr/lib/libpkcs11.so.1...done.
> Loaded symbols for /usr/lib/libpkcs11.so.1
> Reading symbols from /usr/lib/libkstat.so.1...done.
> Loaded symbols for /usr/lib/libkstat.so.1
> Reading symbols from /usr/lib/libelf.so.1...done.
> Loaded symbols for /usr/lib/libelf.so.1
> Reading symbols from /usr/lib/libadm.so.1...done.
> Loaded symbols for /usr/lib/libadm.so.1
> Reading symbols from /usr/lib/libcryptoutil.so.1...done.
> Loaded symbols for /usr/lib/libcryptoutil.so.1
> Reading symbols from /usr/lib/libdoor.so.1...done.
> Loaded symbols for /usr/lib/libdoor.so.1
> Reading symbols from /opt/asterisk/lib/modules/res_speech.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/res_speech.so
> Reading symbols from /opt/asterisk/lib/modules/res_agi.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/res_agi.so
> Reading symbols from /opt/asterisk/lib/modules/res_clioriginate.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/res_clioriginate.so
> Reading symbols from /opt/asterisk/lib/modules/res_convert.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/res_convert.so
> Reading symbols from /usr/lib/libmp.so.2...done.
> Loaded symbols for /usr/lib/libmp.so.2
> Reading symbols from /usr/lib/libmd5.so.1...done.
> Loaded symbols for /usr/lib/libmd5.so.1
> Reading symbols from /usr/lib/libscf.so.1...done.
> Loaded symbols for /usr/lib/libscf.so.1
> Reading symbols from /usr/lib/libuutil.so.1...done.
> Loaded symbols for /usr/lib/libuutil.so.1
> Reading symbols from /opt/asterisk/lib/modules/chan_features.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/chan_features.so
> Reading symbols from /opt/asterisk/lib/modules/chan_iax2.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/chan_iax2.so
> Reading symbols from /opt/asterisk/lib/modules/chan_local.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/chan_local.so
> Reading symbols from /opt/asterisk/lib/modules/chan_mgcp.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/chan_mgcp.so
> Reading symbols from /opt/asterisk/lib/modules/chan_sip.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/chan_sip.so
> Reading symbols from /opt/asterisk/lib/modules/chan_skinny.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/chan_skinny.so
> Reading symbols from /opt/asterisk/lib/modules/pbx_ael.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/pbx_ael.so
> Reading symbols from /opt/asterisk/lib/modules/pbx_config.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/pbx_config.so
> Reading symbols from /opt/asterisk/lib/modules/pbx_dundi.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/pbx_dundi.so
> Reading symbols from /opt/asterisk/lib/modules/pbx_loopback.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/pbx_loopback.so
> Reading symbols from /opt/asterisk/lib/modules/pbx_realtime.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/pbx_realtime.so
> Reading symbols from /opt/asterisk/lib/modules/pbx_spool.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/pbx_spool.so
> Reading symbols from /opt/asterisk/lib/modules/app_adsiprog.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_adsiprog.so
> Reading symbols from /opt/asterisk/lib/modules/app_alarmreceiver.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_alarmreceiver.so
> Reading symbols from /opt/asterisk/lib/modules/app_amd.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_amd.so
> Reading symbols from /opt/asterisk/lib/modules/app_authenticate.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_authenticate.so
> Reading symbols from /opt/asterisk/lib/modules/app_cdr.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_cdr.so
> Reading symbols from /opt/asterisk/lib/modules/app_chanisavail.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_chanisavail.so
> Reading symbols from
> /opt/asterisk/lib/modules/app_channelredirect.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_channelredirect.so
> Reading symbols from /opt/asterisk/lib/modules/app_chanspy.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_chanspy.so
> Reading symbols from /usr/lib/librt.so.1...done.
> Loaded symbols for /usr/lib/librt.so.1
> Reading symbols from /usr/lib/libaio.so.1...done.
> Loaded symbols for /usr/lib/libaio.so.1
> Reading symbols from
> /opt/asterisk/lib/modules/app_controlplayback.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_controlplayback.so
> Reading symbols from /opt/asterisk/lib/modules/app_db.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_db.so
> Reading symbols from /opt/asterisk/lib/modules/app_dial.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_dial.so
> Reading symbols from /opt/asterisk/lib/modules/app_dictate.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_dictate.so
> Reading symbols from
> /opt/asterisk/lib/modules/app_directed_pickup.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_directed_pickup.so
> Reading symbols from /opt/asterisk/lib/modules/app_directory.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_directory.so
> Reading symbols from /opt/asterisk/lib/modules/app_disa.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_disa.so
> Reading symbols from /opt/asterisk/lib/modules/app_dumpchan.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_dumpchan.so
> Reading symbols from /opt/asterisk/lib/modules/app_echo.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_echo.so
> Reading symbols from /opt/asterisk/lib/modules/app_exec.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_exec.so
> Reading symbols from /opt/asterisk/lib/modules/app_externalivr.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_externalivr.so
> Reading symbols from /opt/asterisk/lib/modules/app_festival.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_festival.so
> Reading symbols from /opt/asterisk/lib/modules/app_followme.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_followme.so
> Reading symbols from /opt/asterisk/lib/modules/app_forkcdr.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_forkcdr.so
> Reading symbols from /opt/asterisk/lib/modules/app_getcpeid.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_getcpeid.so
> Reading symbols from
> /opt/asterisk/lib/modules/app_hasnewvoicemail.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_hasnewvoicemail.so
> Reading symbols from /opt/asterisk/lib/modules/app_ices.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_ices.so
> Reading symbols from /opt/asterisk/lib/modules/app_image.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_image.so
> Reading symbols from
> /opt/asterisk/lib/modules/app_lookupblacklist.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_lookupblacklist.so
> Reading symbols from /opt/asterisk/lib/modules/app_lookupcidname.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_lookupcidname.so
> Reading symbols from /opt/asterisk/lib/modules/app_macro.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_macro.so
> Reading symbols from /opt/asterisk/lib/modules/app_milliwatt.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_milliwatt.so
> Reading symbols from /opt/asterisk/lib/modules/app_mixmonitor.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_mixmonitor.so
> Reading symbols from /opt/asterisk/lib/modules/app_morsecode.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_morsecode.so
> Reading symbols from /opt/asterisk/lib/modules/app_mp3.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_mp3.so
> Reading symbols from /opt/asterisk/lib/modules/app_nbscat.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_nbscat.so
> Reading symbols from
> /opt/asterisk/lib/modules/app_parkandannounce.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_parkandannounce.so
> Reading symbols from /opt/asterisk/lib/modules/app_playback.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_playback.so
> Reading symbols from /opt/asterisk/lib/modules/app_privacy.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_privacy.so
> Reading symbols from /opt/asterisk/lib/modules/app_queue.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_queue.so
> Reading symbols from /opt/asterisk/lib/modules/app_random.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_random.so
> Reading symbols from /opt/asterisk/lib/modules/app_read.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_read.so
> Reading symbols from /opt/asterisk/lib/modules/app_readfile.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_readfile.so
> Reading symbols from /opt/asterisk/lib/modules/app_realtime.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_realtime.so
> Reading symbols from /opt/asterisk/lib/modules/app_record.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_record.so
> Reading symbols from /opt/asterisk/lib/modules/app_sayunixtime.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_sayunixtime.so
> Reading symbols from /opt/asterisk/lib/modules/app_senddtmf.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_senddtmf.so
> Reading symbols from /opt/asterisk/lib/modules/app_sendtext.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_sendtext.so
> Reading symbols from /opt/asterisk/lib/modules/app_setcallerid.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_setcallerid.so
> Reading symbols from
> /opt/asterisk/lib/modules/app_setcdruserfield.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_setcdruserfield.so
> Reading symbols from
> /opt/asterisk/lib/modules/app_settransfercapability.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_settransfercapability.so
> Reading symbols from /opt/asterisk/lib/modules/app_sms.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_sms.so
> Reading symbols from /opt/asterisk/lib/modules/app_softhangup.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_softhangup.so
> Reading symbols from /opt/asterisk/lib/modules/app_speech_utils.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_speech_utils.so
> Reading symbols from /opt/asterisk/lib/modules/app_stack.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_stack.so
> Reading symbols from /opt/asterisk/lib/modules/app_system.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_system.so
> Reading symbols from /opt/asterisk/lib/modules/app_talkdetect.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_talkdetect.so
> Reading symbols from /opt/asterisk/lib/modules/app_test.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_test.so
> Reading symbols from /opt/asterisk/lib/modules/app_transfer.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_transfer.so
> Reading symbols from /opt/asterisk/lib/modules/app_url.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_url.so
> Reading symbols from /opt/asterisk/lib/modules/app_userevent.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_userevent.so
> Reading symbols from /opt/asterisk/lib/modules/app_verbose.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_verbose.so
> Reading symbols from /opt/asterisk/lib/modules/app_voicemail.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_voicemail.so
> Reading symbols from /opt/asterisk/lib/modules/app_waitforring.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_waitforring.so
> Reading symbols from /opt/asterisk/lib/modules/app_waitforsilence.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_waitforsilence.so
> Reading symbols from /opt/asterisk/lib/modules/app_while.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_while.so
> Reading symbols from /opt/asterisk/lib/modules/app_zapateller.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/app_zapateller.so
> Reading symbols from /opt/asterisk/lib/modules/codec_a_mu.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/codec_a_mu.so
> Reading symbols from /opt/asterisk/lib/modules/codec_adpcm.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/codec_adpcm.so
> Reading symbols from /opt/asterisk/lib/modules/codec_alaw.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/codec_alaw.so
> Reading symbols from /opt/asterisk/lib/modules/codec_g726.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/codec_g726.so
> Reading symbols from /opt/asterisk/lib/modules/codec_gsm.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/codec_gsm.so
> Reading symbols from /opt/asterisk/lib/modules/codec_ilbc.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/codec_ilbc.so
> Reading symbols from /opt/asterisk/lib/modules/codec_lpc10.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/codec_lpc10.so
> Reading symbols from /opt/asterisk/lib/modules/codec_ulaw.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/codec_ulaw.so
> Reading symbols from /opt/asterisk/lib/modules/format_g723.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/format_g723.so
> Reading symbols from /opt/asterisk/lib/modules/format_g726.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/format_g726.so
> Reading symbols from /opt/asterisk/lib/modules/format_g729.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/format_g729.so
> Reading symbols from /opt/asterisk/lib/modules/format_gsm.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/format_gsm.so
> Reading symbols from /opt/asterisk/lib/modules/format_h263.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/format_h263.so
> Reading symbols from /opt/asterisk/lib/modules/format_h264.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/format_h264.so
> Reading symbols from /opt/asterisk/lib/modules/format_ilbc.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/format_ilbc.so
> Reading symbols from /opt/asterisk/lib/modules/format_jpeg.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/format_jpeg.so
> Reading symbols from /opt/asterisk/lib/modules/format_ogg_vorbis.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/format_ogg_vorbis.so
> Reading symbols from /usr/lib/libvorbis.so.0...done.
> Loaded symbols for /usr/lib/libvorbis.so.0
> Reading symbols from /usr/lib/libvorbisenc.so.2...done.
> Loaded symbols for /usr/lib/libvorbisenc.so.2
> Reading symbols from /usr/lib/libogg.so.0...done.
> Loaded symbols for /usr/lib/libogg.so.0
> Reading symbols from /opt/asterisk/lib/modules/format_pcm.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/format_pcm.so
> Reading symbols from /opt/asterisk/lib/modules/format_sln.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/format_sln.so
> Reading symbols from /opt/asterisk/lib/modules/format_vox.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/format_vox.so
> Reading symbols from /opt/asterisk/lib/modules/format_wav.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/format_wav.so
> Reading symbols from /opt/asterisk/lib/modules/format_wav_gsm.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/format_wav_gsm.so
> Reading symbols from /opt/asterisk/lib/modules/cdr_csv.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/cdr_csv.so
> Reading symbols from /opt/asterisk/lib/modules/cdr_custom.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/cdr_custom.so
> Reading symbols from /opt/asterisk/lib/modules/cdr_manager.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/cdr_manager.so
> Reading symbols from /opt/asterisk/lib/modules/cdr_pgsql.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/cdr_pgsql.so
> Reading symbols from /opt/asterisk/lib/modules/func_base64.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/func_base64.so
> Reading symbols from /opt/asterisk/lib/modules/func_cdr.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/func_cdr.so
> Reading symbols from /opt/asterisk/lib/modules/func_callerid.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/func_callerid.so
> Reading symbols from /opt/asterisk/lib/modules/func_channel.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/func_channel.so
> Reading symbols from /opt/asterisk/lib/modules/func_cut.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/func_cut.so
> Reading symbols from /opt/asterisk/lib/modules/func_db.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/func_db.so
> Reading symbols from /opt/asterisk/lib/modules/func_enum.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/func_enum.so
> Reading symbols from /opt/asterisk/lib/modules/func_env.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/func_env.so
> Reading symbols from /opt/asterisk/lib/modules/func_global.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/func_global.so
> Reading symbols from /opt/asterisk/lib/modules/func_groupcount.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/func_groupcount.so
> Reading symbols from /opt/asterisk/lib/modules/func_language.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/func_language.so
> Reading symbols from /opt/asterisk/lib/modules/func_logic.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/func_logic.so
> Reading symbols from /opt/asterisk/lib/modules/func_math.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/func_math.so
> Reading symbols from /opt/asterisk/lib/modules/func_md5.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/func_md5.so
> Reading symbols from /opt/asterisk/lib/modules/func_moh.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/func_moh.so
> Reading symbols from /opt/asterisk/lib/modules/func_rand.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/func_rand.so
> Reading symbols from /opt/asterisk/lib/modules/func_realtime.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/func_realtime.so
> Reading symbols from /opt/asterisk/lib/modules/func_sha1.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/func_sha1.so
> Reading symbols from /opt/asterisk/lib/modules/func_strings.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/func_strings.so
> Reading symbols from /opt/asterisk/lib/modules/func_timeout.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/func_timeout.so
> Reading symbols from /opt/asterisk/lib/modules/func_uri.so...done.
> Loaded symbols for /opt/asterisk/lib/modules/func_uri.so
> #0 0xfebd4c8c in strlen () from /usr/lib/libc.so.1
> (gdb) bt
> #0 0xfebd4c8c in strlen () from /usr/lib/libc.so.1
> #1 0xfec2a2a6 in _ndoprnt () from /usr/lib/libc.so.1
> #2 0xfec2d3db in vsnprintf () from /usr/lib/libc.so.1
> #3 0x080e86de in ast_dynamic_str_thread_build_va (buf=0x8160f28,
> max_len=0, ts=0x81482a0, append=0, fmt=0x811dc6a "%25.25s %s\n",
> ap=0x8046f38 "\030\017\026\b") at utils.c:969
> #4 0x080890e0 in ast_cli (fd=1, fmt=0x811dc6a "%25.25s %s\n") at cli.c:69
> #5 0x0808c946 in help1 (fd=1, match=0x0, locked=0) at cli.c:1746
> #6 0x0808ca67 in handle_help (fd=1, argc=0, argv=0x80470a0) at cli.c:1773
> #7 0x0808d664 in ast_cli_command (fd=1, s=0x0) at cli.c:1979
> #8 0x08073d0f in main (argc=135695685, argv=0x8047214) at asterisk.c:1384
> (gdb)
>
> Any ideas?
>
> Frank
> Message: 4
> Date: Thu, 31 May 2007 00:01:58 +0300
> From: "Marios Karagiannopoulos" <mariosk at gmail.com>
> Subject: [asterisk-users] Asterisk 1.4.4 reproducibly dumps core on
> Solaris 10
> To: asterisk-users at lists.digium.com
> Message-ID:
> <4cb01b4d0705301401u4d848ee8jc81e61a9f18454d6 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi Frank,
>
>
> You need to replace the line 1427:
>
> handle_nodebugchan_deprecated, NULL,
>
> with
>
> handle_nodebugchan_deprecated, "",
>
> and build it again. Unfortunately in Solaris a NULL field causes a
> SIGSEGV whenever you are going to print it out. The problem arises
> when calling:
>
> ast_cli(fd, "%25.25s %s\n", e->_full_cmd, e->summary);
>
> I've tested in version 1.4.2 and works fine. It should work in 1.4.4 as well.
>
> Marios
I've tried the suggested change on versions 1.4.4, 1.4.8 and now 1.4.9
but Asterisk still dumps core when I type "help" in the command line
interface.
Can anyone help?
Frank
More information about the asterisk-users
mailing list