Nov 2025

1 commit
Avoid possible crash within libsanitizer.
5 Nov 2025Tom Lanemaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.1REL_17_STABLE17.7REL_16_STABLE16.11Also in: ubsan (written from the discussion, no matching patch)
LLM analysis, 100% surewritten from the discussion, no matching patch2 of 2 reviewers saw the final version

The commit implements Tom Lane's inline patch using disable_sanitizer_instrumentation in src/backend/main/main.c #10, with expanded explanatory comments c775bf048a. It does not adopt the attached patch's separate compilation unit, Makefile changes, or global reached_main variable #1.

  • Quan Zongliangsaw the final versionLLM analysis, 96% sureTested the last attached patchset and confirmed postgres -V stopped crashing while reporting shutdown hangs #5; coverage is assessed against that patchset for this from_discussion verdict, with no demonstrated testing of the later inline implementation #10.
  • Jacob Championsaw the final versionLLM analysis, 100% sureProposed disable_sanitizer_instrumentation, which Tom adopted in the inline fix, and supported leaving it without a wrapper macro until another use arose #9 #10 #11.

Credits across 1 commit

Author
Tom Lane1
Reported by
Alexander Lakhin1
Emmanuel Sibi1
Committer
Tom Lane1