RE: [Haskell-cafe] Signal 2 and -threaded

6 Dec
2005
6 Dec
'05
8:42 a.m.
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
7110
Age (days ago)
7110
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Marlow