
#9971: GHC 7.10 dies with "out of memory" -------------------------------------+------------------------------------- Reporter: albertov | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.1-rc1 Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by albertov): Replying to [comment:2 nomeata]:
You added `UndecidableInstances` there. This means: „My typeclass instances may not be terminating, so when GHC runs into an infinite loop here, it’s my fault.“ I did not yet check whether this is the problem, but in a way, you voided the warranty here. Can you reproduce the problem without `UndecidableInstances`?
The problem occurs without `UndecidableInstances` too since `Types.hs` is not using it at all. I've used `UndecidableInstances` on another module (`Arbitrary.hs`) but it doesn't get a chance to get compiled since it depends on `Types.hs` which is the problematic module. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9971#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler