pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <craig@postnewspapers.com.au>
To: Balamurugan Mahendran <balamurugan@adaptavant.com>
To: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #5773: DEBUG: reaping dead processes DEBUG: server process (PID 10007) was terminated by signal 11: Segme
Date: Sat, 27 Nov 2010 17:23:34 +0800
Message-ID: <4CF0CE16.90402@postnewspapers.com.au> (raw)
In-Reply-To: <AANLkTin0Zy-_tRWSxA0sGqG3Kh91jQeXSgMJRgFCjxCk@mail.gmail.com>
References: <201011261806.oAQI6r12007257@wwwmaster.postgresql.org>
	<4CF04942.6000301@postnewspapers.com.au>
	<AANLkTin0Zy-_tRWSxA0sGqG3Kh91jQeXSgMJRgFCjxCk@mail.gmail.com>

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/



view thread (17+ messages)  latest in thread

Message-ID: <4CF0CE16.90402@postnewspapers.com.au>
Permalink:  ../4CF0CE16.90402@postnewspapers.com.au/
Also on:    postgresql.org/message-id/4CF0CE16.90402@postnewspapers.com.au

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: craig@postnewspapers.com.au, balamurugan@adaptavant.com
  Subject: Re: BUG #5773: DEBUG: reaping dead processes DEBUG: server process (PID 10007) was terminated by signal 11: Segme
  In-Reply-To: <4CF0CE16.90402@postnewspapers.com.au>
  References: <201011261806.oAQI6r12007257@wwwmaster.postgresql.org> <4CF04942.6000301@postnewspapers.com.au> <AANLkTin0Zy-_tRWSxA0sGqG3Kh91jQeXSgMJRgFCjxCk@mail.gmail.com> <4CF0CE16.90402@postnewspapers.com.au>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox