[GHC] #9480: Segfault in GHC API code using Shelly

GHC ghc-devs at haskell.org
Wed Aug 20 17:08:43 UTC 2014


#9480: Segfault in GHC API code using Shelly
-------------------------------------+-------------------------------------
              Reporter:  agibiansky  |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:
             Component:  GHC API     |          Version:  7.8.3
            Resolution:              |         Keywords:
      Operating System:  Linux       |     Architecture:  Unknown/Multiple
       Type of failure:  Runtime     |       Difficulty:  Unknown
  crash                              |       Blocked By:
             Test Case:              |  Related Tickets:  #8935
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by agibiansky):

 You're right, I've confirmed that

 {{{
 import System.Environment
 getEnvironment
 }}}
 causes the same issue. Thanks for looking into this! Is there any known
 workaround that can be used in client code? (i.e. can I fix this in any
 way in my own programs that use GHC API before 7.10 is released)

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


More information about the ghc-tickets mailing list