FIX: Assertion error occurs during restore of compressed backups in SQL Server 2014, 2016 and 2017

Gäller för: SQL Server 2016 DeveloperSQL Server 2016 EnterpriseSQL Server 2016 Enterprise Core

Symptoms


Assume that you restore a compressed backup in Microsoft SQL Server 2014, 2016 and 2017. Occasionally, the restore operation may fail with the following error message:

Error: 17066, Severity: 16, State: 1.

SQL Server Assertion: File:FileName, line=LineNumber Failed Assertion = '!m_ActiveConsumptionList.IsEmpty () || !m_ActiveReads.IsEmpty () || !m_DecodeOutputQ.IsEmpty ()'. This error may be timing-related. If the error persists after rerunning the statement, use DBCC CHECKDB to check the database for structural integrity, or restart the server to ensure in-memory data structures are not corrupted.

Resolution


This issue is fixed in the following cumulative updates for SQL Server:

       Cumulative Update 13 for SQL Server 2017

       Cumulative Update 4 for SQL Server 2016 SP2

       Cumulative update 12 for SQL Server 2016 SP1

       Cumulative Update 1 for SQL Server 2014 SP3

Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References


Learn about the terminology that Microsoft uses to describe software updates.