[GHC] #14410: Windows 10 freeze caused by infinite recursion in WinGHCi

#14410: Windows 10 freeze caused by infinite recursion in WinGHCi -------------------------------------+------------------------------------- Reporter: WinKlim | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 8.2.1 Keywords: freeze | Operating System: Windows infinite recursion | Architecture: x86_64 | Type of failure: Other (amd64) | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- 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 . -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14410 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14410: Windows 10 freeze caused by infinite recursion in WinGHCi -------------------------------------+------------------------------------- Reporter: WinKlim | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 8.2.1 Resolution: | Keywords: freeze | infinite recursion Operating System: Windows | Architecture: x86_64 | (amd64) Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by AntC): Strange. Not the behaviour I'm getting (I'm at 8.0 -- but I don't think this will have changed at 8.2).
the termination of the calculation didn't work
What do you expect to happen for "termination"? What do you expect for the types of the arguments (each of the three), and for the result? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14410#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14410: Windows 10 freeze caused by infinite recursion in WinGHCi -------------------------------------+------------------------------------- Reporter: WinKlim | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 8.2.1 Resolution: | Keywords: freeze | infinite recursion Operating System: Windows | Architecture: x86_64 | (amd64) Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by WinKlim): I expect that the "Stop program execution"-button terminates the calculation. I dont't expect any result since this is an infinite recursion. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14410#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14410: Windows 10 freeze caused by infinite recursion in WinGHCi ----------------------------+---------------------------------------- Reporter: WinKlim | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 8.2.1 Resolution: | Keywords: Operating System: Windows | Architecture: Unknown/Multiple Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: #14150 | Differential Rev(s): Wiki Page: | ----------------------------+---------------------------------------- Changes (by Phyx-): * keywords: freeze infinite recursion => * cc: Phyx- (added) * architecture: x86_64 (amd64) => Unknown/Multiple * related: => #14150 Comment: What's `WinGHCI`? I assume some wrapper around `ghci.exe`? I think this is a duplicate of #14150. Try the recently released `8.2.2` RC. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14410#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14410: Windows 10 freeze caused by infinite recursion in WinGHCi ----------------------------+---------------------------------------- Reporter: WinKlim | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 8.2.1 Resolution: | Keywords: Operating System: Windows | Architecture: Unknown/Multiple Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: #14150 | Differential Rev(s): Wiki Page: | ----------------------------+---------------------------------------- Comment (by AntC): Replying to [comment:3 Phyx-]:
What's `WinGHCI`?
[https://code.google.com/archive/p/winghci/wikis/WinGhciFeatures.wiki GHC's answer to WinHugs]
I assume some wrapper around `ghci.exe`?
Yes, to a first approximation.
I think this is a duplicate of #14150.
Thank you. Yes, looks likely. (That would explain why I'm not seeing it at 8.0.)
Try the recently released `8.2.2` RC.
-- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14410#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14410: Windows 10 freeze caused by infinite recursion in WinGHCi ------------------------------+---------------------------------------- Reporter: WinKlim | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: GHCi | Version: 8.2.1 Resolution: duplicate | Keywords: Operating System: Windows | Architecture: Unknown/Multiple Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: #14150 | Differential Rev(s): Wiki Page: | ------------------------------+---------------------------------------- Changes (by Phyx-): * status: new => closed * resolution: => duplicate -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14410#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC