On 06 December 2005 10:59, Joel Reymont wrote:

> I'm seeing some funky behavior in my program compiled with -threaded.
> It runs for a little while and then catches signal 2 and quits. This
> does not happen when -threaded is not used.
> 
> I'm compiling my library with -threaded so that is always constant.
> The above applies to my main module and another module that is part
> of it.
> 
> Any ideas?

I don't know any reason your program should be getting signal 2 (SIGINT,
I assume), unless the program sends itself SIGINT or someone else does.
Maybe on your system a process gets SIGINT when it exceeds some resource
limit?

Have you tried strace or equivalent (truss?)?

Cheers,
        Simon
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to