Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fav19-0007vo-R9 for pgsql-hackers@arkaria.postgresql.org; Thu, 05 Jul 2018 03:33:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fav17-0001bc-JD for pgsql-hackers@arkaria.postgresql.org; Thu, 05 Jul 2018 03:33:13 +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.89) (envelope-from ) id 1fav16-0001bV-FM for pgsql-hackers@lists.postgresql.org; Thu, 05 Jul 2018 03:33:13 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fav12-0005Cu-Ut for pgsql-hackers@lists.postgresql.org; Thu, 05 Jul 2018 03:33:12 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id A4DF421C86; Wed, 4 Jul 2018 23:33:07 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 04 Jul 2018 23:33:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=rivCwHt4o4wdDDDguNbFjATq6yu8a0BYLqk+pe9nyYg=; b=UoBobUcl MYJFT2FqFJblkClTqkXMwB0WoGIOteujPKDR9qKDuWF+pdXfywa1fr9ATLbH4xWW yLDudKtIT8UdYHH6ruS902BJ5I6N+moQ8DJqjvdai9ZqpDtbEWKLFI9goMGa7JXZ 442FZGeFouFlid1NL9k3+2Sk5Lzm8iCvEum1nhu29+kgdq4QZtwRMDNrdQaACa2l SQRGgcpHubXTkcfg7r35OTPOBVgjPH6Lhzbdy7tsdwJf7VKF3tWTdMvDho4Cug/W WwuIgKxcHkEpi1YguMa5168FlSSwARFo/MyxwCsxAomumAB59bqPIKKVKKn+Jb7D P1yfHTfKSpQQTA== 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-sender :x-me-sender:x-sasl-enc; s=fm3; bh=rivCwHt4o4wdDDDguNbFjATq6yu8a 0BYLqk+pe9nyYg=; b=omKCMBGZh5T89gyrZ6biGbqzeUfmeIbU67YXCCcZH2OiB 6pArd0WVFZqKIu0oEFkavUlAm5sygieUE/oLLWRhTy2W0tmwOemdeV+XdswxNaCn g7vxnX6fkpg2Xo5A9kVmBjkz1wnKy2twSHbYoCs44vjdaAuRkv6bIx5tYQzAwLWI Di1tYhJX6fs2ANGOvf+F7vXE2zpdcW8oh7RsAXxVLXnzawkknTmpGhD4dgjuZWRk YsIuQtSP/h7nCxWBnH8v5hXCBNngrKUqjuclMxXe39CiizwKn/k3fgzxTfWR89Q7 nA3YySfmSRLwSkZn0NmyOu4cmDz/0mxpdp+x6tlJQ== X-ME-Proxy: X-ME-Sender: Received: from intern.anarazel.de (c-98-210-140-171.hsd1.ca.comcast.net [98.210.140.171]) by mail.messagingengine.com (Postfix) with ESMTPA id AD68B10325; Wed, 4 Jul 2018 23:33:06 -0400 (EDT) Date: Wed, 4 Jul 2018 20:33:05 -0700 From: Andres Freund To: Alvaro Herrera Cc: Tom Lane , pgsql-hackers@lists.postgresql.org Subject: Re: pgsql: Fix crash when ALTER TABLE recreates indexes on partitions Message-ID: <20180705033305.hm75y476lwyqktek@alap3.anarazel.de> References: <27886.1530335989@sss.pgh.pa.us> <20180704171519.psqj76htohj7mco5@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180704171519.psqj76htohj7mco5@alvherre.pgsql> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2018-07-04 13:15:19 -0400, Alvaro Herrera wrote: > On 2018-Jun-30, Tom Lane wrote: > > > Alvaro Herrera writes: > > > Fix crash when ALTER TABLE recreates indexes on partitions > > > > So ... buildfarm member skink has been reporting a valgrind failure > > during initdb since this patch went in. However, I'm unable to reproduce > > such a failure here, and it's less than obvious how this particular patch > > could have caused a problem, and skink's report is pretty useless because > > it's providing only a numeric stack trace. Thoughts? > > Actually, older branches are failing in the same way, so it's not my > patch that caused it to fail. Something must have changed in the system ... > Andres? I spent a fair amount of time trying to dig into this. It appears to be related to a binutils update. Everything built with a binutils version < 2.30.90.20180627-1 (in my case 2.30-22) works correctly with valgrind. If rebuilt after an upgrade it doesn't. Still trying to narrow down further. Greetings, Andres Freund