From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Re: No way out. Date: Mon, 02 Jan 2006 15:42:51 +0000 Message-ID: <87lkxy3abo.fsf@ossau.uklinux.net> References: <200511301616.22258.bkorb@gnu.org> <87wthpkyan.fsf@ossau.uklinux.net> <43B69F41.6030509@xs4all.nl> <87hd8pb8o7.fsf@ossau.uklinux.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1136218792 16262 80.91.229.2 (2 Jan 2006 16:19:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 2 Jan 2006 16:19:52 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Jan 02 17:19:49 2006 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EtSPH-0004ph-U1 for guile-devel@m.gmane.org; Mon, 02 Jan 2006 17:19:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EtSQq-00059e-Ps for guile-devel@m.gmane.org; Mon, 02 Jan 2006 11:21:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EtRtM-0007Hz-La for guile-devel@gnu.org; Mon, 02 Jan 2006 10:46:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EtRtF-0007FH-Ga for guile-devel@gnu.org; Mon, 02 Jan 2006 10:46:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EtRtF-0007F5-6I for guile-devel@gnu.org; Mon, 02 Jan 2006 10:46:29 -0500 Original-Received: from [80.84.72.33] (helo=mail3.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EtRuJ-0007Wy-1f for guile-devel@gnu.org; Mon, 02 Jan 2006 10:47:35 -0500 Original-Received: from laruns (host86-129-132-201.range86-129.btcentralplus.com [86.129.132.201]) by mail3.uklinux.net (Postfix) with ESMTP id E9DCD409FB3; Mon, 2 Jan 2006 15:44:48 +0000 (UTC) Original-Received: from laruns (laruns [127.0.0.1]) by laruns (Postfix) with ESMTP id 627BF6F714; Mon, 2 Jan 2006 15:42:52 +0000 (GMT) Original-To: hanwen@xs4all.nl In-Reply-To: (Han-Wen Nienhuys's message of "Sun, 1 Jan 2006 19:58:07 +0000 (UTC)") User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:5570 Archived-At: hanwen@byrd.xs4all.nl (Han-Wen Nienhuys) writes: > For starters, we could figure out why --debug doesn't work. Progress so far... In 1.6.x, the backtrace and full error information is generated by this code towards the end of scm_ithrow() for the case where there isn't a matching catch: if (scm_is_null (winds)) { scm_handle_by_message (NULL, key, args); abort (); } The backtrace code is inside scm_handle_by_message. In 1.7.x, we don't call scm_handle_by_message, because there is a matching catch which was set up as part of scm_with_guile. The C backtrace after jumping back out to this catch is: #0 scm_internal_catch (tag=0x1, body=0x40044850 , body_data=0xbffffbe0, handler=0x40044880 , handler_data=0xbffffbe0) at throw.c:158 #1 0x4004482c in scm_i_with_continuation_barrier (body=0x1, body_data=0x1, handler=0x1, handler_data=0x1) at continuations.c:336 #2 0x40044913 in scm_c_with_continuation_barrier (func=0x1, data=0x1) at continuations.c:378 #3 0x400b53a0 in scm_i_with_guile_and_parent (func=0x1, data=0x1, parent=0x1) at threads.c:645 #4 0x400b5350 in scm_with_guile (func=0x1, data=0x1) at threads.c:633 #5 0x400732a1 in scm_boot_guile (argc=1, argv=0x1, main_func=0x1, closure=0x1) at init.c:350 #6 0x080489c6 in main (argc=1, argv=0x1) at guile.c:74 So it looks like there needs to be some scm_handle_by_message-like code somewhere in this call stack. Investigation continuing... Neil _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel