bug in addToClockTime

2006-08-22 Thread Frederik Eaton
The Glorious Glasgow Haskell Compilation System, version 6.4.3.20060816 > now <- getClockTime > addToClockTime (TimeDiff {tdYear = 0, tdMonth = 0, tdDay = 0, tdHour = 0, > tdMin = 0, tdSec = 0, tdPicosec = }) now *** Exception: Time.toClockTime: picoseconds out of range -- http://of

Re: [GHC] #814: RTS always grabs 256Mb on startup

2006-08-22 Thread GHC
#814: RTS always grabs 256Mb on startup ---+ Reporter: simonmar | Owner: Type: bug | Status: closed Priority: normal| Milestone: 6.6 Compone

Re: weird data corruption

2006-08-22 Thread Frederik Eaton
Hey, it looks like the output of two threads is being interleaved one character at a time. Is that really the most efficient way to schedule threads? Anyway, so I guess I need to set stdout and stderr to be line buffered? Perhaps that should be the default setting? ...

Re: weird data corruption

2006-08-22 Thread Frederik Eaton
I can't repeat it, but I can let you know if it happens again. I'm writing with 'hPutStr', but not directly - rather via some modules in a package I wrote. Kernel is Linux 2.6.16, libc 2.3.6, running Debian. Frederik On Tue, Aug 22, 2006 at 10:14:19AM +0100, Simon Marlow wrote: > Can you repeat i

Re: weird data corruption

2006-08-22 Thread Simon Marlow
Can you repeat it? What API are you using to write the file? On what OS? Cheers, Simon Frederik Eaton wrote: Sorry, forgot to say that I was using GHC 6.4.2 the first time, and ghc-6.4.3.20060816 this time. Frederik On Mon, Aug 21, 2006 at 10:45:40PM +0100, Frederik Eaton wrote: H