(gdb) bt #0 0x08062731 in ast_channel_spy_remove (chan=0x8214c58, spy=0xb76f88b0) at channel.c:1044 #1 0xb78f58a6 in stop_spying (chan=0x8214c58, spy=0xb76f88b0) at app_chanspy.c:220 #2 0xb78f5e06 in channel_spy (chan=0x81e04e0, spyee=0x8214c58, volfactor=0xb76f8be0, fd=0) at app_chanspy.c:340 #3 0xb78f6b0f in chanspy_exec (chan=0x81e04e0, data=0xb76fd070) at app_chanspy.c:516 #4 0x08089cd8 in pbx_exec (c=0x81e04e0, app=0x81c5930, data=0xb76fd070, newstack=1) at pbx.c:544 #5 0x0808d99b in pbx_extension_helper (c=0x81e04e0, con=0x0, context=0x81e0630 "default", exten=0x81e0724 "178", priority=1, label=0x0, callerid=0x81497a0 "121", action=1) at pbx.c:1687 #6 0x0808ee28 in ast_spawn_extension (c=0x81e04e0, context=0x81e0630 "default", exten=0x81e0724 "178", priority=1, callerid=0x81497a0 "121") at pbx.c:2220 #7 0x0808f378 in __ast_pbx_run (c=0x81e04e0) at pbx.c:2286 #8 0x08090279 in pbx_thread (data=0x81e04e0) at pbx.c:2507 #9 0x009ef341 in start_thread () from /lib/tls/libpthread.so.0 #10 0x006abfee in clone () from /lib/tls/libc.so.6 (gdb) bt full #0 0x08062731 in ast_channel_spy_remove (chan=0x8214c58, spy=0xb76f88b0) at channel.c:1044 curelm = (struct ast_channel_spy *) 0x0 f = (struct ast_frame *) 0xb78f8d04 __PRETTY_FUNCTION__ = "ast_channel_spy_remove" #1 0xb78f58a6 in stop_spying (chan=0x8214c58, spy=0xb76f88b0) at app_chanspy.c:220 No locals. #2 0xb78f5e06 in channel_spy (chan=0x81e04e0, spyee=0x8214c58, volfactor=0xb76f8be0, fd=0) at app_chanspy.c:340 csth = {spy = {list = {next = 0xb76f88b0}, lock = {__m_reserved = 0, __m_count = 0, __m_owner = 0x0, __m_kind = 1, __m_lock = {__status = 0, __spinlock = 0}}, trigger = {__c_lock = {__status = 0, __spinlock = 0}, __c_waiting = 0x0, __padding = '\0' , __align = 0}, read_queue = { head = 0x0, samples = 0, format = 64}, write_queue = {head = 0x0, samples = 0, format = 64}, flags = 57, status = CHANSPY_RUNNING, type = 0xb78f6fbe "ChanSpy", read_vol_adjustment = 0, write_vol_adjustment = 0}, fd = 0, volfactor = 0} running = 0 res = 42 x = 0 inp = '\0' ---Type to continue, or q to quit--- name = 0xb76f8830 "SIP/sipbroker-out-cf83" f = (struct ast_frame *) 0x8175e60 #3 0xb78f6b0f in chanspy_exec (chan=0x81e04e0, data=0xb76fd070) at app_chanspy.c:516 x = 7 group = 0x0 igrp = 1 u = (struct localuser *) 0x8149540 peer = (struct ast_channel *) 0x8214c58 prev = (struct ast_channel *) 0x8214c58 name = '\0' , "\200òo·|òo·Ð\215o·rÂ\n\b¥\217\024\buÐo·K\000\000\000Ý\215\t\b" peer_name = "spy-sip\000sipbroker-out-cf83", '\0' args = 0xb76f8960 "Sip" ptr = 0xb76f8c28 "sipbroker-out-cf83" options = 0xb76f8964 "q" spec = 0xb76f8960 "Sip" argv = {0xb76f8960 "Sip", 0xb76f8964 "q", 0x0, 0x0, 0x0} mygroup = 0x0 recbase = 0x0 res = 0 volfactor = 0 silent = 1 ---Type to continue, or q to quit--- argc = 2 bronly = 0 chosen = 0 count = 1 waitms = 100 num = 0 oldrf = 4 oldwf = 4 fd = 0 flags = {flags = 1} zero_volume = 0 '\0' __PRETTY_FUNCTION__ = "chanspy_exec" #4 0x08089cd8 in pbx_exec (c=0x81e04e0, app=0x81c5930, data=0xb76fd070, newstack=1) at pbx.c:544 res = 136075568 saved_c_appl = 0x0 saved_c_data = 0x0 execute = (int (*)(struct ast_channel *, void *)) 0xb78f5eb9 __PRETTY_FUNCTION__ = "pbx_exec" #5 0x0808d99b in pbx_extension_helper (c=0x81e04e0, con=0x0, context=0x81e0630 "default", exten=0x81e0724 "178", priority=1, label=0x0, callerid=0x81497a0 "121", action=1) at pbx.c:1687 ---Type to continue, or q to quit--- e = (struct ast_exten *) 0x81a9930 app = (struct ast_app *) 0x81c5930 sw = (struct ast_switch *) 0x0 data = 0x0 foundcontext = 0x81aa385 "local-extensions" newstack = 1 res = 0 status = 5 incstack = {0x81aa2e0 "default", 0x0 , 0x643ce4 "\201Ã\020s\f", 0x0, 0x0, 0x70aff4 "<­p", 0xb76ff100 "\001\200­û`òo·`òo·`òo·`òo·tòo·¯òo·`òo·¯òo·", 0xb76ff0dc "ìño·6õc", 0x644ff1 "\211~\020\213U\024\211~\f\211~\004\205Òt6\213U\024\213}ð\211V\024\211V\b1Ò\211~\030\211\226\230", 0xb76ff100 "\001\200­û`òo·`òo·`òo·`òo·tòo·¯òo·`òo·¯òo·", 0xb76ff260 "\"Musicroom PÈôo·\005", 0xb76ff2af "\b\001", 0x0, 0xb76ff2af "\b\001", 0x70aff4 "<­p", 0x81063e3 "\"%s\" <%s>", 0xb76ff21c "`}\023\b \227\024\b", 0xb76ff1ec "\bòo·\222tb", 0x63f536 "\213\215\fÿÿÿ\211Â9\2150ÿÿÿt\t\213µ(ÿÿÿÆ\006", 0xb76ff100 "\001\200­û`òo·`òo·`òo·`òo·tòo·¯òo·`òo·¯òo·", 0x81063e3 "\"%s\" <%s>", 0xb76ff224 "", 0xb76ff260 "\"Musicroom PÈôo·\005", 0x0, 0xb76ff1a0 "", 0xb76ff100 "\001\200­û`òo·`òo·`òo·`òo·tòo·¯òo·`òo·¯òo·", 0xfbad8001
, ---Type to continue, or q to quit--- 0xb76ff260 "\"Musicroom PÈôo·\005", 0xb76ff260 "\"Musicroom PÈôo·\005", 0xb76ff260 "\"Musicroom PÈôo·\005", 0xb76ff260 "\"Musicroom PÈôo·\005", 0xb76ff274 "", 0xb76ff2af "\b\001", 0xb76ff260 "\"Musicroom PÈôo·\005", 0xb76ff2af "\b\001", 0x0 , 0xffffffff
, 0x0 , 0x70aa20 "", 0x0 , 0x646ea4 "\201ÃPA\f", 0x0, 0x0, 0x0, 0x0, 0x70aff4 "<­p", 0x0, 0xb76ffbb0 "°ûo·\224\207\024\b°ûo·\001", 0xb76ff208 "Èôo·DÈ\n\b<\220\024\b\220\b\036\b\024", 0x627492 "\203Ä\020[]Ã\220\220\220\220\220\220\220\220U\211å\215M\020S\203ì\f\213U\f\211L$\b\213E\bè¸'ýÿ\201Ã;;\016", 0xb76ff260 "\"Musicroom PÈôo·\005", 0x50
, 0x81063e3 "\"%s\" <%s>", 0xb76ff21c "`}\023\b \227\024\b", 0x81e04e0 "SIP/121-f783", 0xb76ff4c8 "", 0x80ac844 "\213\204$À", 0x814903c "", 0x81e0890 "", 0x14
, 0x8137d60 "Musicroom PC", 0x81497a0 "121", 0x0, 0x0, 0x0, 0x0, 0x3
, 0x8148d70 "\"Musicroom PC\" <121>", 0x1
, 0x8148d70 "\"Musicroom PC\" <121>", 0x81497a0 "121", 0x81497a0 "121", 0x1
, 0x1
, 0x810625a "", 0x8148eb0 "SIP/121-f783", 0x1
, 0x73754d22
, 0x6f726369
, 0x50206d6f
, 0xb76ff4c8 ""} ---Type to continue, or q to quit--- passdata = "Sip|q", '\0' stacklen = 1 tmp = '\0' tmp2 = '\0' tmp3 = '\0' atmp = '\0' atmp2 = '\0' __PRETTY_FUNCTION__ = "pbx_extension_helper" #6 0x0808ee28 in ast_spawn_extension (c=0x81e04e0, context=0x81e0630 "default", exten=0x81e0724 "178", priority=1, callerid=0x81497a0 "121") at pbx.c:2220 No locals. #7 0x0808f378 in __ast_pbx_run (c=0x81e04e0) at pbx.c:2286 firstpass = 0 digit = 0 exten = '\0' pos = 0 waittime = 6579524 res = 0 autoloopflag = 0 __PRETTY_FUNCTION__ = "__ast_pbx_run" #8 0x08090279 in pbx_thread (data=0x81e04e0) at pbx.c:2507 c = (struct ast_channel *) 0x81e04e0 ---Type to continue, or q to quit--- #9 0x009ef341 in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #10 0x006abfee in clone () from /lib/tls/libc.so.6 No symbol table info available.