Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UQ3Pb-0004UO-DE for pgsql-general@arkaria.postgresql.org; Wed, 10 Apr 2013 22:22:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UQ3Pa-0002xN-Q0 for pgsql-general@arkaria.postgresql.org; Wed, 10 Apr 2013 22:22:38 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UQ3PZ-0002xG-Hb for pgsql-general@postgresql.org; Wed, 10 Apr 2013 22:22:37 +0000 Received: from moutng.kundenserver.de ([212.227.126.171]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UQ3PW-0001qB-Uu for pgsql-general@postgresql.org; Wed, 10 Apr 2013 22:22:36 +0000 Received: from anarazel.de (p5DDC610D.dip.t-dialin.net [93.220.97.13]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0Lby3Y-1UpB0w0QPk-00je5d; Thu, 11 Apr 2013 00:22:34 +0200 Received: by anarazel.de (Postfix, from userid 1000) id 477751C00F7; Thu, 11 Apr 2013 00:22:33 +0200 (CEST) Date: Thu, 11 Apr 2013 00:22:33 +0200 From: Andres Freund To: Joshua Berry Cc: PostgreSQL - General Subject: Re: Segmentation fault with core dump Message-ID: <20130410222233.GB7547@awork2.anarazel.de> References: <20130410214929.GA7547@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:yMoNqhBDzaIWb5opNlQ8wTshnLMPtyUWRCwkkyN80ks 46wlsq9tg3u2XGscY0vcd7onmOM52thDiYW9aTm05ub3iTYcZT 0xIE0Y/67UOLVXtgv7bMkPcbrkv7prcxzMbkAIQSARUhiRHXri Ev+dJdJ8nmof8pk03VRvQKkscL5ttLVhKUDGJRrF/d9Og21f+D XG8tAx98wJVcH8PcygYIIgCuCz8zp3kacAKFVgt902yGix3Bjx L58cu7KSj74pYWBJeS+lAjhhM3l4X5gu3Ru70BltWErIT02Yk3 QjH+XEs1aE56TZTLou3gHEXZcyf2uavmyLiAcdxkfCtMNRqWEG D+3lMknBe0Qcqw8RrKtbYWwssVp8X/BvHzaKmHF2W 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 16:53:12 -0500, Joshua Berry wrote: > #7 0x0000000000638c78 in PortalRun (portal=0x2aa9360, count=10, > isTopLevel=1 '\001', dest=0x2a50c40, altdest=0x2a50c40, > completionTag=0x7fffd193d0f0 "") at pquery.c:787 > save_exception_stack = 0x7fffd193cfe0 > save_context_stack = 0x0 > local_sigjmp_buf = {{__jmpbuf = {140736709513424, > 8412518331319730861, > 44733280, 0, 4294967295, 3, -8412469024494566739, > 8412517527857939117}, __mask_was_saved = 0, __saved_mask = { > __val = {76, 44316880, 5, 0, 44804496, 767, 5, 0, 4294967295, > 3, > 5565893, 11495616, 4746857, 140736709513424, > 140736709513424, > 0}}}} > result = > nprocessed = > saveTopTransactionResourceOwner = 0x2a439e0 > saveTopTransactionContext = 0x2a438d0 > saveActivePortal = 0x0 > saveResourceOwner = 0x2a439e0 > savePortalContext = 0x0 > saveMemoryContext = 0x2a438d0 > __func__ = "PortalRun" Ok, so while we have a valid resource owner up to here, portal->resonwer is NULL. Could you 'up' until youre in this frame and then do 'print *portal'? 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