logo       

Re: weird data corruption: msg#00148

lang.haskell.glasgow.bugs

Subject: Re: weird data corruption

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 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/
> >>
>

--
http://ofb.net/~frederik/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise