[GHC] #9494: Probable data corruption with GHCi 7.8.* and Zlib

GHC ghc-devs at haskell.org
Sat Sep 6 15:34:55 UTC 2014


#9494: Probable data corruption with GHCi 7.8.* and Zlib
-------------------------------------+-------------------------------------
              Reporter:  nominolo    |            Owner:  aseipp
                  Type:  bug         |           Status:  new
              Priority:  high        |        Milestone:
             Component:  GHCi        |          Version:  7.8.3
            Resolution:              |         Keywords:
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Unknown
       Type of failure:  Incorrect   |       Blocked By:
  result at runtime                  |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by rwbarton):

 The zlib library internally uses a bunch of unsafe functions
 (`unsafePerformIO`, `unsafeForeignPtrToPtr`) so this is also quite
 possibly just a bug in zlib.

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


More information about the ghc-tickets mailing list