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

GHC ghc-devs at haskell.org
Sun Mar 15 01:00:56 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
              Keywords:                  |  Operating System:  Linux
          Architecture:  x86_64 (amd64)  |   Type of failure:  None/Unknown
             Test Case:                  |        Blocked By:
              Blocking:                  |   Related Tickets:
Differential Revisions:                  |
-----------------------------------------+---------------------------------
 I know this sounds pretty nuts, but compiling using ghc, via "cabal build"
 often suddenly reboots my computer (not the slow "please save your
 settings" type, but the sudden harsh sound of a relay click and immediate
 blackness followed by the BIOS screen).

 This happens somewhat randomly, although the probability of it occurring
 definitely goes up with a larger codebase.  Beyond a certain size, it is
 pretty much guaranteed to happen.

 This could possibly have something to do with faulty hardware....  but I
 am not so sure because....

 1. The reboot only occurs when compiling with GHC.  Nothing else (movie
 watching, compiling with gcc, processing audio, etc) causes this to
 happen.  Furthermore the reboot is as likely to happen on a computer with
 no other program running as one with tons of background stuff, the ghc
 build is the only factor.  Other than this bug, it is a powerful and
 reliable machine.

 2. The reboot only occurs when I type "cabal build", not "cabal install",
 even if the project has just been cleaned.  If it were just an overheating
 microprocessor, I would expect the problem to exist in both cases.  In
 fact, as long as I don't type in "cabal build" exactly, I can download
 large projects (like the ghc compiler source code itself) and build them
 without a problem.


 I am even at a loss of what info to give you.  I would be happy to supply
 whatever info you request and even do some debugging.  For starters, here
 is my configuration....

 Ubuntu 14.10
 Kernel version 3.16.0-31-generic
 ghc version 7.8.4
 cabal-install version 1.22.0.1
 using version 1.22.1.1 of the Cabal library
 CPU- Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
 16GB RAM
 Motherboard Gigabyte GA-Z87-D3HP

 I am not sure if logs will be of any use, because I am pretty sure that
 the sudden nature of the reboot prevents any info from being output....

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


More information about the ghc-tickets mailing list