Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0c726fe7dfb387377b98e2f6c5c192f65b04dcac2217151e0c71b21f3acdf90b
Ticket: 3879edb3901b5a8e9d053b94458013cbbb42ffee
arithmetic exception in "time" command
User & Date: anonymous on 2021-02-25 19:26:02
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    I am a software developer for the Synopsys NanoTime tool, which runs tcl files.
    
    We are observing a crash with the "time" command, in generic/tclCmdMZ.c, function Tcl_TimeObjCmd, line 4168:
    
        objs[0] = Tcl_NewIntObj((count <= 0) ? 0 : (int) totalMicroSec);
    
    with count = 1 and totalMicroSec = 6646624593.
    
    I believe the arithmetic exception is due to casting a too-large number to int.
    
  5. foundin changed to: "8.6.6"
  6. is_private changed to: "0"
  7. login: "anonymous"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "69354c94785095f9ea5cfa001bc3cc40aaff0133"
  10. resolution changed to: "None"
  11. severity changed to: "Important"
  12. status changed to: "Open"
  13. submitter changed to: "anonymous"
  14. subsystem changed to: "06. Time Measurement"
  15. title changed to: "arithmetic exception in "time" command"
  16. type changed to: "Bug"