pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: sector119@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14997: Get segmentation fault on select sum(bigint_field)
Date: Wed, 03 Jan 2018 10:08:42 -0500
Message-ID: <11865.1514992122@sss.pgh.pa.us> (raw)
In-Reply-To: <20180103121632.10221.98596@wrigleys.postgresql.org>
References: <20180103121632.10221.98596@wrigleys.postgresql.org>

=?utf-8?q?PG_Bug_reporting_form?= <noreply@postgresql.org> writes:
> I get :

> Program received signal SIGSEGV, Segmentation fault.
> int8_avg_combine (fcinfo=0x55bec3fdbc28) at
> ./build/../src/backend/utils/adt/numeric.c:4285

Judging by the location of the failure, what you're running into is
the int128 alignment problem fixed here:
https://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=619a8c47da7279c186bb57cc1...

That will be in next month's update releases.  In the mean time,
you could avoid the problem by disabling parallel queries.
Or build from REL_10_STABLE branch tip if you'd like to test
the fix.

			regards, tom lane




view thread (11+ messages)  latest in thread

Message-ID: <11865.1514992122@sss.pgh.pa.us>
Permalink:  ../11865.1514992122@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11865.1514992122@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, sector119@gmail.com
  Subject: Re: BUG #14997: Get segmentation fault on select sum(bigint_field)
  In-Reply-To: <11865.1514992122@sss.pgh.pa.us>
  References: <20180103121632.10221.98596@wrigleys.postgresql.org> <11865.1514992122@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