
#9446: Segfault when using unsafe vector operations ----------------------------------------+---------------------------------- Reporter: snoyberg | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.8.3 Resolution: invalid | Keywords: Operating System: Linux | Architecture: x86_64 (amd64) Type of failure: Runtime crash | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: Differential Revisions: | ----------------------------------------+---------------------------------- Comment (by snoyberg): I've attached a new file, vector-bug-fixed.hs, which (inspired by some attoparsec code) thaws an immutable vector before writing to it, which seems to address the issue. I have not investigated the performance impact of this. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9446#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler