weird data corruption

Simon Marlow simonmarhaskell at gmail.com
Tue Aug 22 05:14:19 EDT 2006


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:
> 
>>Hi,
>>
>>I'm seeing some odd data corruption in a log file. Below, the second
>>line should be a SQL query (prefixed by a timestamp). It's turned into
>>garbage, but apparently not just random bytes. I'm using HSQL - that's
>>the only external library, and it uses FFI, so there might be some bad
>>memory management, but I thought I should ask if other people have
>>seen something similar. It's the second time this has happened to me.
>>
>>----------------------------------------------------------------
>># fillUpQueue
>>8-22010 62-20:83-12:12 62:2 :e3x1e:c2u6t:i nqgu e(rdyeilnegt e( sferloemc tp fccoqu_nstt(u*d)y _fqruoemu ep fwchqe_rset usdqy__uqsueeru e=  w2h)e
>>re sq_user = 2)
>>2006-08-21 22:31:27:   duration: 843.8 msec
>># addToQueue
>># getNewCards
>># getVT
>>2006-08-21 22:31:27: querying (select max(res_num) from pfcq_study_results where res_user = 2)
>>2006-08-21 22:31:27:   duration: 152.6 msec
>>----------------------------------------------------------------
>>
>>Regards,
>>
>>Frederik
>>
>>-- 
>>http://ofb.net/~frederik/
>>
> 
> 




More information about the Glasgow-haskell-bugs mailing list