pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stefan Tzeggai <tzeggai@empirica-systeme.de>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Segfault 11 on PG10 with max_parallel_workers_per_gather>3
Date: Wed, 25 Oct 2017 16:41:57 -0400
Message-ID: <23727.1508964117@sss.pgh.pa.us> (raw)
In-Reply-To: <8922510d-699f-3f4d-4766-ff915e91c645@empirica-systeme.de>
References: <665b0747-6bdd-2da9-2ca3-ee06d0e71379@empirica-systeme.de>
	<15437.1508942075@sss.pgh.pa.us>
	<8922510d-699f-3f4d-4766-ff915e91c645@empirica-systeme.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Stefan Tzeggai <tzeggai@empirica-systeme.de> writes:
> I also tried to get a sensible stack trace. I attached 9 gdb to all
> postgres-pids and when I triggered the crash, two of the gdb had some
> output and produced something on 'bt'. Attached..

Those look like normal operation --- SIGUSR1 isn't a crash condition,
it's what PG normally uses to wake up a sleeping process.  If you
want to attach gdb before provoking the crash, you need to tell it
to ignore SIGUSR1 (I think "handle SIGUSR1 pass nostop noprint"
is the right incantation).

It might be easier to enable core files ("ulimit -c unlimited" before
starting the postmaster) and then gdb the core files.

> If I would be able to dump the relevant data from my db and I would be
> able to reproduce the crash with it on a fresh PG10 install - Would
> anyone have time to look at it? I guess its would no more than 50Mb...

Sure, I or somebody else would look at it.

			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 (8+ messages)  latest in thread

Message-ID: <23727.1508964117@sss.pgh.pa.us>
Permalink:  ../23727.1508964117@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23727.1508964117@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, tzeggai@empirica-systeme.de
  Subject: Re: Segfault 11 on PG10 with max_parallel_workers_per_gather>3
  In-Reply-To: <23727.1508964117@sss.pgh.pa.us>
  References: <665b0747-6bdd-2da9-2ca3-ee06d0e71379@empirica-systeme.de> <15437.1508942075@sss.pgh.pa.us> <8922510d-699f-3f4d-4766-ff915e91c645@empirica-systeme.de> <23727.1508964117@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