GNU logs - #53139, boring messages


Message sent to bug-guile@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#53139: sleep return value error, with pselect6 system call on Linux
Resent-From: Christopher Baines <mail@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guile@HIDDEN
Resent-Date: Sun, 09 Jan 2022 10:04:02 +0000
Resent-Message-ID: <handler.53139.B.164172261232288 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 53139
X-GNU-PR-Package: guile
X-GNU-PR-Keywords: 
To: 53139 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guile@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.164172261232288
          (code B ref -1); Sun, 09 Jan 2022 10:04:02 +0000
Received: (at submit) by debbugs.gnu.org; 9 Jan 2022 10:03:32 +0000
Received: from localhost ([127.0.0.1]:49250 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n6V2x-0008Oi-TL
	for submit <at> debbugs.gnu.org; Sun, 09 Jan 2022 05:03:32 -0500
Received: from lists.gnu.org ([209.51.188.17]:49180)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1n6V2v-0008Oa-HX
 for submit <at> debbugs.gnu.org; Sun, 09 Jan 2022 05:03:30 -0500
Received: from eggs.gnu.org ([209.51.188.92]:59046)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <mail@HIDDEN>) id 1n6V2v-0007Uz-Ca
 for bug-guile@HIDDEN; Sun, 09 Jan 2022 05:03:29 -0500
Received: from mira.cbaines.net ([212.71.252.8]:36242)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <mail@HIDDEN>) id 1n6V2t-0002wC-Q3
 for bug-guile@HIDDEN; Sun, 09 Jan 2022 05:03:29 -0500
Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:8ac0:b4c7:f5c8:7caa])
 by mira.cbaines.net (Postfix) with ESMTPSA id D910727BBE9
 for <bug-guile@HIDDEN>; Sun,  9 Jan 2022 10:03:23 +0000 (GMT)
Received: from capella (localhost [127.0.0.1])
 by localhost (OpenSMTPD) with ESMTP id 5969ab14
 for <bug-guile@HIDDEN>; Sun, 9 Jan 2022 10:03:22 +0000 (UTC)
User-agent: mu4e 1.6.10; emacs 27.2
From: Christopher Baines <mail@HIDDEN>
Date: Sun, 09 Jan 2022 09:58:19 +0000
Message-ID: <877db9b505.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=212.71.252.8; envelope-from=mail@HIDDEN;
 helo=mira.cbaines.net
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-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 (--)

The sleep procedure is documented as returning 0 when it's not
interrupted by a signal.

This behaviour seems to have changed in guile as distributed by GNU Guix
(see the time-machine commands below). Previously, guile used the select
system call which seemed to change the timeout argument to the time
left. The updated guile uses the pselect6 system call, which doesn't do
this.

=E2=86=92 guix time-machine --commit=3Db603554ed044638dd40b6863d5dada59eefe=
03b8 -- environment --ad-hoc guile -- guile -c '(peek (sleep 5))'

;;; (0)

select(4, [3], NULL, NULL, {tv_sec=3D5, tv_usec=3D0}) =3D 0 (Timeout)

=E2=86=92 guix time-machine --commit=3D6dffced09ecda024e0884e352778c221ad06=
6fd6 -- environment --ad-hoc guile -- guile -c '(peek (sleep 5))'

;;; (5)

pselect6(4, [3], NULL, NULL, {tv_sec=3D5, tv_nsec=3D0}, NULL) =3D 0 (Timeou=
t)




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Christopher Baines <mail@HIDDEN>
Subject: bug#53139: Acknowledgement (sleep return value error, with
 pselect6 system call on Linux)
Message-ID: <handler.53139.B.164172261232288.ack <at> debbugs.gnu.org>
References: <877db9b505.fsf@HIDDEN>
X-Gnu-PR-Message: ack 53139
X-Gnu-PR-Package: guile
Reply-To: 53139 <at> debbugs.gnu.org
Date: Sun, 09 Jan 2022 10:04:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-guile@HIDDEN

If you wish to submit further information on this problem, please
send it to 53139 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
53139: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D53139
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems



Last modified: Sun, 9 Jan 2022 10:15:02 UTC

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