#6125: GHCi crash
------------------------------+---------------------------------------------
 Reporter:  guest             |          Owner:                  
     Type:  bug               |         Status:  new             
 Priority:  normal            |      Component:  Compiler        
  Version:  7.0.3             |       Keywords:                  
       Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
  Failure:  None/Unknown      |       Testcase:                  
Blockedby:                    |       Blocking:                  
  Related:                    |  
------------------------------+---------------------------------------------
 I received the following message about a crash while running ghci. I'm
 definitely doing some things I should not be, but this was also not
 expected; I'm not sure if it's something that should be fixed or if this
 is a case of "don't do that". Namely, I'm starting a Google App Engine
 dev_appserver.py script using System.Process.runCommand. The trouble is, I
 can't install the latest process package on my Windows system, so I'm
 stuck with some outdated commands - I can't terminate a process group on
 Windows, so I use terminateProcess to just kill the top process created,
 then terminate the underlying python.exe through Task Manager.

 You can see where I tried to reload my .hs below after killing python.exe;
 I was trying to type ":r". I'm not sure if this is related, or just the
 issue with running/exiting App Engine. The crash may be related to the
 fact that I'm using the ghci standard output for the App Engine process
 (somehow, it trapped the ":" in my command even after I killed python.exe,
 but before typing anything else). I did manually ping the local App Engine
 server after terminating the top process, but before killing python.exe -
 I noticed the output was redirected to ghci. This may just be a strange
 issue with how App Engine traps messages.


 *Main> r

 <interactive>:1:1: Not in scope: `r'
 *Main>
 ghc.exe: panic! (the 'impossible' happened)
   (GHC version 7.0.3 for i386-unknown-mingw32):
         thread blocked indefinitely in an MVar operation

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

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