Symptoms

Assume that you use Always On availability groups (AG) in SQL Server 2019. When you run a read query on the AG secondary database that has read committed snapshot enabled, an assertion failure error occurs on sqlmin.dll!XdesRMBase::StartStmtSnapshot under certain rare conditions.

DateTime spid57 ***Stack Dump being sent to FileName\FilePath
DateTime * *******************************************************************************
DateTime *
DateTime * BEGIN STACK DUMP:
DateTime DateTime spid 57
DateTime *
DateTime * Location:     FileName\FilePath:LineNumber
DateTime * Expression:  !m_recoveryUnit->IsAcceptLogMode() || GetReadSecGhostCleanupCookie () != nullptr || (IsParallelXdes () && GetParentXdes ()->GetReadSecGhostCleanupCookie () != nullptr)
DateTime * SPID: SPID
DateTime * Process ID:  ProcessID
DateTime *
DateTime * Input Buffer 88 bytes -
DateTime * exec ProcedureName

Status

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

Resolution

This issue is fixed in the following cumulative update for SQL Server:

Each new cumulative update 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 your version of SQL Server:

Latest cumulative update for SQL Server 2019

References

Learn about the terminology that 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!

×