#4245: ghci panic: thread blocked indefinitely in an MVar operation
-------------------------------+--------------------------------------------
Reporter: pturnbull | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 7.2.1
Component: GHCi | Version: 6.12.3
Keywords: MVar | Testcase:
Blockedby: | Difficulty:
Os: MacOS X | Blocking:
Architecture: x86_64 (amd64) | Failure: GHCi crash
-------------------------------+--------------------------------------------
Comment(by Artyom.Kazak):
I'm using Windows 7, GHC 7.0.2. I don't know is it the same bug…
I was playing with my module called Helpers.Numeric located in file called
Numeric.hs. As you can see, I compiled it using GHC and by mistake ran
Numeric.hs instead of Numeric.exe, so I had GHCi in GHCi. Then I wanted to
enter ':q', but entered just 'q', and the inner GHCi crashed.
{{{
*Helpers.Numeric Math.Root.Finder> :! ghc --make -O2 -main-is
Halpers.Numeric Numeric.hs
[2 of 2] Compiling Helpers.Numeric ( Numeric.hs, Numeric.o )
*Helpers.Numeric Math.Root.Finder> :! Numeric.hs
GHCi, version 7.0.2: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package ffi-1.0 ... linking ... done.
Ok, modules loaded: Helpers.Numeric, Ratio'.
Prelude Helpers.Numeric>
Prelude Helpers.Numeric> q
<interactive>:1:1: Not in scope: `q'
Prelude Helpers.Numeric>
ghc.exe: panic! (the 'impossible' happened)
(GHC version 7.0.2 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/4245#comment:11>
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