Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4rpW-0003Gs-Az for pgsql-hackers@arkaria.postgresql.org; Wed, 18 Oct 2017 17:08:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1e4rpV-0002tX-MF for pgsql-hackers@arkaria.postgresql.org; Wed, 18 Oct 2017 17:08:29 +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 1e4rnw-00008d-OU for pgsql-hackers@postgresql.org; Wed, 18 Oct 2017 17:06:52 +0000 Received: from mail-io0-x231.google.com ([2607:f8b0:4001:c06::231]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1e4rnp-0006GT-Rr for pgsql-hackers@postgresql.org; Wed, 18 Oct 2017 17:06:51 +0000 Received: by mail-io0-x231.google.com with SMTP id e89so6971238ioi.11 for ; Wed, 18 Oct 2017 10:06:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=wXzYFGnFSYntM9IO5SeHcVBvnF+DgsFzD2WLf9W1nPI=; b=fxWjYyHy7nKvXd2nkxuBHpe/ZQuNCSMnAQLiFvsB6ERof8YqLHvn/3Wwv4y04Vsfrm lV3DkoX8GxURBpoKh4ydwYS0P/1M2RzdIsmTvYecQW+WG2CswWz8/IDhWajSmZrkkG32 2oxbZiVqKg+C1OLHbZIiNOKvahrdKHzl+N9UgeGEXs4vaeIz1ql0Vp0XxhIzFoHkdHSK pTFlio46Gh1E5tU/n6ugIAJJCqywhpxvvmnAr1AtrwRssTdvmnbV64Eg4DbY189p6LhG kYu1yQ4FCHxNZv8FLz7J+vaU4wd0mbiFUuC/Ms572PaD55p1vCOKx+pEydhA1Anv++89 qLQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=wXzYFGnFSYntM9IO5SeHcVBvnF+DgsFzD2WLf9W1nPI=; b=DtI+yCDqjbqXJXMaHnBXnSc9y7l1BaBQS9G2Fot2UEF9OXyrttcrsLqewDQZZ1RAsa YC+fFHMrXmVgB0lqIq428j8d6cGPvjAeVcdPPceem9geHPvkuEUo1Mr4A6rOzAkGV7rN bEY5BkSorVnfLmw2ye2sACV1veLBFbdwB1ybV1GHgoz6K0K69Tt0bpC2qwfUO0gX9nJd AA9ZPHPLMJvqBkw3ihi9cxgxCcJYXxuxBSeXFAgY5mM4Zq5XGHmQ5uW+yxe2+G2O5/Ae h2YIU7i2o7hc95w4mt6KAvYVGLhidwELlVOWk/KbUqv55HLZf3Spx0+a+QpKmhMgTsjd RYwA== X-Gm-Message-State: AMCzsaW3u4w1GaTQ+izBSODdfxSNoICF4micnkvkSu/zCxqg9LD3tNS3 j9rsX7/KBRs2wyHci2ZRfNFRjg== X-Google-Smtp-Source: AOwi7QDN6QrziKojflSS3aS3A85yAD1wQeDTf6IxZ3Dl1RiZFv06P9oGrULIJnf4iyRCsWuGAkiDKw== X-Received: by 10.107.36.80 with SMTP id k77mr21239774iok.176.1508346404548; Wed, 18 Oct 2017 10:06:44 -0700 (PDT) Received: from pryzbyj (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id c28sm6285271iod.48.2017.10.18.10.06.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Oct 2017 10:06:43 -0700 (PDT) Received: by pryzbyj (Postfix, from userid 1000) id 7A98180129D; Wed, 18 Oct 2017 12:06:42 -0500 (CDT) Date: Wed, 18 Oct 2017 12:06:42 -0500 From: Justin Pryzby To: Alvaro Herrera Cc: Tom Lane , pgsql-hackers@postgresql.org Subject: Re: SIGSEGV in BRIN autosummarize Message-ID: <20171018170642.GD17895@telsasoft.com> References: <20171018164855.GC17895@telsasoft.com> <20171018165409.2cznyyugvqigtktt@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171018165409.2cznyyugvqigtktt@alvherre.pgsql> User-Agent: Mutt/1.5.23 (2014-03-12) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On Wed, Oct 18, 2017 at 06:54:09PM +0200, Alvaro Herrera wrote: > Justin Pryzby wrote: > > > No crashes in ~28hr. It occurs to me that it's a weaker test due to not > > preserving most compilation options. > > And the previous code crashes in 45 minutes? That's solid enough for > me; I'll clean up the patch and push in the next few days. I think what > you have now should be sufficient for the time being for your production > system. No - the crash happened 4 times since adding BRIN+autosummarize 6 days ago, and in once instance occured twice within 3 hours (while I was trying to query logs for the preceding crash). [pryzbyj@database ~]$ sudo grep -hE 'in postgres|Saved core' /var/log/messages* Oct 13 17:22:45 database kernel: postmaster[32127] general protection ip:4bd467 sp:7ffd9b349990 error:0 in postgres[400000+692000] Oct 13 17:22:47 database abrt[32387]: Saved core dump of pid 32127 (/usr/pgsql-10/bin/postgres) to /var/spool/abrt/ccpp-2017-10-13-17:22:47-32127 (15040512 bytes) Oct 14 18:05:35 database kernel: postmaster[26500] general protection ip:84a177 sp:7ffd9b349b88 error:0 in postgres[400000+692000] Oct 14 18:05:35 database abrt[27564]: Saved core dump of pid 26500 (/usr/pgsql-10/bin/postgres) to /var/spool/abrt/ccpp-2017-10-14-18:05:35-26500 (24137728 bytes) Oct 16 23:21:22 database kernel: postmaster[31543] general protection ip:4bd467 sp:7ffe08a94890 error:0 in postgres[400000+692000] Oct 16 23:21:22 database abrt[570]: Saved core dump of pid 31543 (/usr/pgsql-10/bin/postgres) to /var/spool/abrt/ccpp-2017-10-16-23:21:22-31543 (25133056 bytes) Oct 17 01:58:36 database kernel: postmaster[8646]: segfault at 8 ip 000000000084a177 sp 00007ffe08a94a88 error 4 in postgres[400000+692000] Oct 17 01:58:38 database abrt[9192]: Saved core dump of pid 8646 (/usr/pgsql-10/bin/postgres) to /var/spool/abrt/ccpp-2017-10-17-01:58:38-8646 (7692288 bytes) > > If I understand, our crash isn't explained by the avw_database test > > anyway (?) > > I don't see why you would think that -- I disagree. No problem - apparently I read too far into Tom's thoughts regarding memory context. I'll continue runnning with the existing patch and come back if the issue recurs. Thanks Justin -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers