KB4039510 - FIX: Access violation occurs when you use sp_xml_preparedocument to open XML documents in SQL Server

Symptoms

When you use the stored procedure sp_xml_preparedocument to open XML documents in Microsoft SQL Server, an access violation occurs. In addition, you may experience an increase in OPENXML sessions waiting on the "PREEMPTIVE_OS_LIBRARYOPS" wait type.

Resolution

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

      Cumulative Update 1 for SQL Server 2017

      Cumulative Update 9 for SQL Server 2016 RTM

      Cumulative Update 6 for SQL Server 2016 SP1

      Cumulative Update 7 for SQL Server 2014 SP2

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:

Latest cumulative update for SQL Server 2017

Latest cumulative update for SQL Server 2016

Latest cumulative update for SQL Server 2014

Status

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

References

Learn about the terminologythat 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?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×