GNU bug report logs - #21897
escape continuation passes barrier

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guile; Reported by: Zefram <zefram@HIDDEN>; dated Fri, 13 Nov 2015 03:32:01 UTC; Maintainer for guile is bug-guile@HIDDEN.

Message received at 21897 <at> debbugs.gnu.org:


Received: (at 21897) by debbugs.gnu.org; 29 Mar 2020 17:28:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 29 13:28:45 2020
Received: from localhost ([127.0.0.1]:59695 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jIbjp-0008Cr-6I
	for submit <at> debbugs.gnu.org; Sun, 29 Mar 2020 13:28:45 -0400
Received: from mail-pj1-f51.google.com ([209.85.216.51]:34890)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <matt.wette@HIDDEN>) id 1jIbjo-0008Ce-5c
 for 21897 <at> debbugs.gnu.org; Sun, 29 Mar 2020 13:28:44 -0400
Received: by mail-pj1-f51.google.com with SMTP id g9so6279397pjp.0
 for <21897 <at> debbugs.gnu.org>; Sun, 29 Mar 2020 10:28:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=to:from:subject:message-id:date:user-agent:mime-version
 :content-transfer-encoding:content-language;
 bh=psHSaGhOVQ7WfNP2QN6PCJwkHh7B4/I6w/GYeLRBWEQ=;
 b=UKMuUwFqiR4m4f8M7Rbbhr7JsTF6RaYjitPUz0Ne3EcMVhGnA/3/Ond2kTB9xiUV77
 lMii5pn8QbxbAYV+XccQJv7ZjXOQ2CHDHGQsocv/RC/lslmyOC+rYmoYnV97n2x0SZEm
 YrORfS6SU/q+BBGkZe/DeHgMppRhsxRUzj0onek9DgHq46YAuMtUiLILzgA1aKgvlb83
 L0HI20fR1KoWyTAygQeozdbbnouLNQ0KziZ79PmhH3HQfbwGf2dU06xGDcKsGRn8DH9b
 FFbwyJ3aQnnI9z8E58erPRQd0OyLArsiEV2dprcGSxq8hfYW5wjOqmtWpawTLcyxWYLd
 ULWw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:to:from:subject:message-id:date:user-agent
 :mime-version:content-transfer-encoding:content-language;
 bh=psHSaGhOVQ7WfNP2QN6PCJwkHh7B4/I6w/GYeLRBWEQ=;
 b=OS5yHkdcXlI/+Bu3K7ixVu9YW0FHcHArrMDr5qE9OIoT8cexWEMFnDxfGIUUhjO/RL
 Ulsc8Xf+queLoR3DUQWwxk4RcHbv/5AdYA17FNCZ6o8WfQehSgbOOXwTS+VKmGaA/gQX
 Bu54eKHIsx+tpM66DCEDXv9XyX22jCSKpOUwt3QPkCUmiKwm8Yh+GzkPK1l4XBavz2IH
 uuFCPz9b+q3rkqSimf0Q+AT3hVtl2yEUuJGf8q4VeQ95VAYZGjXbyB6I2t51BP6way/+
 vfty0A+Clx2sk+Jk5RmBEfKH48H53J2K61BFlWVjBnmoeHYvFq+g7CFJdXyvwrmXHXUI
 OCzA==
X-Gm-Message-State: ANhLgQ2SF54/qLjD3CRHnNJAI/WRyg0Vw+wyBD09K6yN5CVGbKOSksQQ
 7fkxMY3YXo79mr7o4TMU8/CNTd35
X-Google-Smtp-Source: ADFU+vv6T0XDQr22KmGqsh5YPDA8l2kpSFxjCqi22w6dDXM04fwrI79xApsMmLrNhue4KwUYMGeZwQ==
X-Received: by 2002:a17:90a:2a89:: with SMTP id
 j9mr11112117pjd.64.1585502917871; 
 Sun, 29 Mar 2020 10:28:37 -0700 (PDT)
Received: from [192.168.2.183] (64-52-176-132.championbroadband.com.
 [64.52.176.132])
 by smtp.gmail.com with ESMTPSA id h198sm8401753pfe.76.2020.03.29.10.28.36
 for <21897 <at> debbugs.gnu.org>
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Sun, 29 Mar 2020 10:28:37 -0700 (PDT)
To: 21897 <at> debbugs.gnu.org
From: Matt Wette <matt.wette@HIDDEN>
Subject: verified in 3.0.2
Message-ID: <5699d998-480a-0f0d-ee59-c44100c2e6d2@HIDDEN>
Date: Sun, 29 Mar 2020 10:28:36 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.4.1
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 21897
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

This still exists in 3.0.2

scheme@(guile-user)> ,use (ice-9 control)

scheme@(guile-user)> (call/ec (lambda (c) (with-continuation-barrier (lambda () (c "through continuation"))) "c-w-b returned"))
$1 = "through continuation"

scheme@(guile-user)> (version)
$2 = "3.0.2"





Information forwarded to bug-guile@HIDDEN:
bug#21897; Package guile. Full text available.

Message received at 21897 <at> debbugs.gnu.org:


Received: (at 21897) by debbugs.gnu.org; 24 Jun 2016 16:23:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 24 12:23:23 2016
Received: from localhost ([127.0.0.1]:54550 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bGTt4-0007a8-RQ
	for submit <at> debbugs.gnu.org; Fri, 24 Jun 2016 12:23:22 -0400
Received: from pb-sasl1.pobox.com ([64.147.108.66]:60499
 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <wingo@HIDDEN>) id 1bGTt3-0007a0-2f
 for 21897 <at> debbugs.gnu.org; Fri, 24 Jun 2016 12:23:21 -0400
Received: from sasl.smtp.pobox.com (unknown [127.0.0.1])
 by pb-sasl1.pobox.com (Postfix) with ESMTP id DF2311F926;
 Fri, 24 Jun 2016 12:23:19 -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=3T5rA/nEqVkvNmqgEQyNvbR08Zg=; b=UtQguU
 qR+He5aVSCcpV2iUWcSQkwZHikgDjje0/2i87QdrGaRL/oPE2WGCtM+0zsqE4Xvl
 TvqCXNfe9i2oXdap7jUNOGFo/VWOyuD+xHfi4RhES+ViYbFZsGjrHjfuHalnyAD2
 SNA8S8OgvEcHzpcc7BJfAHNZcJxq/ZaZYTQ9w=
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=eBrcfYegedfULBEn5gH1gqvdSUS0frq1
 uAqOPlY4n9AGiyuavp0WDKP1cMKOPd11+mSKxeyToyUzotImDx43qHP26Xo/I3UI
 Ik5p6EbaeXTV1P0KTXAHT1t7Pr1cnNFp9Oj1DMT39v0/gHchyuSmisHp4exHXmtq
 i6H6S1gTBQE=
Received: from pb-sasl1.nyi.icgroup.com (unknown [127.0.0.1])
 by pb-sasl1.pobox.com (Postfix) with ESMTP id C7F681F925;
 Fri, 24 Jun 2016 12:23:19 -0400 (EDT)
Received: from clucks (unknown [88.160.190.192])
 (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by pb-sasl1.pobox.com (Postfix) with ESMTPSA id 11F261F924;
 Fri, 24 Jun 2016 12:23:18 -0400 (EDT)
From: Andy Wingo <wingo@HIDDEN>
To: Zefram <zefram@HIDDEN>
Subject: Re: bug#21897: escape continuation passes barrier
References: <20151113033126.GA16544@HIDDEN>
Date: Fri, 24 Jun 2016 18:23:11 +0200
In-Reply-To: <20151113033126.GA16544@HIDDEN> (zefram@HIDDEN's message of
 "Fri, 13 Nov 2015 03:31:26 +0000")
Message-ID: <8760syeets.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Pobox-Relay-ID: F660D37C-3A27-11E6-ABBB-C1836462E9F6-02397024!pb-sasl1.pobox.com
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: 21897
Cc: 21897 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.4 (-)

On Fri 13 Nov 2015 04:31, Zefram <zefram@HIDDEN> writes:

> scheme@(guile-user)> (use-modules (ice-9 control))
> scheme@(guile-user)> (call/ec (lambda (c) (with-continuation-barrier (lambda () (c "through continuation"))) "c-w-b returned"))
> $1 = "through continuation"
>
> The continuation barrier works fine on call/cc continuations and
> on throw/catch, but doesn't block call/ec continuations.  The manual
> doesn't mention any difference in behaviour for this case, nor can I
> see any obvious justification for it.  The manual's statement that
>
> #      Thus, `with-continuation-barrier' returns exactly once.
>
> is false in this case.  I think a continuation barrier should block the
> use of the call/ec continuation.

I agree, good catch.

Andy




Information forwarded to bug-guile@HIDDEN:
bug#21897; Package guile. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 13 Nov 2015 03:31:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 12 22:31:35 2015
Received: from localhost ([127.0.0.1]:36477 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Zx55L-0001zH-1y
	for submit <at> debbugs.gnu.org; Thu, 12 Nov 2015 22:31:35 -0500
Received: from eggs.gnu.org ([208.118.235.92]:58216)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <zefram@HIDDEN>) id 1Zx55J-0001z9-2c
 for submit <at> debbugs.gnu.org; Thu, 12 Nov 2015 22:31:33 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <zefram@HIDDEN>) id 1Zx55H-0003YK-VE
 for submit <at> debbugs.gnu.org; Thu, 12 Nov 2015 22:31:32 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:45796)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <zefram@HIDDEN>) id 1Zx55H-0003YE-SV
 for submit <at> debbugs.gnu.org; Thu, 12 Nov 2015 22:31:31 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:39980)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <zefram@HIDDEN>) id 1Zx55G-0008G9-TV
 for bug-guile@HIDDEN; Thu, 12 Nov 2015 22:31:31 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <zefram@HIDDEN>) id 1Zx55G-0003Xe-5M
 for bug-guile@HIDDEN; Thu, 12 Nov 2015 22:31:30 -0500
Received: from river6.fysh.org ([2001:41d0:d:20da::2]:54299
 helo=river.fysh.org) by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <zefram@HIDDEN>) id 1Zx55F-0003XJ-Vg
 for bug-guile@HIDDEN; Thu, 12 Nov 2015 22:31:30 -0500
Received: from zefram by river.fysh.org with local (Exim 4.80 #2 (Debian))
 id 1Zx55C-0004TP-6n; Fri, 13 Nov 2015 03:31:26 +0000
Date: Fri, 13 Nov 2015 03:31:26 +0000
From: Zefram <zefram@HIDDEN>
To: bug-guile@HIDDEN
Subject: escape continuation passes barrier
Message-ID: <20151113033126.GA16544@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

scheme@(guile-user)> (use-modules (ice-9 control))
scheme@(guile-user)> (call/ec (lambda (c) (with-continuation-barrier (lambda () (c "through continuation"))) "c-w-b returned"))
$1 = "through continuation"

The continuation barrier works fine on call/cc continuations and
on throw/catch, but doesn't block call/ec continuations.  The manual
doesn't mention any difference in behaviour for this case, nor can I
see any obvious justification for it.  The manual's statement that

#      Thus, `with-continuation-barrier' returns exactly once.

is false in this case.  I think a continuation barrier should block the
use of the call/ec continuation.

-zefram




Acknowledgement sent to Zefram <zefram@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guile@HIDDEN. Full text available.
Report forwarded to bug-guile@HIDDEN:
bug#21897; Package guile. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 29 Mar 2020 17:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.