Re: BUG #18334: Segfault when running a query with parallel workers

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: BUG #18334: Segfault when running a query with parallel workers
Дата
Msg-id CA+hUKG+aHYKG2aJ=td9v5sAx2hsyXbAHr3NJSGp+P7x_awWEUw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #18334: Segfault when running a query with parallel workers  (Thomas Munro <thomas.munro@gmail.com>)
Ответы Re: BUG #18334: Segfault when running a query with parallel workers  (Marcin Barczyński <mba.ogolny@gmail.com>)
Список pgsql-bugs
On Fri, May 24, 2024 at 12:45 PM Thomas Munro <thomas.munro@gmail.com> wrote:
> I wondered if the tricky edge case where a segment gets unmapped and
> then then remapped in the same slot could be leading to segment
> confusion.  That does involve a bit of memory order footwork.  What
> CPU architecture is this?  But alas I can't come up with any case
> where that could go wrong even if there is an unknown bug in that
> area, because the no-rebatching, no-rebucketing case doesn't free
> anything until the end when it frees everything (ie it never frees
> something and then allocate, a requirement for slot re-use).

... but if I'm missing something there, it might be a clue visible
from gdb if area->control->freed_segment_counter (the one in shared
memory) and area->freed_segment_counter (the one in this backend) have
different values, if your core captured the segments.



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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: BUG #18334: Segfault when running a query with parallel workers
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #18478: uuid-ossp extension is not installed with PostgreSQL 17 Beta 1