From: | Kevin Grittner <kgrittn(at)ymail(dot)com> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Peter Geoghegan <pg(at)heroku(dot)com>, "noloader(at)gmail(dot)com" <noloader(at)gmail(dot)com>, Tomas Vondra <tv(at)fuzzy(dot)cz>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Clang 3.3 Analyzer Results |
Date: | 2013-11-12 23:04:22 |
Message-ID: | 1384297462.46657.YahooMailNeo@web162901.mail.bf1.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
> I have tracked scan-build for some time, and I'm sure that almost
> all of these bugs are false positives at this point.
From poking around, I agree. One particular error I noticed that
it makes a lot is that in a loop it says that an assigned value is
not referenced if the reference will not be hit until the next
iteration of the loop.
> Btw., you can also keep score here:
> http://pgci.eisentraut.org/jenkins/view/PostgreSQL/job/postgresql_master_scan-build/
Cool. I wasn't aware that anyone was already looking at this.
> It's worth keeping an eye on this, but it's not worth losing
> sleep over.
Agreed in general; however, with this 3.4 development build the
"Memory Error" section only showed two problems, and those were the
only two problems I found that were real. It might be worth
monitoring that one section.
If nobody objects, I'll fix that small memory leak in the
regression test driver. Hopefully someone more familiar with
pg_basebackup will fix the double-free (and related problems
mentioned by Tom) in streamutil.c.
--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Grant Fisher | 2013-11-12 23:13:13 | TCP_KEEPIDLE Question |
Previous Message | Tom Lane | 2013-11-12 22:47:38 | Re: simple query with radically different plan after 9.0 -> 9.2 upgrade |
From | Date | Subject | |
---|---|---|---|
Next Message | David Johnston | 2013-11-12 23:36:01 | Re: MVCC snapshot timing |
Previous Message | Claudio Freire | 2013-11-12 22:54:40 | Re: Fast insertion indexes: why no developments |