pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jorge Solórzano <jorsol@gmail.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Dave Cramer <davecramer@gmail.com>
Cc: Vladimir Gordiychuk <folyga@gmail.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Cc: List <pgsql-jdbc@postgresql.org>
Subject: Re: [JDBC] SEGFAULT in HEAD with replication
Date: Thu, 19 Jan 2017 19:09:45 -0500
Message-ID: <4858.1484870985@sss.pgh.pa.us> (raw)
In-Reply-To: <8164.1484863037@sss.pgh.pa.us>
References: <CADK3HH+Ug3xCysKqw_dZOnaNnytZ1Rh5yP05hjO-e4NoyRxVvA@mail.gmail.com>
	<CAFgjRd3PodazGYuLK1ON-9ivxrUhTiBHcivv1gfLSWqJe54wFA@mail.gmail.com>
	<CAFgjRd1MjmPB-e1Pxy74gvH5HtXb0xHJyvk9ZA18EShTQh9JAA@mail.gmail.com>
	<CA+cVU8NBhSDX91VJR7_ujhM1VWs4gCPUQTLjsbVG4tEhSHK5EA@mail.gmail.com>
	<CA+TgmoaWuqTU9WqMrAVW21a=NnE6HD_gH1L07dG6PYXTs+ROUg@mail.gmail.com>
	<CA+cVU8MmccSRU1p1YTfFMLKcEk5h5_R_HRertTw92D9SQtr1bQ@mail.gmail.com>
	<CADK3HHKmJW-H5YjTgWGEwzc4icnVMxKcmuJMuu5NA4aXUmounQ@mail.gmail.com>
	<CADK3HHJQeczNoJQSkA02tf9gbkbWoOs7ngmd57M==gVUojFrXw@mail.gmail.com>
	<CA+TgmoZpTW_A3--Mno=oFdc84DEQaDqQ0gsWmnt7xPifPWwRTw@mail.gmail.com>
	<CA+cVU8Pa4NsJe3LyzTdd_t39WiUoNbphY9oAF_sWOSxsU2QuZA@mail.gmail.com>
	<8164.1484863037@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

I wrote:
> Hmm ... that line was last touched by ab1f0c822, so I'm betting that
> I broke it somehow, but I'm not sure how.
> It looks like S_3 might have been parsed from a totally empty source
> string?  But if that's the trigger, I'd think it'd be entirely trivial
> to reproduce.

Oh, duh: the reason it's not trivial to reproduce is you have to try
to bind an empty prepared statement *in an already-aborted transaction*.

Will push a fix in a bit.

			regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (17+ messages)  latest in thread

Message-ID: <4858.1484870985@sss.pgh.pa.us>
Permalink:  ../4858.1484870985@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4858.1484870985@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-jdbc@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jorsol@gmail.com, robertmhaas@gmail.com, davecramer@gmail.com, folyga@gmail.com, pgsql-hackers@postgresql.org
  Subject: Re: [JDBC] SEGFAULT in HEAD with replication
  In-Reply-To: <4858.1484870985@sss.pgh.pa.us>
  References: <CADK3HH+Ug3xCysKqw_dZOnaNnytZ1Rh5yP05hjO-e4NoyRxVvA@mail.gmail.com> <CAFgjRd3PodazGYuLK1ON-9ivxrUhTiBHcivv1gfLSWqJe54wFA@mail.gmail.com> <CAFgjRd1MjmPB-e1Pxy74gvH5HtXb0xHJyvk9ZA18EShTQh9JAA@mail.gmail.com> <CA+cVU8NBhSDX91VJR7_ujhM1VWs4gCPUQTLjsbVG4tEhSHK5EA@mail.gmail.com> <CA+TgmoaWuqTU9WqMrAVW21a=NnE6HD_gH1L07dG6PYXTs+ROUg@mail.gmail.com> <CA+cVU8MmccSRU1p1YTfFMLKcEk5h5_R_HRertTw92D9SQtr1bQ@mail.gmail.com> <CADK3HHKmJW-H5YjTgWGEwzc4icnVMxKcmuJMuu5NA4aXUmounQ@mail.gmail.com> <CADK3HHJQeczNoJQSkA02tf9gbkbWoOs7ngmd57M==gVUojFrXw@mail.gmail.com> <CA+TgmoZpTW_A3--Mno=oFdc84DEQaDqQ0gsWmnt7xPifPWwRTw@mail.gmail.com> <CA+cVU8Pa4NsJe3LyzTdd_t39WiUoNbphY9oAF_sWOSxsU2QuZA@mail.gmail.com> <8164.1484863037@sss.pgh.pa.us> <4858.1484870985@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