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 1iWrpZ-0005VW-Vk for pgsql-bugs@arkaria.postgresql.org; Tue, 19 Nov 2019 00:57:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iWrpX-000205-8a for pgsql-bugs@arkaria.postgresql.org; Tue, 19 Nov 2019 00:57:19 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iWrpV-0001zy-Cc for pgsql-bugs@lists.postgresql.org; Tue, 19 Nov 2019 00:57:19 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iWrpO-0007gD-65 for pgsql-bugs@lists.postgresql.org; Tue, 19 Nov 2019 00:57:16 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 4333D523; Mon, 18 Nov 2019 19:57:08 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 18 Nov 2019 19:57:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=wOj8nWvkHcLEXLE7FQnaxTMMh++ XW1aQyNQS3EpGZzw=; b=RicDBf3AkFtKTKG0dCeyLhuo6iz1tpEM6b2PQkte6Pp bWQTOg99GIbk2DnlZPgApnyMEbHbYevFChl0W1wK+v0FDeZ3lWg7ugbcuBhQkGyi kX2BMNszGWOVz0ysxbW+BsObnaE7DM+KejX1SAdSenq++uwYqbOTNrvKDAi85OFy Hr+v8Y4GHRf2gHxvinUclpWrqCQW0NRkJ6xP2LNVX0LdAdf+QIWh+5v+3edgHVXP SzZpHOiBruOblzWnVawGJExaiehTtzHYO36pyB5Vf8PDZgsnSD1GupBGNWNpXYJA zfkmzsKC9Fsr5egGofFIsLgVLDhZkH5zywxXjUhLKGw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=wOj8nW vkHcLEXLE7FQnaxTMMh++XW1aQyNQS3EpGZzw=; b=f7DFqIh7b3hpyNc/h6MqjR nB+3kOH1txsR8JLLig6RZb4ZvPN37UbL+n1YZ8fzXzA25F18L8qodhk9L7K+GzmG ia43SpWKJMpYXZTvEJ1C1cVlEcJrfq8TX7mjL1m16tADfXnx3lD0JgNdziliEp8P e9N7U2iohsu/Gu7vHq/Wp/QZHxWtxPKpV3i15XACa9cmSJ2my/Nc/KBe9qtCJn1M KriUX+3MM/67kIUmzURuJ1rgHMuRJKAXU19Rv337Jt+wiTZ2vgVUyXtsIKRdCzgg dfK9v9ukI50n1pncavQ6WOxsXkkKbeq7AhjgwAWGOm3jrhgStT/T7lfhBF8PS43w == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudegjedgvdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucfkphepudduuddruddtvddrudektddrudekheenucfrrghr rghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiienucevlh hushhtvghrufhiiigvpedt X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id B9E08306005E; Mon, 18 Nov 2019 19:57:05 -0500 (EST) Date: Tue, 19 Nov 2019 09:57:02 +0900 From: Michael Paquier To: Adam Scott Cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16122: segfault pg_detoast_datum (datum=0x0) at fmgr.c:1833 numrange query Message-ID: <20191119005702.GA1614@paquier.xyz> References: <16122-eb35bc248c806c15@postgresql.org> <20191118045020.GC1543@paquier.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="HcAYCG3uE/tztfnV" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --HcAYCG3uE/tztfnV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 18, 2019 at 02:51:25PM -0800, Adam Scott wrote: >> Did you see that after updating to 10.11. If you used 10.10 or >> an older version, did the problem happen? > > Originally this first was discovered on Centos 7, PG 10.10, then loaded t= he > 40gb table on 10.11 on Ubuntu. Which means that prior 10.9 you used this query, but did not notice anything? Or is 10.10 the first version in the 10.X series you used? >> Seeing the plan of your query may help as well. Could you run EXPLAIN >> on it or does it crash before? Perhaps a parallel plan is involved >> here? > Explain plan works fine with no crash I was also wondering about the shape of the plan selected here. The crash happens when doing some selectivity on the clause when working on a plan, but it could help. > I've done a binary search to find out where the error occurs in the data, > but no luck. It seems intermittent now. Finally, I was able to reproduce > the error repeatably with a blank table: >=20 > Stop and start postgres from fresh, and then run this query (notice, I > removed a sarg from the originally supplied query): > select id from natica_hdu_test > WHERE > "dec_range" <@ '[88.9999998611111,90.0000001388889)'; Thanks. I can see that you have provided a dump on the other part of the thread. Let's continue from that. -- Michael --HcAYCG3uE/tztfnV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl3TPd4ACgkQnvQgOdby QH0HDQ/+NRLwjf2E07rLkLKAZvD9SfrgrlxKzUCmNd1/bw2F1acQmePVyi3TRceJ N+vR4eUoUeCAhPahpPd4AeNopMJ+xzOyq2rYzMOdwakenFqST5Fk8U3A4pwew9r0 G0CLJ0to6UNb99aynMmF+65sBnLYLkNf6fMoDmfGaXqKuYqKclSDfic/Mqyau4kI 7n4NDsXyA/wwBVVHp8ZeSE/GueNPH1ev5KvG5un4yVgdL0uaPb2DFoPxE1VbRz4L vOglrDr7DEl6jHm8Cgp6PCooql+keTJ2DvMcRuA8R89eGGSmli7Yenm81+wx0dCs zzeFZ4WQDqVH+6NEAXSmqgpPVoCsCPLo7BCVEuRuA4lkazQTR5l+oz/oelMnbGlt 7dxZ7N+sTZt/yRFM8tr8sJ9Hc2+U6kNSeeaBjxYIjvZdYdNt8GxN3v2sIYa9xbGQ irRQD2M09IrRkco/w/4MYxgbCCNpAxcuMDTNE+Yn/fcoEDVCXGjfPie0buxICpHc OXTlUhqHW0CPhWCjKWUJMymwQdMlJP/zffY0UHvwoxxbDJ4BbQzWPDWwyP0bSfOI iEaG6TNUIBrxD2D6RMjGBQYgMl3Rkmedlpbl8h1Qsjvt+iPZfekww8x9/FGNs9iG X9vEghPNfn+dURDN6IE9yRm0pO3/x8883uyEiw/YeIBroRr8Qik= =fL55 -----END PGP SIGNATURE----- --HcAYCG3uE/tztfnV--