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,gmane.lisp.guile.bugs Subject: Re: exit & dynamic wind Date: Wed, 30 Mar 2011 12:45:58 +0200 Message-ID: References: <87fwqc3r1h.fsf@ossau.uklinux.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1301483629 14300 80.91.229.12 (30 Mar 2011 11:13:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 30 Mar 2011 11:13:49 +0000 (UTC) Cc: bug-guile@gnu.org, Ian Price , guile-devel To: Neil Jerram Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Mar 30 13:13:43 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q4tLG-0004UN-OG for guile-devel@m.gmane.org; Wed, 30 Mar 2011 13:13:38 +0200 Original-Received: from localhost ([127.0.0.1]:39626 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4tLF-0008AZ-Sv for guile-devel@m.gmane.org; Wed, 30 Mar 2011 07:13:37 -0400 Original-Received: from [140.186.70.92] (port=33870 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4tL8-00088b-9a for guile-devel@gnu.org; Wed, 30 Mar 2011 07:13:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q4tL7-000350-51 for guile-devel@gnu.org; Wed, 30 Mar 2011 07:13:30 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:51510 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q4tL4-00033W-KK; Wed, 30 Mar 2011 07:13:26 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id C17904649; Wed, 30 Mar 2011 07:15:14 -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=v3l19ZUbx/p2SWv1v6Jt7gHBnbQ=; b=SzRtg7 fIFzX4AJAOI6fjmpHr/Xwq32LtDFzCqiaPkFQABWTn4+36iDep/5Yi63NClcgiaU lxT6ROMt3St004uJHefqWEOWXMG1yaMgGkXRi1H2WYc9XwzP+QScuCbV0Dbpt9YX owS8qaTCesJpBEd4gipc8SoHCl4PfrO+QGl6M= 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=pdipUnRUc+lhR9+DK1iSYK2Aq7gxTHxp S+rN4qmmlrAVR3emniJXNqf9v2eliTuh/eVAtHS5ZhZOXG7wLkyvLQ3xLA5zmGGE IWs6Zez2iiy9zJpeDkI9w5zaJP7Z+T2MzBAooT09Qoq/j8ua7XjoABSznLWGV1Vn HUGrlUhgPNk= 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 875894646; Wed, 30 Mar 2011 07:15:10 -0400 (EDT) Original-Received: from unquote.localdomain (unknown [90.164.198.39]) (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 97EC34643; Wed, 30 Mar 2011 07:15:04 -0400 (EDT) In-Reply-To: (Andy Wingo's message of "Fri, 25 Mar 2011 17:45:28 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: F9F15E88-5ABE-11E0-B127-E8AB60295C12-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 64.74.157.62 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:12077 gmane.lisp.guile.bugs:5385 Archived-At: Hello! On Fri 25 Mar 2011 17:45, Andy Wingo writes: > On Fri 25 Mar 2011 02:52, Neil Jerram writes: > >> Andy Wingo writes: >> >>> I have pushed something that causes the stack to be unwound before >>> exiting. >> >> | GEN guile-procedures.texi >> | guile: uncaught throw to wrong-type-arg: (#f Wrong type (expecting ~A): ~S (exact integer (#t # #)) ((#t # #))) This, it turns out, was something more pernicious, fixed in 572eef50c2d902d34427945dd504ba03af666e48. >> Reverting ecba00af6501e082b86c8f2f7730081c733509d7 fixes this again. > > I reverted that patch, it was poorly considered. (Before, that code > would print a backtrace in some cases, which was a good thing.) I have reapplied it with modifications: now, the exception and backtrace are printed before unwinding. The exit() happens after unwinding. Happy hacking! Andy -- http://wingolog.org/