Re: Failing assertions in indxpath.c, placeholder.c and brin_minmax.c

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Failing assertions in indxpath.c, placeholder.c and brin_minmax.c
Дата
Msg-id CAM3SWZSBjU3Ob-zsFA29FCkpOWiFLUGnThddyJxnaO66WVS_Ww@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Failing assertions in indxpath.c, placeholder.c and brin_minmax.c  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Failing assertions in indxpath.c, placeholder.c and brin_minmax.c  (Greg Stark <stark@mit.edu>)
Список pgsql-hackers
On Sun, Jul 26, 2015 at 7:07 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Andreas Seltenreich <seltenreich@gmx.de> writes:
>> when running my random query generator contraption[1] against the
>> regression database of 9.5 or master, it occasionally triggers one of
>> the following three assertions.
>
> Very very cool tool!  Please keep doing that testing.

The SQLite people have been using a tool like this for some time.
They've also had luck finding bugs with a generic fuzz-testing tool
called "american fuzzy lop" (yes, seriously, that's what it's called),
which apparently is the state of the art.

I myself ran that tool against Postgres. I didn't spend enough time to
tweak it in a way that might have been effective. I also didn't figure
out a way to make iterations fast enough for the tool to be effective,
because I was invoking Postgres in single-user mode. I might pick it
up again in the future, but probably for a more targeted case.

-- 
Peter Geoghegan



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Failing assertions in indxpath.c, placeholder.c and brin_minmax.c
Следующее
От: Kouhei Kaigai
Дата:
Сообщение: Re: CustomScan and readfuncs.c