Re: BUG #13490: Segmentation fault on pg_stat_activity - Mailing list pgsql-bugs

From Michael Paquier
Subject Re: BUG #13490: Segmentation fault on pg_stat_activity
Date
Msg-id CAB7nPqQPT20t+M881r=D6K1GU+VVgitk4xmOopDbN64M_YBbXw@mail.gmail.com
Whole thread Raw
In response to Re: BUG #13490: Segmentation fault on pg_stat_activity  (Michael Bommarito <michael@bommaritollc.com>)
Responses Re: BUG #13490: Segmentation fault on pg_stat_activity
List pgsql-bugs
On Mon, Jul 13, 2015 at 10:43 PM, Michael Bommarito
<michael@bommaritollc.com> wrote:
> (gdb) bt
> #0  get_tle_by_resno (tlist=0x7fd0d5da27c0, resno=resno@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

pgsql-bugs by date:

Previous
From: Michael Paquier
Date:
Subject: Re: BUG #13126: table constraint loses its comment
Next
From: Heikki Linnakangas
Date:
Subject: Re: BUG #13126: table constraint loses its comment