From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com> |
Cc: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: TRAP: FailedAssertion("!((itemid)->lp_flags & 0x01)", |
Date: | 2005-10-28 21:45:51 |
Message-ID: | 5686.1130535951@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
I wrote:
> I suppose there's a bug in this path, but I'm darned if I can see what
> it is. There are a number of obvious inefficiencies, but those
> shouldn't be important given that this isn't supposed to happen much.
> But how's it getting to the Assert failure?
While I'm disinclined to change anything until we can explain why it's
crashing, I suspect that the solution may be to avoid the recursive call
of SimpleLruReadPage, as in the attached patch. Jim, are you interested
in seeing if this patch makes the problem go away for you?
regards, tom lane
Attachment | Content-Type | Size |
---|---|---|
slru.patch | application/octet-stream | 2.0 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Jim C. Nasby | 2005-10-28 21:55:32 | Re: TRAP: FailedAssertion("!((itemid)->lp_flags & 0x01)", |
Previous Message | Jim C. Nasby | 2005-10-28 21:28:37 | Re: enums |