Repeated calls to installHandler

Anders Lau Olsen alauo at mip.sdu.dk
Mon Nov 19 09:20:08 EST 2001


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





More information about the Glasgow-haskell-bugs mailing list