pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Seltenreich <seltenreich@gmx.de>
To: pgsql-hackers@postgresql.org
Subject: [sqlsmith] stuck spinlock in pg_stat_get_wal_receiver after OOM
Date: Mon, 02 Oct 2017 22:56:49 +0200
Message-ID: <87h8vhtgj2.fsf@ansel.ydns.eu> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Hi,

low-memory testing with REL_10_STABLE at 1f19550a87 produced the
following PANIC:

    stuck spinlock detected at pg_stat_get_wal_receiver, walreceiver.c:1397

I was about to wrap the pstrdup()s with a PG_TRY block, but I can't find
a spinlock being released in a PG_CATCH block anywhere, so maybe that's
a bad idea?

regards,
Andreas


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



view thread (19+ messages)  latest in thread

Message-ID: <87h8vhtgj2.fsf@ansel.ydns.eu>
Permalink:  ../87h8vhtgj2.fsf@ansel.ydns.eu/
Also on:    postgresql.org/message-id/87h8vhtgj2.fsf@ansel.ydns.eu

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: seltenreich@gmx.de
  Subject: Re: [sqlsmith] stuck spinlock in pg_stat_get_wal_receiver after OOM
  In-Reply-To: <87h8vhtgj2.fsf@ansel.ydns.eu>

* 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