Symptoms
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
Resolution
The issue was first fixed in the following cumulative update of SQL Server.
Cumulative Update 10 for SQL Server 2008 R2 SP2 /en-us/help/2908087
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:
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.