Re: Segmentation fault with core dump

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Segmentation fault with core dump
Дата
Msg-id 17271.1515606060@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Segmentation fault with core dump  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Ответы Re: Segmentation fault with core dump  (Glauco Torres <torres.glauco@gmail.com>)
Список pgsql-general
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> Tom Lane wrote:
>> Hm.  I'm not normally one to jump to the conclusion that something is a
>> compiler bug, but it's hard to explain this stack trace any other way.
>> The value of "n" passed to the inner invocation of pg_qsort should not
>> have been more than 29914, but working from either the value of d or the
>> value of pn leads to the conclusion that it was 0x7f6fa9f3a470, which
>> looks a lot more like an address in the array than a proper value of n.

> Hmm, is this something that can be explained by using a different
> postgres executable in GDB than the one that produced the core file?

That would result in nonsensical gdb output, most likely; but Glauco's
trace is internally consistent enough that I doubt gdb is lying to us.
In any case, the crash is an observable fact :-(

            regards, tom lane


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Segmentation fault with core dump
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Segmentation fault with core dump