Re: Segmentation fault with core dump

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Segmentation fault with core dump
Дата
Msg-id 20130410232857.GA10264@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: Segmentation fault with core dump  (Joshua Berry <yoberi@gmail.com>)
Ответы Re: Segmentation fault with core dump
Список pgsql-general
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
Дата:
Сообщение: Re: Segmentation fault with core dump
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Segmentation fault with core dump