Re: parser_analyze freeing memory which is later referenced

From: Kevin Grittner <kgrittn(at)ymail(dot)com>
To: Kevin Grittner <kgrittn(at)ymail(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: parser_analyze freeing memory which is later referenced
Date: 2013-02-12 12:57:21
Message-ID: 1360673841.66674.YahooMailNeo@web162903.mail.bf1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:> Kevin Grittner <kgrittn(at)ymail(dot)com> writes:
>> I'm using valgrind to find a problem with materialized views, and
>> ran into this, which I have confirmed is present on the master
>> branch as of 7803e9327db3788f68d820c19f4081afb79edd12.
>
>> Memory freed here:
>> ... is later referenced at these places:
>
> [ squint... ]  Not sure I believe that, as building with
> CLOBBER_FREED_MEMORY (ie, any assert-enabled build) really ought to
> expose such problems pretty quickly.  What's your test case?

make installcheck

When I get this MV issue that I'm investigating sorted out, I'll
try to narrow it to individual tests.

-Kevin

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2013-02-12 13:04:18 Re: Support for REINDEX CONCURRENTLY
Previous Message Michael Paquier 2013-02-12 12:54:52 Re: Support for REINDEX CONCURRENTLY