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:
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.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.