Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6ba5980766c34b567477e4c1763ecfe2e5aaf221
Ticket: 218616ffffffffffffffffffffffffffffffffff
"clock format" crash on 1970 wraparound
User & Date: nobody on 2000-10-26 01:03:08
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1458 Bug
    Version: 8.1b1
    SubmitDate: '1999-03-05'
    LastModified: '1999-04-05'
    Severity: CRIT
    Status: Released
    Submitter: pat
    ChangedBy: stanton
    RelatedBugIDs: 1142
    OS: Windows NT
    OSVersion: Server Version 4.0 (japanese) Service Pack 3
    Machine: X86
    FixedDate: '1999-04-05'
    FixedInVersion: 8.1b3
    ClosedDate: '2000-10-25'
    
    
    Name:
    Taketo Kabe
    
    ReproducibleScript:
        # using tclsh81.exe (beta1) on WindowsNT 4.0(sp3)
        
        set env(TZ) JST-9     ;#Japan Standard Time; 9 hours east
        clock format -32400
        # any values between -32400 and -1 will crash the interp
        
        
    
    
    
    ObservedBehavior:
        The interpreter crashes.
        
    
    
    
    DesiredBehavior:
        return "Thu Jan 01 00:00:00 JST 1970"
        
    
    
    
    
    
        Only east-of-GMT timezones seems to reveal this problem.
    -----
    Related to bug ID 1142.
    
    Ok, this is reproducible in NT 4.0 JP.  The problem is that the check for negative time values is incorrect for east-of-GMT timezones.
    04/05/1999 16:53 - stanton -
    
    
    
  4. foundin changed to: "obsolete: 8.1b1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "48. Number Handling"
  10. title changed to: ""clock format" crash on 1970 wraparound"
  11. type changed to: "Bug"