Assume that you enable the AutoClose option for your database in Microsoft SQL Server 2014. When the database is shutting down, an access violation error may occur on the I/O Completion routine and a memory dump file is generated. After the exception occurs, one of the several log shipping secondary databases stops being able to do further restores. The database that is affected is not always the same.
This issue occurs because of a race condition between the Log Writer thread and another thread that is closing the database.
Service pack informationTo resolve this issue, obtain Service Pack 1 for SQL Server 2014.
bugs that are fixed in SQL Server 2014 Service Pack 1 .
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.