GNU gdb Red Hat Linux (6.5-16.el5rh) Copyright (C) 2006 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 "x86_64-redhat-linux-gnu"...Using host libthread_db library "/lib64/libthread_db.so.1". Reading symbols from /lib64/libdl.so.2...done. Loaded symbols for /lib64/libdl.so.2 Reading symbols from /lib64/libpthread.so.0...done. Loaded symbols for /lib64/libpthread.so.0 Reading symbols from /lib64/libtermcap.so.2...done. Loaded symbols for /lib64/libtermcap.so.2 Reading symbols from /lib64/libm.so.6...done. Loaded symbols for /lib64/libm.so.6 Reading symbols from /lib64/libresolv.so.2...done. Loaded symbols for /lib64/libresolv.so.2 Reading symbols from /lib64/libc.so.6...done. Loaded symbols for /lib64/libc.so.6 Reading symbols from /usr/lib/asterisk/modules/res_odbc.so...done. Loaded symbols for /usr/lib/asterisk/modules/res_odbc.so Reading symbols from /usr/lib64/libodbc.so.1...done. Loaded symbols for /usr/lib64/libodbc.so.1 Reading symbols from /lib64/libnss_files.so.2...done. Loaded symbols for /lib64/libnss_files.so.2 Reading symbols from /usr/lib64/gconv/ISO8859-1.so...done. Loaded symbols for /usr/lib64/gconv/ISO8859-1.so Reading symbols from /usr/lib64/libodbcpsql.so...done. Loaded symbols for /usr/lib64/libodbcpsql.so Reading symbols from /lib64/libnsl.so.1...done. Loaded symbols for /lib64/libnsl.so.1 Reading symbols from /lib64/libcrypt.so.1...done. Loaded symbols for /lib64/libcrypt.so.1 Reading symbols from /lib64/libnss_dns.so.2...done. Loaded symbols for /lib64/libnss_dns.so.2 Reading symbols from /usr/lib/asterisk/modules/res_config_odbc.so...done. Loaded symbols for /usr/lib/asterisk/modules/res_config_odbc.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_features.so...done. Loaded symbols for /usr/lib/asterisk/modules/res_features.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_agi.so...done. Loaded symbols for /usr/lib/asterisk/modules/res_agi.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/res_adsi.so...done. Loaded symbols for /usr/lib/asterisk/modules/res_adsi.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 /lib64/libssl.so.6...done. Loaded symbols for /lib64/libssl.so.6 Reading symbols from /lib64/libcrypto.so.6...done. Loaded symbols for /lib64/libcrypto.so.6 Reading symbols from /usr/lib64/libgssapi_krb5.so.2...done. Loaded symbols for /usr/lib64/libgssapi_krb5.so.2 Reading symbols from /usr/lib64/libkrb5.so.3...done. Loaded symbols for /usr/lib64/libkrb5.so.3 Reading symbols from /lib64/libcom_err.so.2...done. Loaded symbols for /lib64/libcom_err.so.2 Reading symbols from /usr/lib64/libk5crypto.so.3...done. Loaded symbols for /usr/lib64/libk5crypto.so.3 Reading symbols from /usr/lib64/libz.so.1...done. Loaded symbols for /usr/lib64/libz.so.1 Reading symbols from /usr/lib64/libkrb5support.so.0...done. Loaded symbols for /usr/lib64/libkrb5support.so.0 Reading symbols from /usr/lib/asterisk/modules/res_smdi.so...done. Loaded symbols for /usr/lib/asterisk/modules/res_smdi.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_disa.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_disa.so Reading symbols from /usr/lib/asterisk/modules/codec_g726.so...done. Loaded symbols for /usr/lib/asterisk/modules/codec_g726.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_random.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_random.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_exec.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_exec.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_dial.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_dial.so Reading symbols from /usr/lib/asterisk/modules/format_ilbc.so...done. Loaded symbols for /usr/lib/asterisk/modules/format_ilbc.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/codec_a_mu.so...done. Loaded symbols for /usr/lib/asterisk/modules/codec_a_mu.so Reading symbols from /usr/lib/asterisk/modules/pbx_dundi.so...done. Loaded symbols for /usr/lib/asterisk/modules/pbx_dundi.so Reading symbols from /usr/lib/asterisk/modules/func_realtime.so...done. Loaded symbols for /usr/lib/asterisk/modules/func_realtime.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_system.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_system.so Reading symbols from /usr/lib/asterisk/modules/format_h263.so...done. Loaded symbols for /usr/lib/asterisk/modules/format_h263.so Reading symbols from /usr/lib/asterisk/modules/format_wav.so...done. Loaded symbols for /usr/lib/asterisk/modules/format_wav.so Reading symbols from /usr/lib/asterisk/modules/app_read.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_read.so 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/app_privacy.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_privacy.so Reading symbols from /usr/lib/asterisk/modules/app_mixmonitor.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_mixmonitor.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/app_realtime.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_realtime.so Reading symbols from /usr/lib/asterisk/modules/codec_zap.so...done. Loaded symbols for /usr/lib/asterisk/modules/codec_zap.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/func_language.so...done. Loaded symbols for /usr/lib/asterisk/modules/func_language.so Reading symbols from /usr/lib/asterisk/modules/app_chanspy.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_chanspy.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/func_strings.so...done. Loaded symbols for /usr/lib/asterisk/modules/func_strings.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/codec_ilbc.so...done. Loaded symbols for /usr/lib/asterisk/modules/codec_ilbc.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/res_clioriginate.so...done. Loaded symbols for /usr/lib/asterisk/modules/res_clioriginate.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/codec_adpcm.so...done. Loaded symbols for /usr/lib/asterisk/modules/codec_adpcm.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/func_callerid.so...done. Loaded symbols for /usr/lib/asterisk/modules/func_callerid.so Reading symbols from /usr/lib/asterisk/modules/cdr_custom.so...done. Loaded symbols for /usr/lib/asterisk/modules/cdr_custom.so Reading symbols from /usr/lib/asterisk/modules/func_rand.so...done. Loaded symbols for /usr/lib/asterisk/modules/func_rand.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.0...done. Loaded symbols for /usr/lib/libtonezone.so.1.0 Reading symbols from /usr/lib/libpri.so.1.0...done. Loaded symbols for /usr/lib/libpri.so.1.0 Reading symbols from /usr/lib/asterisk/modules/func_sha1.so...done. Loaded symbols for /usr/lib/asterisk/modules/func_sha1.so 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/func_channel.so...done. Loaded symbols for /usr/lib/asterisk/modules/func_channel.so Reading symbols from /usr/lib/asterisk/modules/func_moh.so...done. Loaded symbols for /usr/lib/asterisk/modules/func_moh.so Reading symbols from /usr/lib/asterisk/modules/func_uri.so...done. Loaded symbols for /usr/lib/asterisk/modules/func_uri.so Reading symbols from /usr/lib/asterisk/modules/app_readfile.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_readfile.so 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_db.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_db.so Reading symbols from /usr/lib/asterisk/modules/format_sln.so...done. Loaded symbols for /usr/lib/asterisk/modules/format_sln.so Reading symbols from /usr/lib/asterisk/modules/app_while.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_while.so Reading symbols from /usr/lib/asterisk/modules/app_talkdetect.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_talkdetect.so Reading symbols from /usr/lib/asterisk/modules/format_g726.so...done. Loaded symbols for /usr/lib/asterisk/modules/format_g726.so Reading symbols from /usr/lib/asterisk/modules/app_page.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_page.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_queue.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_queue.so Reading symbols from /usr/lib/asterisk/modules/app_cdr.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_cdr.so Reading symbols from /usr/lib/asterisk/modules/func_cdr.so...done. Loaded symbols for /usr/lib/asterisk/modules/func_cdr.so Reading symbols from /usr/lib/asterisk/modules/pbx_realtime.so...done. Loaded symbols for /usr/lib/asterisk/modules/pbx_realtime.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_jpeg.so...done. Loaded symbols for /usr/lib/asterisk/modules/format_jpeg.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/res_convert.so...done. Loaded symbols for /usr/lib/asterisk/modules/res_convert.so Reading symbols from /usr/lib/asterisk/modules/cdr_odbc.so...done. Loaded symbols for /usr/lib/asterisk/modules/cdr_odbc.so Reading symbols from /usr/lib/asterisk/modules/func_math.so...done. Loaded symbols for /usr/lib/asterisk/modules/func_math.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/app_transfer.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_transfer.so Reading symbols from /usr/lib/asterisk/modules/app_forkcdr.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_forkcdr.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/func_logic.so...done. Loaded symbols for /usr/lib/asterisk/modules/func_logic.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_dumpchan.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_dumpchan.so Reading symbols from /usr/lib/asterisk/modules/func_db.so...done. Loaded symbols for /usr/lib/asterisk/modules/func_db.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_gsm.so...done. Loaded symbols for /usr/lib/asterisk/modules/codec_gsm.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/func_odbc.so...done. Loaded symbols for /usr/lib/asterisk/modules/func_odbc.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/func_timeout.so...done. Loaded symbols for /usr/lib/asterisk/modules/func_timeout.so Reading symbols from /usr/lib/asterisk/modules/func_global.so...done. Loaded symbols for /usr/lib/asterisk/modules/func_global.so Reading symbols from /usr/lib/asterisk/modules/cdr_manager.so...done. Loaded symbols for /usr/lib/asterisk/modules/cdr_manager.so Reading symbols from /usr/lib/asterisk/modules/app_verbose.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_verbose.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/func_enum.so...done. Loaded symbols for /usr/lib/asterisk/modules/func_enum.so Reading symbols from /usr/lib/asterisk/modules/func_groupcount.so...done. Loaded symbols for /usr/lib/asterisk/modules/func_groupcount.so Reading symbols from /usr/lib/asterisk/modules/func_base64.so...done. Loaded symbols for /usr/lib/asterisk/modules/func_base64.so Reading symbols from /usr/lib/asterisk/modules/pbx_loopback.so...done. Loaded symbols for /usr/lib/asterisk/modules/pbx_loopback.so Reading symbols from /usr/lib/asterisk/modules/app_stack.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_stack.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/func_env.so...done. Loaded symbols for /usr/lib/asterisk/modules/func_env.so Reading symbols from /usr/lib/asterisk/modules/func_cut.so...done. Loaded symbols for /usr/lib/asterisk/modules/func_cut.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_h264.so...done. Loaded symbols for /usr/lib/asterisk/modules/format_h264.so Reading symbols from /usr/lib/asterisk/modules/func_md5.so...done. Loaded symbols for /usr/lib/asterisk/modules/func_md5.so Reading symbols from /usr/lib/asterisk/modules/chan_features.so...done. Loaded symbols for /usr/lib/asterisk/modules/chan_features.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 /lib64/libgcc_s.so.1...done. Loaded symbols for /lib64/libgcc_s.so.1 Core was generated by `/usr/sbin/asterisk -f -vvvg -c'. Program terminated with signal 11, Segmentation fault. #0 0x0000000000448bdf in ast_var_name (var=0x9e98a0) at chanvars.c:69 69 if (name[0] == '_') { (gdb) bt #0 0x0000000000448bdf in ast_var_name (var=0x9e98a0) at chanvars.c:69 #1 0x000000000048a18d in pbx_builtin_setvar_helper (chan=0x2aaaac0dd940, name=0x40612680 "RING_CYCLE", value=0x4061268b " \230\236") at pbx.c:5829 #2 0x000000000048a588 in pbx_builtin_setvar (chan=0x2aaaac0dd940, data=0x406149e0) at pbx.c:5881 #3 0x000000000047c373 in pbx_exec (c=0x2aaaac0dd940, app=0x1f9ce380, data=0x406149e0) at pbx.c:532 #4 0x000000000047fbc6 in pbx_extension_helper (c=0x2aaaac0dd940, con=0x0, context=0x2aaaac0ddb90 "sub-cdr_rewriter", exten=0x2aaaac0ddbe0 "14166289921", priority=4, label=0x0, callerid=0x1f9e9dc0 "4165551212", action=E_SPAWN) at pbx.c:1834 #5 0x0000000000480da8 in ast_spawn_extension (c=0x2aaaac0dd940, context=0x2aaaac0ddb90 "sub-cdr_rewriter", exten=0x2aaaac0ddbe0 "14166289921", priority=4, callerid=0x1f9e9dc0 "4165551212") at pbx.c:2289 #6 0x0000000000481300 in __ast_pbx_run (c=0x2aaaac0dd940) at pbx.c:2389 #7 0x0000000000482163 in pbx_thread (data=0x2aaaac0dd940) at pbx.c:2604 #8 0x00000000004c0ba9 in dummy_start (data=0x2aaaac0de640) at utils.c:828 #9 0x00000038e0a061b5 in start_thread () from /lib64/libpthread.so.0 #10 0x00000038dfecd36d in clone () from /lib64/libc.so.6 #11 0x0000000000000000 in ?? () (gdb) bt full #0 0x0000000000448bdf in ast_var_name (var=0x9e98a0) at chanvars.c:69 name = 0x9e98b0
#1 0x000000000048a18d in pbx_builtin_setvar_helper (chan=0x2aaaac0dd940, name=0x40612680 "RING_CYCLE", value=0x4061268b " \230\236") at pbx.c:5829 newvariable = (struct ast_var_t *) 0x9e98a0 headp = (struct varshead *) 0x2aaaac0ddd78 nametail = 0x40612680 "RING_CYCLE" __PRETTY_FUNCTION__ = "pbx_builtin_setvar_helper" #2 0x000000000048a588 in pbx_builtin_setvar (chan=0x2aaaac0dd940, data=0x406149e0) at pbx.c:5881 name = 0x40612680 "RING_CYCLE" value = 0x4061268b " \230\236" mydata = 0x40612680 "RING_CYCLE" argc = 1 argv = {0x40612680 "RING_CYCLE", 0x0