From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: William Morgan Newsgroups: gmane.lisp.guile.devel Subject: Re: wrong-type-arg in scm_display_backtrace Date: Tue, 7 Jan 2003 00:42:32 -0500 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <20030107054232.GA10760@masanjin.net> References: <20021230013149.GB25056@masanjin.net> <20030105035742.GA29985@masanjin.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1041973664 26636 80.91.224.249 (7 Jan 2003 21:07:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 7 Jan 2003 21:07:44 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18W0wo-0006vM-00 for ; Tue, 07 Jan 2003 22:07:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18VykC-0000jV-07 for guile-devel@m.gmane.org; Tue, 07 Jan 2003 13:46:32 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18VmSy-0004f5-00 for guile-devel@gnu.org; Tue, 07 Jan 2003 00:39:56 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18VmSw-0004ep-00 for guile-devel@gnu.org; Tue, 07 Jan 2003 00:39:56 -0500 Original-Received: from h0060976e2b56.ne.client2.attbi.com ([65.96.180.211] helo=lux) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18VmSw-0004Un-00 for guile-devel@gnu.org; Tue, 07 Jan 2003 00:39:54 -0500 Original-Received: from wmorgan by lux with local (Exim 3.35 #1 (Debian)) id 18VmVU-0002oq-00 for ; Tue, 07 Jan 2003 00:42:32 -0500 Original-To: guile-devel@gnu.org Mail-Followup-To: guile-devel@gnu.org Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:1854 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1854 Excerpts (reformatted) from Neil Jerram's mail of 6 Jan 2003 (EST): > I don't know; it looks OK to me. Ok, it's good to know that I'm on the right track, at least. > Perhaps you could try putting a breakpoint on ss_handler, where > the-last-stack is set, then (assuming that setting makes it non-#f) > step through from there to find out where it gets reset. It seems as if scm_make_stack is always returning #f. In particular, the code in throw.c : static SCM ss_handler (void *data SCM_UNUSED, SCM tag, SCM throw_args) { /* Save the stack */ scm_fluid_set_x (SCM_VARIABLE_REF (scm_the_last_stack_fluid_var), scm_make_stack (SCM_BOOL_T, SCM_EOL)); always sets scm_the_last_stack_fluid_var to #f because of this. Why would this be? I thought the whole point of lazy catches was to preserve the call stack... Anyways, I have looked at scm_make_stack briefly but haven't been able to make head or tail of it yet. > What is your Guile version, BTW? I'm using 1.6.1. I have a small .c file that demonstrates this if you're interested. Thanks again for all of your help. -- William _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel