Core was generated by `/usr/sbin/asterisk -f -U asterisk -G asterisk -vvvg -c'. Program terminated with signal 11, Segmentation fault. #0 0x004b539c in pthread_mutex_lock () from /lib/libpthread.so.0 (gdb) bt #0 0x004b539c in pthread_mutex_lock () from /lib/libpthread.so.0 #1 0x080d63e7 in ast_rtp_read (rtp=0xb7933080) at /home/src/asterisk/asterisk-1.4.21.2/include/asterisk/lock.h:755 #2 0x006684a3 in sip_read (ast=0xb79226c0) at chan_sip.c:4367 #3 0x080858a3 in __ast_read (chan=0xb79226c0, dropaudio=0) at channel.c:2071 #4 0x0808650c in ast_waitfordigit_full (c=0xb79226c0, ms=96, audiofd=-1, cmdfd=-1) at channel.c:2348 #5 0x08086868 in ast_waitfordigit (c=0xb79226c0, ms=100) at channel.c:1791 #6 0x00fdf476 in common_exec (chan=0xb79226c0, flags=0xb771ae88, volfactor=0, fd=0, mygroup=0xb7719e44 "3639", spec=0x0, exten=0x0, context=0x0) at app_chanspy.c:527 #7 0x00fe0405 in chanspy_exec (chan=0xb79226c0, data=0xb771cf08) at app_chanspy.c:740 #8 0x080caa8b in pbx_extension_helper (c=0xb79226c0, con=0x0, context=0xb7922840 "dialout", exten=0xb7922890 "83639", priority=1, label=0x0, callerid=0xb79254f0 "3399", action=E_SPAWN) at pbx.c:537 #9 0x080cd0d2 in __ast_pbx_run (c=0xb79226c0) at pbx.c:2317 #10 0x080ce08e in pbx_thread (data=0xb79226c0) at pbx.c:2636 #11 0x080fc03b in dummy_start (data=0xb7938d38) at utils.c:895 #12 0x004b346b in start_thread () from /lib/libpthread.so.0 #13 0x001e0dbe in clone () from /lib/libc.so.6