Re: plperl sigfpe reset can crash the server - Mailing list pgsql-hackers

From Tom Lane
Subject Re: plperl sigfpe reset can crash the server
Date
Msg-id 20574.1345820016@sss.pgh.pa.us
Whole thread Raw
In response to Re: plperl sigfpe reset can crash the server  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: plperl sigfpe reset can crash the server
Re: plperl sigfpe reset can crash the server
List pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> ./pod/perl581delta.pod:
> At startup Perl blocks the SIGFPE signal away since there isn't much
> Perl can do about it.  Previously this blocking was in effect also for
> programs executed from within Perl.  Now Perl restores the original
> SIGFPE handling routine, whatever it was, before running external
> programs.

So there's a gap in the "restore" logic someplace.

> perl.h also has some tidbits: ...
> That doesn't sound very well reasoned and especially not very well tested to 
> me.

Time to file a Perl bug?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pg_upgrade's exec_prog() coding improvement
Next
From: Andres Freund
Date:
Subject: Re: plperl sigfpe reset can crash the server