GNU bug report logs - #43521
ports.test "non-revealed port is closed" breaks other tests

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: Rob Browning <rlb@HIDDEN>; dated Sat, 19 Sep 2020 19:27:01 UTC; Maintainer for guile is bug-guile@HIDDEN.

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


Received: (at 43521) by debbugs.gnu.org; 4 Dec 2023 21:09:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 04 16:09:21 2023
Received: from localhost ([127.0.0.1]:35883 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rAGBt-0002gj-G3
	for submit <at> debbugs.gnu.org; Mon, 04 Dec 2023 16:09:21 -0500
Received: from laurent.telenet-ops.be ([2a02:1800:110:4::f00:19]:53864)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1rAGBr-0002gX-Tz
 for 43521 <at> debbugs.gnu.org; Mon, 04 Dec 2023 16:09:20 -0500
Received: from [IPV6:2a02:1808:2:a5fe:5d8b:d2e7:7d3e:1aa1]
 ([IPv6:2a02:1808:2:a5fe:5d8b:d2e7:7d3e:1aa1])
 by laurent.telenet-ops.be with bizsmtp
 id JM8x2B0094LPd0U01M911w; Mon, 04 Dec 2023 22:09:03 +0100
Message-ID: <b91d8f8b-71f0-75ec-9f46-2b04ac310fad@HIDDEN>
Date: Mon, 4 Dec 2023 22:08:56 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.13.0
Content-Language: en-US
To: 43521 <at> debbugs.gnu.org, Rob Browning <rlb@HIDDEN>
From: Maxime Devos <maximedevos@HIDDEN>
Subject: Re: ports.test "non-revealed port is closed" breaks other tests
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="------------nrMQuwyL0OK0mEn8mpksc3ji"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r23;
 t=1701724143; bh=iAReFfLbzEwAayPf6VcVU6WQrPtyaB7FniIKskZo4LE=;
 h=Date:To:From:Subject;
 b=AVcxmNyk9dv34tBu1rHcXAnRBS7CZ7Gcd5fZd3f2rRBwgQ1+FDhB0txjflGTPcex/
 hHrZLNkKDQpAYHGQrdXsgX45y9q5TOEQgNpfqqKZdA1+H0fR7YcyLwMAezzVlq9C+R
 oWZXu+vgbcyH6KWVxjbAXGpnNkOkXGIkP4ujPDrjFxEBIbtidSiZNCx4KiHCCHnTe4
 oOpYNld1NW69ge4V1kAVby0EvEJSSfFfplTCoh+Rnmu/FD5KgCTUfLov+mTh7i3CVK
 O67v2yHefYLoOG7pVMDV5AovKNmdj0eLFz9vDVwhFem6hR0Tweiu2XCWQZSPGRXw5I
 xa/Zwa+GAq1bA==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 43521
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.7 (-)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------nrMQuwyL0OK0mEn8mpksc3ji
Content-Type: multipart/mixed; boundary="------------on1kS3wbV9vax3gozbSsxKTg";
 protected-headers="v1"
From: Maxime Devos <maximedevos@HIDDEN>
To: 43521 <at> debbugs.gnu.org, Rob Browning <rlb@HIDDEN>
Message-ID: <b91d8f8b-71f0-75ec-9f46-2b04ac310fad@HIDDEN>
Subject: Re: ports.test "non-revealed port is closed" breaks other tests

--------------on1kS3wbV9vax3gozbSsxKTg
Content-Type: multipart/mixed; boundary="------------Kv8ZLEfNk9Pv5HB9aIGmryj7"

--------------Kv8ZLEfNk9Pv5HB9aIGmryj7
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64

UXVvdGluZyBteXNlbGYsIGFzIHRoaXMgbWVzc2FnZSBhcHBlYXJzIHRvIGhhdmUgYmVlbiBp
Z25vcmVkIGZvciAxIHllYXIgDQphbmQgMjU4IGRheXM6DQoNCj4gTG9va3MgbGlrZSBpdCBo
YXMgYmVlbiByZXNvbHZlZCBub3csIHNlZQ0KPiB0aGUgY29tbWl0IGJ5IFJvYiBCcm93aW5n
Og0KPiA8aHR0cHM6Ly9naXQuc2F2YW5uYWguZ251Lm9yZy9jZ2l0L2d1aWxlLmdpdC9jb21t
aXQvP2lkPTZlODJhNDUxNmFlNTk3ZDhmMWI2NGMyODMxYmYxNGYxODk5ZjQwYWQ+DQo+IA0K
PiBEbyB3ZSBjbG9zZSB0aGUgaXNzdWUgbm93LCBvciBvbmx5IGF0IHRoZSBuZXh0IHJlbGVh
c2U/DQo+IA0KPiBUaGFua3MsDQo+IE1heGltZS4NCg0KDQo=
--------------Kv8ZLEfNk9Pv5HB9aIGmryj7
Content-Type: application/pgp-keys; name="OpenPGP_0x49E3EE22191725EE.asc"
Content-Disposition: attachment; filename="OpenPGP_0x49E3EE22191725EE.asc"
Content-Description: OpenPGP public key
Content-Transfer-Encoding: quoted-printable

-----BEGIN PGP PUBLIC KEY BLOCK-----

xjMEX4ch6BYJKwYBBAHaRw8BAQdANPb/d6MrGnGi5HyvODCkBUJPRjiFQcRU5V+m
xvMaAa/NL01heGltZSBEZXZvcyA8bWF4aW1lLmRldm9zQHN0dWRlbnQua3VsZXV2
ZW4uYmU+wpAEExYIADgWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCX4ch6AIbAwUL
CQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRBJ4+4iGRcl7japAQC3opZ2KGWzWmRc
/gIWSu0AAcfMwyinFEEPa/QhUt2CogD/e2RdF4CYAgaRHJJmZ9WU7piKbLZ7llB4
LzgezVDHggzNJU1heGltZSBEZXZvcyA8bWF4aW1lZGV2b3NAdGVsZW5ldC5iZT7C
kAQTFggAOBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJf56ycAhsDBQsJCAcDBRUK
CQgLBRYCAwEAAh4BAheAAAoJEEnj7iIZFyXujpQBAKV1SwDDl4f24rXciDlB9L8W
ycZt30CgbewMSRQk4mvbAP9dFMbVVixYBd6C8cfhR+NsOBGiOJnQABlUmgNuqGFJ
Dc44BF+HIegSCisGAQQBl1UBBQEBB0BOlzIWiJzgobMF6/cqwLaLk7jIcFSZ++c0
k9cCNT6YXwMBCAfCeAQYFggAIBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJfhyHo
AhsMAAoJEEnj7iIZFyXuMr0BAJc8cl5PGvVmVuSQVKjleNl4DK1/XAaPAYPe34AE
fZJPAP9IqLCQhH/FeJanHqBP8gNdGNI2qn8RnnLVfRJgUjZ1BA=3D=3D
=3DOVqp
-----END PGP PUBLIC KEY BLOCK-----

--------------Kv8ZLEfNk9Pv5HB9aIGmryj7--

--------------on1kS3wbV9vax3gozbSsxKTg--

--------------nrMQuwyL0OK0mEn8mpksc3ji
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wnsEABYIACMWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCZW4/6AUDAAAAAAAKCRBJ4+4iGRcl7oXP
AQDaah95BsEGvCIeZSUTx9msZMfo0giR33jdTqyuaADeYAD/fAbzoqzJPH3/IY/bu3U4gQxyPH8/
OwxLp18WcSDuWQE=
=gSQV
-----END PGP SIGNATURE-----

--------------nrMQuwyL0OK0mEn8mpksc3ji--




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

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


Received: (at 43521) by debbugs.gnu.org; 20 Mar 2022 21:54:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 20 17:54:55 2022
Received: from localhost ([127.0.0.1]:35250 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nW3Vn-000065-5e
	for submit <at> debbugs.gnu.org; Sun, 20 Mar 2022 17:54:55 -0400
Received: from michel.telenet-ops.be ([195.130.137.88]:42430)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1nW3Vl-00005w-8x
 for 43521 <at> debbugs.gnu.org; Sun, 20 Mar 2022 17:54:53 -0400
Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be
 ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a])
 by michel.telenet-ops.be with bizsmtp
 id 8lur270084UW6Th06lurHj; Sun, 20 Mar 2022 22:54:51 +0100
