GHCi segfault with breakpoint
$ cat test.hs
main = foo 123
foo n = print n
$ ghci-9.8.2 test.hs
GHCi, version 9.8.2: https://www.haskell.org/ghc/ :? for help
[1 of 2] Compiling Main ( test.hs, interpreted )
Ok, one module loaded.
ghci> :b foo
Breakpoint 0 activated at test.hs:2:9-15
ghci> main
Segmentation fault (core dumped)
on x86_64 linux. at least GHC 9.6 and Darwin/aarch64 are also affected