[GHC] #13916: Optimizations create run time seg faults
GHC
ghc-devs at haskell.org
Sat Jul 8 22:06:05 UTC 2017
#13916: Optimizations create run time seg faults
-------------------------------------+-------------------------------------
Reporter: newthin | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.2
(CodeGen) |
Resolution: | Keywords: optimization
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: Runtime crash | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by bgamari):
Indeed a `FUN` closure is being passed to `GHC.IO.Handle.hIsClosed`, which
expects a `Handle`. `hIsClosed` then later calls
`GHC.IO.Handle.Internals.do_operation`, which in turn calls `takeMVar`.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13916#comment:11>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list