KB2911026 - FIX: Access violation may occur when you query sys.dm_server_memory_dumps in SQL Server 2008 R2

Applies to: SQL Server 2008 R2 Service Pack 2SQL Server 2008 R2 DeveloperSQL Server 2008 R2 Enterprise


When you run some queries against the sys.dm_server_memory_dumps system dynamic management view in Microsoft SQL Server 2008 R2, an access violation may occur. When this issue occurs, you receive a "Non-yielding Scheduler" error message. 

Note: When this issue occurs, an access violation dump file or a Non-Yielding scheduler dump file may be generated in hours or days after you first access the system dynamic management view. Additionally, the following error message is logged in the SQL Server error log:
<Date><Time>  spid # * BEGIN STACK DUMP:
<Date><Time> spid # * <Date><Time> spid #
<Date><Time>  spid # *
<Date><Time>  spid # *
<Date><Time>  spid # * Exception Address = 00007FFEC3F9BB96 Module(ntdll+000000000004BB96)
<Date><Time>  spid # * Exception Code = c0000005 EXCEPTION_ACCESS_VIOLATION


The issue was first fixed in the following cumulative update of SQL Server.

Cumulative Update 10 for SQL Server 2008 R2 SP2


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.