[GHC] #10469: ghc crash on arm with -j2: internal error: scavenge: unimplemented/strange closure type
GHC
ghc-devs at haskell.org
Sun May 31 18:08:21 UTC 2015
#10469: ghc crash on arm with -j2: internal error: scavenge: unimplemented/strange
closure type
-----------------------------------+---------------------------------------
Reporter: joeyhess | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.10.1
Keywords: | Operating System: Linux
Architecture: arm | Type of failure: Compile-time crash
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Revisions: |
-----------------------------------+---------------------------------------
ghc: internal error: scavenge: unimplemented/strange closure type 0 @
0xac103240
(GHC version 7.10.1 for arm_unknown_linux)
Please report this as a GHC bug:
http://www.haskell.org/ghc/reportabug
Aborted
I can consistently get either this crash, or a segfault from ghc, building
git-annex on an arm system. Seems about 50/50. In either case, it crashes
either before ghc has printed out any "Compiling" lines, or within the
first 1 or 2 files compiled.
I got lucky and found out a way to avoid the crash.. cabal was passing -j2
to ghc. If I remove the -j2, the build proceeds without a crash.
The hardware is a CubieTruck arm board, with 2 gb of ram, and 1 cpu core,
running Debian armel unstable, with kernel 3.4.103.
I was able to use cabal to install the entire dependencies of git-annex,
all the way up to yesod, which takes hours on this hardware, and all that
built ok.. so I think the hardware is pretty stable, but still cannot
really rule out a hardware problem.
Happy to debug further, although this machine is a bit resource
constrained to do things like building ghc on it.
ghc 7.8.4 and 7.10.1 both crash the same way.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10469>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list