Re: [HACKERS] Core dump in regression tests.

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] Core dump in regression tests.
Дата
Msg-id 199809010623.CAA00709@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Core dump in regression tests.  (Keith Parks <emkxp01@mtcc.demon.co.uk>)
Ответы Re: [HACKERS] Core dump in regression tests.  ("Thomas A. Szybist" <szybist@boxhill.com>)
Список pgsql-hackers
> Thomas A. Szybist <szybist@boxhill.com>
> >
> > >
> > > If I compile backend/catalog with -O2 then the table creation is
> >                                     ^^^
> > > OK. So it looks like it may be indexing.c, even with Bruce's
> > > recent fixes.
> >
> > Do you mean -O0 here?
> >
>
> Yes, a typo, I used -O0 for this dir.

One idea is to track heapDescriptor from CatalogIndexInsert() all the
way down into the lower functions.

Compile with assert checking, which I assume you are already doing.

Add this "Assert(heapDescriptor->natts != 0)" to the function, and in
lower functions substitute heapDescriptor with the new variable name it
took as a function parameter.)

When the assert fails, we can see where it is getting messed up.


--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Core dump in regression tests.
Следующее
От: Bruce Momjian
Дата:
Сообщение: I am done