#1760: ghc 6.6.1: internal error: asyncRead# on threaded RTS
------------------------------------------+---------------------------------
    Reporter:  [EMAIL PROTECTED]  |        Owner:         
        Type:  bug                        |       Status:  new    
    Priority:  normal                     |    Milestone:         
   Component:  Compiler                   |      Version:  6.6.1  
    Severity:  normal                     |   Resolution:         
    Keywords:                             |   Difficulty:  Unknown
          Os:  Windows                    |     Testcase:         
Architecture:  x86                        |  
------------------------------------------+---------------------------------
Changes (by sorear):

  * reporter:  guest => [EMAIL PROTECTED]
  * os:  Unknown => Windows
  * architecture:  Unknown => x86

Old description:

> My email address [EMAIL PROTECTED]
>
> import Control.Monad (liftM)
>
> import Data.Char (isAlpha, toLower)
>
> import qualified Data.Map as M[[BR]]
>
> import qualified Data.ByteString.Lazy.Char8 as B[[BR]]
>
> main :: IO ()[[BR]]
>
> main = do[[BR]]
>
>   a <- B.map toLower `liftM` B.readFile "data_capitals"[[BR]]
>
>   B.putStrLn a[[BR]]
>

>
> :l try1[[BR]]
>
> [1 of 1] Compiling Main             ( try1.hs, interpreted )[[BR]]
>
> Ok, modules loaded: Main.[[BR]]
>
> *Main> main[[BR]]
>
> <interactive>: internal error: asyncRead# on threaded RTS[[BR]]
>
>     (GHC version 6.6.1 for i386_unknown_mingw32)[[BR]]
>
>     Please report this as a GHC bug:
> http://www.haskell.org/ghc/reportabug[[BR]]
>

> This application has requested the Runtime to terminate it in an unusual
> way.[[BR]]
>
> Please contact the application's support team for more information.[[BR]]

New description:

 {{{
 import Control.Monad (liftM)
 import Data.Char (isAlpha, toLower)
 import qualified Data.Map as M
 import qualified Data.ByteString.Lazy.Char8 as B

 main :: IO ()
 main = do
   a <- B.map toLower `liftM` B.readFile "data_capitals"
   B.putStrLn a
 }}}

 {{{
 :l try1
 [1 of 1] Compiling Main             ( try1.hs, interpreted )
 Ok, modules loaded: Main.
 *Main> main

 <interactive>: internal error: asyncRead# on threaded RTS
     (GHC version 6.6.1 for i386_unknown_mingw32)
     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug

 This application has requested the Runtime to terminate it in an unusual
 way.
 Please contact the application's support team for more information.
 }}}

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