[GHC] #10159: cabal build/ghc compiler causes sudden hard reboot of my computer!

GHC ghc-devs at haskell.org
Mon Mar 23 12:57:37 UTC 2015


#10159: cabal build/ghc compiler causes sudden hard reboot of my computer!
---------------------------------+-----------------------------------------
        Reporter:  jamshid       |                   Owner:
            Type:  bug           |                  Status:  new
        Priority:  normal        |               Milestone:
       Component:  Compiler      |                 Version:  7.8.4
      Resolution:                |                Keywords:
Operating System:  Linux         |            Architecture:  x86_64 (amd64)
 Type of failure:  None/Unknown  |               Test Case:
      Blocked By:                |                Blocking:
 Related Tickets:                |  Differential Revisions:
---------------------------------+-----------------------------------------

Comment (by goldfire):

 I wonder if we can at least get some more information before throwing our
 hands up in despair.

 Thanks for the detailed post and addressing some obvious responses (e.g.
 "That's clearly bogus hardware!") For a given package, does `cabal build`
 ''always'' trigger the reboot? Or is it just some of the time? (I take it
 that the odds increase with the size of the package.)

 Cabal folks: is there a way to get `cabal build` to spit out exactly what
 it's doing? I don't see a verbosity option in `cabal help build`. My
 guess, from the description above, is that some cabal behavior is perhaps
 triggering some latent bug in the GHC runtime. If we could get a record of
 what cabal is doing -- and find a way to spit a log to some file
 '''without buffering''' -- we might be able to learn more. But I'm afraid
 that's where my personal expertise runs out.

 Any advice from others?

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


More information about the ghc-tickets mailing list