model-writtenrun 505 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Bryan Green reported an out-of-memory crash diagnosed by Mark Dilger: a failed initial allocation can leave a LOCALLOCK with NULL lockOwners, which a later acquisition dereferences when the error was caught without releasing all locks #1.
- Bryan Green proposed allocating the missing array in the existing-entry path of LockAcquireExtended(), reporting that forced allocation failures reproduced the crash, the patch fixed it, and the regression suite passed #1.
- Michael Paquier reviewed the allocation branch and agreed that retrying allocation when lockOwners is NULL adequately handles the surviving hash entry #2.
- Michael Paquier committed the patch with only comment and commit-message edits as afd63e0ad2, crediting Bryan Green and Mark Dilger and declining backpatching because the problem was considered unlikely in practice.
- Michael Paquier confirmed that the fix had landed on HEAD, closing the thread with the sole submitted patch committed #3.