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 #17 received at 7359 <at> debbugs.gnu.org (full text, mbox):

From: Matthew Bachmann <matt <at> itasoftware.com>
To: Pádraig Brady <P <at> draigBrady.com>
Cc: 7359 <at> debbugs.gnu.org, Eric Blake <eblake <at> redhat.com>
Subject: Re: bug#7359: sleep 9999999999
Date: Wed, 10 Nov 2010 13:20:16 -0500
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.

-Matt

On Nov 9, 2010, at 5:33 PM, Pádraig Brady wrote:

> On 09/11/10 20:31, Matthew Bachmann wrote:
>> Here's what I'm running:
>> 
>> matt <at> ita1bbx40,d1r17733u07 | uname -a
>> Linux ita1bbx40 2.6.18-128.el5 #1 SMP Wed Jan 21 10:41:14 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
>> matt <at> ita1bbx40,d1r17733u07 | cat /etc/issue
>> CentOS release 5.3 (Final)
>> Kernel \r on an \m
>> 
>> matt <at> ita1bbx40,d1r17733u07 | 
>> 
>> I'm in a large shared environment where I can't upgrade sleep.  I just wanted to bring this to your attention, I can work around and don't need a fix.  Thanks.
> 
> If you had a compiler, then doing the following would
> help us eliminate already handled issues:
> 
>  wget http://ftp.gnu.org/pub/gnu/coreutils/coreutils-8.6.tar.gz
>  gzip -dc coreutils-8.6.tar.gz | tar -x
>  cd coreutils-8.6
>  ./configure --quiet && make
>  strace -e nanosleep src/sleep 9999999999
> 
> If not then an strace of the existing binary would help
> 
>  strace -e nanosleep sleep 9999999999
> 
> I tried the command on 32 bit FC5 (coreutils-5.97, kernel-2.6.17) without issue.
> 
> 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.