bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #16913] sleep fails to detect overflow on amd64 / linux 2.6


From: anonymous
Subject: [bug #16913] sleep fails to detect overflow on amd64 / linux 2.6
Date: Thu, 22 Jun 2006 14:54:48 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.1) Gecko/20060314 Debian/1.5.dfsg+1.5.0.1-4 Firefox/1.5.0.1

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16913>

                 Summary: sleep fails to detect overflow on amd64 / linux 2.6
                 Project: GNU Core Utilities
            Submitted by: None
            Submitted on: Thursday 06/22/2006 at 14:54 UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:


sleep 10000000000  -> returns immediately with exit code 0
sleep 1000000000   -> sleeps
sleep 100000000000 -> sleeps

Not really sane amounts of seconds to sleep but on the other hand there is
some code in xnanosleep.c to handle overflow conditions.

More details about the underlying bug in nanosleep() in 

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=374983








    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16913>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]