When you run an instance of Microsoft SQL Server, you receive the following memory assertion failure:

Comment: 'Stack Trace'
Comment: 'Location:  lckmgr.cpp:10012
Expression:  removedEntry != NULL
SPID:   23
Process ID:  3328'

After the memory assertion failure, the server is unable to make any new connections. Additionally, the server deadlocks the scheduler, and the instance of SQL Server has to be restarted.


This fix is included in the following updates for SQL Server:

Cumulative Update 7 for SQL Server 2017

Cumulative Update 1 for SQL Server 2016 Service Pack 2

Note This fix addresses only the server deadlock issue that leaves the server unable to make any new connections.

About SQL Server builds

Each new build for SQL Server contains all the hotfixes and security fixes that were in the previous build. We recommend that you install:

The latest build for SQL Server 2017.

The latest build for SQL Server 2016.


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


Learn about the standard terminology Microsoft uses to describe software updates.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!