Re: TRAP: FailedAssertion("!((itemid)->lp_flags & 0x01)",

From: "Jim Nasby" <jnasby(at)pervasive(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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 22:10:19
Message-ID: D1D2D51E3BE3FC4E98598248901F759402C88F12@ausmail2k4.aus.pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

> From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
> "Jim C. Nasby" <jnasby(at)pervasive(dot)com> writes:
> > On Fri, Oct 28, 2005 at 05:45:51PM -0400, Tom Lane wrote:
> >> Jim, are you interested
> >> in seeing if this patch makes the problem go away for you?
>
> > Well, this is a production system... what's the risk with
> that patch?
>
> Well, it's utterly untested, which means it might crash your system,
> which is where you are now, no?

Yes, but the crashes are somewhat sporadic and most importantly they don't appear to involve any data loss/corruption. I just don't want to make matters any worse.

In any case, my client's gone home for the weekend, so I doubt anything would happen until Monday.

> > BTW, is it typical to see a 10 difference between asserts
> on and off? My
> > client has a process that was doing 10-20 records/sec with
> asserts on
> > and 90-110 with asserts off.
>
> Not typical, but I can believe there are some code paths like that.

Yeah, they're doing some not-so-good things like row-by-row operations, so that's probably what the issue is. I seem to recall 20% being the penalty that's normally thrown around, so I was just surprised by such a huge difference.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Rod Taylor 2005-10-28 22:10:26 Re: enums
Previous Message Tom Lane 2005-10-28 22:06:33 Re: TRAP: FailedAssertion("!((itemid)->lp_flags & 0x01)",

Browse pgsql-patches by date

  From Date Subject
Next Message Josh Berkus 2005-10-29 00:34:11 FKs on temp tables: hard, or just omitted?
Previous Message Tom Lane 2005-10-28 17:52:00 Re: [COMMITTERS] pgsql: Fix race condition in multixact code: it's possible to try to