Jeremy,
Thanks for that, the problem was an older version of PWLIB that had been
installed automatically on my SuSE installation and was obvoiusly conflicting
with the current version I had also installed as a pre-req for h323. Removing
the old version allowed me to make and sucessfully install chan_h323.
But now the bad news (for me anyway!) my working asterisk is broken again, it
doesn't seg whilst loading chan_h323.so but later at a fairly random point.
I have identified the culprit though to be chan_h323 either directly or due to a
conflict with my current setup by modifying modules.conf and putting a noload in
for chan_h323; asterisk will then start up fine.
Everything to do with asterisk is current CVS version as of today (7/4/03) and I
have re made asterisk, zaptel, zapata etc today just to be sure.
I have analysed the coredump below in the hope that you can help, remember if I
don't load chan_h323 this does not happen I can happily use SIP, ZAP, MGCP
etc:
Help would be much appreciated.
Thanks, Mark
GNU gdb 5.2.1
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 "i586-suse-linux"...
Core was generated by `asterisk -vvvcg'.
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/libpthread.so.0...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libncurses.so.5...done.
Loaded symbols for /lib/libncurses.so.5
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/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/chan_modem_aopen.so...done.
Loaded symbols for /usr/lib/asterisk/modules/chan_modem_aopen.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_indications.so...done.
Loaded symbols for /usr/lib/asterisk/modules/res_indications.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 /usr/lib/libssl.so.0.9.6...done.
Loaded symbols for /usr/lib/libssl.so.0.9.6
Reading symbols from /usr/lib/libcrypto.so.0.9.6...done.
Loaded symbols for /usr/lib/libcrypto.so.0.9.6
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_monitor.so...done.
Loaded symbols for /usr/lib/asterisk/modules/res_monitor.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/app_url.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_url.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_mgcp.so...done.
Loaded symbols for /usr/lib/asterisk/modules/chan_mgcp.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/libtonezone.so.1...done.
Loaded symbols for /usr/lib/libtonezone.so.1
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_playback.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_playback.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/chan_local.so...done.
Loaded symbols for /usr/lib/asterisk/modules/chan_local.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_chanisavail.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_chanisavail.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_softhangup.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_softhangup.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/app_setcidname.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_setcidname.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/format_g723.so...done.
Loaded symbols for /usr/lib/asterisk/modules/format_g723.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/app_datetime.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_datetime.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/app_authenticate.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_authenticate.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/chan_alsa.so...done.
Loaded symbols for /usr/lib/asterisk/modules/chan_alsa.so
Reading symbols from /usr/lib/libasound.so.2...done.
Loaded symbols for /usr/lib/libasound.so.2
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/app_system.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_system.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/chan_iax2.so...done.
Loaded symbols for /usr/lib/asterisk/modules/chan_iax2.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_parkandannounce.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_parkandannounce.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_macro.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_macro.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/app_zapras.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_zapras.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/format_jpeg.so...done.
Loaded symbols for /usr/lib/asterisk/modules/format_jpeg.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/cdr_csv.so...done.
Loaded symbols for /usr/lib/asterisk/modules/cdr_csv.so
Reading symbols from /usr/lib/asterisk/modules/chan_h323.so...done.
Loaded symbols for /usr/lib/asterisk/modules/chan_h323.so
Reading symbols from /usr/local/lib/libpt_linux_x86_r.so.1...done.
Loaded symbols for /usr/local/lib/libpt_linux_x86_r.so.1
Reading symbols from /usr/local/lib/libh323_linux_x86_r.so.1...done.
Loaded symbols for /usr/local/lib/libh323_linux_x86_r.so.1
Reading symbols from /usr/lib/libexpat.so.0...done.
Loaded symbols for /usr/lib/libexpat.so.0
Reading symbols from /usr/lib/libstdc++.so.5...done.
Loaded symbols for /usr/lib/libstdc++.so.5
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
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_lookupblacklist.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_lookupblacklist.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/app_getcpeid.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_getcpeid.so
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/format_gsm.so...done.
Loaded symbols for /usr/lib/asterisk/modules/format_gsm.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_striplsd.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_striplsd.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_disa.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_disa.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/chan_modem_bestdata.so...done.
Loaded symbols for /usr/lib/asterisk/modules/chan_modem_bestdata.so
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/app_festival.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_festival.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_echo.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_echo.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/format_pcm.so...done.
Loaded symbols for /usr/lib/asterisk/modules/format_pcm.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/chan_iax.so...done.
Loaded symbols for /usr/lib/asterisk/modules/chan_iax.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_setcallerid.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_setcallerid.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/app_substring.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_substring.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_queue.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_queue.so
Reading symbols from /usr/lib/asterisk/modules/app_mp3.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_mp3.so
#0 0x401162e1 in chunk_alloc () from /lib/libc.so.6
(gdb)
(gdb) bt
#0 0x401162e1 in chunk_alloc () from /lib/libc.so.6
#1 0x40115e42 in malloc () from /lib/libc.so.6
#2 0x08055fdb in cfg_process (tmp=0x81097e8, _tmpc=0xbfffee54,
_last=0xbfffee50, buf=0x401bcfa0 "", lineno=31,
configfile=0x809f26e "modules.conf", includelevel=0, acs=0xbfffee48)
at config.c:431
#3 0x08055769 in __ast_load (configfile=0x809f26e "modules.conf",
tmp=0x81097e8, _tmpc=0xbfffee54, _last=0xbfffee50, includelevel=0,
acs=0xbfffee48) at config.c:671
#4 0x08055b42 in ast_load (
configfile=0x810e058 <Address 0x810e058 out of bounds>) at config.c:698
#5 0x0805427b in ast_load_resource (
resource_name=0x80cb72b "app_lookupcidname.so") at loader.c:174
#6 0x0805457f in load_modules () at loader.c:367
#7 0x08079997 in main (argc=-1073745312, argv=0x80bd0e8) at asterisk.c:1293
#8 0x400c04a2 in __libc_start_main () from /lib/libc.so.6
(gdb) quit
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20030408/6caf70da/attachment.htm