Core was generated by `asterisk -gcvvvvvvvvddddddd'. Program terminated with signal 11, Segmentation fault. #0 0xb70462a7 in sip_hangup (ast=0x8235550) at /home/caio1982/trunk/include/asterisk/strings.h:34 34 return (!s || (*s == '\0')); (gdb) bt full #0 0xb70462a7 in sip_hangup (ast=0x8235550) at /home/caio1982/trunk/include/asterisk/strings.h:34 p = needcancel = 1 __PRETTY_FUNCTION__ = "sip_hangup" #1 0x08088fa4 in ast_hangup (chan=0x8235550) at channel.c:1619 res = cdr = (struct ast_cdr *) 0x8239d80 __PRETTY_FUNCTION__ = "ast_hangup" #2 0xb6de9d4e in chanavail_exec (chan=0x8235fa8, data=0xb6970f28) at app_chanisavail.c:135 inuse = -1 option_state = 0 string_compare = 0 status = 0 tmp = "0\000P/999\000\000\000\000\000!Yҷ����\000\000\000\000\b\000\000\000\000\000\000\000��޷\000\000\000\000\002\000\000\000(�޷\020\000\000\000�\036#\b��ݷ�cҷ��\226���\226�������\226��\000\000\000S�\"\b\000�\"\b\200\203e\000\002\000\000\000��\000\000\220\000\000\000D�\226�\000\006�G\000\000\000\000��޷ �޷\b�\"\b(�\226��bҷ �޷\b�\"\b\bU\030\b\206�\026\b(�\226�\006AԷL�\"\b\000\001\000\000\b�\"\b\017\000\000\000\bU\030\b\206�\026\bx�\226� �\021\b\b�\"\b"... trychan = "��޷��\226��ZԷY�\"\b��\226�\002\000\000\000��ݷ��\226�\226�ҷ�\016\033\b!Yҷ\033\004Է��޷\030\000\000\000,�޷\001\003\000\000\000\000\000\000\000\000\000\000]A\006\000�\201\000\000\001", '\0' , "�\002\000\000\000\000\000\000\000\020\000\000\002\000\000\000����\002\000\000\000\000\000\000\000�\213�F\000\000\000\0005��G\000\000\000\000]A\006\000\000\000\000\000\200�޷\003\000\000\000\000\000\000\000\b\000\000\000B�ݷ\000\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000�\016\033\b����\000\000\000\000��޷\001\000\000\000�"... peers = number = rest = 0xb696ea38 "SIP/000" cur = tempchan = (struct ast_channel *) 0x8235550 args = {argc = 1, argv = 0xb696ee70, reqchans = 0xb696ea30 "SIP", options = 0x0} __PRETTY_FUNCTION__ = "chanavail_exec" #3 0x080e1734 in pbx_exec (c=0x8235fa8, app=0x81ed3b8, data=0xb6970f28) at pbx.c:733 res = u = (struct ast_module_user *) 0x822fb08 saved_c_appl = 0x0 saved_c_data = 0x0 #4 0x080ee683 in pbx_extension_helper (c=0x8235fa8, con=0x0, context=0x823612c "default", exten=0x823617c "555", priority=1, label=0x0, callerid=0x822f6e8 "999", action=E_SPAWN, found=0xb6973358, combined_find_spawn=1) at pbx.c:2770 e = app = (struct ast_app *) 0x81ed3b8 ---Type to continue, or q to quit--- res = q = {incstack = {0x0 }, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0x823612c "default"} passdata = "SIP/999&SIP/000", '\0' matching_action = 0 __PRETTY_FUNCTION__ = "pbx_extension_helper" #5 0x080f0997 in __ast_pbx_run (c=0x8235fa8) at pbx.c:3261 waittime = 136536992 dst_exten = '\0' , "�cҷ", '\0' , "\020\000\000\000(�޷", '\0' , "!Yҷ", '\0' , "([#\b\000\000\000\000\000\000\000\000\020\000\000\000\000\000\000\000��ݷ\000\000\000\000\000\000\000\000�@ҷ\f", '\0' , "��޷ �޷\f\000\000\000H3\227�t}ҷ �޷\f\000\000\000\000\000\000\000y�\001\000\210s#\b\f\000\000\000\220r#\b�\202ٷ([#\b\220r#\b��\006\b�\224\030\b\f\000\000" pos = 0 digit = 136536992 found = 1 res = 3 error = 0 __PRETTY_FUNCTION__ = "__ast_pbx_run" #6 0x080f1fbe in pbx_thread (data=0x8235fa8) at pbx.c:3622 No locals. #7 0x08129ebb in dummy_start (data=0x8235b28) at utils.c:870 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {136540816, 0, -1231602784, -1231604776, -1182433752, 117494540}, __mask_was_saved = 0}}, __pad = {0xb6973490, 0x0, 0x0, 0x0}} __cancel_arg = (void *) 0xb6973ba0 not_first_call = ret = #8 0xb7cae192 in start_thread () from /lib/i686/libpthread.so.0 No symbol table info available. #9 0xb7d8b90e in clone () from /lib/i686/libc.so.6 No symbol table info available. (gdb)