#0 0xb750f149 in __ast_pthread_mutex_unlock (filename=0xb7512c54 "app_chanspy.c", lineno=406, func=0xb751400c "chanspy_ds_destroy", mutex_name=0xb751401f "&chanspy_ds->lock", t=0xb6747c10) at /usr/src/asterisk-1.4.29/include/asterisk/lock.h:505 #1 0xb7510492 in chanspy_ds_destroy (data=0xb6747bf8) at app_chanspy.c:406 #2 0x0808b625 in ast_channel_datastore_free (datastore=0x847b8f0) at channel.c:1375 #3 0x0808ac31 in ast_channel_free (chan=0x8b84950) at channel.c:1274 #4 0x0808c243 in ast_hangup (chan=0x8b84950) at channel.c:1598 #5 0x080e26c8 in __ast_pbx_run (c=0x8b84950) at pbx.c:2557 #6 0x080e2928 in pbx_thread (data=0x8b84950) at pbx.c:2617 #7 0x0812f75c in dummy_start (data=0x877e600) at utils.c:856 #8 0xb7f4c46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #9 0xb7e536de in clone () from /lib/tls/i686/cmov/libc.so.6