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

From: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: sector119(at)gmail(dot)com, PostgreSQL mailing lists <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #14997: Get segmentation fault on select sum(bigint_field)
Date: 2018-01-03 15:13:21
Message-ID: CAKJS1f-WyhELcjXAv1E2=kaUm0or4NsepB6frg+RqAoDgp93gA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 4 January 2018 at 04:08, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> =?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

Oh right, I missed that one. That makes more sense than my diagnosis. Thanks.

--
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2018-01-03 15:15:21 Re: BUG #14997: Get segmentation fault on select sum(bigint_field)
Previous Message David Rowley 2018-01-03 15:10:20 Re: BUG #14997: Get segmentation fault on select sum(bigint_field)