pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Joseph Krogh <andreas@visena.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-general@lists.postgresql.org
Cc: Andres Freund <andres@anarazel.de>
Subject: Re: Segmentation fault with PG-12
Date: Wed, 9 Oct 2019 16:36:19 +0200 (CEST)
Message-ID: <VisenaEmail.b9.85741e4727004231.16db0eda3a6@tc7-visena> (raw)
In-Reply-To: <21109.1570630597@sss.pgh.pa.us>

På onsdag 09. oktober 2019 kl. 16:16:37, skrev Tom Lane <tgl@sss.pgh.pa.us 
<mailto:tgl@sss.pgh.pa.us>>: Andreas Joseph Krogh <andreas@visena.com> writes:
 > Attached is output from "bt full". Is this helpful?

 Well, it shows that the failure is occurring while trying to evaluate
 a variable in a trigger's WHEN clause during
 "UPDATE origo_email_delivery SET folder_id=$1, created=$2\nWHERE entity_id IN 
($3)\nRETURNING entity_id"
 And I'd bet that the root cause is something to do with Andres' tuple slot
 work. But (at least to my eye) it's not apparent exactly what's wrong.

 Can you show us the table definition and associated trigger definitions
 for origo_email_delivery?

 This doesn't seem to correlate with your original report, btw,
 as that claimed the crash was during COMMIT.

 regards, tom lane FWIW: It doesn't always happen when that UPDATE-statement 
is issued, so it's not reproducable. We'll see what the next core-dump gives us.
Is it OK if I send you the table/trigger-definitions off-list? -- Andreas 
Joseph Krogh CTO / Partner - Visena AS Mobile: +47 909 56 963 andreas@visena.com
 <mailto:andreas@visena.com> www.visena.com <https://www.visena.com;  
<https://www.visena.com;

view thread (15+ messages)  latest in thread

Message-ID: <VisenaEmail.b9.85741e4727004231.16db0eda3a6@tc7-visena>
Permalink:  ../VisenaEmail.b9.85741e4727004231.16db0eda3a6@tc7-visena/
Also on:    postgresql.org/message-id/VisenaEmail.b9.85741e4727004231.16db0eda3a6@tc7-visena

 · 

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: andreas@visena.com, tgl@sss.pgh.pa.us, andres@anarazel.de
  Subject: Re: Segmentation fault with PG-12
  In-Reply-To: <VisenaEmail.b9.85741e4727004231.16db0eda3a6@tc7-visena>
  References: <21109.1570630597@sss.pgh.pa.us> <VisenaEmail.b9.85741e4727004231.16db0eda3a6@tc7-visena>

* 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