Re: plperl sigfpe reset can crash the server

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: plperl sigfpe reset can crash the server
Дата
Msg-id 5037991E.6000503@dunslane.net
обсуждение исходный текст
Ответ на Re: plperl sigfpe reset can crash the server  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: plperl sigfpe reset can crash the server
Список pgsql-hackers
On 08/24/2012 10:58 AM, Andres Freund wrote:
> On Friday, August 24, 2012 04:53:36 PM Tom Lane wrote:
>> 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.
> Well, the logic is not triggering at all in pg's case. Its just used if perl
> is exec()ing something...
>
>
>>> 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?
> Anybody more involved in the perl community volunteering?
>

Just run perlbug and let us know the bug number.

cheers

andrew





В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_upgrade's exec_prog() coding improvement
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: pg_upgrade's exec_prog() coding improvement