Skip to content

Windows 10 freeze caused by infinite recursion in WinGHCi

Got Windows freeze after I typed this in WinGHCi :

Prelude> fib2 a b n = fib2 b (a+b) (n-1)
Prelude> fib2 3 3 1

With option +RTS -M1000m I didn't get the Windows freeze but the termination of the calculation didn't work in WinGHCi .

Operating system : Windows 10 64 Bit .

Trac metadata
Trac field Value
Version 8.2.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture x86_64 (amd64)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information