Re: BUG #14997: Get segmentation fault on select sum(bigint_field)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: sector119(at)gmail(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #14997: Get segmentation fault on select sum(bigint_field)
Date: 2018-01-03 15:08:42
Message-ID: 11865.1514992122@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

=?utf-8?q?PG_Bug_reporting_form?= <noreply(at)postgresql(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David Rowley 2018-01-03 15:10:20 Re: BUG #14997: Get segmentation fault on select sum(bigint_field)
Previous Message PG Bug reporting form 2018-01-03 12:16:32 BUG #14997: Get segmentation fault on select sum(bigint_field)