(gdb) thread apply all bt Thread 28 (process 2538): #0 0xb7f19410 in ?? () #1 0xbfa7fdb8 in ?? () #2 0x00000001 in ?? () #3 0xbfa7fe3e in ?? () #4 0xb7f0682b in __read_nocancel () from /lib/tls/i686/cmov/libpthread.so.0 #5 0x08117899 in read_char (el=0x81961e0, cp=0xbfa7fe3e "\006") at read.c:296 #6 0x08117996 in el_getc (el=0x81961e0, cp=0xbfa7fe3e "\006") at read.c:347 #7 0x08117746 in read_getcmd (el=0x81961e0, cmdnum=0xbfa7fe3f "", ch=0xbfa7fe3e "\006") at read.c:243 #8 0x08117bcd in el_gets (el=0x81961e0, nread=0xbfa80160) at read.c:443 #9 0x08071caf in main (argc=3, argv=0xbfa80394) at asterisk.c:2972 #10 0xb7d65ea8 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6 #11 0x08057b31 in ?? () at ../sysdeps/i386/elf/start.S:119 Thread 27 (process 6803): #0 0xb7f19410 in ?? () #1 0xb7d4f318 in ?? () #2 0xffffffff in ?? () #3 0x00000001 in ?? () #4 0xb7e12903 in poll () from /lib/tls/i686/cmov/libc.so.6 #5 0x0806bb99 in listener (unused=0x0) at asterisk.c:978 #6 0x0810f098 in dummy_start (data=0x8195ea8) at utils.c:806 #7 0xb7f01240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #8 0xb7e1c4ae in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 26 (process 6804): #0 0xb7f19410 in ?? () #1 0xb76ff358 in ?? () #2 0x00001388 in ?? () #3 0x00000001 in ?? () #4 0xb7e12903 in poll () from /lib/tls/i686/cmov/libc.so.6 #5 0x080c3aa4 in accept_thread (ignore=0x0) at manager.c:2265 #6 0x0810f098 in dummy_start (data=0xb7932ca8) at utils.c:806 #7 0xb7f01240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #8 0xb7e1c4ae in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 25 (process 6805): #0 0xb7f19410 in ?? () #1 0xb76c33c8 in ?? () #2 0x0000028f in ?? () #3 0x00000000 in ?? () Thread 24 (process 6806): #0 0xb7f19410 in ?? () #1 0xb766c0c8 in ?? () #2 0x00000000 in ?? () Thread 23 (process 6807): #0 0xb7f19410 in ?? () #1 0xb73abf88 in ?? () #2 0x000003e8 in ?? () #3 0x00000004 in ?? () #4 0xb7e12903 in poll () from /lib/tls/i686/cmov/libc.so.6 #5 0xb742545e in do_monitor (data=0x0) at chan_zap.c:6820 #6 0x0810f098 in dummy_start (data=0x81c5d78) at utils.c:806 #7 0xb7f01240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #8 0xb7e1c4ae in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 22 (process 6808): #0 0xb7f19410 in ?? () #1 0xb71df258 in ?? () #2 0xb7e7dff4 in ?? () from /lib/tls/i686/cmov/libc.so.6 #3 0xb71df244 in ?? () #4 0xb7ddeac6 in nanosleep () from /lib/tls/i686/cmov/libc.so.6 #5 0xb7dde8eb in sleep () from /lib/tls/i686/cmov/libc.so.6 #6 0xb71e2b94 in scan_thread (unused=0x0) at pbx_spool.c:437 #7 0x0810f098 in dummy_start (data=0x81d2440) at utils.c:806 #8 0xb7f01240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #9 0xb7e1c4ae in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 21 (process 6809): #0 0xb7f19410 in ?? () #1 0xb6ab7358 in ?? () #2 0x00000001 in ?? () #3 0x00000000 in ?? () Thread 20 (process 6810): #0 0xb7f19410 in ?? () #1 0xb6a7b358 in ?? () #2 0x00000001 in ?? () #3 0x00000000 in ?? () Thread 19 (process 6811): #0 0xb7f19410 in ?? () #1 0xb6a3f358 in ?? () #2 0x00000001 in ?? () #3 0x00000000 in ?? () Thread 18 (process 6812): #0 0xb7f19410 in ?? () #1 0xb6a03358 in ?? () #2 0x00000001 in ?? () #3 0x00000000 in ?? () Thread 17 (process 6813): #0 0xb7f19410 in ?? () #1 0xb69c7358 in ?? () #2 0x00000001 in ?? () #3 0x00000000 in ?? () Thread 16 (process 6814): #0 0xb7f19410 in ?? () #1 0xb698b358 in ?? () #2 0x00000001 in ?? () #3 0x00000000 in ?? () Thread 15 (process 6815): #0 0xb7f19410 in ?? () #1 0xb694f358 in ?? () #2 0x00000001 in ?? () #3 0x00000000 in ?? () Thread 14 (process 6816): #0 0xb7f19410 in ?? () #1 0xb6913358 in ?? () #2 0x00000001 in ?? () #3 0x00000000 in ?? () Thread 13 (process 6817): #0 0xb7f19410 in ?? () #1 0xb68d7358 in ?? () #2 0x00000001 in ?? () #3 0x00000000 in ?? () Thread 12 (process 6818): #0 0xb7f19410 in ?? () #1 0xb689b358 in ?? () #2 0x00000001 in ?? () #3 0x00000000 in ?? () Thread 11 (process 6819): #0 0xb7f19410 in ?? () #1 0xb685f3e0 in ?? () #2 0x00002d0d in ?? () #3 0x00000000 in ?? () Thread 10 (process 6820): #0 0xb7f19410 in ?? () #1 0xb6823378 in ?? () #2 0xffffffff in ?? () #3 0x00000002 in ?? () #4 0xb7e12903 in poll () from /lib/tls/i686/cmov/libc.so.6 #5 0x080b41f8 in ast_io_wait (ioc=0x81d8978, howlong=-1) at io.c:266 #6 0xb6ae4ff4 in network_thread (ignore=0x0) at chan_iax2.c:8728 #7 0x0810f098 in dummy_start (data=0x81de9b8) at utils.c:806 #8 0xb7f01240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #9 0xb7e1c4ae in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 9 (process 6821): #0 0xb7f19410 in ?? () #1 0xb6703ad8 in ?? () #2 0x00000000 in ?? () Thread 8 (process 6822): #0 0xb7f19410 in ?? () #1 0xb65f33d8 in ?? () #2 0xffffffff in ?? () #3 0x00000001 in ?? () #4 0xb7e12903 in poll () from /lib/tls/i686/cmov/libc.so.6 #5 0x080704a2 in monitor_sig_flags (unused=0x0) at asterisk.c:2516 #6 0x0810f098 in dummy_start (data=0x8229ef0) at utils.c:806 #7 0xb7f01240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #8 0xb7e1c4ae in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 7 (process 6823): #0 0xb7f19410 in ?? () #1 0xb65b6d18 in ?? () #2 0xffffffff in ?? () #3 0x00000001 in ?? () #4 0xb7e12903 in poll () from /lib/tls/i686/cmov/libc.so.6 #5 0x080c32fa in get_input (s=0x822a650, output=0xb65b6da4 "") at manager.c:2135 #6 0x080c3554 in do_message (s=0x822a650) at manager.c:2172 #7 0x080c3714 in session_do (data=0x822a650) at manager.c:2197 #8 0x0810f098 in dummy_start (data=0x822abc8) at utils.c:806 #9 0xb7f01240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #10 0xb7e1c4ae in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 6 (process 6827): #0 0xb7f19410 in ?? () #1 0xb6501de8 in ?? () #2 0xb676ece8 in ?? () from /usr/lib/asterisk/modules/chan_sip.so #3 0x00000000 in ?? () Thread 5 (process 6849): #0 0xb7f19410 in ?? () #1 0xb6412ea8 in ?? () #2 0x000001f4 in ?? () #3 0x00000000 in ?? () Thread 4 (process 7231): #0 0xb7f19410 in ?? () #1 0xb65387a8 in ?? () #2 0xffffffff in ?? () #3 0x00000006 in ?? () #4 0xb7e12903 in poll () from /lib/tls/i686/cmov/libc.so.6 #5 0x080844c8 in ast_waitfor_nandfds (c=0xb6538a54, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xb6538a90) at channel.c:2015 #6 0x080847f8 in ast_waitfor_n (c=0xb6538a54, n=2, ms=0xb6538a90) at channel.c:2077 #7 0x080e3e2a in bridge_p2p_loop (c0=0xb794df28, c1=0x827dec8, p0=0xb795cd58, p1=0x8291e08, timeoutms=-1, flags=2, fo=0xb6538fc4, rc=0xb6538fc0, pvt0=0xb7952a70, pvt1=0x82876f8) at rtp.c:3129 #8 0x080e4ab5 in ast_rtp_bridge (c0=0xb794df28, c1=0x827dec8, flags=2, fo=0xb6538fc4, rc=0xb6538fc0, timeoutms=-1) at rtp.c:3357 #9 0x0808c763 in ast_channel_bridge (c0=0xb794df28, c1=0x827dec8, config=0xb653a95c, fo=0xb6538fc4, rc=0xb6538fc0) at channel.c:4343 #10 0xb7675c1e in ast_bridge_call (chan=0xb794df28, peer=0x827dec8, config=0xb653a95c) at res_features.c:1525 #11 0xb74849c3 in try_calling (qe=0xb653ac78, options=0xb653ac19 "", announceoverride=0x0, url=0x0, tries=0xb653ae14, noption=0xb653ae10, agi=0x0) at app_queue.c:2788 #12 0xb7487b32 in queue_exec (chan=0xb794df28, data=0xb653cff8) at app_queue.c:3577 #13 0x080c8a42 in pbx_exec (c=0xb794df28, app=0x81c5878, data=0xb653cff8) at pbx.c:532 #14 0x080cc94a in pbx_extension_helper (c=0xb794df28, con=0x0, context=0xb794e150 "open", exten=0xb794e1a0 "2020", priority=8, label=0x0, callerid=0xb795c218 "4502244606", action=E_SPAWN) at pbx.c:1833 #15 0x080cdd2a in ast_spawn_extension (c=0xb794df28, context=0xb794e150 "open", exten=0xb794e1a0 "2020", priority=8, callerid=0xb795c218 "4502244606") at pbx.c:2288 #16 0x080ce1fa in __ast_pbx_run (c=0xb794df28) at pbx.c:2388 #17 0x080cf017 in pbx_thread (data=0xb794df28) at pbx.c:2603 #18 0x0810f098 in dummy_start (data=0xb7955cf0) at utils.c:806 #19 0xb7f01240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #20 0xb7e1c4ae in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 3 (process 7453): #0 0xb7f19410 in ?? () #1 0xb64b3f48 in ?? () #2 0x00000000 in ?? () Thread 2 (process 7499): #0 0xb7f19410 in ?? () #1 0xb644ed18 in ?? () #2 0xffffffff in ?? () #3 0x00000001 in ?? () #4 0xb7e12903 in poll () from /lib/tls/i686/cmov/libc.so.6 #5 0x080c32fa in get_input (s=0x828cbe8, output=0xb644eda4 "") at manager.c:2135 #6 0x080c3554 in do_message (s=0x828cbe8) at manager.c:2172 #7 0x080c3714 in session_do (data=0x828cbe8) at manager.c:2197 #8 0x0810f098 in dummy_start (data=0x8245440) at utils.c:806 #9 0xb7f01240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #10 0xb7e1c4ae in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 1 (process 7524): #0 0xb7dbc473 in strlen () from /lib/tls/i686/cmov/libc.so.6 #1 0xb7d90164 in vfprintf () from /lib/tls/i686/cmov/libc.so.6 #2 0xb7dadf91 in vsnprintf () from /lib/tls/i686/cmov/libc.so.6 #3 0x0810ff0c in ast_dynamic_str_thread_build_va (buf=0xb639afc8, max_len=0, ts=0x816c8c0, append=0, fmt=0x8162b50 "=== ---> %sLock #%d (%s): %s %d %s %s %p (%d)\n", ap=0xb639afe8 "x)\026\b") at utils.c:1246 #4 0x0808ee22 in ast_cli (fd=40, fmt=0x8162b50 "=== ---> %sLock #%d (%s): %s %d %s %s %p (%d)\n") at cli.c:69 #5 0x0810ef22 in handle_show_locks (fd=40, argc=3, argv=0xb639b070) at utils.c:723 #6 0x08095524 in ast_cli_command (fd=40, s=0xb639b1bc "core show locks") at cli.c:1979 #7 0x0806ba30 in netconsole (vconsole=0x8189880) at asterisk.c:939 #8 0x0810f098 in dummy_start (data=0x82733e8) at utils.c:806 #9 0xb7f01240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #10 0xb7e1c4ae in clone () from /lib/tls/i686/cmov/libc.so.6