Re: [BUG] FailedAssertion in SnapBuildPurgeOlderTxn

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [BUG] FailedAssertion in SnapBuildPurgeOlderTxn
Дата
Msg-id 20221121205202.f3qv6n6pukl2jlaz@alap3.anarazel.de
обсуждение исходный текст
Ответ на [BUG] FailedAssertion in SnapBuildPurgeOlderTxn  (Maxim Orlov <orlovmg@gmail.com>)
Ответы Re: [BUG] FailedAssertion in SnapBuildPurgeOlderTxn
Список pgsql-hackers
Hi,

On 2022-11-21 15:47:12 +0300, Maxim Orlov wrote:
> After some investigation, I think, the problem is in the snapbuild.c
> (commit 272248a0c1b1, see [0]). We do allocate InitialRunningXacts
> array in the context of builder->context, but for the time when we call
> SnapBuildPurgeOlderTxn this context may be already free'd. Thus,
> InitialRunningXacts array become array of 2139062143 (i.e. 0x7F7F7F7F)
> values. This is not caused buildfarm to fail due to that code:

Amit, that does indeed seem to be a problem...

Greetings,

Andres Freund



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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: More efficient build farm animal wakeup?
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Damage control for planner's get_actual_variable_endpoint() runaway