(gdb) bt full #0 0x080a7541 in __ast_pthread_mutex_lock (filename=0x81b5d94 "channel.c", lineno=968, func=0x81b7373 "__ast_queue_frame", mutex_name=0x81b93a2 "(channel lock)", t=0x49544fe6) at /root/src/asterisk163715/include/asterisk/lock.h:478 res = 132 lt = (struct ast_lock_track *) 0x49544fe6 canlog = 461 bt = (struct ast_bt *) 0x81c5ba9 __PRETTY_FUNCTION__ = "__ast_pthread_mutex_lock" #1 0x080a7326 in __ast_channel_lock (chan=0x49544f4e, filename=0x81b5d94 "channel.c", lineno=968, func=0x81b7373 "__ast_queue_frame") at channel.c:5134 res = -1213830308 __PRETTY_FUNCTION__ = "__ast_channel_lock" #2 0x0809954a in __ast_queue_frame (chan=0x49544f4e, fin=0xb65f70a0, head=0) at channel.c:968 f = (struct ast_frame *) 0x84a0ae8 cur = (struct ast_frame *) 0x0 blah = 1 qlen = 0 __PRETTY_FUNCTION__ = "__ast_queue_frame" #3 0x080998b3 in ast_queue_frame (chan=0x49544f4e, fin=0xb65f70a0) at channel.c:1019 No locals. #4 0x08099ab2 in ast_queue_control (chan=0x49544f4e, control=AST_CONTROL_ANSWER) at channel.c:1066 f = {frametype = AST_FRAME_CONTROL, subclass = 4, datalen = 0, samples = 0, mallocd = 0, mallocd_hdr_len = 0, offset = 0, src = 0x0, data = {ptr = 0x0, uint32 = 0, pad = "\000\000\000\000\000\000\000"}, delivery = {tv_sec = 0, tv_usec = 0}, frame_list = {next = 0x0}, flags = 0, ts = 0, len = 0, seqno = 0} #5 0xb76fb774 in handle_stimulus_message (req=0x85d2cc0, s=0x85a7f58) at chan_skinny.c:4690 d = (struct skinny_device *) 0x840b740 l = (struct skinny_line *) 0x84061d8 sub = (struct skinny_subchannel *) 0x8593720 c = (struct ast_channel *) 0xb65f7238 t = 3059708456 event = 9 instance = 1 callreference = 0 __PRETTY_FUNCTION__ = "handle_stimulus_message" __FUNCTION__ = "handle_stimulus_message" #6 0xb77003d9 in handle_message (req=0x85d2cc0, s=0x85a7f58) at chan_skinny.c:5825 res = 0 __PRETTY_FUNCTION__ = "handle_message" #7 0xb7701a73 in skinny_session (data=0x85a7f58) at chan_skinny.c:6058 res = 20 req = (struct skinny_req *) 0x85d2cc0 s = (struct skinnysession *) 0x85a7f58 __PRETTY_FUNCTION__ = "skinny_session" #8 0x0817741d in dummy_start (data=0x843cf18) at utils.c:962 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {-1213779980, 0, 4001536, -1235258440, -553316166, 1325766598}, __mask_was_saved = 0}}, __pad = {0xb65f7480, 0x0, 0xb7f59260, 0xb7c72c8e}} __cancel_routine = (void (*)(void *)) 0x80762de __cancel_arg = (void *) 0xb65f7b90 not_first_call = 0 ret = (void *) 0xb7d21ff4 a = {start_routine = 0xb7701982 , data = 0x85a7f58, name = 0x849eda8 "skinny_session started at [ 6105] chan_skinny.c accept_thread()"} lock_info = (struct thr_lock_info *) 0x85ee4a0 mutex_attr = {__size = "\001\000\000", __align = 1} __PRETTY_FUNCTION__ = "dummy_start" #9 0xb7a64315 in start_thread () from /lib/i686/libpthread.so.0 No symbol table info available. #10 0xb7cdedde in clone () from /lib/i686/libc.so.6 No symbol table info available. (gdb) bt full #0 0x080a7541 in __ast_pthread_mutex_lock (filename=0x81b5d94 "channel.c", lineno=968, func=0x81b7373 "__ast_queue_frame", mutex_name=0x81b93a2 "(channel lock)", t=0x99) at /root/src/asterisk163715/include/asterisk/lock.h:478 res = 132 lt = (struct ast_lock_track *) 0x99 canlog = 461 bt = (struct ast_bt *) 0x81c5ba9 __PRETTY_FUNCTION__ = "__ast_pthread_mutex_lock" #1 0x080a7326 in __ast_channel_lock (chan=0x1, filename=0x81b5d94 "channel.c", lineno=968, func=0x81b7373 "__ast_queue_frame") at channel.c:5134 res = -1213404324 __PRETTY_FUNCTION__ = "__ast_channel_lock" #2 0x0809954a in __ast_queue_frame (chan=0x1, fin=0xb3f3b0a0, head=0) at channel.c:968 f = (struct ast_frame *) 0x860c8c8 cur = (struct ast_frame *) 0x0 blah = 1 qlen = 0 __PRETTY_FUNCTION__ = "__ast_queue_frame" #3 0x080998b3 in ast_queue_frame (chan=0x1, fin=0xb3f3b0a0) at channel.c:1019 No locals. #4 0x08099ab2 in ast_queue_control (chan=0x1, control=AST_CONTROL_ANSWER) at channel.c:1066 f = {frametype = AST_FRAME_CONTROL, subclass = 4, datalen = 0, samples = 0, mallocd = 0, mallocd_hdr_len = 0, offset = 0, src = 0x0, data = {ptr = 0x0, uint32 = 0, pad = "\000\000\000\000\000\000\000"}, delivery = {tv_sec = 0, tv_usec = 0}, frame_list = {next = 0x0}, flags = 0, ts = 0, len = 0, seqno = 0} #5 0xb7763774 in handle_stimulus_message (req=0x85cbcd8, s=0x86136f8) at chan_skinny.c:4690 d = (struct skinny_device *) 0x840b758 l = (struct skinny_line *) 0x84061f0 sub = (struct skinny_subchannel *) 0x8614a48 c = (struct ast_channel *) 0xb3f3b238 t = 3019092520 event = 9 instance = 1 callreference = 0 __PRETTY_FUNCTION__ = "handle_stimulus_message" __FUNCTION__ = "handle_stimulus_message" #6 0xb77683d9 in handle_message (req=0x85cbcd8, s=0x86136f8) at chan_skinny.c:5825 res = 0 __PRETTY_FUNCTION__ = "handle_message" #7 0xb7769a73 in skinny_session (data=0x86136f8) at chan_skinny.c:6058 res = 20 req = (struct skinny_req *) 0x85cbcd8 s = (struct skinnysession *) 0x86136f8 __PRETTY_FUNCTION__ = "skinny_session" #8 0x0817741d in dummy_start (data=0x85d30d0) at utils.c:962 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {-1213353996, 0, 4001536, -1275874376, -894200567, 53678718}, __mask_was_saved = 0}}, __pad = {0xb3f3b480, 0x0, 0xb7fc1260, 0xb7cdac8e}} __cancel_routine = (void (*)(void *)) 0x80762de __cancel_arg = (void *) 0xb3f3bb90 not_first_call = 0 ret = (void *) 0xb7d89ff4 a = {start_routine = 0xb7769982 , data = 0x86136f8, name = 0x8614598 "skinny_session started at [ 6105] chan_skinny.c accept_thread()"} lock_info = (struct thr_lock_info *) 0x85a8850 mutex_attr = {__size = "\001\000\000", __align = 1} __PRETTY_FUNCTION__ = "dummy_start" #9 0xb7acc315 in start_thread () from /lib/i686/libpthread.so.0 No symbol table info available. #10 0xb7d46dde in clone () from /lib/i686/libc.so.6 No symbol table info available.