pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Doug Roberts <h205881@gmail.com>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Postgres Crashing
Date: Tue, 04 Feb 2020 14:34:41 -0500
Message-ID: <23190.1580844881@sss.pgh.pa.us> (raw)
In-Reply-To: <CAOy4PLpDd054=-NqSN5UskckRxU+N+HWMMnPdJCWfXD2Fm1hOA@mail.gmail.com>
References: <CAOy4PLo9pZgL7KAOW0=XCY240hARaJT6cBU0Y5NH4dwyLNN4Yg@mail.gmail.com>
	<ca202134-2bc3-6413-b3e4-c563fa89fd05@aklaver.com>
	<CAOy4PLpTeYiUbyEt1p9zc5mB9c2h3M1o=c=kjJ_rPBuyLVXqbQ@mail.gmail.com>
	<dec3d06b-af74-a254-a9a6-b5e53cb71de8@aklaver.com>
	<823.1580772106@sss.pgh.pa.us>
	<CAOy4PLqyOuk7R9YcKTZhZcdvyaHZRSpfe1W8fOXnP8G2fJh_=Q@mail.gmail.com>
	<d0e33a60-c26c-0d52-0935-134c7c1a8fa5@aklaver.com>
	<CAOy4PLpDd054=-NqSN5UskckRxU+N+HWMMnPdJCWfXD2Fm1hOA@mail.gmail.com>

Doug Roberts <h205881@gmail.com> writes:
> Hopefully the following stack trace is more helpful.

> Exception thrown at 0x0000000140446403 in postgres.exe: 0xC0000005: Access
> violation reading location 0xFFFFFFFFFFFFFFF8. occurred

>> postgres.exe!pfree(void * pointer) Line 1033 C
>   postgres.exe!tts_buffer_heap_clear(TupleTableSlot * slot) Line 653 C
>   [Inline Frame] postgres.exe!ExecClearTuple(TupleTableSlot *) Line 428 C
>   postgres.exe!ExecForceStoreHeapTuple(HeapTupleData * tuple,
> TupleTableSlot * slot, bool shouldFree) Line 1448 C
>   postgres.exe!ExecBRUpdateTriggers(EState * estate, EPQState * epqstate,
> ResultRelInfo * relinfo, ItemPointerData * tupleid, HeapTupleData *
> fdw_trigtuple, TupleTableSlot * newslot) Line 3117 C

Ah, so you *are* using before-row update triggers.  Almost certainly,
this is the same bug fixed by commit 60e97d63e, so you should be okay
if you update to 12.1.  (There are some related issues that will be
fixed in 12.2, due out next week.)

			regards, tom lane





view thread (13+ messages)  latest in thread

Message-ID: <23190.1580844881@sss.pgh.pa.us>
Permalink:  ../23190.1580844881@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23190.1580844881@sss.pgh.pa.us

 · 

reply

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-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, h205881@gmail.com, adrian.klaver@aklaver.com
  Subject: Re: Postgres Crashing
  In-Reply-To: <23190.1580844881@sss.pgh.pa.us>
  References: <CAOy4PLo9pZgL7KAOW0=XCY240hARaJT6cBU0Y5NH4dwyLNN4Yg@mail.gmail.com> <ca202134-2bc3-6413-b3e4-c563fa89fd05@aklaver.com> <CAOy4PLpTeYiUbyEt1p9zc5mB9c2h3M1o=c=kjJ_rPBuyLVXqbQ@mail.gmail.com> <dec3d06b-af74-a254-a9a6-b5e53cb71de8@aklaver.com> <823.1580772106@sss.pgh.pa.us> <CAOy4PLqyOuk7R9YcKTZhZcdvyaHZRSpfe1W8fOXnP8G2fJh_=Q@mail.gmail.com> <d0e33a60-c26c-0d52-0935-134c7c1a8fa5@aklaver.com> <CAOy4PLpDd054=-NqSN5UskckRxU+N+HWMMnPdJCWfXD2Fm1hOA@mail.gmail.com> <23190.1580844881@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