Re: [HACKERS] Indixing problems...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Indixing problems...
Дата
Msg-id 28308.905350448@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Indixing problems...  ("Thomas G. Lockhart" <lockhart@alumni.caltech.edu>)
Ответы Re: [HACKERS] Indixing problems...  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список pgsql-hackers
"Thomas G. Lockhart" <lockhart@alumni.caltech.edu> writes:
> Sadly, that is still true also. As I mentioned earlier, the actual
> segfault happens when memory is free'd toward the end of a query. But of
> course there is some problem earlier when the memory was allocated...

Has anyone tried building the backend with a debugging malloc library?

dbmalloc, or Electric Fence, or Purify would probably help smoke out
any remaining coding errors of this kind (using already-freed space,
writing past the end of a malloc'd block, etc).

Purify is a commercial product, but the other two are freeware and
shouldn't be hard to find on the net.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] new return value of PQfsize
Следующее
От: "Thomas G. Lockhart"
Дата:
Сообщение: Re: [HACKERS] Indixing problems...