From: Dmitriy Sarafannikov <dimon99901@mail.ru>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: [BUGS] Postgres backend segfault
Date: Wed, 27 Jan 2016 10:06:40 +0300
Message-ID: <1453878400.81526320@f404.i.mail.ru> (raw)
In-Reply-To: <CAB7nPqQOXAhSiJJovWOiVAJDJfzjJy2zztTsy7R6QjmpO0fSOw@mail.gmail.com>
References: <1453801334.827756687@f258.i.mail.ru>
<1453802030.948029135@f391.i.mail.ru>
<CAB7nPqQOXAhSiJJovWOiVAJDJfzjJy2zztTsy7R6QjmpO0fSOw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Thanks for answer,
>This is telling that this process is running a cache invalidation
>signal outside a transaction block. The only logical explanation that
>I see here is that the transaction state of CurrentTransactionState is
>not set to TBLOCK_DEFAULT, making transInvalInfo to not be
>initialized, but we are sure that it is initialized via
>IsTransactionOrTransactionBlock and CurrentTransactionState is set
>per-backend. What kind of commands have you run in parallel for this
>to happen?
There were performed parallel only standard commands like select, update, insert, delete, stored procedures which execute select/update/delete/insert
Value of CurrentTransactionState:
(gdb) print *CurrentTransactionState
$1 = {transactionId = 0, subTransactionId = 1, name = 0x0, savepointLevel = 0, state = TRANS_COMMIT, blockState = TBLOCK_STARTED, nestingLevel = 1, gucNestLevel = 1, curTransactionContext = 0x7f6ecdc3de10,
curTransactionOwner = 0x7f6eccf72800, childXids = 0x0, nChildXids = 0, maxChildXids = 0, prevUser = 21339, prevSecContext = 0, prevXactReadOnly = 0 '\000', startedInRecovery = 0 '\000',
didLogXid = 0 '\000', parent = 0x0}
--
Best regards,
Dmitriy Sarafannikov
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: dimon99901@mail.ru, michael.paquier@gmail.com
Subject: Re: [BUGS] Postgres backend segfault
In-Reply-To: <1453878400.81526320@f404.i.mail.ru>
References: <1453801334.827756687@f258.i.mail.ru> <1453802030.948029135@f391.i.mail.ru> <CAB7nPqQOXAhSiJJovWOiVAJDJfzjJy2zztTsy7R6QjmpO0fSOw@mail.gmail.com> <1453878400.81526320@f404.i.mail.ru>
* 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