From: TreeHunter <no...@gi...> - 2025-08-06 04:51:21
|
Branch: refs/heads/v5.0-release Home: https://github.com/FirebirdSQL/firebird Commit: f55f77e1689312d4f0a40a9a29bda8fce5144e8c https://github.com/FirebirdSQL/firebird/commit/f55f77e1689312d4f0a40a9a29bda8fce5144e8c Author: TreeHunter <608...@us...> Date: 2025-08-06 (Wed, 06 Aug 2025) Changed paths: M src/jrd/Database.cpp M src/jrd/Database.h Log Message: ----------- Backport of fix(shutdown): Prevent race condition when GlobalObject destruction routine unlocks global mutex (#8687) Unlocking global mutex in GlobalObject destruction routine made it possible for a new attachment to slip in, so it will be creating new GlobalObject and using it, while destroying routine still in action. This can lead to an undefined state of the global objects, such as shared memory, where one thread is actively using it while another thread is destroying it. Co-authored-by: Artyom Ivanov <art...@re...> To unsubscribe from these emails, change your notification settings at https://github.com/FirebirdSQL/firebird/settings/notifications |