Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eDZT4-00037g-FQ for pgsql-bugs@arkaria.postgresql.org; Sat, 11 Nov 2017 17:21:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eDZT4-00019E-1t for pgsql-bugs@arkaria.postgresql.org; Sat, 11 Nov 2017 17:21:18 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eDZT2-0000zE-Ob for pgsql-bugs@postgresql.org; Sat, 11 Nov 2017 17:21:16 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eDZT0-0007RW-GG for pgsql-bugs@postgresql.org; Sat, 11 Nov 2017 17:21:15 +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 vABHLDGK002881; Sat, 11 Nov 2017 12:21:13 -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> <644.1510418216@sss.pgh.pa.us> Comments: In-reply-to Dmitry Dolgov <9erthalion6@gmail.com> message dated "Sat, 11 Nov 2017 17:52:34 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2879.1510420873.1@sss.pgh.pa.us> Date: Sat, 11 Nov 2017 12:21:13 -0500 Message-ID: <2880.1510420873@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 17:36, Tom Lane wrote: >> Would you guys who are seeing the problem note whether the address of >> the int128 field is 16-aligned, or only 8-aligned? > __alignof__(__int128) returns 16 on my machine. The question was about the actual value of the pointer being used at the time of the crash --- %rax in the example below. > Here is the disassembly section I've got in my case: > 0x00000000007fc47d numericvar_to_int128+467 movdqa -0x60(%rbp),%xmm0 > --> 0x00000000007fc482 numericvar_to_int128+472 movaps %xmm0,(%rax) suspicious ... 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