GNU logs - #22767, boring messages


Message sent to bug-guile@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#22767: Thread-sleep! doesn't sleep
Resent-From: Takashi Kato <ktakashi19@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guile@HIDDEN
Resent-Date: Mon, 22 Feb 2016 16:01:01 +0000
Resent-Message-ID: <handler.22767.B.145615684222410 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 22767
X-GNU-PR-Package: guile
X-GNU-PR-Keywords: 
To: 22767 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guile@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.145615684222410
          (code B ref -1); Mon, 22 Feb 2016 16:01:01 +0000
Received: (at submit) by debbugs.gnu.org; 22 Feb 2016 16:00:42 +0000
Received: from localhost ([127.0.0.1]:38232 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aXsug-0005pN-5n
	for submit <at> debbugs.gnu.org; Mon, 22 Feb 2016 11:00:42 -0500
Received: from eggs.gnu.org ([208.118.235.92]:41156)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <ktakashi19@HIDDEN>) id 1aXooX-0004Nd-Q2
 for submit <at> debbugs.gnu.org; Mon, 22 Feb 2016 06:38:06 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ktakashi19@HIDDEN>) id 1aXooR-0006zb-Ft
 for submit <at> debbugs.gnu.org; Mon, 22 Feb 2016 06:38:00 -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.3 required=5.0 tests=BAYES_20,
 FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:39953)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <ktakashi19@HIDDEN>) id 1aXooR-0006zR-CZ
 for submit <at> debbugs.gnu.org; Mon, 22 Feb 2016 06:37:59 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:60353)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <ktakashi19@HIDDEN>) id 1aXooQ-0000gZ-J9
 for bug-guile@HIDDEN; Mon, 22 Feb 2016 06:37:59 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ktakashi19@HIDDEN>) id 1aXooP-0006z2-T7
 for bug-guile@HIDDEN; Mon, 22 Feb 2016 06:37:58 -0500
Received: from mail-lb0-x233.google.com ([2a00:1450:4010:c04::233]:33848)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <ktakashi19@HIDDEN>) id 1aXooP-0006yf-Kk
 for bug-guile@HIDDEN; Mon, 22 Feb 2016 06:37:57 -0500
Received: by mail-lb0-x233.google.com with SMTP id of3so80139483lbc.1
 for <bug-guile@HIDDEN>; Mon, 22 Feb 2016 03:37:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:date:message-id:subject:from:to:content-type;
 bh=+5vvJzjwZ/y3ZimrcUu3l+Tx8Ntml1cNHrdVWDPyr40=;
 b=RBMq0IlSB3ZYAhD6IdmRum/iWFw8MMT3rlTG6gEiN7Lc9jnBDzpqpv01JV0NJSGWvv
 BQFYJUBBwZcsi2ofw3IS5Syd03xW5x1NdbReaKPpNZjxaoMhmvftEeVYtvmUZdyhAQpE
 cdI031TGiRHjGcwWNnqjnf45bVCIlgRE2z7EgNn4tJPl+I0HX0SeAaz3OWwTgQ60C/68
 eRY5btar6ysBnKmuipNqIw+2RLEp1BzQsuZ0ac5eSeBzjAfNqvNSXwpWghZ3/q/dnRb1
 NWOGXVta+YwHdkrCj4DvekJiwSJpVZNI2vTJm29J5zL7Br/qCnlFCs3MsZcs4EkpFKgP
 EwnQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:date:message-id:subject:from:to
 :content-type;
 bh=+5vvJzjwZ/y3ZimrcUu3l+Tx8Ntml1cNHrdVWDPyr40=;
 b=jg8/yXe416us3fQCLNPdUcnoQY7fisXKm9CbDFtr/k2aiOa897sN/eDmOPUWKQ1XH7
 NBYtxpbeDeE3ooJUGGrDfEHesau2pYLpl5hpS3TXjTXHjMYI/kgAJipxqHCdI+yTKeqa
 HZUXYR7lckrkWsO9JhCsWXgDyenMT1Do1JBkAoQ8eEXnP/9aXoenFFWgplucoq+eq35y
 SItUudGLjVHGAW6gE/pp8CdZCE4RDh31j6ASpidORojRcgqBHy+ZXtMpzP4UKDeTRIBp
 BrIKD+I808HXiuUbLYNvs5kO7FFXnh+vGVOQDfZjqMw87/kPpePtlKU6UvV8JW/JtxNJ
 ifTg==
X-Gm-Message-State: AG10YOSOvMlzKrqWeoMMGogAuRnljBKmQZOfHyBu6NiJUzd1ElTF1LqbQqX5yjPFlX5zfV3DKRv3VcHBPnjNOw==
MIME-Version: 1.0
X-Received: by 10.112.12.233 with SMTP id b9mr8492157lbc.63.1456141076610;
 Mon, 22 Feb 2016 03:37:56 -0800 (PST)
Received: by 10.112.17.102 with HTTP; Mon, 22 Feb 2016 03:37:56 -0800 (PST)
Date: Mon, 22 Feb 2016 12:37:56 +0100
Message-ID: <CACcjVL3kCz3KAadnR05q6iYK4YczCbbcqmQL5C5BmFigs4mwwg@HIDDEN>
From: Takashi Kato <ktakashi19@HIDDEN>
Content-Type: text/plain; charset=UTF-8
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -3.8 (---)
X-Mailman-Approved-At: Mon, 22 Feb 2016 11:00:41 -0500
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.8 (---)

