Re: BUG #14997: Get segmentation fault on select sum(bigint_field) - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #14997: Get segmentation fault on select sum(bigint_field)
Date
Msg-id 11865.1514992122@sss.pgh.pa.us
Whole thread Raw
In response to BUG #14997: Get segmentation fault on select sum(bigint_field)  (PG Bug reporting form <noreply@postgresql.org>)
Responses Re: BUG #14997: Get segmentation fault on select sum(bigint_field)
Re: BUG #14997: Get segmentation fault on select sum(bigint_field)
List pgsql-bugs
=?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=619a8c47da7279c186bb57cc16b26ad011366b73

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


pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #14997: Get segmentation fault on select sum(bigint_field)
Next
From: David Rowley
Date:
Subject: Re: BUG #14997: Get segmentation fault on select sum(bigint_field)