Re: [Fwd: Memory corruption issues when using newAlignedPinnedByteArray, GC kicking in?]

2012-07-11 Thread Nicolas Trangez
On Wed, 2012-07-11 at 09:50 +0100, Simon Marlow wrote: > On 10/07/2012 23:03, Nicolas Trangez wrote: > > All, > > > > I sent this mail to Haskell Cafe earlier today, and was pointed [1] at > > this list. As such... > > > > Any help/advice would be greatly appreciated! > > It looks like you're maki

Re: [Fwd: Memory corruption issues when using newAlignedPinnedByteArray, GC kicking in?]

2012-07-11 Thread Simon Marlow
On 10/07/2012 23:03, Nicolas Trangez wrote: All, I sent this mail to Haskell Cafe earlier today, and was pointed [1] at this list. As such... Any help/advice would be greatly appreciated! It looks like you're making a ForeignPtr from the Addr# or Ptr that points to the contents of the ByteAr

[Fwd: Memory corruption issues when using newAlignedPinnedByteArray, GC kicking in?]

2012-07-10 Thread Nicolas Trangez
All, I sent this mail to Haskell Cafe earlier today, and was pointed [1] at this list. As such... Any help/advice would be greatly appreciated! Thanks, Nicolas [1] http://www.haskell.org/pipermail/haskell-cafe/2012-July/102242.html Forwarded Message > From: Nicolas Trangez