Consider the following scenario:
- You create an XEvent session with the sqlos.wait_info event in Microsoft SQL Server 2014, 2016 or 2017.
- The XEvent session includes one or more of the following global actions: sql_text, tsql_frame, tsql_stack, query_hash, or query_hash_signed.
- The server is under high load serving many concurrent parallel queries.
In this scenario, SQL Server may experience delays in parallel thread cleanup which fires the wait_info event and triggers an unhandled access violation. Therefore, SQL Server may stop unexpectedly.
Note: The sqlos.wait_info event is also present in the default system health session. Therefore, it's also susceptible to cause the same issue.
This issue is fixed in the following cumulative updates for SQL Server:
- Cumulative Update 14 for SQL Server 2017
- Cumulative Update 5 for SQL Server 2016 SP2
- Cumulative Update 4 for SQL Server 2014 SP3
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: