KB4052133 - FIX: Access violation when SQL Server 2016 tries to start Query Store Manager during startup

Applies To
SQL Server 2016 Service Pack 2 SQL Server 2016 Service Pack 1

Symptoms

Assume that an instance of Microsoft SQL Server 2016 restarts, for example, because of a system restart. During startup, if SQL Server tries to start Query Store Manager, you may receive an access violation error intermittently. Because of the access violation, SQL Server fails to start automatically. Therefore, you may have to start SQL Server manually. Additionally, an error message that resembles the following is logged in the SQL Server error log:

Note

Date/Time Starting up database 'master'.
Date/Time Using 'dbghelp.dll' version '4.0.5'
Date/Time ***Stack Dump being sent to FilePath\FileName
Date/Time SqlDumpExceptionHandler: Process 5 generated fatal exception c0000005 EXCEPTION_ACCESS_VIOLATION. SQL Server is terminating this process.
Date/Time * *******************************************************************************
Date/Time *
Date/Time * BEGIN STACK DUMP:
Date/Time * Date/Time
Date/Time *
Date/Time *
Date/Time * Exception Address = 00007FFF2BF59AFB Module(sqlmin+00000000011D9AFB)
Date/Time * Exception Code = c0000005 EXCEPTION_ACCESS_VIOLATION
Date/Time * Access Violation occurred reading address 0000000000000000
Date/Time *
Date/Time *
Date/Time * MODULE BASE END SIZE

Resolution

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 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

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.