[GHC] #15729: Static GHCi can segfault when accessing .bss section in C

GHC ghc-devs at haskell.org
Tue Oct 9 20:01:31 UTC 2018


#15729: Static GHCi can segfault when accessing .bss section in C
-------------------------------+--------------------------------------
        Reporter:  watashi     |                Owner:  watashi
            Type:  bug         |               Status:  new
        Priority:  normal      |            Milestone:
       Component:  GHCi        |              Version:  8.6.1
      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:              |
-------------------------------+--------------------------------------

Comment (by watashi):

 @simonmar It's similar, but not exactly the same. I don't know how we can
 fix #781 with static link, but this one should be fixable by allocating
 the .bss section in the range of 2G with the object. I will send a fix.

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


More information about the ghc-tickets mailing list