[GHC] #10375: arm: ghci hits an illegal instruction
GHC
ghc-devs at haskell.org
Mon May 18 00:52:02 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):
Turning the test case into a script:
{{{
data X = A | B deriving Eq
A == A
}}}
and running as:
{{{
inplace/bin/ghc-stage2 +RTS -Ds -Di -RTS --interactive < ghci-
segfault.script
}}}
results in:
{{{
evaluating unknown closure -- yielding to sched
Object 0xb06446a4 = BLACKHOLE(0xb0619a6c)
b14ff460: cap 0: thread 17 stopped (yielding)
b14ff460: --<< thread 17 (ThreadRunGHC) stopped to switch evaluators
b14ff460: cap 0: running thread 17 (ThreadRunGHC)
Segmentation fault
}}}
The `x86_64/linux` version also has this stuff but doesn't segfault:
{{{
evaluating unknown closure -- yielding to sched
Object 0x7fbea1548150 = BLACKHOLE(0x7fbea1858cb8)
7fbea22fd700: cap 0: thread 19 stopped (yielding)
7fbea22fd700: --<< thread 19 (ThreadRunGHC) stopped to switch evaluators
7fbea22fd700: cap 0: running thread 19 (ThreadRunGHC)
7fbea22fd700: cap 0: thread 19 stopped (yielding)
7fbea22fd700: --<< thread 19 (ThreadInterpret) stopped to switch
evaluators
7fbea22fd700: cap 0: running thread 19 (ThreadInterpret)
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10375#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list