Skip to content
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

Fatal lock manager error "Invalid lock id (NNN)" while working with monitoring tables on a highly loaded system [CORE2993] #3375

Closed
firebird-automations opened this issue May 6, 2010 · 10 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @dyemanov

Is duplicated by CORE2630

Attachments:
core-2993.src.7z
core-2993.exe.7z

Server crash or freeze are possible as after-effects, and possibly index corruptions as well. It's reproducible easier with v2.5 than with v2.1.

This issue is caused by some logic errors in synchronization related to the monitoring activities. It may occur under quite rare condition when the lock requester gets its AST delivered while it's still waiting inside the lock manager (lock is granted but the thread still cannot check-in back into the engine) and it happens twice subsequently.

Commits: e8a75e9 1674db2 7acd5e6 870cc30 7d94997 75080a1

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Fix Version: 2.5 RC3 [ 10381 ]

Fix Version: 2.1.4 [ 10361 ]

Fix Version: 3.0 Alpha 1 [ 10331 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

assignee: Vlad Khorsun [ hvlad ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @hvlad

Test case sources, plain Delphi 6 was used.

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

Attachment: core-2993.src.7z [ 11616 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @hvlad

Test case. Compiled exe.

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

Attachment: core-2993.exe.7z [ 11617 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Link: This issue is duplicated by CORE2630 [ CORE2630 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Closed [ 6 ] => Closed [ 6 ]

QA Status: Cannot be tested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment