Re: parser_analyze freeing memory which is later referenced - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: parser_analyze freeing memory which is later referenced
Date
Msg-id 1360673841.66674.YahooMailNeo@web162903.mail.bf1.yahoo.com
Whole thread Raw
In response to Re: parser_analyze freeing memory which is later referenced  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> wrote:> Kevin Grittner <kgrittn@ymail.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



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Support for REINDEX CONCURRENTLY
Next
From: Andres Freund
Date:
Subject: Re: Support for REINDEX CONCURRENTLY