FIX: Access violation occurs on primary replica of AlwaysOn Availability Group in SQL Server

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

Symptoms


Assume that you use AlwaysOn Availability Group (AG) in an instance of Microsoft SQL Server. When the SQL Server restarts, you may receive an access violation on the primary replica. Additionally, you may notice that a memory dump is generated.

Resolution


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

       Cumulative Update 4 for SQL Server 2017

       Cumulative Update 6 for SQL Server 2016 SP1

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.