Re: BUG #15943: Valgrind-detected error in SlruPhysicalWritePage

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: BUG #15943: Valgrind-detected error in SlruPhysicalWritePage
Дата
Msg-id 20190808164332.GA20632@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: BUG #15943: Valgrind-detected error in SlruPhysicalWritePage  (Alexander Lakhin <exclusion@gmail.com>)
Ответы Re: BUG #15943: Valgrind-detected error in SlruPhysicalWritePage  (Andres Freund <andres@anarazel.de>)
Список pgsql-bugs
On 2019-Aug-08, Alexander Lakhin wrote:

> Indeed, "memset(&qe, 0, sizeof(qe));" added in the beginning of
> asyncQueueAddEntries fixes the issue.
> More interestingly, "memset(qe.data, 0, sizeof(qe.data));" in the same
> place fixes it too (the patch is attached).

Maybe VALGRIND_MAKE_MEM_DEFINED?

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



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

Предыдущее
От: Andrew Zimmerman
Дата:
Сообщение: Error in COPY command with files over 1GB
Следующее
От: Andres Freund
Дата:
Сообщение: Re: BUG #15943: Valgrind-detected error in SlruPhysicalWritePage