Re: RemoveLocalLock pfree'ing NULL when out-of-memory

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: RemoveLocalLock pfree'ing NULL when out-of-memory
Дата
Msg-id 16045.1442779973@sss.pgh.pa.us
обсуждение исходный текст
Ответ на RemoveLocalLock pfree'ing NULL when out-of-memory  (Andreas Seltenreich <seltenreich@gmx.de>)
Список pgsql-hackers
Andreas Seltenreich <seltenreich@gmx.de> writes:
> a memory-starved instance of sqlsmith just caught RemoveLocalLock
> pfree'ing a NULL in locallock->lockOwners.  I think what happened is
> that it was called to clean up after LockAcquireExtended's
> MemoryContextAlloc failed.  The content of errordata seems consistent
> with this.

Ooops.  Looks to have been my bug originally.  Will fix, thanks!
        regards, tom lane



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

Предыдущее
От: Andreas Seltenreich
Дата:
Сообщение: RemoveLocalLock pfree'ing NULL when out-of-memory
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: row_security GUC, BYPASSRLS