Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eDYmJ-0000MU-8c for pgsql-bugs@arkaria.postgresql.org; Sat, 11 Nov 2017 16:37:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eDYmH-0007IR-L0 for pgsql-bugs@arkaria.postgresql.org; Sat, 11 Nov 2017 16:37:05 +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 1eDYmG-0007I2-0T for pgsql-bugs@postgresql.org; Sat, 11 Nov 2017 16:37:04 +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 1eDYmC-00007d-Fo for pgsql-bugs@postgresql.org; Sat, 11 Nov 2017 16:37:03 +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 vABGau8T000645; Sat, 11 Nov 2017 11:36:56 -0500 From: Tom Lane To: Dmitry Dolgov <9erthalion6@gmail.com> cc: Michael Paquier , Vincent Lachenal , PostgreSQL mailing lists Subject: Re: BUG #14897: Segfault on statitics SQL request In-reply-to: References: <20171110185747.31519.28038@wrigleys.postgresql.org> <1415.1510340891@sss.pgh.pa.us> <5652.1510344738@sss.pgh.pa.us> <7710.1510346813@sss.pgh.pa.us> <10197.1510349123@sss.pgh.pa.us> <14075.1510352167@sss.pgh.pa.us> <17617.1510355215@sss.pgh.pa.us> Comments: In-reply-to Dmitry Dolgov <9erthalion6@gmail.com> message dated "Sat, 11 Nov 2017 11:34:09 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <643.1510418216.1@sss.pgh.pa.us> Date: Sat, 11 Nov 2017 11:36:56 -0500 Message-ID: <644.1510418216@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Dmitry Dolgov <9erthalion6@gmail.com> writes: >> On 11 November 2017 at 09:39, Michael Paquier > wrote: >> My laptop uses Arch, and I can see the crash easily when compiling >> with gcc 7.2 which is the one bundled in the core package set > Yes, I forgot to mention, that I also used quite recent version of gcc > (GCC) 8.0.0 20170805 (experimental). Would you guys who are seeing the problem note whether the address of the int128 field is 16-aligned, or only 8-aligned? Also, it'd be real useful to see some disassembly around the point of the crash, so that we can check whether the compiler is using SIMD instructions. (Or just get the compiler to generate a numeric.s file with -S.) I'm pretty suspicious that this is where the problem is, but it would be good to have confirmation before we put effort into a fix. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs