Garbage printed
Neil Mitchell
ndmitchell at gmail.com
Mon Jan 7 09:32:59 EST 2008
Hi Henk,
If you go to File / Options / Runtime / Print garbage collection
messages, you will probably find that is checked. Turn that off and
the messages should stop.
The problem with the previous text being interspersed with the
commands is probably a locking bug. I have tried to eliminate a few
locking bugs in the current HEAD version, but some may still remain. I
really don't know how the setjmp/longjmp, Windows message pump,
multiple threads, locking, timer messages etc. all communicate in
enough detail to be confident the locking is correct - its pretty
hairy!
Thanks
Neil
On 12/22/07, hjgtuyl at chello.nl <hjgtuyl at chello.nl> wrote:
>
> L.S.,
>
> I tried the following commands:
> [1..] !! 5500000
> [1..] !! 55000000
> in WinHugs; messages about garbage collection are printed. Between the GC
> messages of the second command, parts of the text of the first command are
> repeated, see the attached image.
>
> The reason, that I attached this picture, is that copy/paste to this
> posting resulted in an even bigger mess:
>
> {{Gc:8375486}}Hugs> [1..] !! 5500000
> {{Gc:8375457}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}5500001
> (126500045 reductions, 175998568 cells, 21 garbage collections)
> {{Gc:8375486}}Hugs> [1..] !! 55000000
> {{Gc:8375457}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc
> :8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:837
> 5450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}8568
> cells, 21 garbage collections)
> {{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}
> garbage collections)
> {{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}55000001
> (1265000045 reductions, 1760003519 cells, 210 garbage collections)
> {{Gc:8375486}}Hugs> [1..] !! 5500000
> {{Gc:8375457}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}5500001
> (126500045 reductions, 175998568 cells, 21 garbage collections)
> {{Gc:8375486}}Hugs> [1..] !! 55000000
> {{Gc:8375457}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc
> :8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:837
> 5450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}8568
> cells, 21 garbage collections)
> {{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}
> garbage collections)
> {{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375450}}{{Gc:8375451}}{{Gc:8375450}}{{Gc:8375450}}55000001
> (1265000045 reductions, 1760003519 cells, 210 garbage collections)
>
>
> WinHugs version: Sep 2006
> OS: Windows XP
>
>
> --
> Met vriendelijke groet,
> Henk-Jan van Tuyl
>
>
> --
> http://functor.bamikanarie.com
> http://Van.Tuyl.eu/
> --
>
> _______________________________________________
> Hugs-Bugs mailing list
> Hugs-Bugs at haskell.org
> http://www.haskell.org/mailman/listinfo/hugs-bugs
>
>
>
More information about the Hugs-Bugs
mailing list