Message-ID: <4a2fd1b280d203111466c5da3827a6cae3318227.camel@HIDDEN>
Subject: ports.test "non-revealed port is closed" breaks other tests
From: Maxime Devos <maximedevos@HIDDEN>
To: 43521 <at> debbugs.gnu.org
Date: Sun, 20 Mar 2022 22:54:46 +0100
Content-Type: multipart/signed; micalg="pgp-sha512";
 protocol="application/pgp-signature"; boundary="=-WK6RKsCgigFvS5fev+0/"
User-Agent: Evolution 3.38.3-1 
MIME-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22;
 t=1647813291; bh=OMcWuc4DWbLyrxUKwHwxLNPNgpf+i/cZjzjW0HyZomc=;
 h=Subject:From:To:Date;
 b=exVm6do4PAe6yJdVKP9fDAG8hJK/wWsfdjMhy25IBZkACcVNh0pygREwn0Q8ZKHdG
 3km5uYD1multtaJo6uK4Va2zV9Bx10vbJ9Jbnyh/0Lhg71SILCTRm9c7XTRlmWSDQV
 cpdaSRGVm/I3rKDfB6samEdjomEbksV0EKUlXbUTeA+89Ro9Ziqdc5RbkKP6g3WCc1
 t6RqF5HjBGyiAs9fi9wWW5EoV4ceNiovIrrhayGF9lXw1hjtAAeDIDhp4mnsV2NzU/
 7w9xdzllGOETAR6CdOFaG9vUNpS6lLRqAq2QhCJX3FiG9fejCXFSd/dAPcQi8GwFYQ
 k4l8TEsmwf2tg==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 43521
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.7 (-)


--=-WK6RKsCgigFvS5fev+0/
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Looks like it has been resolved now, see
the commit by Rob Browing:
<https://git.savannah.gnu.org/cgit/guile.git/commit/?id=3D6e82a4516ae597d8f=
1b64c2831bf14f1899f40ad>

Do we close the issue now, or only at the next release?

Thanks,
Maxime.

--=-WK6RKsCgigFvS5fev+0/
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYjeiphccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7iftAP9Kif6nMTaB3AUwYuwt4O92LeUW
C9zlmriaw7E2C7ATkAEAym0B84m1iZeVJkJBsSEyxdR8s+w3rULOcSSIfcqJ9gc=
=BRxa
-----END PGP SIGNATURE-----

--=-WK6RKsCgigFvS5fev+0/--





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

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


Received: (at 43521) by debbugs.gnu.org; 19 Jul 2021 11:05:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 19 07:05:39 2021
Received: from localhost ([127.0.0.1]:58148 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m5R5f-00061Q-1a
	for submit <at> debbugs.gnu.org; Mon, 19 Jul 2021 07:05:39 -0400
Received: from laurent.telenet-ops.be ([195.130.137.89]:34386)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1m5R5V-00060p-60
 for 43521 <at> debbugs.gnu.org; Mon, 19 Jul 2021 07:05:30 -0400
Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be
 ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d])
 by laurent.telenet-ops.be with bizsmtp
 id Wz5T2500G0mfAB401z5TAQ; Mon, 19 Jul 2021 13:05:27 +0200
Message-ID: <0ca8049ef1812d2d4079d57c5c9fb9ea874abc4d.camel@HIDDEN>
Subject: =?UTF-8?Q?=E2=80=98non-revealed?= port is
 =?UTF-8?Q?closed=E2=80=99?= test case is already fixed
From: Maxime Devos <maximedevos@HIDDEN>
To: 45788 <at> debbugs.gnu.org, 43521 <at> debbugs.gnu.org, 48389 <at> debbugs.gnu.org
Date: Mon, 19 Jul 2021 13:05:21 +0200
Content-Type: multipart/signed; micalg="pgp-sha512";
 protocol="application/pgp-signature"; boundary="=-25/RywgJR9JKgoPNdiwz"
User-Agent: Evolution 3.34.2 
MIME-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21;
 t=1626692727; bh=rZ8ZwGT55LtJQp78wZ08AmHc5IwCyC/4uiLgOc9RhBk=;
 h=Subject:From:To:Date;
 b=ZSX9B/Dvic5NW0XspeEttM+224RDuxpuGfHJGwpA66h22eTgWulgTSqd/v62XePIX
 6wQFpkDM7nf7vJGMBPWUm1QrbZw3kP0UOTSne7+JSSyhtic+vddce44WBvhDm680E+
 5UO67WH9HREmnLizkkR/WQ7EGputQVpk120VZzzOZ+M8hFAV8zd7r5o1U4vOMfvh31
 ypeDb/FrVDcHaq0oBfOaCs5XdSDrXy+dVaPT9wqvPmoducOOez+PSHiVCFuZYX9Gu3
 fk9cbn9ACt3uXpYkygyAVXLjhf+oGosmP3zPfN/vrUacdygvvaZE3FOWXCDqn0ciWT
 HQPT5N4oKPyOg==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 43521
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.7 (-)


--=-25/RywgJR9JKgoPNdiwz
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi guilers and guix,

I (and some other people) encountered this bug:

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D43521#11
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D45788
https://issues.guix.gnu.org/48389#8

There is already a fix:

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D43521#11

Apparently it is already applied on Debian:

https://salsa.debian.org/rlb/deb-guile/-/commit/9fae58b134d8951e15b39b8e175=
1160a245228a6
https://salsa.debian.org/rlb/deb-guile/-/blob/f24ab0150132d906b9724128576c3=
6c39361cab7/debian/patches/0007-Fix-non-revealed-port-is-closed-ports.test.=
patch

Maybe it can be applied now on 'main'?=20

Also, could it be added to the 'patches' in Guix?

Greetings,
Maxime.

--=-25/RywgJR9JKgoPNdiwz
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYPVccRccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7rVeAQDMgKFXqRr2qm32DypkLzXnDhdA
64HqcDXM5wx6fidxkwD+IiuO58YfdwKqfSQe6uM9f5WxH0g6Q45MbWxX8Q/hzAs=
=gjmC
-----END PGP SIGNATURE-----

--=-25/RywgJR9JKgoPNdiwz--





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

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


Received: (at 43521) by debbugs.gnu.org; 11 Jan 2021 15:14:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 11 10:14:49 2021
Received: from localhost ([127.0.0.1]:57805 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kyyu8-00070a-Sw
	for submit <at> debbugs.gnu.org; Mon, 11 Jan 2021 10:14:49 -0500
Received: from eggs.gnu.org ([209.51.188.92]:55638)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <othacehe@HIDDEN>) id 1kyyu7-00070P-L9
 for 43521 <at> debbugs.gnu.org; Mon, 11 Jan 2021 10:14:48 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:38072)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <othacehe@HIDDEN>)
 id 1kyyu2-0003KI-73; Mon, 11 Jan 2021 10:14:42 -0500
Received: from [2a01:e0a:19b:d9a0:d54b:f4e5:4687:8012] (port=51332 helo=cervin)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <othacehe@HIDDEN>)
 id 1kyyu1-00035s-4Y; Mon, 11 Jan 2021 10:14:41 -0500
From: Mathieu Othacehe <othacehe@HIDDEN>
To: Rob Browning <rlb@HIDDEN>
Subject: Re: bug#43521: ports.test "non-revealed port is closed" breaks
 other tests
References: <87ft7d601y.fsf@HIDDEN>
 <87d02h5zlt.fsf@HIDDEN>
 <87a6xl5wl3.fsf@HIDDEN>
Date: Mon, 11 Jan 2021 16:14:39 +0100
In-Reply-To: <87a6xl5wl3.fsf@HIDDEN> (Rob Browning's message
 of "Sat, 19 Sep 2020 15:40:40 -0500")
Message-ID: <87a6tf5wv4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 43521
Cc: 43521 <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: -3.3 (---)


Hello Rob,

> I ended up doing that for now:
>
>   https://salsa.debian.org/rlb/deb-guile/-/commit/9fae58b134d8951e15b39b8e1751160a245228a6

Nice catch! I had the exact same issue, reported here:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=45788.

Except for a small typo: s/subseuquent/subsequent, your fix looks good
to me, and could by applied mainline I think.

Thanks,

Mathieu




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

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


