pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Rick Otten <rottenwindfish@gmail.com>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-bugs@postgresql.org>
Subject: Re: signal 11 segfaults with parallel workers
Date: Thu, 27 Jul 2017 20:48:24 -0400
Message-ID: <13841.1501202904@sss.pgh.pa.us> (raw)
In-Reply-To: <CAMAYy4JNUxy41CZh0rrCBkbDyX=z_fNeTyPwg_0X4f01oM_jKg@mail.gmail.com>
References: <CAMAYy4J0AkJacQjcPYE4o+k-Sx=4vA36eEQj3e-h+cpNe+LAzw@mail.gmail.com>
	<CAB7nPqR4d3uvRZWHN94M13CiqnvBBywug9AZsMmi8P4TCqA8MQ@mail.gmail.com>
	<CAMAYy4KBharY03QrodHPc33A7yo19g+QAN-2LXJqDNKWGd-aUw@mail.gmail.com>
	<9144.1501083802@sss.pgh.pa.us>
	<CAMAYy4K66ZXoOKKHXb3Tm8RL-PYydg_YfZzFJxFDE8U+fn-yNw@mail.gmail.com>
	<CAMAYy4JNUxy41CZh0rrCBkbDyX=z_fNeTyPwg_0X4f01oM_jKg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Rick Otten <rottenwindfish@gmail.com> writes:
> Is enabling DEBUG in the postgresql.conf sufficient to enable debug symbols
> in the core, or do I have to rebuild the postgresql binaries to get that?

You would need to recompile (with --enable-debug added to configure
switches) if they're not there already.  But if you used somebody's
packaging rather than a homebrew build, you can probably get the
symbols installed without doing your own build.

> Is the core of any use without debug symbols enabled?

You should still be able to get a stack trace out of it, but the trace
would be much more informative with debug symbols.  See
https://wiki.postgresql.org/wiki/Getting_a_stack_trace_of_a_running_PostgreSQL_backend_on_Linux/BSD

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (24+ messages)  latest in thread

Message-ID: <13841.1501202904@sss.pgh.pa.us>
Permalink:  ../13841.1501202904@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13841.1501202904@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, rottenwindfish@gmail.com, michael.paquier@gmail.com
  Subject: Re: signal 11 segfaults with parallel workers
  In-Reply-To: <13841.1501202904@sss.pgh.pa.us>
  References: <CAMAYy4J0AkJacQjcPYE4o+k-Sx=4vA36eEQj3e-h+cpNe+LAzw@mail.gmail.com> <CAB7nPqR4d3uvRZWHN94M13CiqnvBBywug9AZsMmi8P4TCqA8MQ@mail.gmail.com> <CAMAYy4KBharY03QrodHPc33A7yo19g+QAN-2LXJqDNKWGd-aUw@mail.gmail.com> <9144.1501083802@sss.pgh.pa.us> <CAMAYy4K66ZXoOKKHXb3Tm8RL-PYydg_YfZzFJxFDE8U+fn-yNw@mail.gmail.com> <CAMAYy4JNUxy41CZh0rrCBkbDyX=z_fNeTyPwg_0X4f01oM_jKg@mail.gmail.com> <13841.1501202904@sss.pgh.pa.us>

* 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