pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter J. Holzer <hjp-pgsql@hjp.at>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Segfault in pg_stat_activity
Date: Mon, 27 Jul 2015 15:42:29 -0400
Message-ID: <662.1438026149@sss.pgh.pa.us> (raw)
In-Reply-To: <20150727192033.GB11689@hjp.at>
References: <20150727192033.GB11689@hjp.at>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

"Peter J. Holzer" <hjp-pgsql@hjp.at> writes:
> (gdb) bt
> #0  0x00007fb94d314289 in memcpy (__len=200, __src=0x7fb948719ad8, __dest=0x7fb94f4c1bb0) at /usr/include/x86_64-linux-gnu/bits/string3.h:51
> #1  pgstat_read_current_status () at /tmp/buildd/postgresql-9.5-9.5~alpha1/build/../src/backend/postmaster/pgstat.c:3000

Um.  Somebody didn't think too clearly about the usage of that array.
Will fix, thanks for report!

			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 (6+ messages)  latest in thread

Message-ID: <662.1438026149@sss.pgh.pa.us>
Permalink:  ../662.1438026149@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/662.1438026149@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, hjp-pgsql@hjp.at
  Subject: Re: Segfault in pg_stat_activity
  In-Reply-To: <662.1438026149@sss.pgh.pa.us>
  References: <20150727192033.GB11689@hjp.at> <662.1438026149@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