#2858: Segmentation fault due to race between IO manager and installSignals.
------------------------------------------------+---------------------------
Reporter: dsh | Owner: simonmar
Type: bug | Status: new
Priority: normal | Milestone: 6.10.2
Component: libraries/base | Version: 6.10.1
Severity: normal | Resolution:
Keywords: posix signal threaded IOmanager | Difficulty: Unknown
Testcase: | Os: Linux
Architecture: Unknown/Multiple |
------------------------------------------------+---------------------------
Comment (by dsh):
Replying to [comment:1 dsh]:
> With this fix I get assertion with sanity checks enabled about
deadlock.[[BR]]
>
> May be IO manager should read its pipe in non-blocking mode?
Small clarification. The deadlock I see happens if one of the following
RTS setup is used [[BR]]
1. "+RTS -N2 -g1 -DS --install-handlers=no -RTS"[[BR]]
2. "+RTS -N1 -DS --install-handlers=no -RTS"[[BR]]
I observe the issue with slightly more complex program (using
createProcess from System.Process).
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2858#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs