cancel
Showing results for 
Search instead for 
Did you mean: 

SA17 Periodic Crash - Windows Server 2019. Minidumps submitted

1,293

We are experiencing crashes of SQL Anywhere 17.0.10.5963 at two separate sites. In both cases, we are running the SQL Anywhere server as a windows service on Windows Server 2019 Standard.

The following error is logged in the Windows System Log:

The SQL Anywhere - 17 Server service terminated unexpectedly.  It has done this 2 time(s).

We have reviewed the -o (console) log and do not see any useful errors - there are no hints as to what may be triggering this, the log just stops processing events until we restart the SQL service.

At both sites, we have installed a .NET application that queries data (read-only) from the SQL Anywhere server every 30mins. The crash seems to align with the times the application is querying SQL Anywhere, but only happens on a rare occasion (eg. once every 1-2 days, whilst we are running this tool every 30 mins). The .NET application uses the Sap.Data.SQLAnywhere driver (17.0.7.3399 - https://www.nuget.org/packages/Sap.Data.SQLAnywhere/17.0.7.3399)

We have run dbvalid on the databases at both sites and no issues were reported.

I have several crash dumps for both sites (Crash Log and Windbg output below). In all cases the exception code is c0000005 (Access violation).

I have submitted the crash dumps using dbsupport with the following Submission ID's. As we don't have access to log a support ticket, we are currently unable to follow this up directly.

Submission ID: 6973838

Submission ID: 6973842

Any suggestions would be greatly appreciated

Crash Log:

VERSION=17.0.10.5963
FILENAME=C:\\ProgramData\\SQL Anywhere 17\\diagnostics\\SA17_20210617_141509_5412.crash_log
OS=Windows 2016 Build 17763 
PROCESSOR=X86_64
EXEC_ARCH=X86
EXEC_PATH=C:\\Sybase17\\SQL Anywhere 17\\Bin32\\dbsrv17.exe
MODULE_PATH=C:\\Sybase17\\SQL Anywhere 17\\Bin32\\dbserv17.dll
EXCEPTION_PTR=5DA9F384
EXCEPTION_CODE=3221225477
EXCEPTION_FLAGS=0
EXCEPTION_RECORD=00000000
EXCEPTION_ADDRESS=64ADAB8A
EXCEPTION_NumParameters=2
EXCEPTION_Param0=00000000
EXCEPTION_Param1=0000008C
TRYING_TO_SAVE_MINI_DUMP C:\\ProgramData\\SQL Anywhere 17\\diagnostics\\SA17_20210617_141509_5412.dmp
DUMPLEVEL 0
SUBMIT_MINIDUMP=1
SAVING_MINI_DUMP_COMPLETED
CRASH_LOG_COMPLETE
ATTEMPTING_TO_SUBMIT_MINIDUMP...

Windbg Output:

*******************************************************************************
*                                                                             *
*                        Exception Analysis                                   *
*                                                                             *
*******************************************************************************

*** WARNING: Unable to verify timestamp for dbsrv17.exe

KEY_VALUES_STRING: 1

    Key  : AV.Dereference
    Value: NullClassPtr

    Key  : AV.Fault
    Value: Read

    Key  : Analysis.CPU.mSec
    Value: 3405

    Key  : Analysis.DebugAnalysisManager
    Value: Create

    Key  : Analysis.Elapsed.mSec
    Value: 60210

    Key  : Analysis.Init.CPU.mSec
    Value: 749

    Key  : Analysis.Init.Elapsed.mSec
    Value: 46827

    Key  : Analysis.Memory.CommitPeak.Mb
    Value: 89

    Key  : Timeline.Process.Start.DeltaSec
    Value: 14402

    Key  : WER.Process.Version
    Value: 17.0.10.5963


CONTEXT:  (.ecxr)
eax=1e7b5308 ebx=1fded808 ecx=00000000 edx=00000222 esi=00000001 edi=1fd01208
eip=6135ab8a esp=5dc1f4ec ebp=00000001 iopl=0         nv up ei pl nz na po nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010202
dbserv17+0x40ab8a:
6135ab8a 39918c000000    cmp     dword ptr [ecx+8Ch],edx ds:002b:0000008c=????????
Resetting default scope

EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 6135ab8a (dbserv17+0x0040ab8a)
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 00000000
   Parameter[1]: 0000008c
Attempt to read from address 0000008c

PROCESS_NAME:  dbsrv17.exe

READ_ADDRESS:  0000008c

ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.

EXCEPTION_CODE_STR:  c0000005

EXCEPTION_PARAMETER1:  00000000

EXCEPTION_PARAMETER2:  0000008c

STACK_TEXT:  
5dc1f4e8 00000000     615e1076 00000222 1fd01208 dbserv17+0x40ab8a


SYMBOL_NAME:  dbserv17+40ab8a

MODULE_NAME: dbserv17

IMAGE_NAME:  dbserv17.dll

STACK_COMMAND:  ~6s ; .ecxr ; kb

FAILURE_BUCKET_ID:  NULL_CLASS_PTR_READ_c0000005_dbserv17.dll!Unknown

OSPLATFORM_TYPE:  x86

OSNAME:  Windows 10

IMAGE_VERSION:  17.0.10.5963

FAILURE_ID_HASH:  {536d8809-7503-dcb1-1c5d-81b485326593}

Followup:     MachineOwner

Accepted Solutions (0)

Answers (0)