Issue Details (XML | Word | Printable)

Key: CORE-4575
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Vlad Khorsun
Reporter: Vlad Khorsun
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Firebird Core

AV in garbage collector thread at disconnect of last attachment

Created: 10/Oct/14 10:06 AM   Updated: 23/Sep/15 11:30 AM
Component/s: Engine
Affects Version/s: 3.0 Alpha 1, 3.0 Alpha 2
Fix Version/s: 3.0 Beta 1

Environment: SuperServer only

QA Status: Cannot be tested


 All   Comments   Change History   Subversion Commits      Sort Order: Descending order - Click to sort in ascending order
Vlad Khorsun added a comment - 10/Oct/14 10:15 AM
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.