Andreas Seltenreich <seltenreich(at)gmx(dot)de> writes:
> a memory-starved instance of sqlsmith just caught RemoveLocalLock
> pfree'ing a NULL in locallock->lockOwners. I think what happened is
> that it was called to clean up after LockAcquireExtended's
> MemoryContextAlloc failed. The content of errordata seems consistent
> with this.
Ooops. Looks to have been my bug originally. Will fix, thanks!
regards, tom lane