crash in DROP INDEX CONCURRENTLY

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема crash in DROP INDEX CONCURRENTLY
Дата
Msg-id 20121107155457.GB8564@alvh.no-ip.org
обсуждение исходный текст
Ответы Re: crash in DROP INDEX CONCURRENTLY  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
I just observed that if I run src/test/regress' "make
installcheck-parallel" and concurrently src/test/isolation's "make
installcheck", I very reproducibly get a segfault (in an assert-enabled
build).  Apparently the problem is that somebody is trying to transfer
predicate locks to a relation, but the index' relcache entry is pfreed.

I think the fix is just to move the heap_open calls some lines upwards, as in
the attached patch.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

Вложения

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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: TRUNCATE SERIALIZABLE and frozen COPY
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: WIP patch for hint bit i/o mitigation