Assume that you have multiple client applications that connect to an instance of Microsoft SQL Server 2008 R2, SQL Server 2012, or SQL Server 2014. Additionally, the Multiple Active Result Sets (MARS) feature is enabled in the connection strings or the applications are configured to use Distributed Transaction Coordinator (DTC). When multiple requests are being sent from these applications at the same time, deadlocks may occur when data is manipulated. In this situation, an access violation may occur in the SQL Server internal deadlock monitor.
This issue occurs because the transaction mutex is not updated with the new workspace. The deadlock monitor thread accesses this old workspace during lock enumeration, and the access violation occurs if the old workspace has been released or if it was not cleaned up properly.
Cumulative update information
The issue was first fixed in the following cumulative update of 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:
The hotfix updates the transaction mutex to use the new workspaces when workspaces are changed.
A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.
If the hotfix is available for download, there is a "Hotfix Download Available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.
Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website:
Microsoft SQL Server 2008 R2 Datacenter, Microsoft SQL Server 2008 R2 Developer, Microsoft SQL Server 2008 R2 Enterprise, Microsoft SQL Server 2008 R2 Standard, Microsoft SQL Server 2008 R2 Web, Microsoft SQL Server 2008 R2 Workgroup, Microsoft SQL Server 2012 Developer, Microsoft SQL Server 2012 Enterprise, Microsoft SQL Server 2012 Standard, Microsoft SQL Server 2012 Web, Microsoft SQL Server 2012 Service Pack 1, Microsoft SQL Server 2014 Developer, Microsoft SQL Server 2014 Enterprise, Microsoft SQL Server 2014 Standard