[GHC] #13387: Segfault when profiling on OS X

#13387: Segfault when profiling on OS X -------------------------------------+------------------------------------- Reporter: mpickering | Owner: (none) Type: bug | Status: new Priority: high | Milestone: Component: Compiler | Version: 8.0.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- I built a profiled version of GHC using the `prof` flavour. Then attempting to profile some programs with this executable causes segfaults reliably. 1. Build GHC with the `prof` flavour 2. inplace/bin/ghc-stage2 Main.hs -O2 -fforce-recomp +RTS -p -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13387 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13387: Segfault when profiling on OS X -------------------------------------+------------------------------------- Reporter: mpickering | Owner: (none) Type: bug | Status: new Priority: high | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by mpickering): * Attachment "Main.hs" added. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13387 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13387: Segfault when profiling on OS X -------------------------------------+------------------------------------- Reporter: mpickering | Owner: (none) Type: bug | Status: new Priority: high | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by mpickering): Adding `-fno-state-hack` causes the segfault to stop. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13387#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13387: Segfault when profiling on OS X -------------------------------------+------------------------------------- Reporter: mpickering | Owner: (none) Type: bug | Status: new Priority: high | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): I have opened #13433 which addresses the same problem. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13387#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13387: Segfault when profiling on OS X -------------------------------------+------------------------------------- Reporter: mpickering | Owner: (none) Type: bug | Status: closed Priority: high | Milestone: 8.2.1 Component: Compiler | Version: 8.0.1 Resolution: duplicate | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #13433 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => closed * resolution: => duplicate * related: => #13433 * milestone: => 8.2.1 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13387#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC