Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eXCQW-0006jh-Ik for pgsql-hackers@arkaria.postgresql.org; Thu, 04 Jan 2018 20:47:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eXCQW-0006FU-2o for pgsql-hackers@arkaria.postgresql.org; Thu, 04 Jan 2018 20:47:48 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eXCQV-0006FK-PO for pgsql-hackers@lists.postgresql.org; Thu, 04 Jan 2018 20:47:47 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eXCQR-0001mJ-5F for pgsql-hackers@postgresql.org; Thu, 04 Jan 2018 20:47:46 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 59AA220DD2; Thu, 4 Jan 2018 15:47:42 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Thu, 04 Jan 2018 15:47:42 -0500 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=fm1; bh=gv/0m+4qGREo/5Z6Sf/HEzDDlEJGx VqJwL8py924e+8=; b=S5NfjHRgLiC3niqq84ijiCnMjEvWs5OLM4lOcV+Xqsi5W N11oikMuaO2XGQG6XzRn1fEBDxB3Q7jbCh24k7aVz801DMCWhPe3o1FuEoNGgpkb GOPg8DAdm1at2qPPV8TM7ViTdTq3cGDZEI3VsR2QT1QmXpbl8MiQO6yzYOLfG6uX hzYC/azQ7EkSAXbxs9tK7UexdeWOEft4D0rmnUhR1G1gHqKKkMiYcvSHfjWxCme1 wH156w2VmTN0793yS1pMZbqm5IxqavyN2vIrQe10khJSyuEEovBAuUMIakxo3n+M KvP/Af6tygJYMai8V1kgcT/7Aq40RqcsnCi0NED4Q== X-ME-Sender: Received: from intern.anarazel.de (unknown [136.24.76.189]) by mail.messagingengine.com (Postfix) with ESMTPA id F3DCC24608; Thu, 4 Jan 2018 15:47:41 -0500 (EST) Date: Thu, 4 Jan 2018 12:47:41 -0800 From: Andres Freund To: Tom Lane Cc: Robert Haas , Thomas Munro , "pgsql-hackers@postgresql.org" Subject: Re: pgsql: Add parallel-aware hash joins. Message-ID: <20180104204741.ghg2yr4is4flbuhn@alap3.anarazel.de> References: <5187.1515028624@sss.pgh.p!a.us> <16320.1515046173@sss.pgh.pa.us> <4847.1515081624@sss.pgh.pa.us> <7839.1515085897@sss.pgh.pa.us> <20180104192033.irv4ppf44i2fesze@alap3.anarazel.de> <20180104200647.wna6yoin7nav5qqo@alap3.anarazel.de> <25496.1515096975@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <25496.1515096975@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2018-01-04 15:16:15 -0500, Tom Lane wrote: > Andres Freund writes: > > On 2018-01-04 11:20:33 -0800, Andres Freund wrote: > >> Some packages on skink have been upgraded. It appears that there either > >> was a libc or valgrind change that made valgrind not recognize that a > >> pointer of 0 might not point anywhere :( > > > ==5718== Invalid write of size 8 > > ==5718== at 0x40E3DD: ExecInterpExpr (execExprInterp.c:1117) > > ==5718== by 0x40F5E9: ExecInterpExprStillValid (execExprInterp.c:1788) > > ==5718== by 0xE6B0409: ExecEvalExpr (executor.h:282) > > Are those line numbers supposed to match current HEAD? Well, 3e68686e2c55799234ecd020bd1621f913d65475, but that's pretty close. But I think it was just the result of a somehow not entirely clean build, with plpgsql not being rebuilt when necessary. Not sure why/how, but at least that means the epoll_pwait() suppression likely revive skink to some degree. I made sure that the valgrind version isn't affected (from mid last year). After a forced rebuild survives a bit longer, but also encounters ==13750== Conditional jump or move depends on uninitialised value(s) ==13750== at 0x6BA888C: __wcsnlen_avx2 (strlen-avx2.S:103) ==13750== by 0x6AF2FF1: wcsrtombs (wcsrtombs.c:104) ==13750== by 0x6A88A40: wcstombs (wcstombs.c:34) ==13750== by 0x6BA76C: wchar2char (pg_locale.c:1641) ==13750== by 0x653A7C: str_tolower (formatting.c:1591) and various other related issues. I'm not sure if there's a legitimate formatting.c issue or whether it's glibc changes around string handling triggering spurious blurbs. Greetings, Andres Freund