Re: amcheck assert failure

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: amcheck assert failure
Дата
Msg-id CAH2-Wz=r2g0pet4hVPi88Yh+uqRmMphEON0U9Yd28HSW+ac7vQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: amcheck assert failure  (Peter Geoghegan <pg@bowt.ie>)
Ответы Re: amcheck assert failure  (Peter Geoghegan <pg@bowt.ie>)
Список pgsql-bugs
On Sat, Apr 20, 2019 at 2:00 PM Peter Geoghegan <pg@bowt.ie> wrote:
> Obviously you'll need to figure out which block number the problem
> page is located in before you do this, but that shouldn't be hard --
> get a coredump and inspect the state from amcheck a few frames down.

Alternatively, you could dump the page image from within gdb. Go to
the frame for _bt_check_natts() (e.g., enter "f 1"), and then dump the
contents of the page to file:

(gdb) dump binary memory /tmp/dump_block.page page (page + 8192)

-- 
Peter Geoghegan



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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: amcheck assert failure
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: amcheck assert failure