model-writtenrun 873 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Andres Freund reported that ASAN's use-after-return checking moves stack variables onto the heap, causing false stack-depth failures, and submitted a fix in #1.
- The patch in #1 uses __builtin_frame_address() for the current stack location when available, retains the local-variable fallback, and removes the CI setting that disabled use-after-return checking; Andres requested backpatching because the stack-base calculation already used the builtin.
- Tom Lane endorsed the consistent use of frame addresses and suggested describing the measured location as the stack frame in #2.
- Andres committed #1 as c0bf1d89df with Tom's wording and additional comment clarification, crediting Tom's review and specifying backpatching through PostgreSQL 14.
- In #3, Andres confirmed that the changes were pushed and explained that he preserved the older branches' use of long while backpatching, closing the thread with the fix landed.