#4245: ghci panic: thread blocked indefinitely in an MVar operation
---------------------------------+------------------------------------------
    Reporter:  pturnbull         |        Owner:            
        Type:  bug               |       Status:  new       
    Priority:  normal            |    Milestone:  7.0.2     
   Component:  GHCi              |      Version:  7.0.1     
    Keywords:  MVar              |     Testcase:            
   Blockedby:                    |   Difficulty:            
          Os:  Unknown/Multiple  |     Blocking:            
Architecture:  x86               |      Failure:  GHCi crash
---------------------------------+------------------------------------------

Comment(by Jafet):

 Hi again. The previous message is incorrect; I didn't know that
 {{{ghci.exe}}} always uses a child {{{ghc.exe}}} process.

 What really happens on Windows is that {{{ghci.exe}}} is right away killed
 by {{{^C}}}, and the child {{{ghc.exe}}} doesn't realize that until a
 little later, so it goes into a panic. They also spawn some new threads
 before they die for some reason. I've attached a trace by Process Monitor,
 which records the syscalls made after {{{^C}}}.

 Someone with a Mac could {{{ktrace}}} to check that it's really the same
 bug.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4245#comment:6>
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

Reply via email to