[Haskell-cafe] Tips for debugging seg. faults?

David Banas capn.freako at gmail.com
Sun Jun 20 13:54:32 UTC 2021

Thank you, Viktor!

Wrt/ `withForeignPtr`, you are suggesting that I use it, not that I avoid it; correct?

Wrt/ “pinned memory”, could you give me a little more explanation?


> On Jun 20, 2021, at 5:00 AM, haskell-cafe-request at haskell.org wrote:
> Thus functions like `withForeignPtr` which try to make sure the the
> referenced memory is not released too early.
> Buffer pointers should be to pinned memory, ...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20210620/a70dfcf6/attachment.html>

More information about the Haskell-Cafe mailing list