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 1ggeik-0003rn-Vn for pgsql-hackers@arkaria.postgresql.org; Mon, 07 Jan 2019 23:54:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ggeij-0002ZC-3y for pgsql-hackers@arkaria.postgresql.org; Mon, 07 Jan 2019 23:54:13 +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 1ggeii-0002Z5-MH for pgsql-hackers@lists.postgresql.org; Mon, 07 Jan 2019 23:54:12 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ggeif-0000pY-F5 for pgsql-hackers@lists.postgresql.org; Mon, 07 Jan 2019 23:54:11 +0000 Received: by mail-wm1-x343.google.com with SMTP id d15so2445482wmb.3 for ; Mon, 07 Jan 2019 15:54:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=1AmlrZyQF6fmU+PNUc/cuEkXl/KP/g3HFJNQ0WVSSk0=; b=UXRzBLbZphqgLhG3bMWWMYTPkRx+GyHBk58WpYSQRWw2un4V+22fBmTRSW/jC2IZTu I9Is/0ak2iF4sb1RTjdL4yq1DhcE1lDPT+M6th59gq8/dQh8/K9ni5Z9esNZZfQ5WpDq Qx95R8T+2l8jPM637vApAVzEFfZ0P91DAcqs/TrfDnnHrm/mgNNkNwaw5eJPxyrX8+Xh QvIEn8RZIl9KfnLG4kkGPbmlRfhTnj2J2IFzOOKrd/GVdotUswBvX0DNQCTc1WdqcKsh vaHghMtGoMMEJWDBDWlgE1YwQQCRnugCTOCvsl7C3ov2P7jNWcImlTE09qBEhYlNON+O Ya8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=1AmlrZyQF6fmU+PNUc/cuEkXl/KP/g3HFJNQ0WVSSk0=; b=H4DFki9QPjmSuzIr/DPUvol8/7NXwORNCeesJKlT+KxL8zM31Oad8Htr8R8dNtEhTd 4rEGgg9JdilebL3IySckB21qjNw7p1Q0+SgTYmLzSTN5ynBKeKHdlEugvb2O9VYaxLu0 PQfXBUSP/1cTfQTbk03o9YnlGWMIwtv0JF4PmDk65eIcBYSDBp1zoVwpzX/7qL+TsZg0 qCn3GDPxZAKXgO5ZjHBc57kPn/Bd2dE7G3gO0BV0CXqoogbd+nHK/PugKKM7B5gvIuzf k7Q3f9u9gBGqyg03xqoVQvD3A1LFLS+v56VuSd5NQtKhiaOtIp5qiMwfAvnHyh4SIZRT /h5A== X-Gm-Message-State: AJcUukc1uWSXvG4JsazHcTQEQF/zClr6FKhDDgzzBcWRw0/DfCInaT0H JIyQyV/kOwcKNNrQlGmQAMEgqFO2WWdHvdCDSLfWHgyoRDgMvyLKoaD+jUmBk4sHWRckEJ0YWkV xySE2+77bWw+Pl3G+MgaoqoVk6YFv8jhIlpaRMJzIjj+PjiV/Gmd+VVKIQwnaX3IYeHT8e3NXA2 ewLuIILNP9AyGK+B+O/NC4Rg== X-Google-Smtp-Source: ALg8bN4FzVgZftvL5C0vElV7EEGFipGgl2arDXL2qfgCBfZeKmwN+V4KMIOciAmwcNN6K/nJAmTwBg== X-Received: by 2002:a1c:b53:: with SMTP id 80mr9483232wml.121.1546905247258; Mon, 07 Jan 2019 15:54:07 -0800 (PST) Received: from [10.137.2.19] (ip-86-49-251-50.net.upcbroadband.cz. [86.49.251.50]) by smtp.gmail.com with ESMTPSA id x12sm43891610wrt.20.2019.01.07.15.54.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Jan 2019 15:54:05 -0800 (PST) Subject: Re: valgrind issues on Fedora 28 To: Andrew Dunstan , Tom Lane Cc: Alvaro Herrera , pgsql-hackers@lists.postgresql.org References: <20181106173527.omm63tiaguxft7mg@alvherre.pgsql> <23c8e539-6777-1793-0939-12e73cb98314@2ndquadrant.com> <9063c043-83cd-b439-a928-622a743edd2c@2ndquadrant.com> <16353.1544760625@sss.pgh.pa.us> <4721dbaf-b922-9e30-e635-00f06512edac@2ndquadrant.com> <11849.1544803095@sss.pgh.pa.us> <25de4d8b-2192-20f0-7d30-6c5b79ddf716@2ndquadrant.com> <89ca0db3-1b1a-4188-35a7-0dd7a409e0d5@2ndQuadrant.com> From: Tomas Vondra Message-ID: <21c39c42-061d-e31e-143b-ccda1a19f8e1@2ndquadrant.com> Date: Tue, 8 Jan 2019 00:54:04 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 MIME-Version: 1.0 In-Reply-To: <89ca0db3-1b1a-4188-35a7-0dd7a409e0d5@2ndQuadrant.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 12/15/18 12:32 AM, Andrew Dunstan wrote: > > On 12/14/18 4:35 PM, Tomas Vondra wrote: >> On 12/14/18 4:58 PM, Tom Lane wrote: >>> ... >>> >>> In general, I'm not particularly on board with our valgrind.supp >>> carrying suppressions for code outside our own code base: I think >>> that's assuming WAY too much about which version of what is installed >>> on a particular box. >>> >> Fair point. >> >>> Maybe we could do something to make it simpler to have custom >>> suppressions? Not sure what, though. >>> >> I was thinking that perhaps we could allows specifying path to extra >> suppressions and pass that to valgrind. >> >> But we don't actually invoke valgrind, that's something people do on >> their own anyway - so we don't have anywhere to pass the path to. And >> whoever invokes valgrind can simply stick it directly into the command >> they're using (as it allows specifying multiple --suppressions= >> options). Or perhaps just put it into ~/.valgrindrc. >> >> So perhaps we should simply revert that commit and be done with it. >> >> One place that will need to solve it is buildfarm client, but it could >> pick either of the options I mentioned. >> >> > > The buildfarm client has a parameter in the config file for valgrind > options. All you would have to do is an an extra --suppressions setting > in there. > OK, makes sense. I'll revert the commit tomorrow. regards -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services