New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Engine crashes if the NULL attachment handle is passed from the Y-valve [CORE2840] #3226
Comments
Modified by: @dyemanovassignee: Dmitry Yemanov [ dimitr ] |
Modified by: @dyemanovstatus: Open [ 1 ] => In Progress [ 3 ] |
Modified by: @dyemanovFix Version: 2.5 RC2 [ 10372 ] |
Modified by: @dyemanovdescription: The issue becomes possible when multiple threads execute the isc_detach_database() call at the same time. It can be reproduced with: delete from mon$attachments where mon$attachment_id <> current_connection running against a concurrently loaded server. I tried 20 TPC-C connections. => The issue becomes possible when multiple threads execute the isc_detach_database() call at the same time. It can be reproduced with: delete from mon$attachments where mon$attachment_id <> current_connection running against a concurrently loaded server. I tried 20 TPC-C connections. It seems being a regression introduced in RC1. |
Modified by: @dyemanovstatus: In Progress [ 3 ] => Open [ 1 ] |
Modified by: @dyemanovFix Version: 3.0 Alpha 1 [ 10331 ] |
Modified by: @pcisarstatus: Resolved [ 5 ] => Closed [ 6 ] |
Modified by: @pavel-zotovQA Status: No test |
Modified by: @pavel-zotovstatus: Closed [ 6 ] => Closed [ 6 ] QA Status: No test => Not enough information Test Details: What kind of workload needs to be created ? How long sessions should work before they will be killed ? |
Submitted by: @dyemanov
The issue becomes possible when multiple threads execute the isc_detach_database() call at the same time. It can be reproduced with:
delete from mon$attachments where mon$attachment_id <> current_connection
running against a concurrently loaded server. I tried 20 TPC-C connections.
It seems being a regression introduced in RC1.
Commits: 2cc6811 2497723
====== Test Details ======
What kind of workload needs to be created ? How long sessions should work before they will be killed ?
The text was updated successfully, but these errors were encountered: