lkml.org 
[lkml]   [1996]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectsignal(SIGFPE,SIG_IGN) causes endless loop
Date
The following program loops endlessly, with repeated SIGFPE's, as
repeated by strace.

This is an old, old bug, but maybe fixable before 2.0?

#include <stdio.h>
#include <signal.h>

int main()
{
int a,b,c;
signal(SIGFPE,SIG_IGN);
a = 1;
b = 0;
c = a/b;
return 0;
}

\
 
 \ /
  Last update: 2005-03-22 13:37    [from the cache]
©2003-2011 Jasper Spaans