Re: 9.4 beta1 crash on Debian sid/i386

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 9.4 beta1 crash on Debian sid/i386
Дата
Msg-id 26945.1400450208@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: 9.4 beta1 crash on Debian sid/i386  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: 9.4 beta1 crash on Debian sid/i386
Список pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> On 2014-05-18 17:41:17 -0400, Tom Lane wrote:
>> OK, so the problem is that getrlimit(RLIMIT_STACK) is lying to us about
>> the available stack depth.  I'd classify that as a kernel bug.  I wonder
>> if it's a different manifestation of this issue:
>> https://bugzilla.redhat.com/show_bug.cgi?id=952946

> That'd explain why I couldn't reproduce it. And I seme to recall some
> messages about the hardening stuff in debian accidentally being lost
> some time ago. So if that got re-introduced into 9.4... The CFLAGS
> certainly indicate that -pie is getting used.

Yeah.  Re-reading the Red Hat bug, it seems like an exact match for
this issue.  The dependency on ASLR means that the identical run
might sometimes work and sometimes crash, which would explain why
Christoph was getting less-than-consistent results.

The bad news is that the kernel guys have been ignoring the issue
for over a year.  Dunno if some pressure from the Debian camp would
help raise their priority for this.
        regards, tom lane



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: 9.4 beta1 crash on Debian sid/i386
Следующее
От: Andres Freund
Дата:
Сообщение: Re: 9.4 beta1 crash on Debian sid/i386