Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGoDi-0005p2-84 for pgsql-bugs@arkaria.postgresql.org; Fri, 02 Jun 2017 15:10:34 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dGoDh-0006S9-Qz for pgsql-bugs@arkaria.postgresql.org; Fri, 02 Jun 2017 15:10:33 +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 1dGoCz-000469-WB for pgsql-bugs@postgresql.org; Fri, 02 Jun 2017 15:09:50 +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.84_2) (envelope-from ) id 1dGoCs-0002J8-Cr for pgsql-bugs@postgresql.org; Fri, 02 Jun 2017 15:09:49 +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 v52F9Zcr020964; Fri, 2 Jun 2017 11:09:35 -0400 From: Tom Lane To: Ray Warren cc: Michael Paquier , PostgreSQL mailing lists Subject: Re: BUG #14683: *** glibc detected *** SELECT: double free or corruption In-reply-to: <4DD2043D33498E4B82FF57B256C47540D56618@ex-04.aam.local> References: <20170601081104.1500.56202@wrigleys.postgresql.org> <4DD2043D33498E4B82FF57B256C47540D56618@ex-04.aam.local> Comments: In-reply-to Ray Warren message dated "Fri, 02 Jun 2017 08:43:34 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <20962.1496416175.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 02 Jun 2017 11:09:35 -0400 Message-ID: <20963.1496416175@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) 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 Ray Warren writes: > =3D=3D=3D=3D=3D=3D=3D Backtrace: =3D=3D=3D=3D=3D=3D=3D=3D=3D > /lib64/libc.so.6(+0x75dee)[0x7f1d6ba7edee] > /lib64/libc.so.6(+0x78ff6)[0x7f1d6ba81ff6] > /lib64/libc.so.6(+0x7babe)[0x7f1d6ba84abe] > /lib64/libc.so.6(realloc+0x158)[0x7f1d6ba84f08] > postgres: postgres etms 172.30.8.63(53338) SELECT[0x7c8d72] > postgres: postgres etms 172.30.8.63(53338) SELECT(repalloc+0x25)[0x7c9295] > postgres: postgres etms 172.30.8.63(53338) SELECT(enlargeStringInfo+0x4e)= [0x5e505e] > postgres: postgres etms 172.30.8.63(53338) SELECT(appendStringInfoChar+0x= 28)[0x5e5178] > postgres: postgres etms 172.30.8.63(53338) SELECT[0x7a6724] > postgres: postgres etms 172.30.8.63(53338) SELECT(EmitErrorReport+0xa2f)[= 0x7a963f] > postgres: postgres etms 172.30.8.63(53338) SELECT(errfinish+0x8d)[0x7a97d= d] > postgres: postgres etms 172.30.8.63(53338) SELECT(FileClose+0x1c5)[0x6966= d5] > postgres: postgres etms 172.30.8.63(53338) SELECT(BufFileClose+0x32)[0x69= 8652] > postgres: postgres etms 172.30.8.63(53338) SELECT(ExecHashJoin+0x31b)[0x5= ce60b] > postgres: postgres etms 172.30.8.63(53338) SELECT(ExecProcNode+0x168)[0x5= bc9f8] > postgres: postgres etms 172.30.8.63(53338) SELECT(ExecSort+0xf9)[0x5d86c9] > postgres: postgres etms 172.30.8.63(53338) SELECT(ExecProcNode+0x148)[0x5= bc9d8] These stack traces would be a lot more useful if you had debug symbols installed, I think. This trace is rather unusual because it appears to show FileClose trying to log something. That would be expected if you have log_temp_files enabled, but otherwise it would indicate an unexpected failure. More generally, what nondefault configuration settings are you using, and do you have any extensions installed? regards, tom lane --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs