[Haskell-cafe] segfault depending on code position in source file

Niklas Hamb├╝chen mail at nh2.me
Thu Feb 21 17:48:20 UTC 2019


> should i really upgrade the version of GHCI?

I don't follow.
Do you get a segfault when interpreting your code in ghci, or when compiling your program to a binary with ghc?

And on what platform?

If you get a segfault, it is often worth running your program under gdb, and check in the crash backtrace whether it crashed from Haskell code or a C foreign function call.

Niklas


More information about the Haskell-Cafe mailing list