Re: Memory Context problems...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Memory Context problems...
Дата
Msg-id 23401.1099855875@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Memory Context problems...  ("Katsaros Kwn/nos" <ntinos@aueb.gr>)
Ответы Re: Memory Context problems...  ("Katsaros Kwn/nos" <ntinos@aueb.gr>)
Список pgsql-hackers
"Katsaros Kwn/nos" <ntinos@aueb.gr> writes:
> More precisely,when I call (my_)SPI_prepare the following message comes
> exactly at the point where (my_)SPI_end_call(true) is called:

> WARNING:  problem in alloc set my_SPI Exec: detected write past chunk
> end in block 0x830b7e8, chunk 0x830c058
> WARNING:  problem in alloc set my_SPI Exec: detected write past chunk
> end in block 0x8307720, chunk 0x830b6cc

> Any ideas? I think it is something with the memory contexts but
> obviously this is not enough to solve the problem.

I'd bet on buffer-overrun problems.  Check your allocation request sizes
against what's actually being used.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_arch.c call to sleep()
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: pg_arch.c call to sleep()