From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stepan Yankevych <Stepan_Yankevych@epam.com>
Cc: stepya@ukr.net <stepya@ukr.net>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #14581: invalid cache ID: 41 CONTEXT: parallel worker
Date: Tue, 07 Mar 2017 13:16:03 -0500
Message-ID: <29113.1488910563@sss.pgh.pa.us> (raw)
In-Reply-To: <AM3PR03MB09656DAAD5EB293313E1A7ED922F0@AM3PR03MB0965.eurprd03.prod.outlook.com>
References: <20170307141201.25060.95512@wrigleys.postgresql.org>
<13884.1488902573@sss.pgh.pa.us>
<AM3PR03MB09656DAAD5EB293313E1A7ED922F0@AM3PR03MB0965.eurprd03.prod.outlook.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Stepan Yankevych <Stepan_Yankevych@epam.com> writes:
> It quite difficult to reproduce.
> The only observation. Usually it crashes with parallelism only on quite big tables with inheritance .
If you can't extract a test case, one thing that would be quite helpful is
to get a stack trace from the point of the error. There are only four
occurrences of
elog(ERROR, "invalid cache ID: %d", cacheId);
and they're all in src/backend/utils/cache/syscache.c. If you could
change those to elog(PANIC, ...) in a debug-enabled build, run till
you get the failure, and then use gdb to get a backtrace from the
ensuing core dump, that might be enough info to fix it.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, Stepan_Yankevych@epam.com, stepya@ukr.net
Subject: Re: BUG #14581: invalid cache ID: 41 CONTEXT: parallel worker
In-Reply-To: <29113.1488910563@sss.pgh.pa.us>
References: <20170307141201.25060.95512@wrigleys.postgresql.org> <13884.1488902573@sss.pgh.pa.us> <AM3PR03MB09656DAAD5EB293313E1A7ED922F0@AM3PR03MB0965.eurprd03.prod.outlook.com> <29113.1488910563@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox