KB4466793 - FIX: Assertion error occurs when you restart the SQL Server 2016 database

Applies To
SQL Server 2016 Developer - duplicate (do not use) SQL Server 2016 Enterprise - duplicate (do not use) SQL Server 2016 Enterprise Core - duplicate (do not use) SQL Server 2016 Standard - duplicate (do not use)

Symptoms

Assume that you create a database and a primary transaction log file in Microsoft SQL Server 2016. You run some transactions to grow the files. In this scenario, when you restart the database server, an assertion error occurs. Additionally, the following mini dump file is generated:

Note

DateTime     **Dump thread - spid = 0, EC = 0x0000026FEE9AB2C0
DateTime     ***Stack Dump being sent to FilePath\FileName
DateTime     * *******************************************************************************
DateTime     *
DateTime    * BEGIN STACK DUMP:
DateTime     *   DateTime
DateTime     *
DateTime     * Location:  FilePath\FileName
DateTime     * Expression:  ret == itFcb->lfcb_fSeqNo
DateTime     * SPID:   36
DateTime     * Process ID: ProcessID
...
DateTime     Error: 17066, Severity: 16, State: 1.
DateTime     SQL Server Assertion: File: <FilePath\FileName>, line=LineNumber Failed Assertion = 'ret == itFcb->lfcb_fSeqNo'. 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.
DateTime     Error: 3624, Severity: 20, State: 1.
DateTime     A system assertion check has failed. Check the SQL Server error log for details. Typically, an assertion failure is caused by a software bug or data corruption. To check for database corruption, consider running DBCC CHECKDB. If you agreed to send dumps to Microsoft during setup, a mini dump will be sent to Microsoft. An update might be available from Microsoft in the latest Service Pack or in a Hotfix from Technical Support.

Resolution

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

Cumulative update 4 for SQL Server 2016 SP2

About cumulative updates for 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:

Latest cumulative update for SQL Server 2016

This problem is fixed in the following on-demand hotfix for Cumulative Update 3 for SQL Server 2016 Service Pack 2:

2d4e4a79-700a-8d0b-daea-cb25f86a295b Download the English (en-US) on-demand hotfix now.

2d4e4a79-700a-8d0b-daea-cb25f86a295b Download the German (de-DE) on-demand hotfix now.

2d4e4a79-700a-8d0b-daea-cb25f86a295b Download the Spanish (es-ES) on-demand hotfix now.

2d4e4a79-700a-8d0b-daea-cb25f86a295b Download the French (fr-FR) on-demand hotfix now.

2d4e4a79-700a-8d0b-daea-cb25f86a295b Download the Italian (it-IT) on-demand hotfix now.

2d4e4a79-700a-8d0b-daea-cb25f86a295b Download the Japanese (jp-JP) on-demand hotfix now.

2d4e4a79-700a-8d0b-daea-cb25f86a295b Download the Korean (ko-KO) on-demand hotfix now.

2d4e4a79-700a-8d0b-daea-cb25f86a295b Download the Portuguese (pt-PT) on-demand hotfix now.

2d4e4a79-700a-8d0b-daea-cb25f86a295b Download the Russian (ru-RU) on-demand hotfix now.

2d4e4a79-700a-8d0b-daea-cb25f86a295b Download the Simplified Chinese (zh-CN) on-demand hotfix now.

2d4e4a79-700a-8d0b-daea-cb25f86a295b Download the Traditional Chinese (zh-TW) on-demand hotfix now.

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.