Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hnX5W-00032c-9y for pgsql-hackers@arkaria.postgresql.org; Tue, 16 Jul 2019 23:42:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hnX5U-0001gq-So for pgsql-hackers@arkaria.postgresql.org; Tue, 16 Jul 2019 23:42:24 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1hnX5U-0001gG-Ka for pgsql-hackers@lists.postgresql.org; Tue, 16 Jul 2019 23:42:24 +0000 Received: from resqmta-ch2-03v.sys.comcast.net ([2001:558:fe21:29:69:252:207:35]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hnX5Q-0001qX-OW for pgsql-hackers@postgresql.org; Tue, 16 Jul 2019 23:42:24 +0000 Received: from resomta-ch2-11v.sys.comcast.net ([69.252.207.107]) by resqmta-ch2-03v.sys.comcast.net with ESMTP id nWLfhca3Vgu8YnX5MhVUb0; Tue, 16 Jul 2019 23:42:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1563320536; bh=F4YRjZFWrk4J9wENEOXLD5QWjrT6urdJBhqMcB1RBZc=; h=Received:Received:Received:From:To:Subject:Date:Message-ID: MIME-Version:Content-Type; b=E3ryuTaq7eWOfo0QnmLedbA1QL+RV9/ZJVbRmsJN7UmY0wKeVHzRkusdGYZSm1p+S QbSE2N3oXCwMjiitN7b7Uo8U+awyxJkL8tlLo0tczQBFTqgHBR+JDo9PFhS0UVsKML eC98Eg+sXfM/yxwlIVMKq4r1uEWbmBSZByNtONz0YARN+Ygk14wmJh9EEK80sSF/b/ wcxeufcAD65hDVQQM38isiz4cFicO949pkk5/XX1p2C9hmJrsCU0ZCpAiVBP/oq9Jj gtDatRK9IEsABB2KJYBLRxfuqfQ/zBiWv2PkwxbT3wraTIRdnhjm2lDawaufrC4tca mnlgSEtm3iukg== Received: from jsievers.comcast.net ([12.187.116.132]) by resomta-ch2-11v.sys.comcast.net with ESMTPA id nX59hDnlGI3dLnX5AhD1za; Tue, 16 Jul 2019 23:42:14 +0000 X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgeduvddriedugddvgecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucevohhmtggrshhtqdftvghsihdpqfgfvfdppffquffrtefokffrnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfgvrhhrhicuufhivghvvghrshcuoehgshhivghvvghrshduleestghomhgtrghsthdrnhgvtheqnecukfhppeduvddrudekjedrudduiedrudefvdenucfrrghrrghmpehhvghlohepjhhsihgvvhgvrhhsrdgtohhmtggrshhtrdhnvghtpdhinhgvthepuddvrddukeejrdduudeirddufedvpdhmrghilhhfrhhomhepghhsihgvvhgvrhhsudelsegtohhmtggrshhtrdhnvghtpdhrtghpthhtohepthhomhgrshdrvhhonhgurhgrsedvnhguqhhurggurhgrnhhtrdgtohhmpdhrtghpthhtohepghhsihgvvhgvrhhsudelsegtohhmtggrshhtrdhnvghtpdhrtghpthhtohepthhhohhmrghsrdhmuhhnrhhosehgmhgrihhlrdgtohhmpdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghrshesphhoshhtghhrvghsqhhlrdhorhhgnecuvehluhhsthgvrhfuihiivgeptd X-Xfinity-VMeta: sc=-100;st=legit Received: from jsievers.enova.com (localhost [127.0.0.1]) by jsievers.comcast.net (Postfix) with ESMTP id 3773926005A; Tue, 16 Jul 2019 18:42:03 -0500 (CDT) From: Jerry Sievers To: Thomas Munro Cc: Jerry Sievers , Tomas Vondra , pgsql-hackers Subject: Re: SegFault on 9.6.14 References: <87ims2amh6.fsf@jsievers.enova.com> <20190716001529.uvpfngvxtlu5h2fr@development> <87blxuakv4.fsf@jsievers.enova.com> <20190716003449.fjegtxinhrqubysu@development> <87ftn6ojwf.fsf@jsievers.enova.com> <20190716082204.iecyfh6mhu6khdhz@development> <87blxta8c7.fsf@jsievers.enova.com> Date: Tue, 16 Jul 2019 18:42:03 -0500 In-Reply-To: (Thomas Munro's message of "Wed, 17 Jul 2019 11:11:41 +1200") Message-ID: <8736j5a6no.fsf@jsievers.enova.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Thomas Munro writes: > On Wed, Jul 17, 2019 at 11:06 AM Jerry Sievers wrote: > >> (gdb) p *scan->rs_parallel >> Cannot access memory at address 0x7fa673a54108 > > So I guess one question is: was it a valid address that's been > unexpectedly unmapped, or is the pointer corrupted? Any chance you > can strace the backend and pull out the map, unmap calls? There were about 60k lines from strace including these few... mmap(NULL, 528384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3d0127a000 mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3d01239000 mmap(NULL, 287624, PROT_READ|PROT_WRITE, MAP_SHARED, 124, 0) = 0x7f3d011f2000 mmap(NULL, 262504, PROT_READ|PROT_WRITE, MAP_SHARED, 124, 0) = 0x7f3d011b1000 munmap(0x7f3d011b1000, 262504) = 0 Thx -- Jerry Sievers Postgres DBA/Development Consulting e: postgres.consulting@comcast.net