In our system we have a file table, since we experience some slowness, we tried to rebuild the table using the statement:
alter table [table_name] rebuild with (online=off)
and this caused EXCEPTION_ACCESS_VIOLATION and memory dump from SQL server process.
The table has ~2000 records with small files only, the EXCEPTION_ACCESS_VIOLATION happened in different environments, also production environment and it happened with SQL 2016 CU5 and also with SQL 2016 CU10.
Does anyone experienced similar errors?
below header of the memory dump:
====================================================================This file is generated by Microsoft SQL Server
version 13.0.5492.2
upon detection of fatal unexpected error. Please return this file,
the query or program that produced the bugcheck, the database and
the error log, and any other pertinent information with a Service Request.
Computer type is Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz.
Bios Version is INTEL - 6040000
PhoenixBIOS 4.0 Release 6.0
8 X64 level 8664, 2 Mhz processor (s).
Windows NT 6.2 Build 9200 CSD .
Memory
MemoryLoad = 31%
Total Physical = 36863 MB
Available Physical = 25297 MB
Total Page File = 36879 MB
Available Page File = 24523 MB
Total Virtual = 134217727 MB
Available Virtual = 134161220 MB
***Stack Dump being sent to D:\SQLServer\MSSQL13.MSSQLSERVER\MSSQL\LOG\SQLDump0001.txt
SqlDumpExceptionHandler: Process 309 generated fatal exception c0000005 EXCEPTION_ACCESS_VIOLATION. SQL Server is
terminating this process.
* *******************************************************************************
*
* BEGIN STACK DUMP:
* 12/19/19 17:15:40 spid 309
*
*
* Exception Address = 00007FFC5E3255E0 Module(sqlTsEs+00000000004355E0)
* Exception Code = c0000005 EXCEPTION_ACCESS_VIOLATION
* Access Violation occurred reading address 0000000000000000
* Input Buffer 164 bytes -
* alter table [SIT_UA_tmp].[dbo].[SYS_ENTITY] rebuild with (O
* NLINE=off)
*