sql data store is causing errors on sql server 2022

Boon, Hendrik (GRQ-BGE) 40 Reputation points
2023-04-04T12:24:49.7933333+00:00

We have recently upgraded our servers to SQL Server 2022, and are currently hosting three Microsoft SQL servers running version 16.0.4015.1. We have enabled the query store on all of our databases, with between 5 to 9 databases hosted per server. Since the upgrade, we have noticed errors in the SQL Server logs occurring every 15 minutes exactly: "SqlDumpExceptionHandler: Process 10 generated fatal exception c0000005 EXCEPTION_ACCESS_VIOLATION. SQL Server is terminating this process." We have also observed the "qds" value in the stack dump with the following module property: "spid8s,Unknown,<frame id="00" address="0x7FFA49CC85BA" pdb="qds.pdb" age="2" guid="58E8B5EB-D36D-4ACC-B68D-3A997239CFD0" module="qds" rva="0x685BA" />" To resolve this issue, we have disabled the query store for all of our databases, which has eliminated any further errors. We would appreciate any insight on whether this is a known bug and how to address it. Thank you for your assistance.

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,163 questions
{count} votes

Accepted answer
  1. Erland Sommarskog 113.7K Reputation points MVP
    2023-04-04T21:50:19.5733333+00:00

    That certainly sounds like a bug. I would recommend that you open a case with Microsoft to have this resolved. The only other recommendation I can give is to enable Query Store for one database at a time, to see if it is a specific database that is causing the crashes.

    3 people found this answer helpful.

3 additional answers

Sort by: Most helpful
  1. RahulRandive 9,976 Reputation points
    2023-04-05T00:13:14.8533333+00:00

    Thanks for your question. During my research, I stumbled upon a document that contains error details similar to those related to SqlDumpExceptionHandler and EXCEPTION_ACCESS_VIOLATION. "Access violations and memory dump files when you use XEvent session with sqlos.wait_info event in SQL Server" Although I am uncertain whether this is relevant to your current situation, could you kindly take a look at it, please? https://learn.microsoft.com/en-us/troubleshoot/sql/database-engine/backup-restore/access-violations-memory-dump-files Thank you!


  2. Seeya Xi-MSFT 16,476 Reputation points
    2023-04-05T06:19:10.4766667+00:00

    Hi @Boon, Hendrik (GRQ-BGE),

    I agree that this is a bug issue. You can post this on the feedback page. Someone from the product team will see it.

    https://feedback.azure.com/d365community/forum/04fe6ee0-3b25-ec11-b6e6-000d3a4f0da0

    Best regards,

    Seeya


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".


  3. Fernando Sibaja 96 Reputation points
    2024-04-17T00:45:59.8733333+00:00

    If you hit an issue similar to this, ensure you upgrade to CU12.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.