Custom Query

Filters
 
Columns

Show under each result:


Results (31 - 33 of 5830)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Ticket Resolution Summary Owner Reporter
#441 fixed GHCi doesn't run computations in a new thread simonmar dons

Reported by dons, 8 years ago.

description
A broken QuickCheck property cause ghci to panic after
reloading the module. Seen in stable and head branch.

paprika$ ghci T.hs
*Main> do_test
                     test : *                         
      (0)
*Main> :reload
ghc-6.5: panic! (the `impossible' happened, GHC version
6.5):
        <<loop>>

Please report it as a compiler bug to
glasgow-haskell-bugs@haskell.org,
or http://sourceforge.net/projects/ghc/.

Changing the property to check for empty lists causes
the test to pass, and reload to work fine.

-- Don Stewart
#454 fixed hPutBuf doesn't respect LineBuffering simonmar

Reported by simonmar, 8 years ago.

description
On 15 April 2005 02:39, Ian Lynagh wrote:

> If I run this program:
> 
> --------------------------------------------------
> import System.Cmd (system)
> import Foreign.C.String (castCharToCChar)
> import Foreign.Marshal.Array (newArray)
> import System.IO (hSetBinaryMode, hPutBuf, stdout,
hSetBuffering,
>                   BufferMode(..))
> 
> main = do hSetBinaryMode stdout True
>           hSetBuffering stdout LineBuffering
>           p <- newArray (map castCharToCChar "foo\n")
>           hPutBuf stdout p 4
>           system "sleep 5"
>           putStr "bar\n"
> --------------------------------------------------
> 
> compiled by GHC then it waits 5 seconds and then
prints foo and bar
> together.
> 
> With hugs, foo is printed and then 5 seconds later
bar is printed, as
> I would expect.

True, the implementation doesn't respect LineBuffering
(though it does
respect the other buffering modes, I believe).  That's
a bug.


#455 fixed mkProtoBCO: stack use won't fit in 16 bits 79141 igloo simonmar

Reported by simonmar, 8 years ago.

description
ERROR MESSAGE:

Prelude> :r
Compiling BookData         ( ./BookData.hs, interpreted )
ghc-6.2.2: panic! (the `impossible' happened, GHC
version 6.2.2):
        mkProtoBCO: stack use won't fit in 16 bits 79141

Test case and rest of message here:

http://www.haskell.org//pipermail/glasgow-haskell-bugs/2005-March/004871.html
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Note: See TracQuery for help on using queries.