| From: | Andreas Seltenreich <seltenreich(at)gmx(dot)de> |
|---|---|
| To: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
| Cc: | Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: [sqlsmith] Failed assertion in BecomeLockGroupLeader |
| Date: | 2016-04-30 00:28:22 |
| Message-ID: | 87bn4sey8p.fsf@credativ.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Alvaro Herrera writes:
> Amit Kapila wrote:
>> It will be helpful if you can find the offending query or plan
>> corresponding to it?
>
> So I suppose the PID of the process starting the workers should be in
> the stack somewhere.
Ja, it's right on the top, but long gone by now…
> With that one should be able to attach to that process and get another
> stack trace. I'm curious on whether you would need to have started
> the server with "postgres -T"
This sounds like it should work to capture more context when the
Assertion fails the next time. I have to purge the catalogs a bit
though to avoid stopping early on boring core dumps. Most of them are
currently caused by acl.c using text for syscache lookups and triggering
an NAMEDATALEN assertion.
E.g.: select has_language_privilege('smithsmithsmithsmithsmithsmithsmithsmithsmithsmithsmithsmithsmith', smith');
thanks,
andreas
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andreas Seltenreich | 2016-04-30 00:34:35 | Re: [sqlsmith] Failed assertion in BecomeLockGroupLeader |
| Previous Message | Andres Freund | 2016-04-30 00:10:55 | Re: atomic pin/unpin causing errors |