From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: Broken Backtraces, and Part of a Solution Date: Wed, 18 Apr 2012 17:56:00 -0700 Message-ID: <87zka8y1y7.fsf@pobox.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1334797353 9634 80.91.229.3 (19 Apr 2012 01:02:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 19 Apr 2012 01:02:33 +0000 (UTC) Cc: guile-devel To: Noah Lavine Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Apr 19 03:02:28 2012 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SKflS-0003cj-Cc for guile-devel@m.gmane.org; Thu, 19 Apr 2012 03:02:26 +0200 Original-Received: from localhost ([::1]:51933 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SKflR-0003Cz-QK for guile-devel@m.gmane.org; Wed, 18 Apr 2012 21:02:25 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34159) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SKflA-0002YN-ND for guile-devel@gnu.org; Wed, 18 Apr 2012 21:02:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SKfl5-0003sX-Vs for guile-devel@gnu.org; Wed, 18 Apr 2012 21:02:08 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:45829 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SKfl5-0003sA-OA for guile-devel@gnu.org; Wed, 18 Apr 2012 21:02:03 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 10AC09B60; Wed, 18 Apr 2012 21:02:00 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=wyxMxKZmN+rOjrj2Pzb8J1Nl63s=; b=rWN4wi I63RFx+kAgyrG4ceqlffFhKSuUv15b/XYv2PVZaf+bY2DvNgksv0GH4AkQttmBTs N6boEr84qQ7XxKgkRMuvnkoeR2aaE1XJDCyxzB5JVXDykqLpQx+YcbBvosBO2RC6 anJU0xsiesl1wiGGNx4MMN+G3ggK7lKayiMz4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=tTZB4gNH4GmHf/RLvKib6po9yqms1uEs m9sA/75nloCoC+8YK1vGGkplqnk2C8E6S1oeBnrRhO8dLFlnhXiLQZ6qNKznpzy9 jfvNnTZrYl4Ze28+eiub6swGZ/l7X9pWkyKHJV+HPAAz9mmCfO5RvlqJmiz26O9c p9YgjOPVIBI= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 0AF1C9B5E; Wed, 18 Apr 2012 21:02:00 -0400 (EDT) Original-Received: from badger (unknown [70.36.236.249]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 7C2839B5D; Wed, 18 Apr 2012 21:01:59 -0400 (EDT) In-Reply-To: (Noah Lavine's message of "Wed, 18 Apr 2012 20:02:07 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) X-Pobox-Relay-ID: 4454EB80-89BB-11E1-A88C-B1B0728A0A4D-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 74.115.168.62 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:14283 Archived-At: On Wed 18 Apr 2012 17:02, Noah Lavine writes: > The problem is that narrow-stack->vector returns #(). It does this > because the stack is narrowed to nothing. The narrowing really happens > in the functions scm_make_stack and narrow_stack, in stacks.c. > > The reason it narrows to nothing is the third argument to > narrow-stack->vector, tag. On my Guile build, tag evaluates to > '("start-stack"). Aaaaah. I was seeing something like this as well but I didn't figure out why. Thanks for tracking this down! The reason is that the type of make-prompt-tag changed, and the stack narrowing code didn't adapt accordingly. We need to change to default to consider generic objects as eq?-compared prompt tags. Andy -- http://wingolog.org/