Crash in cldapi during sync (windows 11)

Jojo Tang 86 Reputation points
2021-09-30T05:57:30.71+00:00

when using cloud api in win11 to sync huge files(more than 20000 files), crash in IssueHsmControl.
Work fine in win 10.

win 11 cldapi.dll version (10.0.22000.1)

crash dump file as below:
CONTEXT: (.ecxr)
eax=00000494 ebx=00000494 ecx=fffffffe edx=00000000 esi=00000000 edi=268233d4
eip=529c3df8 esp=268233c8 ebp=268233f4 iopl=0 nv up ei ng nz na po nc
cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010282
cldapi!IssueHsmControl+0x7a:
529c3df8 8b09 mov ecx,dword ptr [ecx] ds:002b:fffffffe=????????
Resetting default scope

FAULTING_IP:
cldapi!IssueHsmControl+7a
529c3df8 8b09 mov ecx,dword ptr [ecx]

EXCEPTION_RECORD: (.exr -1)
ExceptionAddress: 529c3df8 (cldapi!IssueHsmControl+0x0000007a)
ExceptionCode: c0000005 (Access violation)
ExceptionFlags: 00000000
NumberParameters: 2
Parameter[0]: 00000000
Parameter[1]: fffffffe
Attempt to read from address fffffffe

DEFAULT_BUCKET_ID: INVALID_POINTER_READ

FOLLOWUP_IP:
cldapi!IssueHsmControl+7a
529c3df8 8b09 mov ecx,dword ptr [ecx]

READ_ADDRESS: fffffffe

ERROR_CODE: (NTSTATUS) 0xc0000005 - <Unable to get error code text>

EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - <Unable to get error code text>

EXCEPTION_CODE_STR: c0000005

EXCEPTION_PARAMETER1: 00000000

EXCEPTION_PARAMETER2: fffffffe

WATSON_BKT_PROCSTAMP: 6153e5a8

WATSON_BKT_PROCVER: 5.0.3.929

WATSON_BKT_MODULE: cldapi.dll

WATSON_BKT_MODSTAMP: 630712b2

WATSON_BKT_MODOFFSET: 13df8

WATSON_BKT_MODVER: 6.2.22000.1

MODULE_VER_PRODUCT: Microsoft? Windows? Operating System

BUILD_VERSION_STRING: 22000.1.amd64fre.co_release.210604-1628

MODLIST_WITH_TSCHKSUM_HASH: 63c352f8745f9397010f81f15184bfc050c997e8

MODLIST_SHA1_HASH: a960500748d108131b2fd853731e5e2d597bcfb2

DUMP_FLAGS: 0

DUMP_TYPE: 2

ANALYSIS_SESSION_HOST: DESKTOP-G6QC05N

ANALYSIS_SESSION_TIME: 09-30-2021 11:50:14.0808

ANALYSIS_VERSION: 10.0.18362.1 x86fre

THREAD_ATTRIBUTES:
BUGCHECK_STR: APPLICATION_FAULT_INVALID_POINTER_READ

PRIMARY_PROBLEM_CLASS: APPLICATION_FAULT

PROBLEM_CLASSES:

ID:     [0n313]
Type:   [@ACCESS_VIOLATION]
Class:  Addendum
Scope:  BUCKET_ID
Name:   Omit
Data:   Omit
PID:    [Unspecified]
TID:    [0x15c0]
Frame:  [0] : cldapi!IssueHsmControl

ID:     [0n285]
Type:   [INVALID_POINTER_READ]
Class:  Primary
Scope:  DEFAULT_BUCKET_ID (Failure Bucket ID prefix)
        BUCKET_ID
Name:   Add
Data:   Omit
PID:    [Unspecified]
TID:    [0x15c0]
Frame:  [0] : cldapi!IssueHsmControl

LAST_CONTROL_TRANSFER: from 529bdb43 to 529c3df8

STACK_TEXT:
268233f4 529bdb43 00000098 26823578 00000404 cldapi!IssueHsmControl+0x7a
268234bc 529c10a3 26823578 00000404 00000000 cldapi!CfpGetSyncRootInfoByHandle+0x87
26823aec 529bcef0 00000000 00000000 00000000 cldapi!TlmLogApiReliability+0x1fd
26823b64 529db118 17736599 277355f8 0000001c cldapi!CfConvertToPlaceholder+0x1a0
....

SYMBOL_NAME: cldapi!IssueHsmControl+7a

FOLLOWUP_NAME: MachineOwner

MODULE_NAME: cldapi

IMAGE_NAME: cldapi.dll

DEBUG_FLR_IMAGE_TIMESTAMP: 630712b2

STACK_COMMAND: ~57s ; .ecxr ; kb

FAILURE_BUCKET_ID: INVALID_POINTER_READ_c0000005_cldapi.dll!IssueHsmControl

BUCKET_ID: APPLICATION_FAULT_INVALID_POINTER_READ_cldapi!IssueHsmControl+7a
FAILURE_EXCEPTION_CODE: c0000005

FAILURE_IMAGE_NAME: cldapi.dll

BUCKET_ID_IMAGE_STR: cldapi.dll

FAILURE_MODULE_NAME: cldapi

BUCKET_ID_MODULE_STR: cldapi

FAILURE_FUNCTION_NAME: IssueHsmControl

BUCKET_ID_FUNCTION_STR: IssueHsmControl

BUCKET_ID_OFFSET: 7a

BUCKET_ID_MODTIMEDATESTAMP: 630712b2

BUCKET_ID_MODCHECKSUM: 1b3a7

BUCKET_ID_MODVER_STR: 6.2.22000.1

BUCKET_ID_PREFIX_STR: APPLICATION_FAULT_INVALID_POINTER_READ_

FAILURE_PROBLEM_CLASS: APPLICATION_FAULT

FAILURE_SYMBOL_NAME: cldapi.dll!IssueHsmControl

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,166 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Docs 15,141 Reputation points
    2021-10-02T11:49:24.737+00:00

    Please uninstall and reinstall any software related to QNAP or Qsync.

    .
    .
    .
    .
    .
    Please remember to vote and to mark the replies as answers if they help.

    On the bottom of each post there is:

    Propose as answer = answered the question

    On the left side of each post: Vote = a helpful post
    .
    .
    .
    .
    .


  2. Reza-Ameri 16,831 Reputation points
    2021-10-02T16:34:57.7+00:00

    If possible try perform the same testing environment in Windows 10 and see if the problem persist?
    I advise you to report this issue using the Feedback Hub app , so the Windows team would be able to investigate.