From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christopher Allan Webber Newsgroups: gmane.lisp.guile.bugs Subject: bug#23435: The solution to the mysterious SIGABRT Date: Tue, 03 May 2016 20:24:09 -0500 Message-ID: <87mvo6y5s6.fsf@dustycloud.org> References: <87r3diyjca.fsf@dustycloud.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1462325167 6657 80.91.229.3 (4 May 2016 01:26:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 May 2016 01:26:07 +0000 (UTC) To: 23435-done@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Wed May 04 03:25:57 2016 Return-path: Envelope-to: guile-bugs@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 1axlZd-00038I-2j for guile-bugs@m.gmane.org; Wed, 04 May 2016 03:25:57 +0200 Original-Received: from localhost ([::1]:44802 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axlZU-0003bs-3b for guile-bugs@m.gmane.org; Tue, 03 May 2016 21:25:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54166) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axlYz-0002k1-5S for bug-guile@gnu.org; Tue, 03 May 2016 21:25:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axlYn-0005H3-Ix for bug-guile@gnu.org; Tue, 03 May 2016 21:25:11 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52066) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axlYn-0005Ft-Dy for bug-guile@gnu.org; Tue, 03 May 2016 21:25:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1axlYk-0005LV-3Q for bug-guile@gnu.org; Tue, 03 May 2016 21:25:02 -0400 In-Reply-To: <87r3diyjca.fsf@dustycloud.org> Resent-From: Christopher Allan Webber Original-Sender: "Debbugs-submit" Resent-To: bug-guile@gnu.org Resent-Date: Wed, 04 May 2016 01:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 23435 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Mail-Followup-To: 23435@debbugs.gnu.org, cwebber@dustycloud.org, cwebber@dustycloud.org Original-Received: via spool by 23435-done@debbugs.gnu.org id=D23435.146232505220461 (code D ref 23435); Wed, 04 May 2016 01:25:01 +0000 Original-Received: (at 23435-done) by debbugs.gnu.org; 4 May 2016 01:24:12 +0000 Original-Received: from localhost ([127.0.0.1]:36168 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axlXv-0005Jx-VB for submit@debbugs.gnu.org; Tue, 03 May 2016 21:24:12 -0400 Original-Received: from dustycloud.org ([50.116.34.160]:50328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axlXu-0005Jo-Ab for 23435-done@debbugs.gnu.org; Tue, 03 May 2016 21:24:10 -0400 Original-Received: from oolong (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id ACD74266FB for <23435-done@debbugs.gnu.org>; Tue, 3 May 2016 21:24:09 -0400 (EDT) User-agent: mu4e 0.9.13; emacs 24.5.1 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:8010 Archived-At: So with some help from Andy Wingo (thanks Andy!) I figured out what to do. What happened is that when code in the resumed delimited continuation threw an error, it attempted to find the original catch's prompt, which had disappeared. Remember that I had a prompt in a prompt, so the outer prompt's catch had gone away. The trick was to put a catch around the inner prompt as well, repeating the same handlers given to the outer prompt. Not sure how coherent that is, but this fixed it. Thanks, Andy!