
#10975: At program exit, finalizer runs while foreign function is running -------------------------------------+------------------------------------- Reporter: akio | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.1 Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by osa1): FWIW, I don't know why but marking "call" function `unsafe` prevents this(by default foreign functions are marked `safe`). -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10975#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler