Skip to content

Backport Fix potential deadlock when starting the encryption thread #8402#8412

Merged
dyemanov merged 1 commit intoFirebirdSQL:B3_0_Releasefrom
MochalovAlexey:8403_crypt_deadlock_fix_backport
Jan 28, 2025
Merged

Backport Fix potential deadlock when starting the encryption thread #8402#8412
dyemanov merged 1 commit intoFirebirdSQL:B3_0_Releasefrom
MochalovAlexey:8403_crypt_deadlock_fix_backport

Conversation

@MochalovAlexey
Copy link
Copy Markdown
Contributor

@MochalovAlexey MochalovAlexey commented Jan 27, 2025

Backport for FB3 (fix for #8402)

add a check to verify thread matching between the encryption thread and the thread where we release the attachment. If they match, use a dummy mutex instead of the actual dbb_thread_mutex to avoid a deadlock

…QL#8403) B3_0_Release backport

add a check to verify thread matching between the encryption thread and the thread where we release the attachment. If they match, use a dummy mutex instead of the actual dbb_thread_mutex to avoid a deadlock
@AppVeyorBot
Copy link
Copy Markdown

@MochalovAlexey MochalovAlexey changed the title Backport Fix potential deadlock when starting the encryption thread #8403 Backport Fix potential deadlock when starting the encryption thread #8402 Jan 27, 2025
@dyemanov dyemanov merged commit e7801a5 into FirebirdSQL:B3_0_Release Jan 28, 2025
@MochalovAlexey MochalovAlexey deleted the 8403_crypt_deadlock_fix_backport branch January 28, 2025 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants