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: Ascending order - Click to sort in descending order
Vlad Khorsun made changes - 10/Oct/14 10:06 AM
Field Original Value New Value
Assignee Vlad Khorsun [ hvlad ]
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.

Vlad Khorsun made changes - 10/Oct/14 10:15 AM
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 3.0 Beta 1 [ 10332 ]
Resolution Fixed [ 1 ]
Pavel Zotov made changes - 02/Jun/15 05:00 AM
Status Resolved [ 5 ] Resolved [ 5 ]
QA Status Cannot be tested
Pavel Cisar made changes - 23/Sep/15 11:30 AM
Status Resolved [ 5 ] Closed [ 6 ]