Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kvwlW-0007zM-9z for pgsql-bugs@arkaria.postgresql.org; Sun, 03 Jan 2021 06:21:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kvwlT-0006VN-Ix for pgsql-bugs@arkaria.postgresql.org; Sun, 03 Jan 2021 06:21:19 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kvwlS-0006VG-6D for pgsql-bugs@lists.postgresql.org; Sun, 03 Jan 2021 06:21:19 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kvwlP-0002DQ-HK for pgsql-bugs@lists.postgresql.org; Sun, 03 Jan 2021 06:21:16 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 835304ED; Sun, 3 Jan 2021 01:21:13 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 03 Jan 2021 01:21:13 -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=BsNFTRSZtJd7SEpH5IdKT2kIYuQ rEv40cIU+HiuFrkQ=; b=TANwj3M2nsYB6+90cFEgT+52AhlX9TxscJeye98+84g wYGqr9HEZlTnVJkr6Sl2bLVUo0JHD4bYfryRZqxRSd73F/HojHAY1bxfqex0TvmC Zm5obZ7Cd3mtS/NktOXxQZWO6n5ZTzqwUCZ1QonvkYVTYOSJ4RorTRGgiOz4zgrz lMJDxDpYm4/UOsjJYpz5xh4YVvvIEzQ5kSYQXM9cD6w9EVWA7ANaXFVFwaX5KlBe qCKQ8Q0FQcjBTdw8MkfD06Wmwh4M3E73nBde/tiSU+xYXm5Hz8N297zduqGBAZTL 1FZGnbhKKz2SMGx23muYYRuZz4lB34BZkrt/Ct68CZQ== 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=BsNFTR SZtJd7SEpH5IdKT2kIYuQrEv40cIU+HiuFrkQ=; b=Y7G46YOykyOubAXOPGiGCF AK2cxliPwhLAnePQxhgeoHznvri6ZjNaLNmxOkniIcV/H9wxGhbufWhjvkQaAANj hiusibQNqmgm2+3cVbIdDcJgbLLntFGJ1Bl03uLwxD+/rVEWjHXvUBde4tKy3ITD E+87J6qNWachwsxToENKAeqj1mloUCeP3RDB7yKpPjiK9uLWQ3i4fOzJP72wobZM opJ8fTai3ePPIYtCPlEHIiQubGWD2u/smR8d9aaAKy/O+Q1e4QiQGSaoXVox0Mx8 3DvZV2cIr1cdZOKMp1MzBpAhtOLp+wnQqhyn8tc4QHjpQwj43Q4dcAYRZNZ9bpzg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvdeftddgleeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdljedtmdenucfjughrpeffhf fvuffkfhggtggujgesghdtreertddtudenucfhrhhomhepofhitghhrggvlhcurfgrqhhu ihgvrhcuoehmihgthhgrvghlsehprghquhhivghrrdighiiiqeenucggtffrrghtthgvrh hnpeevtdfgkeduudeuveetfeeggfejuddvtdetuefhleeuffeukeeihfejgfeigeduleen ucfkphepudduuddruddtvddrudektddrudekheenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii 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 F120E24005C; Sun, 3 Jan 2021 01:21:11 -0500 (EST) Date: Sun, 3 Jan 2021 15:21:09 +0900 From: Michael Paquier To: Alexander Lakhin Cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16801: Invalid memory access on WITH RECURSIVE with nested WITHs Message-ID: References: <16801-393c7922143eaa4d@postgresql.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Fl31AeDjSUuZWqiq" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --Fl31AeDjSUuZWqiq Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 03, 2021 at 09:00:00AM +0300, Alexander Lakhin wrote: > I'm using gcc 10.2.0 and valgrind-3.15.0, and building REL_13_STABLE > (c09f6882) with: > CPPFLAGS=3D"-DUSE_VALGRIND -Og" ./configure --enable-debug > --enable-cassert && make -j8 > Also I'm using a=A0 patch [1] to inject valgrind into the `make check` > procedure. Thanks, -DUSE_VALGRIND is the part that mattered here. I can now reproduce it. I'll try to look at that more in details. -- Michael --Fl31AeDjSUuZWqiq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl/xYlUACgkQnvQgOdby QH3+2A/+OFUI+PwHJam08wBuQyfPcIhHxTBwzWPhMVc6Jo7vf3d1tJxtsv7nnOcR ZsW676R9+lStPQUil3bweUJr1uNiao0rviSvYTI8XERzfGkIzHD8mFQuE4zXXSx3 czD3ktVxpUy/xG0GMewND3R1IIOrTguhvbe8N+uCh7rmg9I8wQK8OGZ8atJs7dP3 LjgNoeEZBJOA72USA+XKvRHxRW7GPSaOSafuwyNpsCgVrhkpjFuhmL7663p5BQpe 5zPqiyhL+mJLKSyAoQKqsR87oylrtEXlOocsPZyTHGrSCRwZTgwgY736p49G8o+F SmeDzl0ucVGluz3NQRAy3t2asCFvYRqK1SCHVg+KbaZiJ/eRqKRNLU/9unOVLSQ3 2DnaEorC+Hr5U8B+IFR+pixHUS9cc2sIw40cyxfai0xfxxCixqlWKCqn7g9pvHCV Q0c32xSfmk+VrK8mHyPHtvyeTXXarTzlVsnuGUMgJfmvz6uj8Ckg7XH5DFNAk1ea YdWURT7IogKerRWJzsVIm8OOAzaeZrf8wqroLiF2FT50gmNv6ZiVBlWd/nAwEUCS D2HjXVAzMnag/6Q2B3OMn9T7sI18DvwoHT0wUgwG193Uy8HkdEkJEs5yJD19XJo5 6EECJBBwoe8YO1ayJ8L4/xOtC5vKPD0B0iRr067nq+7Au9cM1VU= =lgir -----END PGP SIGNATURE----- --Fl31AeDjSUuZWqiq--