pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomas Vondra <tomas.vondra@2ndquadrant.com>
To: nicola.contu@gmail.com
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #14835: Postgres crashed
Date: Thu, 28 Sep 2017 19:14:05 +0200
Message-ID: <ffc1ae73-0b76-9bd3-cf6f-089cc3e5d6b4@2ndquadrant.com> (raw)
In-Reply-To: <20170928154651.28557.52625@wrigleys.postgresql.org>
References: <20170928154651.28557.52625@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>



On 09/28/2017 05:46 PM, nicola.contu@gmail.com wrote:
> The following bug has been logged on the website:
> 
> Bug reference:      14835
> Logged by:          Nicola Contu
> Email address:      nicola.contu@gmail.com
> PostgreSQL version: 9.6.5
> Operating system:   Centos 6.9
> Description:        
> 
> Hello,
> after upgrading to postgres 9.6.5 in the last 3weeks we had the db crashing
> three times for the same reason :
> 
> SELECT: double free or corruption (!prev): 0x0000000001f4b440 ***
> ======= Backtrace: =========
> /lib64/libc.so.6[0x3eee675dee]
> /lib64/libc.so.6[0x3eee678c80]
> 
> 
> ======= Memory map: ========
> 00400000-009ff000 r-xp 00000000 fd:00 6431324
> /usr/local/pgsql9.6.5/bin/postgres

Yes, this seems like a bug, but it's quite unclear if it's in PostgreSQL
or due to a bug in some other library.

Please, make sure next time a core dump is generated, so that you can
inspect it,  and generate backtrace for example. You'll probably have to
do this:

1) install debuginfo packages (likely using debuginfo-install)

2) enable core files (you'll probably have to set limits in limits.conf
and set core_pattern), see [1] for details

It might also be useful to know what query was being executed at the
time of the crash - that should be logged into the PostgreSQL log.

[1] http://man7.org/linux/man-pages/man5/core.5.html

regards

-- 
Tomas Vondra                  http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Message-ID: <ffc1ae73-0b76-9bd3-cf6f-089cc3e5d6b4@2ndquadrant.com>
Permalink:  ../ffc1ae73-0b76-9bd3-cf6f-089cc3e5d6b4@2ndquadrant.com/
Also on:    postgresql.org/message-id/ffc1ae73-0b76-9bd3-cf6f-089cc3e5d6b4@2ndquadrant.com

 · 

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: tomas.vondra@2ndquadrant.com, nicola.contu@gmail.com
  Subject: Re: BUG #14835: Postgres crashed
  In-Reply-To: <ffc1ae73-0b76-9bd3-cf6f-089cc3e5d6b4@2ndquadrant.com>
  References: <20170928154651.28557.52625@wrigleys.postgresql.org> <ffc1ae73-0b76-9bd3-cf6f-089cc3e5d6b4@2ndquadrant.com>

* 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