[GHC] #14415: Win32 SEH unwinding should print segfaults to stderr, not stdout
#14415: Win32 SEH unwinding should print segfaults to stderr, not stdout -------------------------------------+------------------------------------- Reporter: NeilMitchell | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Runtime | Version: 8.2.1 System | Keywords: | Operating System: Windows Architecture: | Type of failure: Poor/confusing Unknown/Multiple | error message Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- Looking at ghc/rts/win32/veh_excn.c we can see that on segfaults, e.g. null pointer access, GHC calls: {{{ fprintf(stdout, "Access violation in generated code" }}} Given these are segfaults, it seems that stderr would be a more appropriate stream to use. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14415> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#14415: Win32 SEH unwinding should print segfaults to stderr, not stdout -------------------------------------+------------------------------------- Reporter: NeilMitchell | Owner: (none) Type: bug | Status: patch Priority: normal | Milestone: 8.4.1 Component: Runtime System | Version: 8.2.1 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:D4151 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * cc: Phyx- (added) * status: new => patch * differential: => Phab:D4151 * milestone: => 8.4.1 Comment: See Phab:D4151 for a fix. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14415#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#14415: Win32 SEH unwinding should print segfaults to stderr, not stdout -------------------------------------+------------------------------------- Reporter: NeilMitchell | Owner: (none) Type: bug | Status: patch Priority: normal | Milestone: 8.4.1 Component: Runtime System | Version: 8.2.1 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:D4151 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"4dfb790ca0611d4024cd01ba4c28d145f1deb7cb/ghc" 4dfb790/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="4dfb790ca0611d4024cd01ba4c28d145f1deb7cb" rts/win32: Emit exception handler output to stderr Test Plan: Validate Reviewers: Phyx, austin, erikd, simonmar Reviewed By: Phyx Subscribers: rwbarton, thomie GHC Trac Issues: #14415 Differential Revision: https://phabricator.haskell.org/D4151 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14415#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#14415: Win32 SEH unwinding should print segfaults to stderr, not stdout -------------------------------------+------------------------------------- Reporter: NeilMitchell | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: 8.4.1 Component: Runtime System | Version: 8.2.1 Resolution: fixed | 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:D4151 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: patch => closed * resolution: => fixed -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14415#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC