Re: Segmentation fault with core dump

Поиск
Список
Период
Сортировка
Искать
От
Andres Freund
Тема
Re: Segmentation fault with core dump
Дата
Msg-id
20130410232857.GA10264@awork2.anarazel.de
Ответ на
Список
Дерево обсуждения
Segmentation fault with core dump Joshua Berry <yoberi@gmail.com>
Re: Segmentation fault with core dump Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Segmentation fault with core dump Andres Freund <andres@2ndquadrant.com>
Re: Segmentation fault with core dump Joshua Berry <yoberi@gmail.com>
Re: Segmentation fault with core dump Andres Freund <andres@2ndquadrant.com>
Re: Segmentation fault with core dump Tom Lane <tgl@sss.pgh.pa.us>
Re: Segmentation fault with core dump Tom Lane <tgl@sss.pgh.pa.us>
Re: Segmentation fault with core dump Andres Freund <andres@2ndquadrant.com>
Re: Segmentation fault with core dump Tom Lane <tgl@sss.pgh.pa.us>
Re: Segmentation fault with core dump Andres Freund <andres@2ndquadrant.com>
Re: Segmentation fault with core dump Andres Freund <andres@2ndquadrant.com>
Re: Segmentation fault with core dump Andres Freund <andres@2ndquadrant.com>
Re: Segmentation fault with core dump Joshua Berry <yoberi@gmail.com>
Re: Segmentation fault with core dump Hiroshi Inoue <inoue@tpf.co.jp>
Re: Segmentation fault with core dump Tom Lane <tgl@sss.pgh.pa.us>
Re: Segmentation fault with core dump "Inoue, Hiroshi" <inoue@tpf.co.jp>
Re: Segmentation fault with core dump Joshua Berry <yoberi@gmail.com>
Re: Segmentation fault with core dump Andres Freund <andres@2ndquadrant.com>
Re: Segmentation fault with core dump Tom Lane <tgl@sss.pgh.pa.us>
Re: Segmentation fault with core dump Joshua Berry <yoberi@gmail.com>
Re: Segmentation fault with core dump Andres Freund <andres@2ndquadrant.com>
Re: Segmentation fault with core dump Joshua Berry <yoberi@gmail.com>
On 2013-04-10 18:25:24 -0500, Joshua Berry wrote:
> > Ok, I might be seeing whats going on here. Could you go to 'printtup'
> > and print *myState, *myState->attrinfo, *typpeinfo?
> >
> 
> #4  0x00000000004593c4 in printtup (slot=0x2d14618, self=0x2a50c40)
>     at printtup.c:297
> 297                     printtup_prepare_info(myState, typeinfo, natts);
> (gdb) print *myState, *myState->attrinfo, *typeinfo
> value has been optimized out

Hm. Make that a
print *(DR_printtup *) self
print *((DR_printtup *) self)->attrinfo
print *slot->tts_tupleDescriptor

then.


Thanks,

Andres Freund

-- 
 Andres Freund	                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

В списке pgsql-general по дате отправления
От: Joshua Berry
Дата:
От: Tom Lane
Дата:
FAQ