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 2580 `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 2580)] [New Thread 1100315568 (LWP 14020)] [New Thread 1088256944 (LWP 13971)] [New Thread 1089043376 (LWP 13893)] [New Thread 1090878384 (LWP 18523)] [New Thread 1098742704 (LWP 25949)] [New Thread 1097694128 (LWP 3534)] [New Thread 1087994800 (LWP 2636)] [New Thread 1083620272 (LWP 2594)] [New Thread 1083358128 (LWP 2593)] [New Thread 1082444720 (LWP 2592)] [New Thread 1082080176 (LWP 2591)] [New Thread 1080441776 (LWP 2590)] [New Thread 1080093616 (LWP 2589)] [New Thread 1079458736 (LWP 2588)] [New Thread 1079196592 (LWP 2587)] [New Thread 1078733744 (LWP 2586)] [New Thread 1078393776 (LWP 2585)] [New Thread 1077914544 (LWP 2584)] [New Thread 1077648304 (LWP 2583)] [New Thread 1077373872 (LWP 2582)] 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 21 (Thread 1077373872 (LWP 2582)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x080b9fc6 in listener (unused=0x0) at asterisk.c:592 #2 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #3 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 20 (Thread 1077648304 (LWP 2583)): #0 0x400288ae in accept () from /lib/tls/libpthread.so.0 #1 0x080b174b 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 19 (Thread 1077914544 (LWP 2584)): #0 0x40026295 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #1 0x080c9275 in do_devstate_changes (data=0x0) at lock.h:626 #2 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #3 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 18 (Thread 1078393776 (LWP 2585)): #0 0x401a4a27 in select () from /lib/tls/libc.so.6 #1 0x40429471 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 17 (Thread 1078733744 (LWP 2586)): #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 16 (Thread 1079196592 (LWP 2587)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x08055754 in ast_io_wait (ioc=0x814e2c0, 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 15 (Thread 1079458736 (LWP 2588)): #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 14 (Thread 1080093616 (LWP 2589)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x08055754 in ast_io_wait (ioc=0x8153008, howlong=-4) at io.c:271 #2 0x4059c6b1 in do_monitor (data=0x0) at chan_sip.c:11319 #3 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #4 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 13 (Thread 1080441776 (LWP 2590)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x08055754 in ast_io_wait (ioc=0x81ebc70, howlong=-4) at io.c:271 #2 0x40619474 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 12 (Thread 1082080176 (LWP 2591)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x08055754 in ast_io_wait (ioc=0x822eec8, howlong=-4) at io.c:271 #2 0x40674f51 in network_thread (ignore=0x0) at chan_iax2.c:7983 #3 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #4 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 11 (Thread 1082444720 (LWP 2592)): #0 0x401a4a27 in select () from /lib/tls/libc.so.6 #1 0x4080a2e8 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 10 (Thread 1083358128 (LWP 2593)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x408725d7 in pri_dchannel (vpri=0x408851d8) at chan_zap.c:8181 #2 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #3 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 9 (Thread 1083620272 (LWP 2594)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x408626e8 in do_monitor (data=0x0) at chan_zap.c:6487 #2 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #3 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 8 (Thread 1087994800 (LWP 2636)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x080b371a in get_input (s=0x813ef40, output=0x40d92ab4 "") at manager.c:1359 #2 0x080b1fe9 in session_do (data=0x813ef40) 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 7 (Thread 1097694128 (LWP 3534)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x08060b07 in ast_waitfor_nandfds (c=0x416d76c0, n=0, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0x416d76bc) at channel.c:1578 #2 0x08067627 in ast_waitfor_n (c=0xfffffffc, n=-4, ms=0xfffffffc) at channel.c:1655 #3 0x080be7c5 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 6 (Thread 1098742704 (LWP 25949)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x080baa73 in netconsole (vconsole=0x8128780) at asterisk.c:541 #2 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #3 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 5 (Thread 1090878384 (LWP 18523)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x080baa73 in netconsole (vconsole=0x8128790) at asterisk.c:541 #2 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #3 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 4 (Thread 1089043376 (LWP 13893)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x08060b07 in ast_waitfor_nandfds (c=0x40e907f0, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0x40e907e4) at channel.c:1578 #2 0x08069281 in ast_generic_bridge (c0=0x81d38a0, c1=0x40b0bf60, config=0x40e90eb0, fo=0x40e90988, rc=0x40e9098c, bridge_end={tv_sec = 0, tv_usec = 0}) at channel.c:1655 #3 0x080655fd in ast_channel_bridge (c0=0x81d38a0, c1=0x40b0bf60, config=0x40e90eb0, fo=0x40e90988, rc=0x40e9098c) at channel.c:3524 #4 0x40426d29 in ast_bridge_call (chan=0x81d38a0, peer=0x40b0bf60, config=0x40e90eb0) at res_features.c:1319 #5 0x4096f301 in dial_exec_full (chan=0x81d38a0, data=0x40e90eb0, peerflags=0x40e91568) at app_dial.c:1577 #6 0x4096ddc5 in dial_exec (chan=0xfffffffc, data=0xfffffffc) at app_dial.c:1619 #7 0x0808e445 in pbx_extension_helper (c=0x81d38a0, con=0xfffffffc, context=0x81d39f0 "toagent", exten=0x81d3ae4 "1109", priority=6, label=0x0, callerid=0x0, action=0) at pbx.c:553 #8 0x0808efea in __ast_pbx_run (c=0x81d38a0) at pbx.c:2226 #9 0x0808fcdf in pbx_thread (data=0xfffffffc) at pbx.c:2513 #10 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #11 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 3 (Thread 1088256944 (LWP 13971)): #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 0x41422314 in ?? () #3 0x08175d90 in ?? () #4 0x00000140 in ?? () #5 0x000000a0 in ?? () #6 0x4141acb0 in ?? () #7 0x4141ad7c in ?? () #8 0x00000000 in ?? () #9 0x0806239c in ast_write (chan=0x3693, fr=0x822f25c) at lock.h:592 #10 0x080692fa in ast_generic_bridge (c0=0x41422248, c1=0x4141acb0, config=0x40dd0f00, fo=0x40dd0bd8, rc=0x40dd0bdc, bridge_end={tv_sec = 0, tv_usec = 0}) at channel.c:3306 #11 0x080655fd in ast_channel_bridge (c0=0x41422248, c1=0x4141acb0, config=0x40dd0f00, fo=0x40dd0bd8, rc=0x40dd0bdc) at channel.c:3524 #12 0x40426d29 in ast_bridge_call (chan=0x41422248, peer=0x4141acb0, config=0x40dd0f00) at res_features.c:1319 #13 0x409db199 in try_calling (qe=0x40dd11e0, options=0x40dd11e0 "PŠ\032\b", announceoverride=0x0, url=0x0, go_on=0x40dd0f00) at app_queue.c:2273 #14 0x409d5962 in queue_exec (chan=0x41422248, data=0x0) at app_queue.c:3009 #15 0x0808e445 in pbx_extension_helper (c=0x41422248, con=0xfffffffc, context=0x41422398 "fromoutside", exten=0x4142248c "7729720", priority=4, label=0x0, callerid=0x0, action=0) at pbx.c:553 #16 0x0808efea in __ast_pbx_run (c=0x41422248) at pbx.c:2226 #17 0x0808fcdf in pbx_thread (data=0xfffffffc) at pbx.c:2513 #18 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #19 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 2 (Thread 1100315568 (LWP 14020)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x08060b07 in ast_waitfor_nandfds (c=0x41949ef0, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0x41949ee4) at channel.c:1578 #2 0x08069281 in ast_generic_bridge (c0=0x40b158f8, c1=0x81d3ca8, config=0x4194a5d0, fo=0x4194a088, rc=0x4194a08c, bridge_end={tv_sec = 0, tv_usec = 0}) at channel.c:1655 #3 0x080655fd in ast_channel_bridge (c0=0x40b158f8, c1=0x81d3ca8, config=0x4194a5d0, fo=0x4194a088, rc=0x4194a08c) at channel.c:3524 #4 0x40426d29 in ast_bridge_call (chan=0x40b158f8, peer=0x81d3ca8, config=0x4194a5d0) at res_features.c:1319 #5 0x4096f301 in dial_exec_full (chan=0x40b158f8, data=0x4194a5d0, peerflags=0x4194ac88) at app_dial.c:1577 #6 0x4096ddc5 in dial_exec (chan=0xfffffffc, data=0xfffffffc) at app_dial.c:1619 #7 0x0808e445 in pbx_extension_helper (c=0x40b158f8, con=0xfffffffc, context=0x40b15a48 "macro-dialoutside", exten=0x40b15b3c "s", priority=7, label=0x0, callerid=0x41955740 "dialoutside|2|4957729720|Zap/G1/84951010101|1817027|SIP/84951010101@sipnet.ru", action=135981576) at pbx.c:553 #8 0x0808cb84 in ast_spawn_extension (c=0xfffffffc, context=0xfffffffc
, exten=0xfffffffc
, priority=-4, callerid=0xfffffffc
) at pbx.c:2226 #9 0x40a32a43 in macro_exec (chan=0x40b158f8, data=0x81210a0) at app_macro.c:210 #10 0x0808e445 in pbx_extension_helper (c=0x40b158f8, con=0xfffffffc, context=0x40b15a48 "macro-dialoutside", exten=0x40b15b3c "s", priority=1, label=0x0, callerid=0x0, action=0) at pbx.c:553 #11 0x0808efea in __ast_pbx_run (c=0x40b158f8) at pbx.c:2226 #12 0x0808fcdf in pbx_thread (data=0xfffffffc) at pbx.c:2513 #13 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #14 0x401ab18a in clone () from /lib/tls/libc.so.6 Thread 1 (Thread 1076918848 (LWP 2580)): #0 0x401a2523 in poll () from /lib/tls/libc.so.6 #1 0x080b56be in main (argc=0, argv=0xbffff3a4) at asterisk.c:2449 #0 0x401a2523 in poll () from /lib/tls/libc.so.6 (gdb) thread 19 [Switching to thread 19 (Thread 1077914544 (LWP 2584))]#0 0x40026295 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 (gdb) bt #0 0x40026295 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #1 0x080c9275 in do_devstate_changes (data=0x0) at lock.h:626 #2 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 #3 0x401ab18a in clone () from /lib/tls/libc.so.6 (gdb) frame 0 #0 0x40026295 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 (gdb) frame 1 #1 0x080c9275 in do_devstate_changes (data=0x0) at lock.h:626 in lock.h (gdb) frame 2 #2 0x40023b63 in start_thread () from /lib/tls/libpthread.so.0 (gdb) frame 3 #3 0x401ab18a in clone () from /lib/tls/libc.so.6 (gdb) thread 3 [Switching to thread 3 (Thread 1088256944 (LWP 13971))]#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 0x41422314 in ?? () #3 0x08175d90 in ?? () #4 0x00000140 in ?? () #5 0x000000a0 in ?? () #6 0x4141acb0 in ?? () #7 0x4141ad7c in ?? () #8 0x00000000 in ?? () #9 0x0806239c in ast_write (chan=0x3693, fr=0x822f25c) at lock.h:592 #10 0x080692fa in ast_generic_bridge (c0=0x41422248, c1=0x4141acb0, config=0x40dd0f00, fo=0x40dd0bd8, rc=0x40dd0bdc, bridge_end={tv_sec = 0, tv_usec = 0}) at channel.c:3306 #11 0x080655fd in ast_channel_bridge (c0=0x41422248, c1=0x4141acb0, config=0x40dd0f00, fo=0x40dd0bd8, rc=0x40dd0bdc) at channel.c:3524 #12 0x40426d29 in ast_bridge_call (chan=0x41422248, peer=0x4141acb0, config=0x40dd0f00) at res_features.c:1319 #13 0x409db199 in try_calling (qe=0x40dd11e0, options=0x40dd11e0 "PŠ\032\b", announceoverride=0x0, url=0x0, go_on=0x40dd0f00) at app_queue.c:2273 #14 0x409d5962 in queue_exec (chan=0x41422248, data=0x0) at app_queue.c:3009 #15 0x0808e445 in pbx_extension_helper (c=0x41422248, con=0xfffffffc, context=0x41422398 "fromoutside", exten=0x4142248c "7729720", priority=4, label=0x0, callerid=0x0, action=0) at pbx.c:553 #16 0x0808efea in __ast_pbx_run (c=0x41422248) at pbx.c:2226 #17 0x0808fcdf in pbx_thread (data=0xfffffffc) at pbx.c:2513 #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 2 #2 0x41422314 in ?? () (gdb) frame 3 #3 0x08175d90 in ?? () (gdb) frame 8 #8 0x00000000 in ?? () (gdb) frame 9 #9 0x0806239c in ast_write (chan=0x3693, fr=0x822f25c) at lock.h:592 in lock.h (gdb) frame 10 #10 0x080692fa in ast_generic_bridge (c0=0x41422248, c1=0x4141acb0, config=0x40dd0f00, fo=0x40dd0bd8, rc=0x40dd0bdc, bridge_end={tv_sec = 0, tv_usec = 0}) at channel.c:3306 3306 ast_write((who == c0) ? c1 : c0, f); (gdb) frame 11 #11 0x080655fd in ast_channel_bridge (c0=0x41422248, c1=0x4141acb0, config=0x40dd0f00, fo=0x40dd0bd8, rc=0x40dd0bdc) at channel.c:3524 3524 res = ast_generic_bridge(c0, c1, config, fo, rc, nexteventts); (gdb) frame 12 #12 0x40426d29 in ast_bridge_call (chan=0x41422248, peer=0x4141acb0, config=0x40dd0f00) at res_features.c:1319 1319 res = ast_channel_bridge(chan, peer, config, &f, &who); (gdb) frame 13 #13 0x409db199 in try_calling (qe=0x40dd11e0, options=0x40dd11e0 "PŠ\032\b", announceoverride=0x0, url=0x0, go_on=0x40dd0f00) at app_queue.c:2273 2273 bridge = ast_bridge_call(qe->chan,peer, &bridge_config); (gdb) frame 14 #14 0x409d5962 in queue_exec (chan=0x41422248, data=0x0) at app_queue.c:3009 3009 res = try_calling(&qe, options, announceoverride, url, &go_on); (gdb) frame 15 #15 0x0808e445 in pbx_extension_helper (c=0x41422248, con=0xfffffffc, context=0x41422398 "fromoutside", exten=0x4142248c "7729720", priority=4, label=0x0, callerid=0x0, action=0) at pbx.c:553 553 res = execute(c, data); (gdb) frame 16 #16 0x0808efea in __ast_pbx_run (c=0x41422248) at pbx.c:2226 2226 return pbx_extension_helper(c, NULL, context, exten, priority, NULL, callerid, HELPER_SPAWN); (gdb) frame 17 #17 0x0808fcdf in pbx_thread (data=0xfffffffc) at pbx.c:2513 2513 __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