Re: BUG #13490: Segmentation fault on pg_stat_activity

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Michael Bommarito <michael(at)bommaritollc(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL mailing lists <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #13490: Segmentation fault on pg_stat_activity
Date: 2015-07-14 07:33:26
Message-ID: CAB7nPqQPT20t+M881r=D6K1GU+VVgitk4xmOopDbN64M_YBbXw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, Jul 13, 2015 at 10:43 PM, Michael Bommarito
<michael(at)bommaritollc(dot)com> wrote:
> (gdb) bt
> #0 get_tle_by_resno (tlist=0x7fd0d5da27c0, resno=resno(at)entry=6) at
> /tmp/buildd/postgresql-9.5-9.5~alpha1/build/../src/backend/parser/parse_relation.c:2832
> [...]
> (gdb) info locals
> tle = 0x0
> l = 0x7fd0d5da2940

So basically this is crashing because this tle is NULL, and
get_tle_by_resno does not like that much when this item is extracted
from the list. I am wondering what is breaking that.
--
Michael

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Heikki Linnakangas 2015-07-14 08:45:35 Re: [BUGS] BUG #13126: table constraint loses its comment
Previous Message Michael Paquier 2015-07-14 07:29:13 Re: BUG #13126: table constraint loses its comment