pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Bommarito <michael@bommaritollc.com>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-bugs@postgresql.org>
Subject: Re: BUG #13490: Segmentation fault on pg_stat_activity
Date: Tue, 14 Jul 2015 08:45:32 -0400
Message-ID: <3090.1436877932@sss.pgh.pa.us> (raw)
In-Reply-To: <CAN=rtBi-Nqv5RzcLCRvQ3HU5OYED6niEmg5JsvG=qONxgEqeSQ@mail.gmail.com>
References: <20150707165212.1188.60819@wrigleys.postgresql.org>
	<CAB7nPqQq_mAJxcXQ-A6mACbA20Zh3G+w_0H7HtPunBHxEwfBqg@mail.gmail.com>
	<CAN=rtBjrcKjMbomR2cJUjRQFiw5sUw-=BdHYwThSq-X8+uY70Q@mail.gmail.com>
	<CAB7nPqSHmw9D2TySPDz_UrwcpsxnJXWBB2GH0RfePrm3mpbVwg@mail.gmail.com>
	<CAN=rtBipwKdHCtmXH3r4GNfUhF9e4ZfJbqcj7s_Ec9e2Mbf_LA@mail.gmail.com>
	<14297.1436652379@sss.pgh.pa.us>
	<CAN=rtBik867VQwxkG3=-4Uc1KS4nYK99cuFvrit+QO7K44L-tQ@mail.gmail.com>
	<13182.1436726274@sss.pgh.pa.us>
	<CAN=rtBiLm26cW13T3z-bHdL3sehPYUPXU3mdZ9iohBswwtc8+w@mail.gmail.com>
	<CAB7nPqRurz+i5pUc=AFz7W-QJ-9x66TO8qRNCn5LtoR5voS5vQ@mail.gmail.com>
	<CAN=rtBjzBb+XXccg2Q+gcfX3sUbuGCg8x45T5iCTf+ON-DibNQ@mail.gmail.com>
	<CAB7nPqQPT20t+M881r=D6K1GU+VVgitk4xmOopDbN64M_YBbXw@mail.gmail.com>
	<CAN=rtBi-Nqv5RzcLCRvQ3HU5OYED6niEmg5JsvG=qONxgEqeSQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Michael Bommarito <michael@bommaritollc.com> writes:
> If you can provide a patch that performs input validation in
> get_tle_by_resno and logs the condition, I can compile and test with it.

Wouldn't prove anything one way or another.  Somehow, a corrupt query tree
is being fed to the planner; what we need to understand is what conditions
cause that to happen.  I doubt that getting more details at the point
where the code trips over the corruption will teach us that.

			regards, tom lane


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



view thread (20+ messages)  latest in thread

Message-ID: <3090.1436877932@sss.pgh.pa.us>
Permalink:  ../3090.1436877932@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3090.1436877932@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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, michael@bommaritollc.com, michael.paquier@gmail.com
  Subject: Re: BUG #13490: Segmentation fault on pg_stat_activity
  In-Reply-To: <3090.1436877932@sss.pgh.pa.us>
  References: <20150707165212.1188.60819@wrigleys.postgresql.org> <CAB7nPqQq_mAJxcXQ-A6mACbA20Zh3G+w_0H7HtPunBHxEwfBqg@mail.gmail.com> <CAN=rtBjrcKjMbomR2cJUjRQFiw5sUw-=BdHYwThSq-X8+uY70Q@mail.gmail.com> <CAB7nPqSHmw9D2TySPDz_UrwcpsxnJXWBB2GH0RfePrm3mpbVwg@mail.gmail.com> <CAN=rtBipwKdHCtmXH3r4GNfUhF9e4ZfJbqcj7s_Ec9e2Mbf_LA@mail.gmail.com> <14297.1436652379@sss.pgh.pa.us> <CAN=rtBik867VQwxkG3=-4Uc1KS4nYK99cuFvrit+QO7K44L-tQ@mail.gmail.com> <13182.1436726274@sss.pgh.pa.us> <CAN=rtBiLm26cW13T3z-bHdL3sehPYUPXU3mdZ9iohBswwtc8+w@mail.gmail.com> <CAB7nPqRurz+i5pUc=AFz7W-QJ-9x66TO8qRNCn5LtoR5voS5vQ@mail.gmail.com> <CAN=rtBjzBb+XXccg2Q+gcfX3sUbuGCg8x45T5iCTf+ON-DibNQ@mail.gmail.com> <CAB7nPqQPT20t+M881r=D6K1GU+VVgitk4xmOopDbN64M_YBbXw@mail.gmail.com> <CAN=rtBi-Nqv5RzcLCRvQ3HU5OYED6niEmg5JsvG=qONxgEqeSQ@mail.gmail.com> <3090.1436877932@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