pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Glauco Torres <torres.glauco@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Segmentation fault with core dump
Date: Wed, 10 Jan 2018 12:41:00 -0500
Message-ID: <17271.1515606060@sss.pgh.pa.us> (raw)
In-Reply-To: <20180110173742.bvsk6rl4srprzsp4@alvherre.pgsql>
References: <20180110173742.bvsk6rl4srprzsp4@alvherre.pgsql>

Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> Tom Lane wrote:
>> Hm.  I'm not normally one to jump to the conclusion that something is a
>> compiler bug, but it's hard to explain this stack trace any other way.
>> The value of "n" passed to the inner invocation of pg_qsort should not
>> have been more than 29914, but working from either the value of d or the
>> value of pn leads to the conclusion that it was 0x7f6fa9f3a470, which
>> looks a lot more like an address in the array than a proper value of n.

> Hmm, is this something that can be explained by using a different
> postgres executable in GDB than the one that produced the core file?

That would result in nonsensical gdb output, most likely; but Glauco's
trace is internally consistent enough that I doubt gdb is lying to us.
In any case, the crash is an observable fact :-(

			regards, tom lane




view thread (32+ messages)  latest in thread

Message-ID: <17271.1515606060@sss.pgh.pa.us>
Permalink:  ../17271.1515606060@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/17271.1515606060@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, alvherre@alvh.no-ip.org, torres.glauco@gmail.com
  Subject: Re: Segmentation fault with core dump
  In-Reply-To: <17271.1515606060@sss.pgh.pa.us>
  References: <20180110173742.bvsk6rl4srprzsp4@alvherre.pgsql> <17271.1515606060@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