From: | Dan Ports <drkp(at)csail(dot)mit(dot)edu> |
---|---|
To: | YAMAMOTO Takashi <yamt(at)mwd(dot)biglobe(dot)ne(dot)jp> |
Cc: | Kevin(dot)Grittner(at)wicourts(dot)gov, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: SSI bug? |
Date: | 2011-02-17 19:45:22 |
Message-ID: | 20110217194522.GA98448@csail.mit.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, Feb 16, 2011 at 10:13:35PM +0000, YAMAMOTO Takashi wrote:
> i got the following SEGV when runnning vacuum on a table.
> (the line numbers in predicate.c is different as i have local modifications.)
> oldlocktag.myTarget was NULL.
> it seems that TransferPredicateLocksToNewTarget sometimes use stack garbage
> for newpredlocktag.myTarget. vacuum on the table succeeded with the attached
> patch. the latter part of the patch was necessary to avoid targetList
> corruption, which later seems to make DeleteChildTargetLocks loop inifinitely.
Oops. Those are both definitely bugs (and my fault). Your patch looks
correct. Thanks for catching that!
Dan
--
Dan R. K. Ports MIT CSAIL http://drkp.net/
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2011-02-17 19:46:16 | Re: Add support for logging the current role |
Previous Message | Tom Lane | 2011-02-17 19:28:57 | Re: Rewrite, normal execution vs. EXPLAIN ANALYZE |