Re: Segmentation fault with core dump - Mailing list pgsql-general

From Andres Freund
Subject Re: Segmentation fault with core dump
Date
Msg-id 20130410232857.GA10264@awork2.anarazel.de
Whole thread Raw
In response to Re: Segmentation fault with core dump  (Joshua Berry <yoberi@gmail.com>)
Responses Re: Segmentation fault with core dump
List 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 by date:

Previous
From: Joshua Berry
Date:
Subject: Re: Segmentation fault with core dump
Next
From: Tom Lane
Date:
Subject: Re: Segmentation fault with core dump