Segfault/panic of 32bit GHCi on Mac
32bit GHCi on Mac causes segfault/panic:
With GHC 7.6.3:
> :m Data.Complex
[Prelude Data.Complex]
> ((-2) :+ 0)**(1.5 :+ 0)
zsh: segmentation fault ghci
With GHC head:
> :m Data.Complex
> ((-2) :+ 0)**(1.5 :+ 0)
ghc: panic! (the 'impossible' happened)
(GHC version 7.7.20130805 for i386-apple-darwin):
Loading temp shared object failed: dlopen(/var/folders/k0/548g5xg90jjfbrj5j09nvwv80000gq/T/ghc124_0/ghc124_0.dylib, 9): Library not loaded: /Users/kazu/work/ghc/libraries/base/dist-install/build/libHSbase-4.7.0.0-ghc7.7.20130805.dylib
Referenced from: /var/folders/k0/548g5xg90jjfbrj5j09nvwv80000gq/T/ghc124_0/ghc124_0.dylib
Reason: image not found
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
64bit GHCi does not cause this problem. Any GHCi on Linux and FreeBSD do not cause this problem.
If the code is compiled with 32bit GHC on Mac, it works fine.
Trac metadata
Trac field | Value |
---|---|
Version | 7.6.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |