logo       

(^) causes crash: msg#00117

lang.haskell.glasgow.bugs

Subject: (^) causes crash

With GHC 6.4, interpreted or compiled, on Windows and Mac OS X, evaluating the expression (4^(4^44))::Integer causes a crash.

On Mac, the message is:
___ ___ _
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | | GHC Interactive, version 6.4, for Haskell 98.
/ /_\\/ __ / /___| | http://www.haskell.org/ghc/
\____/\/ /_/\____/|_| Type :? for help.

Loading package base-1.0 ... linking ... done.
Prelude> 4^(4^44)::Integer
bash: [539: 1] tcsetattr: Operation not supported
Segmentation fault


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise