Ticket #2479 (closed bug: duplicate)
Crash on printing a ClockTime with a negative value for number of seconds since the epoch
Description
This happened on a Windows XP machine.
Example program:
import System.Time import Control.Exception main= do let agesAgo = TOD (-1000) 0 putStrLn "created" test <- evaluate agesAgo putStrLn "evaluated" putStrLn $ show test -- crashes putStrLn "printed"
Output:
created evaluated Segmentation fault/access violation in generated code
Change History
Note: See
TracTickets for help on using
tickets.
