Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 5EC1F1337B83 for ; Sat, 27 Nov 2010 05:23:57 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 16797-07 for ; Sat, 27 Nov 2010 09:23:50 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from www.postnewspapers.com.au (www.postnewspapers.com.au [173.230.139.50]) by mail.postgresql.org (Postfix) with ESMTP id 470221337B77 for ; Sat, 27 Nov 2010 05:23:50 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by www.postnewspapers.com.au (Postfix) with ESMTP id 955DD14B1; Sat, 27 Nov 2010 04:23:49 -0500 (EST) X-Virus-Scanned: amavisd-new at postnewspapers.com.au.com Received: from www.postnewspapers.com.au ([127.0.0.1]) by localhost (www.postnewspapers.com.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 45k530pP4P1h; Sat, 27 Nov 2010 04:23:48 -0500 (EST) Received: from mail.postnewspapers.com.au (ppp171-128.static.internode.on.net [150.101.171.128]) by www.postnewspapers.com.au (Postfix) with ESMTP id 7C9C927; Sat, 27 Nov 2010 04:23:48 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.postnewspapers.com.au (Postfix) with ESMTP id 6710DAEC25; Sat, 27 Nov 2010 17:23:47 +0800 (WST) X-Virus-Scanned: Debian amavisd-new at postnewspapers.com.au Received: from mail.postnewspapers.com.au ([127.0.0.1]) by localhost (mail.postnewspapers.com.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id X73kYWlPQ1T1; Sat, 27 Nov 2010 17:23:41 +0800 (WST) Received: from [10.1.1.3] (58-7-167-58.dyn.iinet.net.au [58.7.167.58]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client CN "Craig Ringer", Issuer "POST Certificate Authority" (verified OK)) by mail.postnewspapers.com.au (Postfix) with ESMTPSA id 4EA9CAEAEA; Sat, 27 Nov 2010 17:23:41 +0800 (WST) Message-ID: <4CF0CE16.90402@postnewspapers.com.au> Date: Sat, 27 Nov 2010 17:23:34 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: Balamurugan Mahendran , pgsql-bugs Subject: Re: BUG #5773: DEBUG: reaping dead processes DEBUG: server process (PID 10007) was terminated by signal 11: Segme References: <201011261806.oAQI6r12007257@wwwmaster.postgresql.org> <4CF04942.6000301@postnewspapers.com.au> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201011/174 X-Sequence-Number: 28754 On 27/11/2010 5:09 PM, Balamurugan Mahendran wrote: > Program received signal SIGQUIT, Quit. That's a signal 3 (SIGQUIT). You said you were getting signal 11 (SIGSEGV) crashes. Are you sure this is the same thing? I suspect you've connected to one of the other backends, not the backend that actually crashes. You need to identify which one gets the SIGSEGV. It may be a short-lived autovacuum worker, in which case you'll have a hard time getting gdb attached to it before it goes splat. If you do manage to get gdb connected to the crashing backend, instead of just continuing after gdb pauses at the fatal signal (SIGSEGV), type at the (gdb) prompt: bt then press enter. You may instead want to enable core dumps as per the instructions on the same page: http://wiki.postgresql.org/wiki/Getting_a_stack_trace_of_a_running_PostgreSQL_backend_on_Linux/BSD ... then run gdb on the core dump after the crash. That can potentially be easier if the crashing backend isn't the one doing the COPY. -- Craig Ringer Tech-related writing at http://soapyfrogs.blogspot.com/