If `installHandler' is called more than a few times in a row, the
run-time system terminates with an error message.

The program:

    main =
        sequence_ $
            replicate 33 $
                installHandler sigINT (Catch (return ())) Nothing

The shell output:

    % ./program
    program: fatal error: getStablePtr: too light

    % uname -a
    Linux localhost 2.2.5-15 #1 Mon Apr 19 22:21:09 EDT 1999 i586 unknown

    % ghc --version
    The Glorious Glasgow Haskell Compilation System, version 5.02

Anders Lau Olsen


_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to