[GHC] #16186: Segfault when embedding data via file-embed.

GHC ghc-devs at haskell.org
Tue Jan 15 14:42:06 UTC 2019


#16186: Segfault when embedding data via file-embed.
---------------------------------+----------------------------------------
        Reporter:  syd           |                Owner:  (none)
            Type:  bug           |               Status:  new
        Priority:  normal        |            Milestone:
       Component:  Compiler      |              Version:  8.4.3
      Resolution:                |             Keywords:
Operating System:  Linux         |         Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown  |            Test Case:
      Blocked By:                |             Blocking:
 Related Tickets:                |  Differential Rev(s):
       Wiki Page:                |
---------------------------------+----------------------------------------

Comment (by syd):

 > Why are you embedding a 10mb file inside a program?

 We are seeing similar problems when compiling other things, this just
 happened to be the most easy to reproduce.
 Maybe figuring this one out might help with other similar problems.
 In any case, GHC should never segfault but rather throw some sort of
 error.
 To answer your question: I'm embedding assets (pictures) in a web server.

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


More information about the ghc-tickets mailing list