[GHC] #14334: Large static object : getLabelBc: Ran out of labels
GHC
ghc-devs at haskell.org
Sun Oct 8 15:57:19 UTC 2017
#14334: Large static object : getLabelBc: Ran out of labels
-------------------------------+--------------------------------------
Reporter: h4ck3rm1k3 | Owner: (none)
Type: bug | Status: new
Priority: lowest | Milestone:
Component: GHCi | Version: 8.0.2
Resolution: | Keywords:
Operating System: Linux | Architecture: x86_64 (amd64)
Type of failure: GHCi crash | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------+--------------------------------------
Changes (by RyanGlScott):
* status: infoneeded => new
Comment:
Thanks, that was helpful. I'm now able to reduce this to a single (very
large) file with only a `text` dependency (which is bundled with GHC HEAD
nowadays), which can be found
[https://gist.githubusercontent.com/RyanGlScott/75e8b0ad7a3995f6877e3e8e2f9a752f/raw/688ac3e87c25669f5acdf80f8351a420ee22c82e/LibData.hs
here] (since it exceeds Trac's file upload limit).
Running `ghci` on this file is enough to make it panic:
{{{
$ ~/Software/ghc2/inplace/bin/ghc-stage2 --interactive LibData.hs
GHCi, version 8.3.20171004: http://www.haskell.org/ghc/ :? for help
Loaded GHCi configuration from /home/rgscott/.ghci
[1 of 1] Compiling LibData ( LibData.hs, interpreted )
ghc-stage2: panic! (the 'impossible' happened)
(GHC version 8.3.20171004 for x86_64-unknown-linux):
getLabelBc: Ran out of labels
}}}
I've reproduced this with GHC 8.0.2, 8.2.1, and HEAD.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14334#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list