Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eWkf1-0005De-Dy for pgsql-bugs@arkaria.postgresql.org; Wed, 03 Jan 2018 15:08:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eWkf0-0004iY-4E for pgsql-bugs@arkaria.postgresql.org; Wed, 03 Jan 2018 15:08:54 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eWkez-0004iO-Uz for pgsql-bugs@lists.postgresql.org; Wed, 03 Jan 2018 15:08:54 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eWkes-0008Pn-6L for pgsql-bugs@postgresql.org; Wed, 03 Jan 2018 15:08:53 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w03F8gWu011866; Wed, 3 Jan 2018 10:08:42 -0500 From: Tom Lane To: sector119@gmail.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14997: Get segmentation fault on select sum(bigint_field) In-reply-to: <20180103121632.10221.98596@wrigleys.postgresql.org> References: <20180103121632.10221.98596@wrigleys.postgresql.org> Comments: In-reply-to =?utf-8?q?PG_Bug_reporting_form?= message dated "Wed, 03 Jan 2018 12:16:32 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <11864.1514992122.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 03 Jan 2018 10:08:42 -0500 Message-ID: <11865.1514992122@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk =3D?utf-8?q?PG_Bug_reporting_form?=3D writes: > I get : > Program received signal SIGSEGV, Segmentation fault. > int8_avg_combine (fcinfo=3D0x55bec3fdbc28) 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=3Dpostgresql.git&a=3Dcommitdiff&h=3D6= 19a8c47da7279c186bb57cc16b26ad011366b73 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