GNU gdb 6.3-debian 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-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1". Attaching to program: /usr/sbin/asterisk, process 31730 `system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols. Reading symbols from /lib/tls/libdl.so.2...done. Loaded symbols for /lib/tls/libdl.so.2 Reading symbols from /lib/tls/libpthread.so.0...done. [Thread debugging using libthread_db enabled] [New Thread 1076918848 (LWP 31730)] [New Thread 1088113584 (LWP 10153)] [New Thread 1093139376 (LWP 10138)] [New Thread 1104935856 (LWP 10090)] [New Thread 1102580656 (LWP 9706)] [New Thread 1093925808 (LWP 9602)] [New Thread 1088375728 (LWP 9577)] [New Thread 1096027056 (LWP 9567)] [New Thread 1093663664 (LWP 9563)] [New Thread 1091320752 (LWP 9452)] [New Thread 1088637872 (LWP 11998)] [New Thread 1096289200 (LWP 21375)] [New Thread 1091058608 (LWP 14201)] [New Thread 1090526128 (LWP 3928)] [New Thread 1090210736 (LWP 19981)] [New Thread 1089948592 (LWP 2298)] [New Thread 1083628464 (LWP 31744)] [New Thread 1083366320 (LWP 31743)] [New Thread 1082452912 (LWP 31742)] [New Thread 1082088368 (LWP 31741)] [New Thread 1080449968 (LWP 31740)] [New Thread 1080101808 (LWP 31739)] [New Thread 1079458736 (LWP 31738)] [New Thread 1079196592 (LWP 31737)] [New Thread 1078733744 (LWP 31736)] [New Thread 1078393776 (LWP 31735)] [New Thread 1077914544 (LWP 31734)] [New Thread 1077648304 (LWP 31733)] [New Thread 1077373872 (LWP 31732)] Loaded symbols for /lib/tls/libpthread.so.0 Reading symbols from /lib/libncurses.so.5...done. Loaded symbols for /lib/libncurses.so.5 Reading symbols from /lib/tls/libm.so.6...done. Loaded symbols for /lib/tls/libm.so.6 Reading symbols from /lib/tls/libresolv.so.2...done. Loaded symbols for /lib/tls/libresolv.so.2 Reading symbols from /usr/lib/i686/cmov/libssl.so.0.9.7...done. Loaded symbols for /usr/lib/i686/cmov/libssl.so.0.9.7 Reading symbols from /lib/tls/libc.so.6...done. Loaded symbols for /lib/tls/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/i686/cmov/libcrypto.so.0.9.7...done. Loaded symbols for /usr/lib/i686/cmov/libcrypto.so.0.9.7 Reading symbols from /lib/tls/libnss_compat.so.2...done. Loaded symbols for /lib/tls/libnss_compat.so.2 Reading symbols from /lib/tls/libnsl.so.1...done. Loaded symbols for /lib/tls/libnsl.so.1 Reading symbols from /lib/tls/libnss_nis.so.2...done. Loaded symbols for /lib/tls/libnss_nis.so.2 Reading symbols from /lib/tls/libnss_files.so.2...done. Loaded symbols for /lib/tls/libnss_files.so.2 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_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_agi.so...done. Loaded symbols for /usr/lib/asterisk/modules/res_agi.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_crypto.so...done. Loaded symbols for /usr/lib/asterisk/modules/res_crypto.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/pbx_spool.so...done. Loaded symbols for /usr/lib/asterisk/modules/pbx_spool.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/libz.so.1...done. Loaded symbols for /usr/lib/libz.so.1 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/pbx_realtime.so...done. Loaded symbols for /usr/lib/asterisk/modules/pbx_realtime.so Reading symbols from /usr/lib/asterisk/modules/pbx_functions.so...done. Loaded symbols for /usr/lib/asterisk/modules/pbx_functions.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 /lib/tls/libnss_dns.so.2...done. Loaded symbols for /lib/tls/libnss_dns.so.2 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_local.so...done. Loaded symbols for /usr/lib/asterisk/modules/chan_local.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/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.0...done. Loaded symbols for /usr/lib/libpri.so.1.0 Reading symbols from /usr/lib/libtonezone.so.1.0...done. Loaded symbols for /usr/lib/libtonezone.so.1.0 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 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_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_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_setcidname.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_setcidname.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/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_enumlookup.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_enumlookup.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_setcidnum.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_setcidnum.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/app_hasnewvoicemail.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_hasnewvoicemail.so Reading symbols from /usr/lib/asterisk/modules/app_sayunixtime.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_sayunixtime.so Reading symbols from /usr/lib/asterisk/modules/app_cut.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_cut.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/app_setcdruserfield.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_setcdruserfield.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_ices.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_ices.so Reading symbols from /usr/lib/asterisk/modules/app_eval.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_eval.so Reading symbols from /usr/lib/asterisk/modules/app_nbscat.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_nbscat.so Reading symbols from /usr/lib/asterisk/modules/app_sendtext.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_sendtext.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_groupcount.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_groupcount.so Reading symbols from /usr/lib/asterisk/modules/app_txtcidname.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_txtcidname.so Reading symbols from /usr/lib/asterisk/modules/app_controlplayback.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_controlplayback.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/app_alarmreceiver.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_alarmreceiver.so Reading symbols from /usr/lib/asterisk/modules/app_userevent.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_userevent.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_test.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_test.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/app_math.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_math.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/app_dumpchan.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_dumpchan.so Reading symbols from /usr/lib/asterisk/modules/app_waitforsilence.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_waitforsilence.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_setrdnis.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_setrdnis.so Reading symbols from /usr/lib/asterisk/modules/app_md5.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_md5.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_chanspy.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_chanspy.so Reading symbols from /usr/lib/asterisk/modules/app_settransfercapability.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_settransfercapability.so Reading symbols from /usr/lib/asterisk/modules/app_dictate.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_dictate.so Reading symbols from /usr/lib/asterisk/modules/app_externalivr.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_externalivr.so Reading symbols from /usr/lib/asterisk/modules/app_directed_pickup.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_directed_pickup.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/app_stack.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_stack.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/app_zapscan.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_zapscan.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_sms.so...done. Loaded symbols for /usr/lib/asterisk/modules/app_sms.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_gsm.so...done. Loaded symbols for /usr/lib/asterisk/modules/codec_gsm.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/codec_g726.so...done. Loaded symbols for /usr/lib/asterisk/modules/codec_g726.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_wav.so...done. Loaded symbols for /usr/lib/asterisk/modules/format_wav.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_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_h263.so...done. Loaded symbols for /usr/lib/asterisk/modules/format_h263.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/format_ilbc.so...done. Loaded symbols for /usr/lib/asterisk/modules/format_ilbc.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/format_au.so...done. Loaded symbols for /usr/lib/asterisk/modules/format_au.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_g723.so...done. Loaded symbols for /usr/lib/asterisk/modules/format_g723.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_manager.so...done. Loaded symbols for /usr/lib/asterisk/modules/cdr_manager.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_callerid.so...done. Loaded symbols for /usr/lib/asterisk/modules/func_callerid.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_uri.so...done. Loaded symbols for /usr/lib/asterisk/modules/func_uri.so Reading symbols from /lib/libnss_db.so.2...done. Loaded symbols for /lib/libnss_db.so.2 Reading symbols from /usr/lib/libdb3.so.3...done. Loaded symbols for /usr/lib/libdb3.so.3 Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.so.1 0x401a2523 in poll () from /lib/tls/libc.so.6 (gdb) thread apply all bt Thread 29 (Thread 1077373872 (LWP 31732)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x080ba256 in listener (unused=0x0) at asterisk.c:594 #2 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #3 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 28 (Thread 1077648304 (LWP 31733)): #0 0x400288ae in accept () from /lib/tls/libpthread.so.0 #1 0x080b19eb in accept_thread (ignore=0x0) at manager.c:1442 #2 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #3 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 27 (Thread 1077914544 (LWP 31734)): #0 0x40026295 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #1 0x080c94b5 in do_devstate_changes (data=0x0) at lock.h:635 #2 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #3 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 26 (Thread 1078393776 (LWP 31735)): #0 0x401a4a27 in select () from /lib/tls/libc.so.6 #1 0x404293a1 in do_parking_thread (ignore=0x0) at channel.h:1148 #2 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #3 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 25 (Thread 1078733744 (LWP 31736)): #0 0x4017c99c in nanosleep () from /lib/tls/libc.so.6 #1 0x4017c7af in sleep () from /lib/tls/libc.so.6 #2 0x4047f44c in scan_thread (unused=0x0) at pbx_spool.c:364 #3 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #4 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 24 (Thread 1079196592 (LWP 31737)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x08055784 in ast_io_wait (ioc=0x8172820, howlong=-4) at io.c:271 #2 0x404ccc4f in network_thread (ignore=0x0) at pbx_dundi.c:2106 #3 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #4 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 23 (Thread 1079458736 (LWP 31738)): #0 0x4017c99c in nanosleep () from /lib/tls/libc.so.6 #1 0x4017c7af in sleep () from /lib/tls/libc.so.6 #2 0x404ccd78 in process_precache (ign=0x0) at pbx_dundi.c:2146 #3 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #4 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 22 (Thread 1080101808 (LWP 31739)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x08055784 in ast_io_wait (ioc=0x81774d8, howlong=-4) at io.c:271 #2 0x4059c711 in do_monitor (data=0x0) at chan_sip.c:11485 #3 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #4 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 21 (Thread 1080449968 (LWP 31740)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x08055784 in ast_io_wait (ioc=0x8256160, howlong=-4) at io.c:271 #2 0x4061b474 in do_monitor (data=0x0) at chan_mgcp.c:3460 #3 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #4 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 20 (Thread 1082088368 (LWP 31741)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x08055784 in ast_io_wait (ioc=0x82e0890, howlong=-4) at io.c:271 #2 0x40677001 in network_thread (ignore=0x0) at chan_iax2.c:7991 #3 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #4 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 19 (Thread 1082452912 (LWP 31742)): #0 0x401a4a27 in select () from /lib/tls/libc.so.6 #1 0x4080c2e8 in do_monitor (data=0x0) at channel.h:1148 #2 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #3 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 18 (Thread 1083366320 (LWP 31743)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x40874687 in pri_dchannel (vpri=0x408871d8) at chan_zap.c:8186 #2 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #3 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 17 (Thread 1083628464 (LWP 31744)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x408646d8 in do_monitor (data=0x0) at chan_zap.c:6492 #2 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #3 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 16 (Thread 1089948592 (LWP 2298)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x08060b67 in ast_waitfor_nandfds (c=0x40f746c0, n=0, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0x40f746bc) at channel.c:1578 #2 0x080676a7 in ast_waitfor_n (c=0xfffffffc, n=-4, ms=0xfffffffc) at channel.c:1655 #3 0x080bea55 in autoservice_run (ign=0x0) at autoservice.c:91 #4 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #5 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 15 (Thread 1090210736 (LWP 19981)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x080bad03 in netconsole (vconsole=0x812cc20) at asterisk.c:543 #2 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #3 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 14 (Thread 1090526128 (LWP 3928)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x080bad03 in netconsole (vconsole=0x812cc10) at asterisk.c:543 #2 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #3 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 13 (Thread 1091058608 (LWP 14201)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x08060b67 in ast_waitfor_nandfds (c=0x41075f30, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0x41075f24) at channel.c:1578 #2 0x08069311 in ast_generic_bridge (c0=0x40a1d798, c1=0x829fad0, config=0x41076600, fo=0x410760c8, rc=0x410760cc, bridge_end={tv_sec = 0, tv_usec = 0}) at channel.c:1655 #3 0x0806567d in ast_channel_bridge (c0=0x40a1d798, c1=0x829fad0, config=0x41076600, fo=0x410760c8, rc=0x410760cc) at channel.c:3526 #4 0x40426c69 in ast_bridge_call (chan=0x40a1d798, peer=0x829fad0, config=0x41076600) at res_features.c:1326 #5 0x40971301 in dial_exec_full (chan=0x40a1d798, data=0x41076600, peerflags=0x41076cb8) at app_dial.c:1591 #6 0x4096fdc5 in dial_exec (chan=0xfffffffc, data=0xfffffffc) at app_dial.c:1633 #7 0x0808e585 in pbx_extension_helper (c=0x40a1d798, con=0xfffffffc, context=0x40a1d8e8 "macro-stdexten", exten=0x40a1d9dc "s", priority=14, label=0x0, callerid=0x41081740 "stdexten|1552|SIP", action=1084244864) at pbx.c:553 #8 0x0808cca4 in ast_spawn_extension (c=0xfffffffc, context=0xfffffffc
, exten=0xfffffffc , priority=-4, callerid=0xfffffffc ) at pbx.c:2230 #9 0x409f5a53 in macro_exec (chan=0x40a1d798, data=0x8125580) at app_macro.c:210 #10 0x0808e585 in pbx_extension_helper (c=0x40a1d798, con=0xfffffffc, context=0x40a1d8e8 "macro-stdexten", exten=0x40a1d9dc "s", priority=1, label=0x0, callerid=0x0, action=0) at pbx.c:553 #11 0x0808f12a in __ast_pbx_run (c=0x40a1d798) at pbx.c:2230 #12 0x0808fe1f in pbx_thread (data=0xfffffffc) at pbx.c:2517 #13 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #14 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 12 (Thread 1096289200 (LWP 21375)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x080b39ba in get_input (s=0x8198748, output=0x4157bab4 "") at manager.c:1359 #2 0x080b2289 in session_do (data=0x8198748) at manager.c:1394 #3 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #4 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 11 (Thread 1088637872 (LWP 11998)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x080bad03 in netconsole (vconsole=0x812cc00) at asterisk.c:543 #2 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #3 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 10 (Thread 1091320752 (LWP 9452)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x08060b67 in ast_waitfor_nandfds (c=0x410bd134, n=1, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0x410bd130) at channel.c:1578 #2 0x08060f7d in ast_waitfordigit (c=0x4113bf18, ms=1079) at channel.c:1655 #3 0x409d799e in queue_exec (chan=0x4113bf18, data=0x1388) at app_queue.c:2444 #4 0x0808e585 in pbx_extension_helper (c=0x4113bf18, con=0xfffffffc, context=0x4113c068 "fromoutside", exten=0x4113c15c "7729720", priority=4, label=0x0, callerid=0x0, action=0) at pbx.c:553 #5 0x0808f12a in __ast_pbx_run (c=0x4113bf18) at pbx.c:2230 #6 0x0808fe1f in pbx_thread (data=0xfffffffc) at pbx.c:2517 #7 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #8 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 9 (Thread 1093663664 (LWP 9563)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x08060b67 in ast_waitfor_nandfds (c=0x412f90e4, n=1, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0x412f90e0) at channel.c:1578 #2 0x08060f7d in ast_waitfordigit (c=0x4113b830, ms=114) at channel.c:1655 #3 0x409dcb7a in wait_our_turn (qe=0x412f91e0, ringing=0, reason=0x412f91d4) at app_queue.c:2055 #4 0x409d771c in queue_exec (chan=0x4113b830, data=0x409e1ab0) at app_queue.c:3077 #5 0x0808e585 in pbx_extension_helper (c=0x4113b830, con=0xfffffffc, context=0x4113b980 "fromoutside", exten=0x4113ba74 "7729720", priority=4, label=0x0, callerid=0x0, action=0) at pbx.c:553 #6 0x0808f12a in __ast_pbx_run (c=0x4113b830) at pbx.c:2230 #7 0x0808fe1f in pbx_thread (data=0xfffffffc) at pbx.c:2517 #8 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #9 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 8 (Thread 1096027056 (LWP 9567)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x08060b67 in ast_waitfor_nandfds (c=0x4153a0e4, n=1, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0x4153a0e0) at channel.c:1578 #2 0x08060f7d in ast_waitfordigit (c=0x411041a0, ms=337) at channel.c:1655 #3 0x409dcb7a in wait_our_turn (qe=0x4153a1e0, ringing=0, reason=0x4153a1d4) at app_queue.c:2055 #4 0x409d771c in queue_exec (chan=0x411041a0, data=0x409e1ab0) at app_queue.c:3077 #5 0x0808e585 in pbx_extension_helper (c=0x411041a0, con=0xfffffffc, context=0x411042f0 "fromoutside", exten=0x411043e4 "7729720", priority=4, label=0x0, callerid=0x0, action=0) at pbx.c:553 #6 0x0808f12a in __ast_pbx_run (c=0x411041a0) at pbx.c:2230 #7 0x0808fe1f in pbx_thread (data=0xfffffffc) at pbx.c:2517 #8 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #9 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 7 (Thread 1088375728 (LWP 9577)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x08060b67 in ast_waitfor_nandfds (c=0x40ded7f0, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0x40ded7e4) at channel.c:1578 #2 0x08069311 in ast_generic_bridge (c0=0x4113b048, c1=0x4164ec58, config=0x40dedeb0, fo=0x40ded988, rc=0x40ded98c, bridge_end={tv_sec = 0, tv_usec = 0}) at channel.c:1655 #3 0x0806567d in ast_channel_bridge (c0=0x4113b048, c1=0x4164ec58, config=0x40dedeb0, fo=0x40ded988, rc=0x40ded98c) at channel.c:3526 #4 0x40426c69 in ast_bridge_call (chan=0x4113b048, peer=0x4164ec58, config=0x40dedeb0) at res_features.c:1326 #5 0x40971301 in dial_exec_full (chan=0x4113b048, data=0x40dedeb0, peerflags=0x40dee568) at app_dial.c:1591 #6 0x4096fdc5 in dial_exec (chan=0xfffffffc, data=0xfffffffc) at app_dial.c:1633 #7 0x0808e585 in pbx_extension_helper (c=0x4113b048, con=0xfffffffc, context=0x4113b198 "toagent", exten=0x4113b28c "1123", priority=6, label=0x0, callerid=0x0, action=0) at pbx.c:553 #8 0x0808f12a in __ast_pbx_run (c=0x4113b048) at pbx.c:2230 #9 0x0808fe1f in pbx_thread (data=0xfffffffc) at pbx.c:2517 #10 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #11 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 6 (Thread 1093925808 (LWP 9602)): #0 0x40028436 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 #1 0x4002589f in _L_mutex_lock_73 () from /lib/tls/libpthread.so.0 #2 0x416341d4 in ?? () #3 0x416347d8 in ?? () #4 0x00000140 in ?? () #5 0x000000a0 in ?? () #6 0x41617610 in ?? () #7 0x416176dc in ?? () #8 0x00000000 in ?? () #9 0x0806241c in ast_write (chan=0x2582, fr=0x81f0fb4) at lock.h:601 #10 0x0806938a in ast_generic_bridge (c0=0x41634108, c1=0x41617610, config=0x41338eb0, fo=0x41338988, rc=0x4133898c, bridge_end={tv_sec = 0, tv_usec = 0}) at channel.c:3308 #11 0x0806567d in ast_channel_bridge (c0=0x41634108, c1=0x41617610, config=0x41338eb0, fo=0x41338988, rc=0x4133898c) at channel.c:3526 #12 0x40426c69 in ast_bridge_call (chan=0x41634108, peer=0x41617610, config=0x41338eb0) at res_features.c:1326 #13 0x40971301 in dial_exec_full (chan=0x41634108, data=0x41338eb0, peerflags=0x41339568) at app_dial.c:1591 #14 0x4096fdc5 in dial_exec (chan=0xfffffffc, data=0xfffffffc) at app_dial.c:1633 #15 0x0808e585 in pbx_extension_helper (c=0x41634108, con=0xfffffffc, context=0x41634258 "toagent", exten=0x4163434c "1117", priority=6, label=0x0, callerid=0x0, action=0) at pbx.c:553 #16 0x0808f12a in __ast_pbx_run (c=0x41634108) at pbx.c:2230 #17 0x0808fe1f in pbx_thread (data=0xfffffffc) at pbx.c:2517 #18 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #19 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 5 (Thread 1102580656 (LWP 9706)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x08060b67 in ast_waitfor_nandfds (c=0x41b7a0d0, n=1, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0x41b7a0d4) at channel.c:1578 #2 0x080676f0 in ast_waitfor (c=0x4113c710, ms=1000) at channel.c:1655 #3 0x0806c948 in ast_waitstream (c=0x4113c710, breakon=0x409e1b35 "0123456789#*ABCD") at file.c:1003 #4 0x409dcc49 in wait_our_turn (qe=0x41b7a1e0, ringing=0, reason=0x41b7a1d4) at app_queue.c:1679 #5 0x409d771c in queue_exec (chan=0x4113c710, data=0x409e1ab0) at app_queue.c:3077 #6 0x0808e585 in pbx_extension_helper (c=0x4113c710, con=0xfffffffc, context=0x4113c860 "fromoutside", exten=0x4113c954 "7729720", priority=4, label=0x0, callerid=0x0, action=0) at pbx.c:553 #7 0x0808f12a in __ast_pbx_run (c=0x4113c710) at pbx.c:2230 #8 0x0808fe1f in pbx_thread (data=0xfffffffc) at pbx.c:2517 #9 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #10 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 4 (Thread 1104935856 (LWP 10090)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x08060b67 in ast_waitfor_nandfds (c=0x41db87f0, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0x41db87e4) at channel.c:1578 #2 0x08069311 in ast_generic_bridge (c0=0x4113ab40, c1=0x41107f98, config=0x41db8eb0, fo=0x41db8988, rc=0x41db898c, bridge_end={tv_sec = 0, tv_usec = 0}) at channel.c:1655 #3 0x0806567d in ast_channel_bridge (c0=0x4113ab40, c1=0x41107f98, config=0x41db8eb0, fo=0x41db8988, rc=0x41db898c) at channel.c:3526 #4 0x40426c69 in ast_bridge_call (chan=0x4113ab40, peer=0x41107f98, config=0x41db8eb0) at res_features.c:1326 #5 0x40971301 in dial_exec_full (chan=0x4113ab40, data=0x41db8eb0, peerflags=0x41db9568) at app_dial.c:1591 #6 0x4096fdc5 in dial_exec (chan=0xfffffffc, data=0xfffffffc) at app_dial.c:1633 #7 0x0808e585 in pbx_extension_helper (c=0x4113ab40, con=0xfffffffc, context=0x4113ac90 "toagent", exten=0x4113ad84 "1101", priority=6, label=0x0, callerid=0x0, action=0) at pbx.c:553 #8 0x0808f12a in __ast_pbx_run (c=0x4113ab40) at pbx.c:2230 #9 0x0808fe1f in pbx_thread (data=0xfffffffc) at pbx.c:2517 #10 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #11 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 3 (Thread 1093139376 (LWP 10138)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x08060b67 in ast_waitfor_nandfds (c=0x412790e4, n=1, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0x412790e0) at channel.c:1578 #2 0x08060f7d in ast_waitfordigit (c=0x41139410, ms=1000) at channel.c:1655 #3 0x409dcb7a in wait_our_turn (qe=0x412791e0, ringing=0, reason=0x412791d4) at app_queue.c:2055 #4 0x409d771c in queue_exec (chan=0x41139410, data=0x409e1ab0) at app_queue.c:3077 #5 0x0808e585 in pbx_extension_helper (c=0x41139410, con=0xfffffffc, context=0x41139560 "fromoutside", exten=0x41139654 "7729720", priority=4, label=0x0, callerid=0x0, action=0) at pbx.c:553 #6 0x0808f12a in __ast_pbx_run (c=0x41139410) at pbx.c:2230 #7 0x0808fe1f in pbx_thread (data=0xfffffffc) at pbx.c:2517 #8 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #9 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 2 (Thread 1088113584 (LWP 10153)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x08060b67 in ast_waitfor_nandfds (c=0x40dad7f0, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0x40dad7e4) at channel.c:1578 #2 0x08069311 in ast_generic_bridge (c0=0x4163dc00, c1=0x82f6908, config=0x40dadeb0, fo=0x40dad988, rc=0x40dad98c, bridge_end={tv_sec = 0, tv_usec = 0}) at channel.c:1655 #3 0x0806567d in ast_channel_bridge (c0=0x4163dc00, c1=0x82f6908, config=0x40dadeb0, fo=0x40dad988, rc=0x40dad98c) at channel.c:3526 #4 0x40426c69 in ast_bridge_call (chan=0x4163dc00, peer=0x82f6908, config=0x40dadeb0) at res_features.c:1326 #5 0x40971301 in dial_exec_full (chan=0x4163dc00, data=0x40dadeb0, peerflags=0x40dae568) at app_dial.c:1591 #6 0x4096fdc5 in dial_exec (chan=0xfffffffc, data=0xfffffffc) at app_dial.c:1633 #7 0x0808e585 in pbx_extension_helper (c=0x4163dc00, con=0xfffffffc, context=0x4163dd50 "toagent", exten=0x4163de44 "1117", priority=6, label=0x0, callerid=0x0, action=0) at pbx.c:553 #8 0x0808f12a in __ast_pbx_run (c=0x4163dc00) at pbx.c:2230 #9 0x0808fe1f in pbx_thread (data=0xfffffffc) at pbx.c:2517 #10 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #11 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 1 (Thread 1076918848 (LWP 31730)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x080b597e in main (argc=0, argv=0xbfffe484) at asterisk.c:2456 #0 0x401a2523 in poll () from /lib/tls/libc.so.6 (gdb) thread 6 [Switching to thread 6 (Thread 1093925808 (LWP 9602))]#0 0x40028436 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 (gdb) bt #0 0x40028436 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 #1 0x4002589f in _L_mutex_lock_73 () from /lib/tls/libpthread.so.0 #2 0x416341d4 in ?? () #3 0x416347d8 in ?? () #4 0x00000140 in ?? () #5 0x000000a0 in ?? () #6 0x41617610 in ?? () #7 0x416176dc in ?? () #8 0x00000000 in ?? () #9 0x0806241c in ast_write (chan=0x2582, fr=0x81f0fb4) at lock.h:601 #10 0x0806938a in ast_generic_bridge (c0=0x41634108, c1=0x41617610, config=0x41338eb0, fo=0x41338988, rc=0x4133898c, bridge_end={tv_sec = 0, tv_usec = 0}) at channel.c:3308 #11 0x0806567d in ast_channel_bridge (c0=0x41634108, c1=0x41617610, config=0x41338eb0, fo=0x41338988, rc=0x4133898c) at channel.c:3526 #12 0x40426c69 in ast_bridge_call (chan=0x41634108, peer=0x41617610, config=0x41338eb0) at res_features.c:1326 #13 0x40971301 in dial_exec_full (chan=0x41634108, data=0x41338eb0, peerflags=0x41339568) at app_dial.c:1591 #14 0x4096fdc5 in dial_exec (chan=0xfffffffc, data=0xfffffffc) at app_dial.c:1633 #15 0x0808e585 in pbx_extension_helper (c=0x41634108, con=0xfffffffc, context=0x41634258 "toagent", exten=0x4163434c "1117", priority=6, label=0x0, callerid=0x0, action=0) at pbx.c:553 #16 0x0808f12a in __ast_pbx_run (c=0x41634108) at pbx.c:2230 #17 0x0808fe1f in pbx_thread (data=0xfffffffc) at pbx.c:2517 #18 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #19 0x401ab18a in clone () from /lib/tls/libc.so.6 (gdb) frame 0 #0 0x40028436 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 (gdb) frame 1 #1 0x4002589f in _L_mutex_lock_73 () from /lib/tls/libpthread.so.0 (gdb) frame 9 #9 0x0806241c in ast_write (chan=0x2582, fr=0x81f0fb4) at lock.h:601 in lock.h (gdb) frame 10 #10 0x0806938a in ast_generic_bridge (c0=0x41634108, c1=0x41617610, config=0x41338eb0, fo=0x41338988, rc=0x4133898c, bridge_end={tv_sec = 0, tv_usec = 0}) at channel.c:3308 3308 ast_write((who == c0) ? c1 : c0, f); (gdb) frame 11 #11 0x0806567d in ast_channel_bridge (c0=0x41634108, c1=0x41617610, config=0x41338eb0, fo=0x41338988, rc=0x4133898c) at channel.c:3526 3526 res = ast_generic_bridge(c0, c1, config, fo, rc, nexteventts); (gdb) frame 12 #12 0x40426c69 in ast_bridge_call (chan=0x41634108, peer=0x41617610, config=0x41338eb0) at res_features.c:1326 1326 res = ast_channel_bridge(chan, peer, config, &f, &who); (gdb) frame 13 #13 0x40971301 in dial_exec_full (chan=0x41634108, data=0x41338eb0, peerflags=0x41339568) at app_dial.c:1591 1591 res = ast_bridge_call(chan,peer,&config); (gdb) frame 14 #14 0x4096fdc5 in dial_exec (chan=0xfffffffc, data=0xfffffffc) at app_dial.c:1633 1633 return dial_exec_full(chan, data, &peerflags); (gdb) frame 15 #15 0x0808e585 in pbx_extension_helper (c=0x41634108, con=0xfffffffc, context=0x41634258 "toagent", exten=0x4163434c "1117", priority=6, label=0x0, callerid=0x0, action=0) at pbx.c:553 553 res = execute(c, data); (gdb) frame 16 #16 0x0808f12a in __ast_pbx_run (c=0x41634108) at pbx.c:2230 2230 return pbx_extension_helper(c, NULL, context, exten, priority, NULL, callerid, HELPER_SPAWN); (gdb) frame 17 #17 0x0808fe1f in pbx_thread (data=0xfffffffc) at pbx.c:2517 2517 __ast_pbx_run(c); (gdb) frame 18 #18 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 (gdb) frame 19 #19 0x401ab18a in clone () from /lib/tls/libc.so.6 (gdb) quit The program is running. Quit anyway (and detach it)? (y or n) Detaching from program: /usr/sbin/asterisk, process 31730