FIX: SQL Server 2014 or 2016 crashes on the execution of the DBCC CLONEDATABASE command

Applies to: SQL Server 2016 DeveloperSQL Server 2016 EnterpriseSQL Server 2016 Enterprise Core

Symptoms


When you run the DBCC CLONEDATABASE command on an instance of Microsoft SQL Server 2014 or 2016, SQL Server may crash. Additionally, an error message that resembles the following is logged in the SQL Server error log.

Error: 615, Severity: 21, State: 1.

Could not find database ID DatabaseID, name <DatabaseName>. The database may be offline. Wait a few minutes and try again.

ex_terminator: Possible termination due to exception during stack unwinding.

Using 'dbghelp.dll' version '4.0.5'

Resolution


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

Cumulative Update 2 for SQL Server 2016 SP1

Cumulative Update 5 for SQL Server 2014 SP2

 

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.