Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f875V-0005go-1W for pgsql-bugs@arkaria.postgresql.org; Mon, 16 Apr 2018 16:34:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f875T-0000Wd-UU for pgsql-bugs@arkaria.postgresql.org; Mon, 16 Apr 2018 16:34:39 +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.89) (envelope-from ) id 1f86Im-0008BS-Ay for pgsql-bugs@lists.postgresql.org; Mon, 16 Apr 2018 15:44:20 +0000 Received: from forward1o.cmail.yandex.net ([2a02:6b8:0:1a72::2a1]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f86Ie-00008n-Li for pgsql-bugs@lists.postgresql.org; Mon, 16 Apr 2018 15:44:19 +0000 Received: from mxback5j.mail.yandex.net (mxback5j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10e]) by forward1o.cmail.yandex.net (Yandex) with ESMTP id 80811210C7; Mon, 16 Apr 2018 18:44:10 +0300 (MSK) Received: from localhost (localhost [::1]) by mxback5j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id u6wUhsgGoe-i9kCT5Cv; Mon, 16 Apr 2018 18:44:09 +0300 Received: by web12o.yandex.ru with HTTP; Mon, 16 Apr 2018 18:44:09 +0300 From: Vitaly V. Voronov To: Peter Geoghegan Cc: PostgreSQL mailing lists In-Reply-To: References: <152296798225.31227.6026116154621550125@wrigleys.postgresql.org> <3343581523000521@web56o.yandex.ru> Subject: Re: BUG #15144: *** glibc detected *** postgres: postgres smsconsole [local] SELECT: double free or corruption (!pre MIME-Version: 1.0 Message-Id: <1938771523893449@web12o.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Mon, 16 Apr 2018 18:44:09 +0300 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello, Peter. Also from logs: *** glibc detected *** postgres: postgres smsconsole [local] SELECT: double free or corruption (!prev): 0x000000000179e370 *** ======= Backtrace: ========= /lib64/libc.so.6[0x3d22275dee] /lib64/libc.so.6[0x3d22278c80] postgres: postgres smsconsole [local] SELECT(tuplestore_end+0x17)[0x808887] postgres: postgres smsconsole [local] SELECT(ExecEndFunctionScan+0x75)[0x5e94e5] postgres: postgres smsconsole [local] SELECT(standard_ExecutorEnd+0x2e)[0x5cbaae] postgres: postgres smsconsole [local] SELECT(PortalCleanup+0x9e)[0x593d6e] postgres: postgres smsconsole [local] SELECT(PortalDrop+0x2a)[0x7fcaca] postgres: postgres smsconsole [local] SELECT[0x6e0eb2] postgres: postgres smsconsole [local] SELECT(PostgresMain+0xdcc)[0x6e256c] postgres: postgres smsconsole [local] SELECT(PostmasterMain+0x1875)[0x6823e5] postgres: postgres smsconsole [local] SELECT(main+0x7a8)[0x609fe8] /lib64/libc.so.6(__libc_start_main+0xfd)[0x3d2221ed1d] postgres: postgres smsconsole [local] SELECT[0x46c039] -- Great thanks for your answers. 10.04.2018, 22:56, "Peter Geoghegan" : > On Fri, Apr 6, 2018 at 12:42 AM, Vitaly V. Voronov wrote: >>  Sorry. I can't do this. Because, 1s - this is production and 2nd - it had been initialized as replica. >>  We use 2 server, and this server (with error) now initialized as secondary. >>  We use pgpool for switching servers. >>  And i posted full log from Postgres logs. >>  All other logs is clear. > > I won't be able to help you without this information. > > -- > Peter Geoghegan