pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kelly Burkhart <kelly.burkhart@gmail.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Crash and core on 10.1 and 10.2
Date: Thu, 08 Mar 2018 12:00:05 -0500
Message-ID: <7369.1520528405@sss.pgh.pa.us> (raw)
In-Reply-To: <CAND8VyANL0kqeOvfbQ=zp+wHDvnJ55QnmsebAcvbepHq-iZnHg@mail.gmail.com>
References: <CAND8VyANL0kqeOvfbQ=zp+wHDvnJ55QnmsebAcvbepHq-iZnHg@mail.gmail.com>

Kelly Burkhart <kelly.burkhart@gmail.com> writes:
> Hello, I've had two core dumps in the last couple of weeks.  The most
> recent, yesterday was on version 10.2:

> (gdb) bt
> #0  0x00007f317a043886 in get_next_seq () from /lib64/libc.so.6
> #1  0x00007f317a044acc in strcoll_l () from /lib64/libc.so.6
> #2  0x00000000007ced5f in varstrfastcmp_locale ()
> #3  0x000000000081b6fb in qsort_ssup ()
> #4  0x000000000081d8e1 in tuplesort_performsort ()

Hm.  If you'd just showed this one, my thoughts might bend towards a bug
in our sort abbreviation logic, which is relatively new ...

> (gdb) bt
> #0  0x00007f6e1f09d8ea in get_next_seq () from /lib64/libc.so.6
> #1  0x00007f6e1f09eacc in strcoll_l () from /lib64/libc.so.6
> #2  0x00000000007cf70b in varstr_cmp ()
> #3  0x000000000075f25b in compareJsonbContainers ()
> #4  0x000000000075d8f2 in jsonb_eq ()

... but this stack trace is not going anywhere near that code.  The
common factor is just strcoll_l(), raising the possibility that you're
dealing with a glibc bug, or perhaps corrupted locale data on your
machine.  Are you up-to-date on glibc patches?

			regards, tom lane




view thread (3+ messages)  latest in thread

Message-ID: <7369.1520528405@sss.pgh.pa.us>
Permalink:  ../7369.1520528405@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/7369.1520528405@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-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, kelly.burkhart@gmail.com
  Subject: Re: Crash and core on 10.1 and 10.2
  In-Reply-To: <7369.1520528405@sss.pgh.pa.us>
  References: <CAND8VyANL0kqeOvfbQ=zp+wHDvnJ55QnmsebAcvbepHq-iZnHg@mail.gmail.com> <7369.1520528405@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