[GHC] #10375: arm: ghci hits an illegal instruction

GHC ghc-devs at haskell.org
Sat May 23 01:07:03 UTC 2015


#10375: arm: ghci hits an illegal instruction
-------------------------------------+---------------------------------
        Reporter:  erikd             |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:  7.10.2
       Component:  GHCi              |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:  arm
 Type of failure:  GHCi crash        |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+---------------------------------

Comment (by erikd):

 Even switching to using `threadDelay` doesn't make it deterministic under
 GDB, but it is deterministic when just run at the command line. Giving up
 on GDB because it has a Heisenberg-like effect on the problem. Will need
 to debug this with `printf`.

 If I add a `statc int` variable in the `case ThreadRunGHC` block and
 increment it every time the code passes through this block and I run it at
 the command line, the count gets to 152 or 153 before the crash.

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


More information about the ghc-tickets mailing list