#13108: Improve poor Access Violation reporting on Windows -------------------------------------+------------------------------------- Reporter: awson | Owner: Type: task | Status: patch Priority: normal | Milestone: Component: Runtime System | Version: Resolution: | Keywords: Operating System: Windows | Architecture: Type of failure: Poor/confusing | Unknown/Multiple error message | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2969 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Ryan Scott <ryan.gl.scott@…>): In [changeset:"c13151e5ac774d38d7c5a807692851022c18fe6b/ghc" c13151e/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="c13151e5ac774d38d7c5a807692851022c18fe6b" Improve access violation reporting on Windows Summary: This patch is courtesy of @awson. Currently, whenever GHC catches a segfault on Windows, it simply reports the somewhat uninformative message `Segmentation fault/access violation in generated code`. This patch adds to the message the type of violation (read/write/dep) and location information, which should help debugging segfaults in the future. Fixes #13108. Test Plan: Build on Windows Reviewers: austin, erikd, bgamari, simonmar, Phyx Reviewed By: bgamari, Phyx Subscribers: awson, thomie, #ghc_windows_task_force Differential Revision: https://phabricator.haskell.org/D2969 GHC Trac Issues: #13108 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13108#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler