Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cKa3c-000696-D5 for pgsql-bugs@arkaria.postgresql.org; Sat, 24 Dec 2016 00:19:28 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cKa3b-0003K9-QC for pgsql-bugs@arkaria.postgresql.org; Sat, 24 Dec 2016 00:19:27 +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 1cKa3b-0003K0-BL for pgsql-bugs@postgresql.org; Sat, 24 Dec 2016 00:19:27 +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 1cKa3T-00080N-My for pgsql-bugs@postgresql.org; Sat, 24 Dec 2016 00:19:26 +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 uBO0JFBF002104; Fri, 23 Dec 2016 19:19:15 -0500 From: Tom Lane To: fabris@colliniconsulting.it cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14475: buffer overflow and segmentation fault In-reply-to: <20161223225431.10141.34562@wrigleys.postgresql.org> References: <20161223225431.10141.34562@wrigleys.postgresql.org> Comments: In-reply-to fabris@colliniconsulting.it message dated "Fri, 23 Dec 2016 22:54:31 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2102.1482538755.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 23 Dec 2016 19:19:15 -0500 Message-ID: <2103.1482538755@sss.pgh.pa.us> X-Pg-Spam-Score: -5.0 (-----) 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 fabris@colliniconsulting.it writes: > Hi, not sure if the root cause is posgres or bulkload. All I have are lin= es > of log > The failed query runs ( usually ) regularly several time a day Can't do anything about this with this level of detail, although I'd suggest that the backtrace tends to point the finger at pg_bulkload: > /lib64/libc.so.6(__fortify_fail+0x37)[0x7feb01837597]=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > /lib64/libc.so.6(+0x10c750)[0x7feb01835750] > /lib64/libc.so.6(+0x10e507)[0x7feb01837507] > /usr/pgsql-9.6/lib/pg_bulkload.so(+0x15ef6)[0x7feaedc86ef6] > /usr/pgsql-9.6/lib/pg_bulkload.so(+0x12b8b)[0x7feaedc83b8b] > /usr/pgsql-9.6/lib/pg_bulkload.so(pg_bulkload+0x615)[0x7feaedc7f1a5] If you can get a more symbolic trace it would doubtless help the pg_bulkload crew analyze this. See advice about adding symbols at https://wiki.postgresql.org/wiki/Getting_a_stack_trace_of_a_running_Postgre= SQL_backend_on_Linux/BSD 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