[GHC] #10001: GHC crash trying to build a project within Nix-shell

GHC ghc-devs at haskell.org
Tue Feb 24 18:33:44 UTC 2015


#10001: GHC crash trying to build a project within Nix-shell
-------------------------------------+-------------------------------------
        Reporter:  wolftune          |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.8.4
      Resolution:                    |                Keywords:
Operating System:  Linux             |            Architecture:  x86_64
 Type of failure:  Compile-time      |  (amd64)
  crash                              |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:  9825              |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by teh):

 I have a reproducible example:
 https://gist.github.com/teh/d94a704254c834af6cdf

 I get

 {{{
 [...]
 Loading package pretty-1.1.1.1 ... linking ... done.
 Loading package template-haskell ... linking ... done.

 <no location info>:
     ghc: panic! (the 'impossible' happened)
   (GHC version 7.8.4 for x86_64-unknown-linux):
         Loading temp shared object failed:
 /run/user/1000/ghc1352_0/ghc1352_3.so: failed to map segment from shared
 object
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10001#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list