Received: (at submit) by debbugs.gnu.org; 19 Sep 2020 20:40:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 19 16:40:47 2020
Received: from localhost ([127.0.0.1]:48219 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kJjf5-0000Di-6H
	for submit <at> debbugs.gnu.org; Sat, 19 Sep 2020 16:40:47 -0400
Received: from lists.gnu.org ([209.51.188.17]:49312)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rlb@HIDDEN>) id 1kJjf4-0000Db-4j
 for submit <at> debbugs.gnu.org; Sat, 19 Sep 2020 16:40:46 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:41638)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rlb@HIDDEN>)
 id 1kJjf3-0003ox-99
 for bug-guile@HIDDEN; Sat, 19 Sep 2020 16:40:45 -0400
Received: from defaultvalue.org ([45.33.119.55]:37508)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <rlb@HIDDEN>) id 1kJjf1-00065X-Fn
 for bug-guile@HIDDEN; Sat, 19 Sep 2020 16:40:44 -0400
Received: from trouble.defaultvalue.org (localhost [127.0.0.1])
 (Authenticated sender: rlb@HIDDEN)
 by defaultvalue.org (Postfix) with ESMTPSA id 4809420147
 for <bug-guile@HIDDEN>; Sat, 19 Sep 2020 15:40:41 -0500 (CDT)
Received: by trouble.defaultvalue.org (Postfix, from userid 1000)
 id E30BB14E072; Sat, 19 Sep 2020 15:40:40 -0500 (CDT)
From: Rob Browning <rlb@HIDDEN>
To: bug-guile@HIDDEN
Subject: Re: ports.test "non-revealed port is closed" breaks other tests
In-Reply-To: <87d02h5zlt.fsf@HIDDEN>
References: <87ft7d601y.fsf@HIDDEN>
 <87d02h5zlt.fsf@HIDDEN>
Date: Sat, 19 Sep 2020 15:40:40 -0500
Message-ID: <87a6xl5wl3.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=45.33.119.55; envelope-from=rlb@HIDDEN;
 helo=defaultvalue.org
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/19 15:25:46
X-ACL-Warn: Detected OS   = Linux 2.2.x-3.x [generic] [fuzzy]
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
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: -2.4 (--)

Rob Browning <rlb@HIDDEN> writes:

> ...and I'd have to think about it more carefully, but if dropping
> the close-fdes call would completely prevent any subsequent test from
> re-using the fd unsafely before the lingering port is collected, then
> perhaps that's one potential fix.

I ended up doing that for now:

  https://salsa.debian.org/rlb/deb-guile/-/commit/9fae58b134d8951e15b39b8e1751160a245228a6

-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4




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

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


Received: (at submit) by debbugs.gnu.org; 19 Sep 2020 19:35:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 19 15:35:31 2020
Received: from localhost ([127.0.0.1]:48155 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kJidv-00075O-La
	for submit <at> debbugs.gnu.org; Sat, 19 Sep 2020 15:35:31 -0400
Received: from lists.gnu.org ([209.51.188.17]:58372)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rlb@HIDDEN>) id 1kJidu-00075H-TV
 for submit <at> debbugs.gnu.org; Sat, 19 Sep 2020 15:35:31 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:59822)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rlb@HIDDEN>)
 id 1kJidu-0007sa-Lh
 for bug-guile@HIDDEN; Sat, 19 Sep 2020 15:35:30 -0400
Received: from defaultvalue.org ([45.33.119.55]:37504)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <rlb@HIDDEN>) id 1kJids-00077H-8i
 for bug-guile@HIDDEN; Sat, 19 Sep 2020 15:35:30 -0400
Received: from trouble.defaultvalue.org (localhost [127.0.0.1])
 (Authenticated sender: rlb@HIDDEN)
 by defaultvalue.org (Postfix) with ESMTPSA id 0FCC92008E
 for <bug-guile@HIDDEN>; Sat, 19 Sep 2020 14:35:27 -0500 (CDT)
Received: by trouble.defaultvalue.org (Postfix, from userid 1000)
 id 9A8E614E072; Sat, 19 Sep 2020 14:35:26 -0500 (CDT)
From: Rob Browning <rlb@HIDDEN>
To: bug-guile@HIDDEN
Subject: Re: ports.test "non-revealed port is closed" breaks other tests
In-Reply-To: <87ft7d601y.fsf@HIDDEN>
References: <87ft7d601y.fsf@HIDDEN>
Date: Sat, 19 Sep 2020 14:35:26 -0500
Message-ID: <87d02h5zlt.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=45.33.119.55; envelope-from=rlb@HIDDEN;
 helo=defaultvalue.org
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/19 15:25:46
X-ACL-Warn: Detected OS   = Linux 2.2.x-3.x [generic] [fuzzy]
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
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: -2.4 (--)

Rob Browning <rlb@HIDDEN> writes:

> I believe the problem is that if the gc doesn't collect the port when
> the test calls (gc), then the test (which recognizes that possibility)
> calls close-fdes on the underlying fd.  However, the port still exists,
> and it may be garbage collected later, during a test that's using the
> same fd, which may break that test.

...and I'd have to think about it more carefully, but if dropping
the close-fdes call would completely prevent any subsequent test from
re-using the fd unsafely before the lingering port is collected, then
perhaps that's one potential fix.

-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4




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

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


Received: (at submit) by debbugs.gnu.org; 19 Sep 2020 19:26:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 19 15:26:11 2020
Received: from localhost ([127.0.0.1]:48141 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kJiUl-0006qT-Fy
	for submit <at> debbugs.gnu.org; Sat, 19 Sep 2020 15:26:11 -0400
Received: from lists.gnu.org ([209.51.188.17]:54336)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rlb@HIDDEN>) id 1kJiUj-0006q2-91
 for submit <at> debbugs.gnu.org; Sat, 19 Sep 2020 15:26:02 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:58178)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rlb@HIDDEN>)
 id 1kJiUi-0005Px-RT
 for bug-guile@HIDDEN; Sat, 19 Sep 2020 15:26:01 -0400
Received: from defaultvalue.org ([45.33.119.55]:37502)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <rlb@HIDDEN>) id 1kJiUb-0005yG-NS
 for bug-guile@HIDDEN; Sat, 19 Sep 2020 15:26:00 -0400
Received: from trouble.defaultvalue.org (localhost [127.0.0.1])
 (Authenticated sender: rlb@HIDDEN)
 by defaultvalue.org (Postfix) with ESMTPSA id 334A720147
 for <bug-guile@HIDDEN>; Sat, 19 Sep 2020 14:25:46 -0500 (CDT)
Received: by trouble.defaultvalue.org (Postfix, from userid 1000)
 id B23D014E072; Sat, 19 Sep 2020 14:25:45 -0500 (CDT)
From: Rob Browning <rlb@HIDDEN>
To: bug-guile@HIDDEN
Subject: ports.test "non-revealed port is closed" breaks other tests
Date: Sat, 19 Sep 2020 14:25:45 -0500
Message-ID: <87ft7d601y.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=45.33.119.55; envelope-from=rlb@HIDDEN;
 helo=defaultvalue.org
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/19 15:25:46
X-ACL-Warn: Detected OS   = Linux 2.2.x-3.x [generic] [fuzzy]
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
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: -2.4 (--)


I think the "non-revealed port is closed" test can break other tests,
depending on the gc's behavior.  At the moment this is easy to reproduce
for some reason (presumably differing gc behavior) on the Debian s390x
machines.

I believe the problem is that if the gc doesn't collect the port when
the test calls (gc), then the test (which recognizes that possibility)
calls close-fdes on the underlying fd.  However, the port still exists,
and it may be garbage collected later, during a test that's using the
same fd, which may break that test.

I did add some low-level fprintf diagnostics which confirmed that exact
behavior.  i.e. one of the subsequent tests would call (gc), and I could
see that the old port object (identified by the %p pointer) from the
earlier "non-revealed port is closed" test, closed the fd which broke
the the current test when it attempted a seek on the fd that should
still be open.

For now, I've just commented out the test in the Debian packages, and
unless some other arrangements can be made, suspect we might want to do
the same thing in Guile itself.

Thanks
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4




Acknowledgement sent to Rob Browning <rlb@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guile@HIDDEN. Full text available.
Report forwarded to bug-guile@HIDDEN:
bug#43521; 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: Mon, 4 Dec 2023 21:15:01 UTC

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