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

GHC ghc-devs at haskell.org
Wed Jan 16 18:10:23 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 nh2):

 Yes, indeed the linker approach solves that.

 Note though that this ticket isn't really about embedding files, it's
 about there being a code path in GHC that leads to segfaults (which should
 never happen); embedding files is just the way we managed to reproduce the
 issue.

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


More information about the ghc-tickets mailing list