Hi there,

I think I've found a bug of thread-sleep! defined in SRFI-18 library.
The file module/srfi/srfi-18.scm line 233 subtract current time from
given timeout argument but this results negative number most of the
case. I think this line should simply return timeout as it is.

Cheers,

-- 
_/_/
Takashi Kato
E-mail: ktakashi19@HIDDEN




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: Takashi Kato <ktakashi19@HIDDEN>
Subject: bug#22767: Acknowledgement (Thread-sleep! doesn't sleep)
Message-ID: <handler.22767.B.145615684222410.ack <at> debbugs.gnu.org>
References: <CACcjVL3kCz3KAadnR05q6iYK4YczCbbcqmQL5C5BmFigs4mwwg@HIDDEN>
X-Gnu-PR-Message: ack 22767
X-Gnu-PR-Package: guile
Reply-To: 22767 <at> debbugs.gnu.org
Date: Mon, 22 Feb 2016 16:01: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 22767 <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
22767: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D22767
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-guile@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#22767: Thread-sleep! doesn't sleep
Resent-From: Andy Wingo <wingo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guile@HIDDEN
Resent-Date: Sun, 07 Aug 2016 21:33:01 +0000
Resent-Message-ID: <handler.22767.B22767.14706055558986 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 22767
X-GNU-PR-Package: guile
X-GNU-PR-Keywords: 
To: Takashi Kato <ktakashi19@HIDDEN>
Cc: 22767 <at> debbugs.gnu.org
Received: via spool by 22767-submit <at> debbugs.gnu.org id=B22767.14706055558986
          (code B ref 22767); Sun, 07 Aug 2016 21:33:01 +0000
Received: (at 22767) by debbugs.gnu.org; 7 Aug 2016 21:32:35 +0000
Received: from localhost ([127.0.0.1]:59271 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bWVgR-0002Ks-Dg
	for submit <at> debbugs.gnu.org; Sun, 07 Aug 2016 17:32:35 -0400
Received: from pb-sasl2.pobox.com ([64.147.108.67]:53140
 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <wingo@HIDDEN>) id 1bWVgQ-0002Kl-DV
 for 22767 <at> debbugs.gnu.org; Sun, 07 Aug 2016 17:32:34 -0400
Received: from sasl.smtp.pobox.com (unknown [127.0.0.1])
 by pb-sasl2.pobox.com (Postfix) with ESMTP id 0BFE230962;
 Sun,  7 Aug 2016 17:32:34 -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=lUHLNuDg6th5XUc6H4iRM3UPLGI=; b=MdrHbd
 hbLHT9/OoAH905k+dTOy0kXLDOCq8IjFkXS3hVQKpS0BMvEWSPLHFL+7AsrfNAzf
 3bfsi9SKSpv3U2ts/b5mJWrMNb8OIQRST2BqxIzJ7V4+dz2NljM5zZzMZ/ReEWtE
 tovcU1V6skx/GxYgFfNWf9zpSxRr2fZkJhO6U=
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=nHs5/AC3ZXlrVsAxxkSR7erTzqZvm4FY
 OZr+0YRRf1k31vF7i5gdqYisbcxmORxBig2ok7wbNrgeksOX2DKnl6DEZ1SnIN9l
 U3JfKPiHXVUzMQniY8vnAzBIlS6iwWIOX/aQgsYdB73r/LieU965lxuLdEsANV8N
 KrldStOIeOE=
Received: from pb-sasl2.nyi.icgroup.com (unknown [127.0.0.1])
 by pb-sasl2.pobox.com (Postfix) with ESMTP id 03A9F30960;
 Sun,  7 Aug 2016 17:32:34 -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-sasl2.pobox.com (Postfix) with ESMTPSA id 1F9B43095B;
 Sun,  7 Aug 2016 17:32:33 -0400 (EDT)
From: Andy Wingo <wingo@HIDDEN>
References: <CACcjVL3kCz3KAadnR05q6iYK4YczCbbcqmQL5C5BmFigs4mwwg@HIDDEN>
Date: Sun, 07 Aug 2016 23:32:26 +0200
In-Reply-To: <CACcjVL3kCz3KAadnR05q6iYK4YczCbbcqmQL5C5BmFigs4mwwg@HIDDEN>
 (Takashi Kato's message of "Mon, 22 Feb 2016 12:37:56 +0100")
Message-ID: <87twewnu39.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: 73AA71AE-5CE6-11E6-81FA-28A6F1301B6D-02397024!pb-sasl2.pobox.com
X-Spam-Score: -0.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: -0.4 (/)

Hi Takashi,

Thank you for the report.

On Mon 22 Feb 2016 12:37, Takashi Kato <ktakashi19@HIDDEN> writes:

> I think I've found a bug of thread-sleep! defined in SRFI-18 library.
> The file module/srfi/srfi-18.scm line 233 subtract current time from
> given timeout argument but this results negative number most of the
> case. I think this line should simply return timeout as it is.

You are right.  Guile's documentation indicates that the timeout is an
absolute time as a SRFI-18 time object, but the SRFI itself says that
timeouts are either:

   * a time object represents an absolute point in time

   * an exact or inexact real number represents a relative time in
     seconds from the moment the primitive was called

So I guess when passed a number, that's not to be interpreted as an
absolute time from the epoch, but rather a relative timeout.  We need to
update our documentation and tests, it seems, and issue a prominent NEWS
entry...

Andy





Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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