Re: [HACKERS] Backend crashes - what's going on here??? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] Backend crashes - what's going on here???
Date
Msg-id 199802201927.OAA07124@candle.pha.pa.us
Whole thread Raw
In response to Backend crashes - what's going on here???  (jwieck@debis.com (Jan Wieck))
Responses Re: [HACKERS] Backend crashes - what's going on here???  (jwieck@debis.com (Jan Wieck))
List pgsql-hackers
>
> Hey,
>
>     the current snapshot dumps core on the 4th time doing
>
>     REVOKE ALL ON pg_user FROM public;
>
>     It  does  too in other situations but this is the simplest to
>     reproduce. The segmentation fault happens in nocachegetattr()
>     due  to  a  destroyed  tuple descriptor (natts = 0!!! and the
>     others don't look good either) for the syscache 21 (USENAME).
>     But the destruction must happen somewhere else.
>
>     With  the  02/13  snapshot  I haven't got any problems on it.
>     But cannot find the error with diff.
>
>     BTW: Doing last checks on view permissions - sending a  patch
>     soon.

Yep, I saw this too when testing my password acl null patch.  Couldn't
reproduce it, so I thought it was a fluke.

--
Bruce Momjian
maillist@candle.pha.pa.us

pgsql-hackers by date:

Previous
From: "Oliver Elphick"
Date:
Subject: Re: [HACKERS] Who is everyone?
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] group by problem