Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qll7g-004Ee5-N8 for pgsql-bugs@arkaria.postgresql.org; Thu, 28 Sep 2023 07:07:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qll7e-009kfi-QX for pgsql-bugs@arkaria.postgresql.org; Thu, 28 Sep 2023 07:07:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qll7e-009kfQ-GX for pgsql-bugs@lists.postgresql.org; Thu, 28 Sep 2023 07:07:43 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qll7c-0082e2-8Q for pgsql-bugs@lists.postgresql.org; Thu, 28 Sep 2023 07:07:42 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 277D45C0FCC; Thu, 28 Sep 2023 03:07:39 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 28 Sep 2023 03:07:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1695884859; x=1695971259; bh=kH 8hWaycDluUyWS7CWqyFpDd4RQnP93bbFvLZtijgtk=; b=fJMMM/qqSk2I8N3gZn rovyZjhtaPEgFcJHFoJkXucRsZAkUHVsO1g2QK0NHEXul2YWC23aDN80xvT2dfzB XlLhzSZrPATj9pgv59AUAZGj6nyLY0GchH6K+6QJGscWAHw/CokcDXZrMeBAVOhI dpcjzca58rogoE+gfp1icONK/aZZCnTaiBxKO6z+b9vDDlfvzAi5TiwkRqgxJzQX 1JVZ6eqJRMawISyvpABPkwA0hSrTlOgRxMKImPv3/Y6mcWIKWAhX3lATnkKKis/K PTOSzYjTzOP2kYBFLMNZcG6hURFod8f1piWHR/6HIJwaLK8FQWrzKetAD/5pZn0J NHHA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1695884859; x=1695971259; bh=kH8hWaycDluUy WS7CWqyFpDd4RQnP93bbFvLZtijgtk=; b=SgaCtaAzAmRq81nJ1CDAkJfEkpRR3 PxeUkzLtHM+Zj4YZzLUT41pAdcqRixeGddg/v8osewfUoRo+3A7SxYwW2UKhUki3 SSteYPEKnBlLip8FUpHvY/E1FU7vivApuOZ5ifhMg/Nh/stRerFL72G9Wnj8Pa/5 42ScX7MBzSt0UeYr7TQ+NY64j9Uj1qmalFHd7B4FDQpC3yU90Cb7DKaaJoHR+ptA q0QqUFRYb1z8h2+KOo3whp7hy6c2KDkGolTkiCQ0epxuA02xXLYgdO3tGrNEZpui ytc/oeoT5J0KQm7Eo8+ckFnvLOJ2ZfGN8GqtF0ycfkPvICtJcUPqPcjIg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvjedrtdehgdduudeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdljedtmdenucfjughrpeffhf fvvefukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfrrghq uhhivghruceomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvg hrnhepteelieefudffhffhtdetleeggeegfffhkeeuveetiefgudduvedutefggeeivdej necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhhitg hhrggvlhesphgrqhhuihgvrhdrgiihii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 28 Sep 2023 03:07:37 -0400 (EDT) Date: Thu, 28 Sep 2023 16:07:35 +0900 From: Michael Paquier To: Alexander Lakhin Cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18135: Incorrect memory access occurs when attaching a partition with an index Message-ID: References: <18135-532f4a755e71e4d2@postgresql.org> <9e3acda6-76b8-d6b4-c013-f78f84d7c5ab@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="V4bwwS3SQDue8Ezy" Content-Disposition: inline In-Reply-To: <9e3acda6-76b8-d6b4-c013-f78f84d7c5ab@gmail.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --V4bwwS3SQDue8Ezy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Sep 28, 2023 at 08:00:00AM +0300, Alexander Lakhin wrote: > Please try the following procedure (I've simplified my own): > With the attached patch (for HEAD) applied > CPPFLAGS="-DUSE_VALGRIND " USE_VALGRIND is the difference here. In the past problems with valgrind I've seen from you, I've never needed that, actually. In my case, my process is much simpler: I just use installcheck with an instance I set up locally using a command like the one I mentioned above. No need to patch the tree with that and self-contained SQL sequences. Anyway, mystery solved. -- Michael --V4bwwS3SQDue8Ezy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmUVJjcACgkQnvQgOdby QH3i6RAAju8bCu/yZpq+MyR3uEH/+kgu0RhqwRH0B6rABv/muFv/83TRoS+PugZs oWE7qeK5KGXRbV2NEp8dAW7bf3tallOKH22lPhK7Dy/PJYCxHew9uXUezbq9eFox WNq1G54aGgHEEN9ZrcxPecwQN/JN4uX1wXlgeh3IwBHnaVJAlsEyEdnc0D7LI25Y QZJljDQIjLHDABvNSdcJFIHNV0E6mtXJ2pY/2anjtTU9O1q0V49X2rLWPz4iLdd3 Wb6QTRapdTL2khe/2Ew52x15K9eBf6zJrX2IvNrQVmyMjhEYD1/98PWFk2pFq7bn acaqaDCgSjXJZMQ4QChLrgshirYXFbEsf6gGKra65EBtl27MbAvC8RYafPKqREp/ rbxZY+F9puJF7fcONJVzECULC039o+no0lU06ujeCwCFXc22X67UjNK07c9U9ABO PAUCgRm2KMl5XB4iu6Rx1U7IkRUsgFfm1FkpsjtWwTqc7d/VIaoX+r7jqygxf4Yh GwLFGzCQnxEynBUDaaPg2PSFtVx1TG9u48u5pkGuoSaJY5KwrY7je2RSgh1TCN8l JeH8C7NpaPymEoBnNh88CZlgrk+OJ661yvAmVuU1wotnomXOvSOBgKdyEKJxTwb+ 3dsLcJo8K7khdghjjLE3s+qDv1qCVCMvv6lEzR+OA3tZGQln2NA= =OCPk -----END PGP SIGNATURE----- --V4bwwS3SQDue8Ezy--