Re: "bogus aset link"

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: "bogus aset link"
Дата
Msg-id 14376.1104719356@sss.pgh.pa.us
обсуждение исходный текст
Ответ на "bogus aset link"  (ntinos@aueb.gr)
Ответы Re: "bogus aset link"  (ntinos@aueb.gr)
Список pgsql-hackers
ntinos@aueb.gr writes:
> While writting some code for the backend (some SPI-like functions for a
> project) I saw this message:

> "WARNING:  problem in alloc set ExecutorState: bogus aset link in block
> 0x8301270, chunk 0x8304458"

> I think there is something wrong with some of the memory allocations I do,
> but this message is not helping me much in finding the exact error.

The most likely bet is that your code wrote past the end of a memory
chunk it had palloc'd, and thereby clobbered the bookkeeping info for
the next physically adjacent chunk.

You could home in on the location of the clobber by sprinkling
"MemoryContextCheck(TopMemoryContext)" calls through your code.

            regards, tom lane


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

Предыдущее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: PostgreSQL 8.0.0 Release Candidate 3
Следующее
От: Bruce Momjian
Дата:
Сообщение: CVS is very slow