<b>4.0.8.3331</b>
Alexey Kovyazin 2026.11.08 11:27:29
JAttachment::startTransaction: make the interface while the attachment is locked
startTransaction() called tra->getInterface() after EngineContextHolder
ended. A forced shutdown (gfix -shut full -force 0) purges the attachment
as soon as the lock is free, and the new transaction is already deleted:
SIGSEGV in jrd_tra::getInterface() on Linux, a freed JTransaction and an
access violation in YTransaction::validate() on Windows (the third bug in
IBSurgeon/hqbird#12).
Everything after the catch block moves into the try block (Alex Peshkoff's
variant).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 9a32c5bd69d82e85b8a9b429bcd9a13326eebb8e)

Changed paths:
  M src/jrd/jrd.cpp