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

AV in garbage collector thread at disconnect of last attachment [CORE4575] #1583

Closed
firebird-automations opened this issue Oct 10, 2014 · 5 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @hvlad

Commits: 1880668 FirebirdSQL/fbt-repository@28b7d9d

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

assignee: Vlad Khorsun [ hvlad ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @hvlad

Due to race condition there was possible to start more than one GC thread.
When last attachment is gone and database is shutdown, engine waits for finish of only one of GC threads and then released database memory. If extra GC threads not finished before memory is released, AV could happen.

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

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

resolution: Fixed [ 1 ]

Fix Version: 3.0 Beta 1 [ 10332 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

QA Status: Cannot be tested

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

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

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