
#4505: Segmentation fault on long input (list of pairs) -------------------------------------+------------------------------------- Reporter: cathper | Owner: Type: bug | Status: patch Priority: high | Milestone: 8.0.2 Component: Compiler | Version: 7.0.1 Resolution: | Keywords: Segmentation | fault, segfault, long input Operating System: Linux | Architecture: x86_64 | (amd64) Type of failure: Runtime crash | Test Case: Blocked By: 4258 | Blocking: Related Tickets: | Differential Rev(s): Phab:D1180 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => patch Comment: Here is a quick attempt at a patch: https://github.com/bgamari/array/commit/73144bda5cf4f5ba2e73206ea0a53200e302.... The only trouble here is that we now are doing overflow in unsafe indexing operations, which will cost a bit of performance. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/4505#comment:45 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler