pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@2ndquadrant.com>
Cc: Andrew Dunstan <andrew@dunslane.net>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Cc: Matthias Schmitt <freak002@mmp.lu>
Subject: Re: OSX doesn't accept identical source/target for strcpy() anymore
Date: Mon, 28 Oct 2013 21:14:48 -0400
Message-ID: <17900.1383009288@sss.pgh.pa.us> (raw)
In-Reply-To: <20131028203253.GH20248@awork2.anarazel.de>
References: <55D64809-F305-41A9-946B-8EAFF88FBE3B@mmp.lu>
	<20131028153750.GH5577@awork2.anarazel.de>
	<934199A3-FF2F-4E5E-A8FF-E6F621B6F64D@mmp.lu>
	<20131028161132.GA14980@awork2.anarazel.de>
	<CA+TgmoavSKcuuPx-7tbq8+zCwsn9N0TTzzU-OkfLm2uX+jCqmA@mail.gmail.com>
	<7718.1382983872@sss.pgh.pa.us>
	<20131028182653.GD20248@awork2.anarazel.de>
	<526EB8F4.2070806@dunslane.net>
	<20131028194609.GA16709@awork2.anarazel.de>
	<10044.1382990556@sss.pgh.pa.us>
	<20131028203253.GH20248@awork2.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Andres Freund <andres@2ndquadrant.com> writes:
> On 2013-10-28 16:02:36 -0400, Tom Lane wrote:
>> The larger problem though is what you'd do with the output.  There's
>> enough false-positive noise from valgrind that I can't see having
>> the buildfarm run just fail if there are any messages.  What to do
>> instead isn't very clear.

> The false positives should be gone using the suppressions file we ship
> these days (--suppressions=/path/to/pg/src/tools/valgrind.supp). We
> might miss some more cases there, but it should be fairly easy to extend
> it.

They're not all gone according to my testing; but there are far worse
problems:

1. The output goes to stderr which means it's mixed in with the backend's
normal log chatter.

2. valgrind causes autovacuum to dump core, at least on my box (RHEL6).
I'm prepared to believe that this is some relatively old bug that Red Hat
hasn't gotten round to including a patch for, but still it doesn't leave
me with any warm fuzzy feeling about the practicality of routine valgrind
testing.

			regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (22+ messages)  latest in thread

Message-ID: <17900.1383009288@sss.pgh.pa.us>
Permalink:  ../17900.1383009288@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/17900.1383009288@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andres@2ndquadrant.com, andrew@dunslane.net, robertmhaas@gmail.com, pgsql-hackers@postgresql.org, freak002@mmp.lu
  Subject: Re: OSX doesn't accept identical source/target for strcpy() anymore
  In-Reply-To: <17900.1383009288@sss.pgh.pa.us>
  References: <55D64809-F305-41A9-946B-8EAFF88FBE3B@mmp.lu> <20131028153750.GH5577@awork2.anarazel.de> <934199A3-FF2F-4E5E-A8FF-E6F621B6F64D@mmp.lu> <20131028161132.GA14980@awork2.anarazel.de> <CA+TgmoavSKcuuPx-7tbq8+zCwsn9N0TTzzU-OkfLm2uX+jCqmA@mail.gmail.com> <7718.1382983872@sss.pgh.pa.us> <20131028182653.GD20248@awork2.anarazel.de> <526EB8F4.2070806@dunslane.net> <20131028194609.GA16709@awork2.anarazel.de> <10044.1382990556@sss.pgh.pa.us> <20131028203253.GH20248@awork2.anarazel.de> <17900.1383009288@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox