Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4sKM-0005o6-F1 for pgsql-hackers@arkaria.postgresql.org; Wed, 18 Oct 2017 17:40:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1e4sKL-0004QX-TY for pgsql-hackers@arkaria.postgresql.org; Wed, 18 Oct 2017 17:40:21 +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 1e4sKK-0004O1-7m for pgsql-hackers@postgresql.org; Wed, 18 Oct 2017 17:40:20 +0000 Received: from mail-io0-x231.google.com ([2607:f8b0:4001:c06::231]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1e4sKC-0001qO-Uc for pgsql-hackers@postgresql.org; Wed, 18 Oct 2017 17:40:19 +0000 Received: by mail-io0-x231.google.com with SMTP id h70so7091961ioi.4 for ; Wed, 18 Oct 2017 10:40:12 -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=T/+Wep23vzcffux6ymb1Ob9XoQmOY3sKw5LtNDUuthI=; b=ABVAZ4NOG9a0PXb1ojAr9tSQ7PEnWVuU3PgEWxQnQCglXVTXpxeQOc89vJ/5qmk73F gC+b4Wco2wUV0yzEHiRMoaV26jXG6+vQpMjx6lyQGiMEtJmtF7hgaFXaXmWxZpA2K1Zv qMOkD9xVZUbdCPor9nbrxhiWNbiY0CQpmeiZpWmff+tJ5Xq27Kdo4xdefUXhlUfjR39v IOkc0RoF9cxWD5kh+I0vCydstnGK/7wV/VPsGHTpOo63jxPFIdbaja04btSjCMBaFR/N XnlJjdziDNbYhNo4nD0b57pC60F95UgbG4FSOPnPC+bdj7+faFlldbT43HodIW3zhlPi u+pA== 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=T/+Wep23vzcffux6ymb1Ob9XoQmOY3sKw5LtNDUuthI=; b=FkHavi0h1kOExJ0Z+38Wk/cBSLmycKqX8AqvFgIZD96YQuw6XUw1wPVWGHOuXO48lx rvs94RfCo7E6U0x91xApEc4Kap5QdnONnmFoLILhciJg2aN8o/0SvHm8ss6kyzgKRXll Q/N32vE7nTb6q2DDP9ZquBafBGOzvEn4X6yXy28FDh6MQodu0CWNsPfKcwLQgEGpnIMg Jb4oqAZ29aFc2TE8N4aSTJSaYB9gg8K70hz9sJKLnvPh1QA8FzvjACSFIBtx6WFo4+IC J2Wf/5NibJoktPdFEo5iAXzYNVFoDkpl83ljO146IvIsQErdks/qwi9oQTE0EyRxF4Zl 79hQ== X-Gm-Message-State: AMCzsaU9fIzhkGgytrGWBh/Ys/L7/RGDK+/guA66RC4iYDjyRaTjvVGo Gw/7c1nrN0eVfAFYY1mg51tOqg== X-Google-Smtp-Source: ABhQp+SLjPOq/jjgT+lopzj+2eNVHVBABy4v2tdoIyTKUeN4LN8b3MTCSgzP5nXKP9B40C4glXgdEw== X-Received: by 10.107.69.14 with SMTP id s14mr23233740ioa.113.1508348411249; Wed, 18 Oct 2017 10:40:11 -0700 (PDT) Received: from pryzbyj (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id h95sm6222231ioi.36.2017.10.18.10.40.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Oct 2017 10:40:10 -0700 (PDT) Received: by pryzbyj (Postfix, from userid 1000) id AD750801116; Wed, 18 Oct 2017 12:40:09 -0500 (CDT) Date: Wed, 18 Oct 2017 12:40:09 -0500 From: Justin Pryzby To: Alvaro Herrera Cc: Tom Lane , pgsql-hackers@postgresql.org Subject: Re: SIGSEGV in BRIN autosummarize Message-ID: <20171018174009.GE17895@telsasoft.com> References: <20171018170642.GD17895@telsasoft.com> <20171018172227.qa2pbutwwvsvazg3@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171018172227.qa2pbutwwvsvazg3@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 07:22:27PM +0200, Alvaro Herrera wrote: > Do you still have those core dumps? If so, would you please verify the > database that autovacuum was running in? Just open each with gdb (using > the original postgres binary, not the one you just installed) and do > "print MyDatabaseId". [pryzbyj@database ~]$ gdb ccpp-2017-10-16-23:21:22-31543/coredump -ex 'p MyDatabaseId' -ex q 2>/dev/null |tail -5 Core was generated by `postgres: autovacuum worker process gtt '. Program terminated with signal 11, Segmentation fault. #0 index_close (relation=0x324647603246466, lockmode=1) at indexam.c:178 178 LockRelId relid = relation->rd_lockInfo.lockRelId; $1 = 16400 [pryzbyj@database ~]$ gdb ccpp-2017-10-14-18:05:35-26500/coredump -ex 'p MyDatabaseId' -ex q 2>/dev/null |tail -5 Core was generated by `postgres: autovacuum worker process gtt '. Program terminated with signal 11, Segmentation fault. #0 pfree (pointer=0x298c740) at mcxt.c:954 954 (*context->methods->free_p) (context, pointer); $1 = 16400 gtt=# SELECT oid,datname FROM pg_database; 13456 | template0 16400 | gtt 13457 | postgres 1 | template1 The gtt DB is where the (only) BRIN indicies are (not sure what to conclude from that?) Justin -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers