(gdb) bt #0 0x0807c7b1 in channel_find_locked (prev=0x8227410, name=0x419aab60 "SIP/5", namelen=5, context=0x0, exten=0x0) at channel.c:925 #1 0x0807ca45 in ast_walk_channel_by_name_prefix_locked (chan=0x8227410, name=0x419aab60 "SIP/5", namelen=5) at channel.c:981 #2 0x4060a6d1 in next_channel (last=0x8227410, spec=0x419aab60 "SIP/5", exten=0x0, context=0x0) at app_chanspy.c:412 #3 0x4060ae05 in common_exec (chan=0x41a140e8, flags=0x419aadc8, volfactor=0, fd=0, mygroup=0x0, spec=0x419aab60 "SIP/5", exten=0x0, context=0x0) at app_chanspy.c:468 #4 0x4060b27b in chanspy_exec (chan=0x41a140e8, data=0x419aab60) at app_chanspy.c:626 #5 0x080bc4a4 in pbx_exec (c=0x41a140e8, app=0x81c9ea8, data=0x419aefe0) at pbx.c:505 #6 0x080bf88b in pbx_extension_helper (c=0x41a140e8, con=0x0, context=0x41a1430c "from-sip", exten=0x41a1435c "720", priority=3, label=0x0, callerid=0x41a05a18 "4000", action=E_SPAWN) at pbx.c:1791 #7 0x080c0c69 in ast_spawn_extension (c=0x41a140e8, context=0x41a1430c "from-sip", exten=0x41a1435c "720", priority=3, callerid=0x41a05a18 "4000") at pbx.c:2245 #8 0x080c115c in __ast_pbx_run (c=0x41a140e8) at pbx.c:2345 #9 0x080c1ec8 in pbx_thread (data=0x41a140e8) at pbx.c:2556 #10 0x080fcff6 in dummy_start (data=0x41a148f0) at utils.c:545 #11 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 #12 0x4024ec2e in clone () from /lib/tls/libc.so.6 (gdb) (gdb) bt full #0 0x0807c7b1 in channel_find_locked (prev=0x8227410, name=0x419aab60 "SIP/5", namelen=5, context=0x0, exten=0x0) at channel.c:925 done = 0 msg = 0x8152388 "deadlock" retries = 0 c = (struct ast_channel *) 0x0 #1 0x0807ca45 in ast_walk_channel_by_name_prefix_locked (chan=0x8227410, name=0x419aab60 "SIP/5", namelen=5) at channel.c:981 No locals. #2 0x4060a6d1 in next_channel (last=0x8227410, spec=0x419aab60 "SIP/5", exten=0x0, context=0x0) at app_chanspy.c:412 this = (struct ast_channel *) 0x4060ebf4 #3 0x4060ae05 in common_exec (chan=0x41a140e8, flags=0x419aadc8, volfactor=0, fd=0, mygroup=0x0, spec=0x419aab60 "SIP/5", exten=0x0, context=0x0) at app_chanspy.c:468 peer = (struct ast_channel *) 0x8227410 prev = (struct ast_channel *) 0x8227410 next = (struct ast_channel *) 0x0 nameprefix = "'\025\bR\003\000\000S\025\bY\025\b�\027\b\000\000\000\000H\232A(8\030\bH\232A�200\004@\210\232A\203\177\017\b(8\030\b�\026\b\026\bs\000\000\000Ǿ\026\b\001\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000H\177'\b\001\000\000\000\000\000\000\000H\177'\bH\177'\bت\232A`AA\230\232A�200\004@ت\232A�216\b\b`AA\231?\025\b�232AD�n\b\000\000\000\000\000\000\000\000H\177'\bH\177'\b`I\030\b\004\000\000\000\000\000\000\000�`@p�232A\030\232A'\b\bs\020\025\b\n\000\000"... peer_name = "spy-sip\000506-081f60a8\000\000\000\000P\232A\212\035\037@\000\"\b6`\037@\200\002\000\0008\000\000\0008*@\000\000\000\000$*@(*@\000*@�237*@\000*@�\001\000�232A|\037@\207\036@\000\"\b� \b\000\000\000\033\233A\025q\037@`\000\000\000\000*@8*@\025\226\004@p\232Ap�232Aȩ\232A\002�017\b\001\000\000\000�n\b@\177'\b\n*@\000\000\000\000\000\000\000\000` \000\000\000*@\027}\004@\217`@q\000\001\000�\027\bة\232A�200\004@"... zero_volume = 0 '\0' waitms = 5000 res = 0 ptr = 0x419aa918 "506-081f60a8" num = 1102299136 #4 0x4060b27b in chanspy_exec (chan=0x41a140e8, data=0x419aab60) at app_chanspy.c:626 u = (struct ast_module_user *) 0x8210138 options = 0x419aab66 "bq" spec = 0x419aab60 "SIP/5" argv = {0x419aab60 "SIP/5", 0x419aab66 "bq"} mygroup = 0x0 recbase = 0x0 fd = 0 ---Type to continue, or q to quit--- flags = {flags = 3} oldwf = 8 argc = 2 volfactor = 0 res = 0 #5 0x080bc4a4 in pbx_exec (c=0x41a140e8, app=0x81c9ea8, data=0x419aefe0) at pbx.c:505 res = 1100656240 saved_c_appl = 0x0 saved_c_data = 0x0 #6 0x080bf88b in pbx_extension_helper (c=0x41a140e8, con=0x0, context=0x41a1430c "from-sip", exten=0x41a1435c "720", priority=3, label=0x0, callerid=0x41a05a18 "4000", action=E_SPAWN) at pbx.c:1791 e = (struct ast_exten *) 0x820dfc8 app = (struct ast_app *) 0x81c9ea8 res = 0 q = {incstack = {0x0 }, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0x41a1430c "from-sip"} passdata = "SIP/5|bq", '\0' matching_action = 0 #7 0x080c0c69 in ast_spawn_extension (c=0x41a140e8, context=0x41a1430c "from-sip", exten=0x41a1435c "720", priority=3, callerid=0x41a05a18 "4000") at pbx.c:2245 No locals. #8 0x080c115c in __ast_pbx_run (c=0x41a140e8) at pbx.c:2345 dst_exten = '\0' , "1z\037@", '\0' , "\025q\037@�\203\236\000*@8*@\000\000\000\000\027}\004@\000\000\000\000\000\000\000\000\001\000\000\000\030\023\233A�200\004@X\023\233Ah\n*@h\023YA6\nYAx\001!\b\000*@\025q\037@\000*@\200\221\037@p\001!\b�\037\000\020\000\000\000�237*@\000*@�\001\000\210\023\233A\037@\000*@\027}\004@\030\000\000\000x\001!\b�\027\bx\023\233A�200\004@\023\233A\026\a\b�\027\b \024\b\023\233A`\017\b\001\000\000\000\f\000\000\000\000\017=\000"... pos = 0 digit = 0 found = 1 res = 0 autoloopflag = 0 error = 0 #9 0x080c1ec8 in pbx_thread (data=0x41a140e8) at pbx.c:2556 c = (struct ast_channel *) 0x41a140e8 #10 0x080fcff6 in dummy_start (data=0x41a148f0) at utils.c:545 _buffer = {__routine = 0x806987e , __arg = 0x419b1bb0, __canceltype = 0, __prev = 0x0} ret = (void *) 0x4004fff4 ---Type to continue, or q to quit--- a = {start_routine = 0x80c1eb1 , data = 0x41a140e8, name = 0x41a14900 "pbx_thread", ' ' , "started at [ 2580] pbx.c ast_pbx_start()"} #11 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 No symbol table info available. #12 0x4024ec2e in clone () from /lib/tls/libc.so.6 No symbol table info available. (gdb) (gdb) thread apply all bt Thread 33 (process 17949): #0 0xffffe410 in ?? () #1 0xbfffdcf8 in ?? () #2 0x00000001 in ?? () #3 0xbfffdd87 in ?? () #4 0x4004b31b in read () from /lib/tls/libpthread.so.0 #5 0x08105908 in read_char (el=0x81a93b8, cp=0xbfffdd87 "\b\210�024") at read.c:296 #6 0x08105a30 in el_getc (el=0x81a93b8, cp=0xbfffdd87 "\b\210�024") at read.c:347 #7 0x08105807 in read_getcmd (el=0x81a93b8, cmdnum=0xbfffdd8f "", ch=0xbfffdd87 "\b\210�024") at read.c:243 #8 0x08105c55 in el_gets (el=0x81a93b8, nread=0xbfffdf2c) at read.c:443 #9 0x0807112e in main (argc=3, argv=0xbfffe144) at asterisk.c:2817 #10 0x401a9e80 in __libc_start_main () from /lib/tls/libc.so.6 #11 0x08058a81 in ?? () at start.S:119 Thread 32 (process 17951): #0 0xffffe410 in ?? () #1 0x402ea2d8 in ?? () #2 0xffffffff in ?? () #3 0x00000001 in ?? () #4 0x40245954 in poll () from /lib/tls/libc.so.6 #5 0x0806b333 in listener (unused=0x0) at asterisk.c:887 #6 0x080fcff6 in dummy_start (data=0x81b04b0) at utils.c:545 #7 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 #8 0x4024ec2e in clone () from /lib/tls/libc.so.6 Thread 31 (process 17952): #0 0xffffe410 in ?? () #1 0x40329308 in ?? () #2 0x00001388 in ?? () #3 0x00000001 in ?? () #4 0x40245954 in poll () from /lib/tls/libc.so.6 #5 0x080b7764 in accept_thread (ignore=0x0) at manager.c:2149 #6 0x080fcff6 in dummy_start (data=0x81b04f0) at utils.c:545 #7 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 #8 0x4024ec2e in clone () from /lib/tls/libc.so.6 Thread 30 (process 17953): ---Type to continue, or q to quit--- #0 0xffffe410 in ?? () #1 0x403653b8 in ?? () #2 0x0000007f in ?? () #3 0x00000000 in ?? () #4 0x40048a56 in pthread_cond_wait () from /lib/tls/libpthread.so.0 #5 0x080959a2 in __ast_cond_wait (filename=0x81568bf "devicestate.c", lineno=366, func=0x8156b37 "do_devstate_changes", cond_name=0x8156b27 "&change_pending", mutex_name=0x8156b4b "&state_changes.lock", cond=0x8189100, t=0x817c168) at lock.h:415 #6 0x08095147 in do_devstate_changes (data=0x0) at devicestate.c:366 #7 0x080fcff6 in dummy_start (data=0x81a92c8) at utils.c:545 #8 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 #9 0x4024ec2e in clone () from /lib/tls/libc.so.6 Thread 29 (process 17954): #0 0xffffe410 in ?? () #1 0x403a4378 in ?? () #2 0x402a9ff4 in ?? () from /lib/tls/libc.so.6 #3 0x403a41d4 in ?? () #4 0x4021d8e6 in nanosleep () from /lib/tls/libc.so.6 #5 0x4021d6c1 in sleep () from /lib/tls/libc.so.6 #6 0x40369210 in monmp3thread (data=0x81b5350) at res_musiconhold.c:504 #7 0x080fcff6 in dummy_start (data=0x81b4c60) at utils.c:545 #8 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 #9 0x4024ec2e in clone () from /lib/tls/libc.so.6 Thread 28 (process 17955): #0 0xffffe410 in ?? () #1 0x404060d8 in ?? () #2 0x00000000 in ?? () #3 0x40406350 in ?? () #4 0x40247fd1 in select () from /lib/tls/libc.so.6 #5 0x403c6abb in ast_select (nfds=0, rfds=0x40406350, wfds=0x0, efds=0x404062d0, tvp=0x0) at channel.h:1278 #6 0x403c37ec in do_parking_thread (ignore=0x0) at res_features.c:1683 #7 0x080fcff6 in dummy_start (data=0x81b7ef8) at utils.c:545 #8 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 #9 0x4024ec2e in clone () from /lib/tls/libc.so.6 Thread 27 (process 17956): ---Type to continue, or q to quit--- #0 0xffffe410 in ?? () #1 0x40607388 in ?? () #2 0x000003e8 in ?? () #3 0x00000001 in ?? () #4 0x40245954 in poll () from /lib/tls/libc.so.6 #5 0x080a9a9e in ast_io_wait (ioc=0x81c84e0, howlong=1000) at io.c:266 #6 0x4058d8ea in do_monitor (data=0x0) at chan_mgcp.c:3459 #7 0x080fcff6 in dummy_start (data=0x81c99c0) at utils.c:545 #8 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 #9 0x4024ec2e in clone () from /lib/tls/libc.so.6 Thread 26 (process 17957): #0 0xffffe410 in ?? () #1 0x40716f58 in ?? () #2 0x000003e8 in ?? () #3 0x00000000 in ?? () #4 0x40245954 in poll () from /lib/tls/libc.so.6 #5 0x4062c57a in do_monitor (data=0x0) at chan_zap.c:6780 #6 0x080fcff6 in dummy_start (data=0x81ca9e0) at utils.c:545 #7 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 #8 0x4024ec2e in clone () from /lib/tls/libc.so.6 Thread 25 (process 17958): #0 0xffffe410 in ?? () #1 0x408df388 in ?? () #2 0x000003e8 in ?? () #3 0x00000001 in ?? () #4 0x40245954 in poll () from /lib/tls/libc.so.6 #5 0x080a9a9e in ast_io_wait (ioc=0x81cd950, howlong=1000) at io.c:266 #6 0x407299c3 in network_thread (ignore=0x0) at pbx_dundi.c:2078 #7 0x080fcff6 in dummy_start (data=0x81cfe80) at utils.c:545 #8 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 #9 0x4024ec2e in clone () from /lib/tls/libc.so.6 Thread 24 (process 17959): #0 0xffffe410 in ?? () #1 0x4091b198 in ?? () #2 0x402a9ff4 in ?? () from /lib/tls/libc.so.6 ---Type to continue, or q to quit--- #3 0x4091aff4 in ?? () #4 0x4021d8e6 in nanosleep () from /lib/tls/libc.so.6 #5 0x4021d6c1 in sleep () from /lib/tls/libc.so.6 #6 0x40729bde in process_precache (ign=0x0) at pbx_dundi.c:2118 #7 0x080fcff6 in dummy_start (data=0x81cff40) at utils.c:545 #8 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 #9 0x4024ec2e in clone () from /lib/tls/libc.so.6 Thread 23 (process 17960): #0 0xffffe410 in ?? () #1 0x4107c378 in ?? () #2 0x00000001 in ?? () #3 0x00000000 in ?? () #4 0x40048a56 in pthread_cond_wait () from /lib/tls/libpthread.so.0 #5 0x409f000b in __ast_cond_wait (filename=0x409f5253 "chan_iax2.c", lineno=7607, func=0x409f5348 "iax2_process_thread", cond_name=0x409f533a "&thread->cond", mutex_name=0x409f532c "&thread->lock", cond=0x81df9dc, t=0x81df920) at lock.h:415 #6 0x409e3ef1 in iax2_process_thread (data=0x81de890) at chan_iax2.c:7607 #7 0x080fcff6 in dummy_start (data=0x81da508) at utils.c:545 #8 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 #9 0x4024ec2e in clone () from /lib/tls/libc.so.6 Thread 22 (process 17961): #0 0xffffe410 in ?? () #1 0x410b8378 in ?? () #2 0x00000001 in ?? () #3 0x00000000 in ?? () #4 0x40048a56 in pthread_cond_wait () from /lib/tls/libpthread.so.0 #5 0x409f000b in __ast_cond_wait (filename=0x409f5253 "chan_iax2.c", lineno=7607, func=0x409f5348 "iax2_process_thread", cond_name=0x409f533a "&thread->cond", mutex_name=0x409f532c "&thread->lock", cond=0x81e0b5c, t=0x81e0aa0) at lock.h:415 #6 0x409e3ef1 in iax2_process_thread (data=0x81dfa10) at chan_iax2.c:7607 #7 0x080fcff6 in dummy_start (data=0x81de2e0) at utils.c:545 #8 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 #9 0x4024ec2e in clone () from /lib/tls/libc.so.6 Thread 21 (process 17962): #0 0xffffe410 in ?? () ---Type to continue, or q to quit--- #1 0x410f4378 in ?? () #2 0x00000001 in ?? () #3 0x00000000 in ?? () #4 0x40048a56 in pthread_cond_wait () from /lib/tls/libpthread.so.0 #5 0x409f000b in __ast_cond_wait (filename=0x409f5253 "chan_iax2.c", lineno=7607, func=0x409f5348 "iax2_process_thread", cond_name=0x409f533a "&thread->cond", mutex_name=0x409f532c "&thread->lock", cond=0x81e1cdc, t=0x81e1c20) at lock.h:415 #6 0x409e3ef1 in iax2_process_thread (data=0x81e0b90) at chan_iax2.c:7607 #7 0x080fcff6 in dummy_start (data=0x81de390) at utils.c:545 #8 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 #9 0x4024ec2e in clone () from /lib/tls/libc.so.6 Thread 20 (process 17963): #0 0xffffe410 in ?? () #1 0x41130378 in ?? () #2 0x00000001 in ?? () #3 0x00000000 in ?? () #4 0x40048a56 in pthread_cond_wait () from /lib/tls/libpthread.so.0 #5 0x409f000b in __ast_cond_wait (filename=0x409f5253 "chan_iax2.c", lineno=7607, func=0x409f5348 "iax2_process_thread", cond_name=0x409f533a "&thread->cond", mutex_name=0x409f532c "&thread->lock", cond=0x81e2e5c, t=0x81e2da0) at lock.h:415 #6 0x409e3ef1 in iax2_process_thread (data=0x81e1d10) at chan_iax2.c:7607 #7 0x080fcff6 in dummy_start (data=0x81de440) at utils.c:545 #8 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 #9 0x4024ec2e in clone () from /lib/tls/libc.so.6 Thread 19 (process 17964): #0 0xffffe410 in ?? () #1 0x4116c378 in ?? () #2 0x00000001 in ?? () #3 0x00000000 in ?? () #4 0x40048a56 in pthread_cond_wait () from /lib/tls/libpthread.so.0 #5 0x409f000b in __ast_cond_wait (filename=0x409f5253 "chan_iax2.c", lineno=7607, func=0x409f5348 "iax2_process_thread", cond_name=0x409f533a "&thread->cond", mutex_name=0x409f532c "&thread->lock", cond=0x81e3fdc, t=0x81e3f20) at lock.h:415 #6 0x409e3ef1 in iax2_process_thread (data=0x81e2e90) at chan_iax2.c:7607 #7 0x080fcff6 in dummy_start (data=0x81de4f0) at utils.c:545 #8 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 ---Type to continue, or q to quit--- #9 0x4024ec2e in clone () from /lib/tls/libc.so.6 Thread 18 (process 17965): #0 0xffffe410 in ?? () #1 0x411a8378 in ?? () #2 0x00000001 in ?? () #3 0x00000000 in ?? () #4 0x40048a56 in pthread_cond_wait () from /lib/tls/libpthread.so.0 #5 0x409f000b in __ast_cond_wait (filename=0x409f5253 "chan_iax2.c", lineno=7607, func=0x409f5348 "iax2_process_thread", cond_name=0x409f533a "&thread->cond", mutex_name=0x409f532c "&thread->lock", cond=0x81e515c, t=0x81e50a0) at lock.h:415 #6 0x409e3ef1 in iax2_process_thread (data=0x81e4010) at chan_iax2.c:7607 #7 0x080fcff6 in dummy_start (data=0x81dda20) at utils.c:545 #8 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 #9 0x4024ec2e in clone () from /lib/tls/libc.so.6 Thread 17 (process 17966): #0 0xffffe410 in ?? () #1 0x411e4378 in ?? () #2 0x00000001 in ?? () #3 0x00000000 in ?? () #4 0x40048a56 in pthread_cond_wait () from /lib/tls/libpthread.so.0 #5 0x409f000b in __ast_cond_wait (filename=0x409f5253 "chan_iax2.c", lineno=7607, func=0x409f5348 "iax2_process_thread", cond_name=0x409f533a "&thread->cond", mutex_name=0x409f532c "&thread->lock", cond=0x81e62dc, t=0x81e6220) at lock.h:415 #6 0x409e3ef1 in iax2_process_thread (data=0x81e5190) at chan_iax2.c:7607 #7 0x080fcff6 in dummy_start (data=0x81ddad0) at utils.c:545 #8 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 #9 0x4024ec2e in clone () from /lib/tls/libc.so.6 Thread 16 (process 17967): #0 0xffffe410 in ?? () #1 0x41220378 in ?? () #2 0x00000001 in ?? () #3 0x00000000 in ?? () #4 0x40048a56 in pthread_cond_wait () from /lib/tls/libpthread.so.0 #5 0x409f000b in __ast_cond_wait (filename=0x409f5253 "chan_iax2.c", lineno=7607, func=0x409f5348 "iax2_process_thread", cond_name=0x409f533a "&thread->cond", mutex_name=0x409f532c "&thread->lock", cond=0x81e745c, t=0x81e73a0) ---Type to continue, or q to quit--- at lock.h:415 #6 0x409e3ef1 in iax2_process_thread (data=0x81e6310) at chan_iax2.c:7607 #7 0x080fcff6 in dummy_start (data=0x81ddad0) at utils.c:545 #8 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 #9 0x4024ec2e in clone () from /lib/tls/libc.so.6 Thread 15 (process 17968): #0 0xffffe410 in ?? () #1 0x4125c378 in ?? () #2 0x00000001 in ?? () #3 0x00000000 in ?? () #4 0x40048a56 in pthread_cond_wait () from /lib/tls/libpthread.so.0 #5 0x409f000b in __ast_cond_wait (filename=0x409f5253 "chan_iax2.c", lineno=7607, func=0x409f5348 "iax2_process_thread", cond_name=0x409f533a "&thread->cond", mutex_name=0x409f532c "&thread->lock", cond=0x81e85dc, t=0x81e8520) at lock.h:415 #6 0x409e3ef1 in iax2_process_thread (data=0x81e7490) at chan_iax2.c:7607 #7 0x080fcff6 in dummy_start (data=0x81dda20) at utils.c:545 #8 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 #9 0x4024ec2e in clone () from /lib/tls/libc.so.6 Thread 14 (process 17969): #0 0xffffe410 in ?? () #1 0x41298378 in ?? () #2 0x00000001 in ?? () #3 0x00000000 in ?? () #4 0x40048a56 in pthread_cond_wait () from /lib/tls/libpthread.so.0 #5 0x409f000b in __ast_cond_wait (filename=0x409f5253 "chan_iax2.c", lineno=7607, func=0x409f5348 "iax2_process_thread", cond_name=0x409f533a "&thread->cond", mutex_name=0x409f532c "&thread->lock", cond=0x81e975c, t=0x81e96a0) at lock.h:415 #6 0x409e3ef1 in iax2_process_thread (data=0x81e8610) at chan_iax2.c:7607 #7 0x080fcff6 in dummy_start (data=0x81de4f0) at utils.c:545 #8 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 #9 0x4024ec2e in clone () from /lib/tls/libc.so.6 Thread 13 (process 17970): #0 0xffffe410 in ?? () #1 0x412d43c8 in ?? () #2 0x000003ad in ?? () ---Type to continue, or q to quit--- #3 0x00000000 in ?? () #4 0x40048ccc in pthread_cond_timedwait () from /lib/tls/libpthread.so.0 #5 0x409f0463 in __ast_cond_timedwait (filename=0x409f5253 "chan_iax2.c", lineno=8019, func=0x409f91ad "sched_thread", cond_name=0x409f91ba "&sched_cond", mutex_name=0x409f91a1 "&sched_lock", cond=0x40a006c0, t=0x409fdc80, abstime=0x412d43c8) at lock.h:470 #6 0x409e5b35 in sched_thread (ignore=0x0) at chan_iax2.c:8019 #7 0x080fcff6 in dummy_start (data=0x81dde50) at utils.c:545 #8 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 #9 0x4024ec2e in clone () from /lib/tls/libc.so.6 Thread 12 (process 17971): #0 0xffffe410 in ?? () #1 0x41310368 in ?? () #2 0xffffffff in ?? () #3 0x00000001 in ?? () #4 0x40245954 in poll () from /lib/tls/libc.so.6 #5 0x080a9a9e in ast_io_wait (ioc=0x81dbfb0, howlong=-1) at io.c:266 #6 0x409e5f63 in network_thread (ignore=0x0) at chan_iax2.c:8087 #7 0x080fcff6 in dummy_start (data=0x81ddf10) at utils.c:545 #8 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 #9 0x4024ec2e in clone () from /lib/tls/libc.so.6 Thread 11 (process 17972): #0 0xffffe410 in ?? () #1 0x41365238 in ?? () #2 0x402a9ff4 in ?? () from /lib/tls/libc.so.6 #3 0x41365094 in ?? () #4 0x4021d8e6 in nanosleep () from /lib/tls/libc.so.6 #5 0x4021d6c1 in sleep () from /lib/tls/libc.so.6 #6 0x41327b69 in scan_thread (unused=0x0) at pbx_spool.c:436 #7 0x080fcff6 in dummy_start (data=0x81de598) at utils.c:545 #8 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 #9 0x4024ec2e in clone () from /lib/tls/libc.so.6 Thread 10 (process 17973): #0 0xffffe410 in ?? () #1 0x414d8288 in ?? () #2 0x00000000 in ?? () ---Type to continue, or q to quit--- #3 0x414d8360 in ?? () #4 0x40247fd1 in select () from /lib/tls/libc.so.6 #5 0x4149954d in ast_select (nfds=0, rfds=0x414d8360, wfds=0x0, efds=0x414d82e0, tvp=0x0) at channel.h:1278 #6 0x41497833 in do_monitor (data=0x0) at chan_phone.c:1078 #7 0x080fcff6 in dummy_start (data=0x81f3db8) at utils.c:545 #8 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 #9 0x4024ec2e in clone () from /lib/tls/libc.so.6 Thread 9 (process 17974): #0 0xffffe410 in ?? () #1 0x415373e8 in ?? () #2 0x414fa23c in ?? () from /usr/lib/asterisk/modules/chan_skinny.so #3 0x41537350 in ?? () #4 0x4004b538 in accept () from /lib/tls/libpthread.so.0 #5 0x414f4d38 in accept_thread (ignore=0x0) at chan_skinny.c:4283 #6 0x080fcff6 in dummy_start (data=0x81fc310) at utils.c:545 #7 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 #8 0x4024ec2e in clone () from /lib/tls/libc.so.6 Thread 8 (process 17975): #0 0xffffe410 in ?? () #1 0x41573388 in ?? () #2 0x000003e8 in ?? () #3 0x00000000 in ?? () #4 0x40245954 in poll () from /lib/tls/libc.so.6 #5 0x080a9a9e in ast_io_wait (ioc=0x81fea78, howlong=1000) at io.c:266 #6 0x414f4ff5 in do_monitor (data=0x0) at chan_skinny.c:4329 #7 0x080fcff6 in dummy_start (data=0x81fcbb8) at utils.c:545 #8 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 #9 0x4024ec2e in clone () from /lib/tls/libc.so.6 Thread 7 (process 17976): #0 0xffffe410 in ?? () #1 0x417a1288 in ?? () #2 0x417a12d0 in ?? () #3 0x417a1350 in ?? () #4 0x40247fd1 in select () from /lib/tls/libc.so.6 #5 0x417590bc in ast_select (nfds=14, rfds=0x417a1350, wfds=0x417a12d0, efds=0x0, tvp=0x0) at channel.h:1278 ---Type to continue, or q to quit--- #6 0x417554fe in sound_thread (arg=0x8206ba0) at chan_oss.c:632 #7 0x080fcff6 in dummy_start (data=0x82068f8) at utils.c:545 #8 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 #9 0x4024ec2e in clone () from /lib/tls/libc.so.6 Thread 6 (process 17977): #0 0xffffe410 in ?? () #1 0x4184d348 in ?? () #2 0x000001e7 in ?? () #3 0x00000001 in ?? () #4 0x40245954 in poll () from /lib/tls/libc.so.6 #5 0x080a9a9e in ast_io_wait (ioc=0x8208898, howlong=487) at io.c:266 #6 0x417f31db in do_monitor (data=0x0) at chan_sip.c:14858 #7 0x080fcff6 in dummy_start (data=0x820c190) at utils.c:545 #8 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 #9 0x4024ec2e in clone () from /lib/tls/libc.so.6 Thread 5 (process 18032): #0 0xffffe410 in ?? () #1 0x41884338 in ?? () #2 0xffffffff in ?? () #3 0x00000001 in ?? () #4 0x40245954 in poll () from /lib/tls/libc.so.6 #5 0x080b6fbd in get_input (s=0x820eea8, output=0x418843c4 "") at manager.c:2028 #6 0x080b723d in session_do (data=0x820eea8) at manager.c:2064 #7 0x080fcff6 in dummy_start (data=0x820f118) at utils.c:545 #8 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 #9 0x4024ec2e in clone () from /lib/tls/libc.so.6 Thread 4 (process 18080): #0 0xffffe410 in ?? () #1 0x41931d98 in ?? () #2 0xffffffff in ?? () #3 0x00000006 in ?? () #4 0x40245954 in poll () from /lib/tls/libc.so.6 #5 0x0807f7d3 in ast_waitfor_nandfds (c=0x41931ff0, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0x41931fc4) at channel.c:1818 #6 0x0807fb17 in ast_waitfor_n (c=0x41931ff0, n=2, ms=0x41931fc4) at channel.c:1880 ---Type to continue, or q to quit--- #7 0x08085afb in ast_generic_bridge (c0=0x8227410, c1=0x8226608, config=0x41932450, fo=0x419322ec, rc=0x419322e8, bridge_end={tv_sec = 0, tv_usec = 0}) at channel.c:3663 #8 0x08086b63 in ast_channel_bridge (c0=0x8227410, c1=0x8226608, config=0x41932450, fo=0x419322ec, rc=0x419322e8) at channel.c:3973 #9 0x403c20c2 in ast_bridge_call (chan=0x8227410, peer=0x8226608, config=0x41932450) at res_features.c:1353 #10 0x4142ca71 in dial_exec_full (chan=0x8227410, data=0x41936fe0, peerflags=0x41932df0) at app_dial.c:1608 #11 0x4142cce3 in dial_exec (chan=0x8227410, data=0x41936fe0) at app_dial.c:1657 #12 0x080bc4a4 in pbx_exec (c=0x8227410, app=0x81f4e28, data=0x41936fe0) at pbx.c:505 #13 0x080bf88b in pbx_extension_helper (c=0x8227410, con=0x0, context=0x8227634 "from-sip", exten=0x8227684 "502", priority=1, label=0x0, callerid=0x822e988 "506", action=E_SPAWN) at pbx.c:1791 #14 0x080c0c69 in ast_spawn_extension (c=0x8227410, context=0x8227634 "from-sip", exten=0x8227684 "502", priority=1, callerid=0x822e988 "506") at pbx.c:2245 #15 0x080c115c in __ast_pbx_run (c=0x8227410) at pbx.c:2345 #16 0x080c1ec8 in pbx_thread (data=0x8227410) at pbx.c:2556 #17 0x080fcff6 in dummy_start (data=0x8232110) at utils.c:545 #18 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 #19 0x4024ec2e in clone () from /lib/tls/libc.so.6 Thread 3 (process 18146): #0 0xffffe410 in ?? () #1 0x4196dd98 in ?? () #2 0xffffffff in ?? () #3 0x00000006 in ?? () #4 0x40245954 in poll () from /lib/tls/libc.so.6 #5 0x0807f7d3 in ast_waitfor_nandfds (c=0x4196dff0, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0x4196dfc4) at channel.c:1818 #6 0x0807fb17 in ast_waitfor_n (c=0x4196dff0, n=2, ms=0x4196dfc4) at channel.c:1880 #7 0x08085afb in ast_generic_bridge (c0=0x8225800, c1=0x823fcf0, config=0x4196e450, fo=0x4196e2ec, rc=0x4196e2e8, bridge_end={tv_sec = 0, tv_usec = 0}) at channel.c:3663 #8 0x08086b63 in ast_channel_bridge (c0=0x8225800, c1=0x823fcf0, config=0x4196e450, fo=0x4196e2ec, rc=0x4196e2e8) at channel.c:3973 #9 0x403c20c2 in ast_bridge_call (chan=0x8225800, peer=0x823fcf0, config=0x4196e450) at res_features.c:1353 #10 0x4142ca71 in dial_exec_full (chan=0x8225800, data=0x41972fe0, peerflags=0x4196edf0) at app_dial.c:1608 #11 0x4142cce3 in dial_exec (chan=0x8225800, data=0x41972fe0) at app_dial.c:1657 #12 0x080bc4a4 in pbx_exec (c=0x8225800, app=0x81f4e28, data=0x41972fe0) at pbx.c:505 #13 0x080bf88b in pbx_extension_helper (c=0x8225800, con=0x0, context=0x8225a24 "from-sip", exten=0x8225a74 "504", priority=1, label=0x0, callerid=0x81c0950 "505", action=E_SPAWN) at pbx.c:1791 #14 0x080c0c69 in ast_spawn_extension (c=0x8225800, context=0x8225a24 "from-sip", exten=0x8225a74 "504", priority=1, ---Type to continue, or q to quit--- callerid=0x81c0950 "505") at pbx.c:2245 #15 0x080c115c in __ast_pbx_run (c=0x8225800) at pbx.c:2345 #16 0x080c1ec8 in pbx_thread (data=0x8225800) at pbx.c:2556 #17 0x080fcff6 in dummy_start (data=0x81c5780) at utils.c:545 #18 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 #19 0x4024ec2e in clone () from /lib/tls/libc.so.6 Thread 2 (process 18152): #0 0xffffe410 in ?? () #1 0x418ebd98 in ?? () #2 0xffffffff in ?? () #3 0x00000006 in ?? () #4 0x40245954 in poll () from /lib/tls/libc.so.6 #5 0x0807f7d3 in ast_waitfor_nandfds (c=0x418ebff0, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0x418ebfc4) at channel.c:1818 #6 0x0807fb17 in ast_waitfor_n (c=0x418ebff0, n=2, ms=0x418ebfc4) at channel.c:1880 #7 0x08085afb in ast_generic_bridge (c0=0x41a052a8, c1=0x822f258, config=0x418ec450, fo=0x418ec2ec, rc=0x418ec2e8, bridge_end={tv_sec = 0, tv_usec = 0}) at channel.c:3663 #8 0x08086b63 in ast_channel_bridge (c0=0x41a052a8, c1=0x822f258, config=0x418ec450, fo=0x418ec2ec, rc=0x418ec2e8) at channel.c:3973 #9 0x403c20c2 in ast_bridge_call (chan=0x41a052a8, peer=0x822f258, config=0x418ec450) at res_features.c:1353 #10 0x4142ca71 in dial_exec_full (chan=0x41a052a8, data=0x418f0fe0, peerflags=0x418ecdf0) at app_dial.c:1608 #11 0x4142cce3 in dial_exec (chan=0x41a052a8, data=0x418f0fe0) at app_dial.c:1657 #12 0x080bc4a4 in pbx_exec (c=0x41a052a8, app=0x81f4e28, data=0x418f0fe0) at pbx.c:505 #13 0x080bf88b in pbx_extension_helper (c=0x41a052a8, con=0x0, context=0x41a054cc "from-sip", exten=0x41a0551c "503", priority=1, label=0x0, callerid=0x41a00630 "501", action=E_SPAWN) at pbx.c:1791 #14 0x080c0c69 in ast_spawn_extension (c=0x41a052a8, context=0x41a054cc "from-sip", exten=0x41a0551c "503", priority=1, callerid=0x41a00630 "501") at pbx.c:2245 #15 0x080c115c in __ast_pbx_run (c=0x41a052a8) at pbx.c:2345 #16 0x080c1ec8 in pbx_thread (data=0x41a052a8) at pbx.c:2556 #17 0x080fcff6 in dummy_start (data=0x41a05ad0) at utils.c:545 #18 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 #19 0x4024ec2e in clone () from /lib/tls/libc.so.6 Thread 1 (process 18178): #0 0x0807c7b1 in channel_find_locked (prev=0x8227410, name=0x419aab60 "SIP/5", namelen=5, context=0x0, exten=0x0) at channel.c:925 #1 0x0807ca45 in ast_walk_channel_by_name_prefix_locked (chan=0x8227410, name=0x419aab60 "SIP/5", namelen=5) ---Type to continue, or q to quit--- at channel.c:981 #2 0x4060a6d1 in next_channel (last=0x8227410, spec=0x419aab60 "SIP/5", exten=0x0, context=0x0) at app_chanspy.c:412 #3 0x4060ae05 in common_exec (chan=0x41a140e8, flags=0x419aadc8, volfactor=0, fd=0, mygroup=0x0, spec=0x419aab60 "SIP/5", exten=0x0, context=0x0) at app_chanspy.c:468 #4 0x4060b27b in chanspy_exec (chan=0x41a140e8, data=0x419aab60) at app_chanspy.c:626 #5 0x080bc4a4 in pbx_exec (c=0x41a140e8, app=0x81c9ea8, data=0x419aefe0) at pbx.c:505 #6 0x080bf88b in pbx_extension_helper (c=0x41a140e8, con=0x0, context=0x41a1430c "from-sip", exten=0x41a1435c "720", priority=3, label=0x0, callerid=0x41a05a18 "4000", action=E_SPAWN) at pbx.c:1791 #7 0x080c0c69 in ast_spawn_extension (c=0x41a140e8, context=0x41a1430c "from-sip", exten=0x41a1435c "720", priority=3, callerid=0x41a05a18 "4000") at pbx.c:2245 #8 0x080c115c in __ast_pbx_run (c=0x41a140e8) at pbx.c:2345 #9 0x080c1ec8 in pbx_thread (data=0x41a140e8) at pbx.c:2556 #10 0x080fcff6 in dummy_start (data=0x41a148f0) at utils.c:545 #11 0x40046aa7 in pthread_create () from /lib/tls/libpthread.so.0 #12 0x4024ec2e in clone () from /lib/tls/libc.so.6 (gdb)