#6167: Compile stalls with pause returning ERESTARTNOHAND ---------------------------------+------------------------------------------ Reporter: erikd | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.6.1 Component: Compiler | Version: 7.4.1 Keywords: | Os: Linux Architecture: Unknown/Multiple | Failure: Building GHC failed Difficulty: Unknown | Testcase: Blockedby: | Blocking: Related: | ---------------------------------+------------------------------------------
Comment(by simonmar): We lack a way to reproduce the problem here, so it is hard for us to track it down. There are basically three ways to track this down: * Compile GHC with profiling and `-fprof-auto`, and run it with `+RTS -xc` to get a stack trace. You will probably need to hit Control-C to interrupt the hanging GHC, the RTS should then spit out the stack trace. * Insert lots of `trace`s in the compiler to try to find out where it has hung. * Use gdb and poke around in the stack of the blocked thread to try to find out where it is stuck. See [wiki:Debugging/CompiledCode]. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6167#comment:7> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs