Microsoft distributes Microsoft SQL Server 2008 Service Pack 2 (SP2) fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security updates that were included with the previous SQL Server 2008 SP2 update release.
Consider the following scenario:
You enable the AUTO_CLOSE option of a database in an instance of SQL Server 2008, SQL Server 2012, or SQL Server 2014.
One or more missing index entries for an object of the database are in the missing index dynamic management view.
All the connections that are made to this database are closed.
Note When all connections are closed, the database is expected to close automatically.
At the same time, a task for a background clear operation tries to delete the missing index entry. The thread that runs the task is not the same thread that closes the database.
In this scenario, access violation occurs. Additionally, you have to restart the instance of SQL Server to resolve this issue.
This issue occurs because multiple calls are made to a free method when the missing task for the background clear operation tries to delete the missing index entry.
The issue was first fixed in the following cumulative update of SQL Server.
Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server: