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

Viktor Dukhovni ietf-dane at dukhovni.org
Sun Jun 20 22:08:52 UTC 2021

On Sun, Jun 20, 2021 at 06:54:32AM -0700, David Banas wrote:

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

Yes, it tries to ensure that memory is not released too early.

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

I'd like to repeat my suggestion that you should post more details about
your use-case.  The abstract discussion may waste your time on topics
that are not relevant to you.


More information about the Haskell-Cafe mailing list