From: Dmitriy Sarafannikov <dimon99901@mail.ru>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andres Freund <andres@anarazel.de>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re[2]: [BUGS] Re[2]: [BUGS] Segfault in MemoryContextAlloc
Date: Tue, 09 Feb 2016 15:34:59 +0300
Message-ID: <1455021299.648137543@f28.i.mail.ru> (raw)
In-Reply-To: <31612.1454801878@sss.pgh.pa.us>
References: <1453890275.241158212@f404.i.mail.ru>
<1453891638.831641165@f352.i.mail.ru>
<31612.1454801878@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
>Both this and the other behavior you reported sure seem like "can't
>happen" situations. I do have a theory though: I think you are doing
>something that is spawning multiple threads inside the backend, and then
>the backend logic goes nuts because it's expecting to be single-threaded.
>
>pg_buffercache wouldn't do that, and a quick google search suggests that
>V8 knows nothing of threads either. Have you got anything else going
>on in there?
No, we don't use anything except sql, plv8 and plpgsql.
it is also sometimes crashes on simplest queries like select 'ping'.
Is it possible that some signal handler resets the TopTransactionContext to NULL?
--
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, tgl@sss.pgh.pa.us, andres@anarazel.de
Subject: Re: [BUGS] Re[2]: [BUGS] Segfault in MemoryContextAlloc
In-Reply-To: <1455021299.648137543@f28.i.mail.ru>
References: <1453890275.241158212@f404.i.mail.ru> <1453891638.831641165@f352.i.mail.ru> <31612.1454801878@sss.pgh.pa.us> <1455021299.648137543@f28.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