#0 0x00289757 in pthread_mutex_lock () from /lib/tls/i686/libpthread.so.0 (gdb) bt #0 0x00289757 in pthread_mutex_lock () from /lib/tls/i686/libpthread.so.0 #1 0x080c9296 in ast_rtp_lookup_code (rtp=0x31343738, isAstFormat=1, code=256) at /usr/src/ast/asterisk-1.4svn/include/asterisk/lock.h:532 #2 0x080c93d0 in bridge_p2p_rtp_write (rtp=0x86fb9d0, bridged=0x31343738, rtpheader=0x86fba54, len=32, hdrlen=12) at rtp.c:1038 #3 0x080ceb36 in p2p_rtp_callback (id=0x871d228, fd=1, events=1, cbdata=0x86fb9d0) at rtp.c:2912 #4 0x080a1ffe in ast_io_wait (ioc=0x8686df8, howlong=1) at io.c:279 #5 0x00bb5daf in do_monitor (data=0x0) at chan_sip.c:14861 #6 0x080f2165 in dummy_start (data=0x313458ac) at utils.c:545 #7 0x00288098 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 #8 0x005febee in clone () from /lib/tls/i686/libc.so.6 (gdb) bt full #0 0x00289757 in pthread_mutex_lock () from /lib/tls/i686/libpthread.so.0 No symbol table info available. #1 0x080c9296 in ast_rtp_lookup_code (rtp=0x31343738, isAstFormat=1, code=256) at /usr/src/ast/asterisk-1.4svn/include/asterisk/lock.h:532 pt = 0 #2 0x080c93d0 in bridge_p2p_rtp_write (rtp=0x86fb9d0, bridged=0x31343738, rtpheader=0x86fba54, len=32, hdrlen=12) at rtp.c:1038 payload = 256 bridged_payload = 256 version = 2 mark = 0 seqno = 581 __PRETTY_FUNCTION__ = "bridge_p2p_rtp_write" #3 0x080ceb36 in p2p_rtp_callback (id=0x871d228, fd=1, events=1, cbdata=0x86fb9d0) at rtp.c:2912 res = 32 sin = {sin_family = 2, sin_port = 58434, sin_addr = {s_addr = 3837151688}, sin_zero = "\000\000\000\000\000\000\000"} len = 16 __PRETTY_FUNCTION__ = "p2p_rtp_callback" #4 0x080a1ffe in ast_io_wait (ioc=0x8686df8, howlong=1) at io.c:279 res = 1 x = 2 origcnt = 5 #5 0x00bb5daf in do_monitor (data=0x0) at chan_sip.c:14861 res = 1 sip = (struct sip_pvt *) 0x3e8 peer = (struct sip_peer *) 0x3e8 t = 141061624 fastrestart = 0 lastpeernum = -1 curpeernum = 44 reloading = 1000 __PRETTY_FUNCTION__ = "do_monitor" #6 0x080f2165 in dummy_start (data=0x313458ac) at utils.c:545 _buffer = {__routine = 0x8067420 , __arg = 0xacebb0, __canceltype = 0, __prev = 0x0} ret = (void *) 0x8689150 a = {start_routine = 0xbb5880 , data = 0x0, name = 0x8689150 "do_monitor", ' ' , "started at [14920] chan_sip.c restart_monitor()"} #7 0x00288098 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 No symbol table info available. #8 0x005febee in clone () from /lib/tls/i686/libc.so.6 No symbol table info available. (gdb) thread apply all bt Thread 32 (process 30832): #0 0x0028c7f1 in read () from /lib/tls/i686/libpthread.so.0 #1 0x080f6c8f in read_char (el=0x8656e68, cp=0xbfe80e0e "e") at read.c:301 #2 0x08101abf in el_gets (el=0x8656e68, nread=0xbfe810cc) at read.c:347 #3 0x0806e047 in main (argc=3, argv=0xbfe81464) at asterisk.c:2815 #4 0x0055ddf2 in __libc_start_main () from /lib/tls/i686/libc.so.6 #5 0x08057461 in ?? () Thread 31 (process 30856): #0 0x005f63c6 in poll () from /lib/tls/i686/libc.so.6 #1 0x08068b8f in listener (unused=0x0) at asterisk.c:885 #2 0x080f2165 in dummy_start (data=0x7fffffff) at utils.c:545 #3 0x00288098 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 #4 0x005febee in clone () from /lib/tls/i686/libc.so.6 Thread 30 (process 30857): #0 0x005f63c6 in poll () from /lib/tls/i686/libc.so.6 #1 0x080f2524 in ast_wait_for_input (fd=-4, ms=-4) at utils.c:604 #2 0x0809f137 in http_root (data=0x0) at http.c:515 #3 0x080f2165 in dummy_start (data=0x7fffffff) at utils.c:545 #4 0x00288098 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 #5 0x005febee in clone () from /lib/tls/i686/libc.so.6 Thread 29 (process 30858): #0 0x005f63c6 in poll () from /lib/tls/i686/libc.so.6 #1 0x080b4320 in accept_thread (ignore=0x0) at manager.c:2149 #2 0x080f2165 in dummy_start (data=0x1389) at utils.c:545 #3 0x00288098 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 #4 0x005febee in clone () from /lib/tls/i686/libc.so.6 Thread 28 (process 30859): #0 0x0028a441 in pthread_cond_wait () from /lib/tls/i686/libpthread.so.0 #1 0x0808fc46 in do_devstate_changes (data=0x0) at /usr/src/ast/asterisk-1.4svn/include/asterisk/lock.h:564 #2 0x080f2165 in dummy_start (data=0x1d1) at utils.c:545 #3 0x00288098 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 #4 0x005febee in clone () from /lib/tls/i686/libc.so.6 Thread 27 (process 30860): #0 0x005f8547 in select () from /lib/tls/i686/libc.so.6 #1 0x00117da7 in do_parking_thread (ignore=0x0) at /usr/src/ast/asterisk-1.4svn/include/asterisk/channel.h:1278 #2 0x080f2165 in dummy_start (data=0x0) at utils.c:545 #3 0x00288098 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 #4 0x005febee in clone () from /lib/tls/i686/libc.so.6 Thread 26 (process 30861): #0 0x005f8547 in select () from /lib/tls/i686/libc.so.6 #1 0x0098b6d1 in do_monitor (data=0x0) at /usr/src/asterisk-1.4.0/include/asterisk/channel.h:1278 #2 0x080f2165 in dummy_start (data=0x0) at utils.c:545 #3 0x00288098 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 #4 0x005febee in clone () from /lib/tls/i686/libc.so.6 Thread 25 (process 30863): #0 0x005f8547 in select () from /lib/tls/i686/libc.so.6 #1 0x00f17190 in sound_thread (arg=0x867f4a0) at /usr/src/asterisk-1.4.0/include/asterisk/channel.h:1278 #2 0x080f2165 in dummy_start (data=0x48f300) at utils.c:545 #3 0x00288098 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 #4 0x005febee in clone () from /lib/tls/i686/libc.so.6 Thread 24 (process 30864): #0 0x005f8547 in select () from /lib/tls/i686/libc.so.6 #1 0x00f17190 in sound_thread (arg=0x867fb58) at /usr/src/asterisk-1.4.0/include/asterisk/channel.h:1278 #2 0x080f2165 in dummy_start (data=0x4cb300) at utils.c:545 #3 0x00288098 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 #4 0x005febee in clone () from /lib/tls/i686/libc.so.6 Thread 23 (process 30865): #0 0x005c715c in nanosleep () from /lib/tls/i686/libc.so.6 #1 0x005c6f89 in sleep () from /lib/tls/i686/libc.so.6 #2 0x00865afc in scan_thread (unused=0x0) at pbx_spool.c:436 #3 0x080f2165 in dummy_start (data=0x656ff4) at utils.c:545 #4 0x00288098 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 #5 0x005febee in clone () from /lib/tls/i686/libc.so.6 Thread 22 (process 30867): #0 0x005f63c6 in poll () from /lib/tls/i686/libc.so.6 #1 0x080a1ed4 in ast_io_wait (ioc=0x86983e0, howlong=-4) at io.c:266 #2 0x0050dcdd in network_thread (ignore=0x0) at pbx_dundi.c:2078 #3 0x080f2165 in dummy_start (data=0x3e9) at utils.c:545 #4 0x00288098 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 #5 0x005febee in clone () from /lib/tls/i686/libc.so.6 Thread 21 (process 30868): #0 0x005c715c in nanosleep () from /lib/tls/i686/libc.so.6 #1 0x005c6f89 in sleep () from /lib/tls/i686/libc.so.6 #2 0x005182f8 in process_precache (ign=0x0) at pbx_dundi.c:2118 #3 0x080f2165 in dummy_start (data=0x656ff4) at utils.c:545 #4 0x00288098 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 #5 0x005febee in clone () from /lib/tls/i686/libc.so.6 Thread 20 (process 30869): #0 0x0028a441 in pthread_cond_wait () from /lib/tls/i686/libpthread.so.0 #1 0x0100e3f2 in iax2_process_thread (data=0x869dbf8) at /usr/src/ast/asterisk-1.4svn/include/asterisk/lock.h:564 #2 0x080f2165 in dummy_start (data=0x1) at utils.c:545 #3 0x00288098 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 #4 0x005febee in clone () from /lib/tls/i686/libc.so.6 Thread 19 (process 30870): #0 0x0028a441 in pthread_cond_wait () from /lib/tls/i686/libpthread.so.0 #1 0x0100e3f2 in iax2_process_thread (data=0x869ecd8) at /usr/src/ast/asterisk-1.4svn/include/asterisk/lock.h:564 #2 0x080f2165 in dummy_start (data=0x1) at utils.c:545 #3 0x00288098 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 #4 0x005febee in clone () from /lib/tls/i686/libc.so.6 Thread 18 (process 30871): #0 0x0028a441 in pthread_cond_wait () from /lib/tls/i686/libpthread.so.0 #1 0x0100e3f2 in iax2_process_thread (data=0x869fdb8) at /usr/src/ast/asterisk-1.4svn/include/asterisk/lock.h:564 #2 0x080f2165 in dummy_start (data=0x1) at utils.c:545 #3 0x00288098 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 #4 0x005febee in clone () from /lib/tls/i686/libc.so.6 Thread 17 (process 30872): #0 0x0028a441 in pthread_cond_wait () from /lib/tls/i686/libpthread.so.0 #1 0x0100e3f2 in iax2_process_thread (data=0x86a0e98) at /usr/src/ast/asterisk-1.4svn/include/asterisk/lock.h:564 #2 0x080f2165 in dummy_start (data=0x1) at utils.c:545 #3 0x00288098 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 #4 0x005febee in clone () from /lib/tls/i686/libc.so.6 Thread 16 (process 30873): #0 0x0028a441 in pthread_cond_wait () from /lib/tls/i686/libpthread.so.0 #1 0x0100e3f2 in iax2_process_thread (data=0x86a1f78) at /usr/src/ast/asterisk-1.4svn/include/asterisk/lock.h:564 #2 0x080f2165 in dummy_start (data=0x1) at utils.c:545 #3 0x00288098 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 #4 0x005febee in clone () from /lib/tls/i686/libc.so.6 Thread 15 (process 30874): #0 0x0028a441 in pthread_cond_wait () from /lib/tls/i686/libpthread.so.0 #1 0x0100e3f2 in iax2_process_thread (data=0x86a3058) at /usr/src/ast/asterisk-1.4svn/include/asterisk/lock.h:564 #2 0x080f2165 in dummy_start (data=0x1) at utils.c:545 #3 0x00288098 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 #4 0x005febee in clone () from /lib/tls/i686/libc.so.6 Thread 14 (process 30875): #0 0x0028a441 in pthread_cond_wait () from /lib/tls/i686/libpthread.so.0 #1 0x0100e3f2 in iax2_process_thread (data=0x86a4138) at /usr/src/ast/asterisk-1.4svn/include/asterisk/lock.h:564 #2 0x080f2165 in dummy_start (data=0x1) at utils.c:545 #3 0x00288098 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 #4 0x005febee in clone () from /lib/tls/i686/libc.so.6 Thread 13 (process 30876): #0 0x0028a441 in pthread_cond_wait () from /lib/tls/i686/libpthread.so.0 #1 0x0100e3f2 in iax2_process_thread (data=0x86a5218) at /usr/src/ast/asterisk-1.4svn/include/asterisk/lock.h:564 #2 0x080f2165 in dummy_start (data=0x1) at utils.c:545 #3 0x00288098 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 #4 0x005febee in clone () from /lib/tls/i686/libc.so.6 Thread 12 (process 30877): #0 0x0028a441 in pthread_cond_wait () from /lib/tls/i686/libpthread.so.0 #1 0x0100e3f2 in iax2_process_thread (data=0x86a62f8) at /usr/src/ast/asterisk-1.4svn/include/asterisk/lock.h:564 #2 0x080f2165 in dummy_start (data=0x1) at utils.c:545 #3 0x00288098 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 #4 0x005febee in clone () from /lib/tls/i686/libc.so.6 Thread 11 (process 30878): #0 0x0028a441 in pthread_cond_wait () from /lib/tls/i686/libpthread.so.0 #1 0x0100e3f2 in iax2_process_thread (data=0x86a73d8) at /usr/src/ast/asterisk-1.4svn/include/asterisk/lock.h:564 #2 0x080f2165 in dummy_start (data=0x1) at utils.c:545 #3 0x00288098 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 #4 0x005febee in clone () from /lib/tls/i686/libc.so.6 Thread 10 (process 30879): #0 0x0028a6a2 in pthread_cond_timedwait () from /lib/tls/i686/libpthread.so.0 #1 0x00ff87f6 in sched_thread (ignore=0x0) at /usr/src/ast/asterisk-1.4svn/include/asterisk/lock.h:569 #2 0x080f2165 in dummy_start (data=0xbab) at utils.c:545 #3 0x00288098 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 #4 0x005febee in clone () from /lib/tls/i686/libc.so.6 Thread 9 (process 30880): #0 0x005f63c6 in poll () from /lib/tls/i686/libc.so.6 #1 0x080a1ed4 in ast_io_wait (ioc=0x869b4e0, howlong=-4) at io.c:266 #2 0x00ff89aa in network_thread (ignore=0x0) at chan_iax2.c:8091 #3 0x080f2165 in dummy_start (data=0x7fffffff) at utils.c:545 #4 0x00288098 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 #5 0x005febee in clone () from /lib/tls/i686/libc.so.6 Thread 8 (process 30881): #0 0x005f63c6 in poll () from /lib/tls/i686/libc.so.6 #1 0x080a1ed4 in ast_io_wait (ioc=0x86abf90, howlong=-4) at io.c:266 #2 0x00673b1b in do_monitor (data=0x0) at chan_mgcp.c:3459 #3 0x080f2165 in dummy_start (data=0x3e9) at utils.c:545 #4 0x00288098 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 #5 0x005febee in clone () from /lib/tls/i686/libc.so.6 Thread 7 (process 30883): #0 0x0028c9ae in accept () from /lib/tls/i686/libpthread.so.0 #1 0x008257d3 in accept_thread (ignore=0x0) at chan_skinny.c:4283 #2 0x080f2165 in dummy_start (data=0x82baf0) at utils.c:545 #3 0x00288098 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 #4 0x005febee in clone () from /lib/tls/i686/libc.so.6 Thread 6 (process 30884): #0 0x005f63c6 in poll () from /lib/tls/i686/libc.so.6 #1 0x080a1ed4 in ast_io_wait (ioc=0x86c2298, howlong=-4) at io.c:266 #2 0x00825b22 in do_monitor (data=0x0) at chan_skinny.c:4329 #3 0x080f2165 in dummy_start (data=0x3e9) at utils.c:545 #4 0x00288098 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 #5 0x005febee in clone () from /lib/tls/i686/libc.so.6 Thread 5 (process 30919): #0 0x005f63c6 in poll () from /lib/tls/i686/libc.so.6 #1 0x08068995 in netconsole (vconsole=0x815f280) at asterisk.c:834 #2 0x080f2165 in dummy_start (data=0x7fffffff) at utils.c:545 #3 0x00288098 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 #4 0x005febee in clone () from /lib/tls/i686/libc.so.6 Thread 4 (process 31299): #0 0x005f63c6 in poll () from /lib/tls/i686/libc.so.6 #1 0x080815e3 in ast_waitfor_nandfds (c=0x7643310, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0x764325c) at channel.c:1818 #2 0x080823a7 in ast_waitfor_n (c=0xfffffffc, n=-4, ms=0xfffffffc) at channel.c:1880 #3 0x080cfeee in ast_rtp_bridge (c0=0x86ff4b0, c1=0x86f8fe8, flags=0, fo=0x7643500, rc=0x7643504, timeoutms=-1) at rtp.c:3011 #4 0x080834a2 in ast_channel_bridge (c0=0x86ff4b0, c1=0x86f8fe8, config=0x7643910, fo=0x7643500, rc=0x7643504) at channel.c:3914 #5 0x0011660d in ast_bridge_call (chan=0x86ff4b0, peer=0x86f8fe8, config=0x7643910) at res_features.c:1353 #6 0x007914a0 in dial_exec_full (chan=0x86ff4b0, data=0x0, peerflags=0x76446f4) at app_dial.c:1608 #7 0x00793d6e in dial_exec (chan=0xfffffffc, data=0x927c1) at app_dial.c:1657 #8 0x080b8e6c in pbx_exec (c=0x86ff4b0, app=0x866c950, data=0x7644a6a) at pbx.c:505 #9 0x0079e3c1 in handle_exec (chan=0xfffffffc, agi=0xfffffffc, argc=3, argv=0x86ff4b0) at res_agi.c:1116 #10 0x007a0768 in agi_exec_full (chan=0x86ff4b0, data=0x7a6320, enhanced=0, dead=1) at res_agi.c:1812 #11 0x080c38c6 in pbx_extension_helper (c=0x86ff4b0, con=0x0, context=0x86ff630 "prepago", exten=0x86ff680 "541145221286", priority=10, label=0x0, callerid=0x86e68e8 "1304", action=141252620) at pbx.c:505 #12 0x080c4bff in __ast_pbx_run (c=0x86ff4b0) at pbx.c:2245 #13 0x080c6a7e in pbx_thread (data=0xfffffffc) at pbx.c:2556 #14 0x080f2165 in dummy_start (data=0x927c1) at utils.c:545 #15 0x00288098 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 #16 0x005febee in clone () from /lib/tls/i686/libc.so.6 Thread 3 (process 31305): #0 0x002880e4 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 #1 0x005febee in clone () from /lib/tls/i686/libc.so.6 Thread 2 (process 31306): #0 0x002880e4 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 #1 0x005febee in clone () from /lib/tls/i686/libc.so.6 Thread 1 (process 30866): #0 0x00289757 in pthread_mutex_lock () from /lib/tls/i686/libpthread.so.0 #1 0x080c9296 in ast_rtp_lookup_code (rtp=0x31343738, isAstFormat=1, code=256) at /usr/src/ast/asterisk-1.4svn/include/asterisk/lock.h:532 #2 0x080c93d0 in bridge_p2p_rtp_write (rtp=0x86fb9d0, bridged=0x31343738, rtpheader=0x86fba54, len=32, hdrlen=12) at rtp.c:1038 #3 0x080ceb36 in p2p_rtp_callback (id=0x871d228, fd=1, events=1, cbdata=0x86fb9d0) at rtp.c:2912 #4 0x080a1ffe in ast_io_wait (ioc=0x8686df8, howlong=1) at io.c:279 #5 0x00bb5daf in do_monitor (data=0x0) at chan_sip.c:14861 #6 0x080f2165 in dummy_start (data=0x313458ac) at utils.c:545 #7 0x00288098 in __pthread_initialize_minimal () from /lib/tls/i686/libpthread.so.0 #8 0x005febee in clone () from /lib/tls/i686/libc.so.6 (gdb)