GNU bug report logs - #7359
sleep 9999999999

Previous Next

Package: coreutils;

Reported by: Matthew Bachmann <matt <at> itasoftware.com>

Date: Tue, 9 Nov 2010 19:35:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #22 received at 7359-done <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Matthew Bachmann <matt <at> itasoftware.com>
Cc: Eric Blake <eblake <at> redhat.com>, 7359-done <at> debbugs.gnu.org
Subject: Re: bug#7359: sleep 9999999999
Date: Wed, 10 Nov 2010 22:30:49 +0000
On 10/11/10 18:20, Matthew Bachmann wrote:
> Existing stuff:
> 
> matt <at> ita1bbx40,d1r17733u07 | strace -e nanosleep sleep 9999999999
> nanosleep({9999999999, 0}, NULL)        = 0
> matt <at> ita1bbx40,d1r17733u07 | rpm -qa | grep coreutils
> policycoreutils-1.33.12-14.2.el5
> coreutils-5.97-19.el5
> 
> With download you pointed me at:
> 
> matt <at> ita1bbx40,d1r17733u07 | strace -e nanosleep src/sleep 9999999999
> nanosleep({4233600, 0},  <unfinished ...>
> matt <at> ita1bbx40,d1r17733u07 | 
> 
> I ctrl-c'ed it because it appeared to be actually sleeping instead of returning immediately.  So yeah, it looks like it works fine with newer stuff.

Right, that confirms that it's sleeping for 49 days at a time.
I.E. the existing immediately detectable workaround is in place.

cheers,
Pádraig.




This bug report was last modified 14 years and 281 days ago.

Previous Next


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