
#10298: Infinite loop when shared libraries are unavailable -------------------------------------+------------------------------------- Reporter: snoyberg | Owner: simonmar Type: bug | Status: new Priority: normal | Milestone: Component: Runtime System | Version: 7.10.1 Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 Type of failure: Runtime crash | (amd64) Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by rwbarton): I suppose another approach would be to store the result of `strerror` in a new field the IOError as a ByteString, and display it using non-locale- aware IO (currently we do a round-trip through String, which should be the identity). Then put the field with the String version behind its own unsafePerformIO. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10298#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler