KB4519668 - FIX: Access violation occurs when you enable TF 3924 to clean orphaned DTC transactions in SQL Server 2016, 2017 and 2019

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


Assume that you use Microsoft SQL Server 2016, 2017 or 2019. When you enable trace flag (TF) 3924 to clean orphaned Distributed Transaction Coordinator (DTC) transactions in sqlmin!XactMgr::CleanOrphanedXacts, you may notice that an access violation (AV) occurs. Additionally, you may receive a series of dump files.

Note TF 3924 is introducedin KB 3145492 toclean up orphaned DTC transactions.


The issue was initially fixed through the following Knowledge Base article:

4511816 reduces the frequency of the issue. However, it cannot completely fix the issue. This new fix is intended to completely address the issue.


This issue is fixed in the following cumulative updates for SQL Server:
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:


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