Re: Segfault in pg_stat_activity

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Peter J(dot) Holzer" <hjp-pgsql(at)hjp(dot)at>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Segfault in pg_stat_activity
Date: 2015-07-27 19:42:29
Message-ID: 662.1438026149@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Peter J. Holzer" <hjp-pgsql(at)hjp(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Andres Freund 2015-07-27 19:46:57 Re: Segfault in pg_stat_activity
Previous Message Peter J. Holzer 2015-07-27 19:20:33 Segfault in pg_stat_activity