Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UQ4Rr-0001Sc-Q3 for pgsql-general@arkaria.postgresql.org; Wed, 10 Apr 2013 23:29:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UQ4Rr-0008Ry-7S for pgsql-general@arkaria.postgresql.org; Wed, 10 Apr 2013 23:29:03 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UQ4Rq-0008Rt-9e for pgsql-general@postgresql.org; Wed, 10 Apr 2013 23:29:02 +0000 Received: from moutng.kundenserver.de ([212.227.126.186]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UQ4Rm-0000a7-Pe for pgsql-general@postgresql.org; Wed, 10 Apr 2013 23:29:01 +0000 Received: from anarazel.de (p5DDC610D.dip.t-dialin.net [93.220.97.13]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0LiIi3-1UuxGz0YHD-00nLsd; Thu, 11 Apr 2013 01:28:58 +0200 Received: by anarazel.de (Postfix, from userid 1000) id 427031C00F7; Thu, 11 Apr 2013 01:28:57 +0200 (CEST) Date: Thu, 11 Apr 2013 01:28:57 +0200 From: Andres Freund To: Joshua Berry Cc: PostgreSQL - General Subject: Re: Segmentation fault with core dump Message-ID: <20130410232857.GA10264@awork2.anarazel.de> References: <20130410214929.GA7547@awork2.anarazel.de> <20130410222233.GB7547@awork2.anarazel.de> <20130410231358.GC7547@awork2.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Provags-ID: V02:K0:XH1fW+TLLlg9uMRUEkpNaM8pQdyYDwLaDuE/sXymJzV 1XrbbADn8u986z+oWQHYoqYYOVTfpE95boDZA5G7gXXCQKze3f bi8a2MBUt48F6AHq5/O0uUczOLwQHAb3ao0vSl/jNclyN97R2B gV5w0K0DRNP9aBdeYLNmIdS3CKefmNX4IKCD/O8oFn/iYrhxYU xAYGRYCLrz8z0UBwRKpRndxOZa5o7Xdx2Xm+7AJGCt+/FFKWjA Grx7Uty7uypdHuF0DizQIwpbuaAJ9XuPky1ULt8LYqq49zGLv5 zRvGhU/kfhj2hfH/fl2M/QxmA5Ipq/4KZVXtJsA3FHjYNY1VSy UhG75WGueMjXiVF69Cl0LrCmNX65j+RB7CTV0aKBY X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org 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 -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general