Skip to content

Crash in tus resume #627

Closed
Closed

Description

@anon-pradip

Client version: v3.0.0-beta.5
Copy a large file (around 2GB) into sync root folder. Perform any option: Pause sync or Force sync now while the syncing is going on. The client will be closed itself

Video:

Screencast.from.2025-10-29.16-53-38.mp4

Activity

  1. added this to the 3.0.0 milestone on Oct 29, 2025
  2. TheOneRing commented on Oct 29, 2025

    @TheOneRing
    Contributor

    Please provide log files, I'm unable to reproduce the issue.

  3. provalinf commented on Oct 29, 2025

    @provalinf

    I also had this problem when pausing three times and resuming synchronization, but it involved a large number of small files in a vendor folder (as with my other ticket, I am using the cmder zip file for my stability test):

    25-10-30 00:16:01:270 [ info sync.networkjob ]:	Created OCC::MkColJob(OCC::Account("[email protected]"), "https://my-domain.com/dav/spaces/e753ea99-bf29-42a0-9d51-1850f45d002f$1d9f1866-1f44-473d-bb16-804764dfa153/cmder/vendor/git-for-windows/mingw64/share/doc", "MKCOL", Original-Request-ID: "942171ef-2298-4882-9210-3476705b09f7", X-Request-ID: "942171ef-2298-4882-9210-3476705b09f7") for OCC::PropagateRemoteMkdir(0xfc628116c0)
    25-10-30 00:16:01:270 [ info sync.vfs.cfapi.wrapper ]:	updatePlaceholderState "C:\\Users\\Valentin\\OpenCloud Beta\\Personnel\\cmder\\vendor\\git-for-windows\\mingw64\\lib\\reg1.3" 1761779748 "e753ea99-bf29-42a0-9d51-1850f45d002f$1d9f1866-1f44-473d-bb16-804764dfa153!90058bd7-3acc-47f1-9de0-c7b1d05a50c1"
    25-10-30 00:16:01:271 [ info sync.database ]:	Updating file record: SyncJournalFileRecord(path: "cmder/vendor/git-for-windows/mingw64/lib/reg1.3", inode: 48976645948235808, modtime: 1761779748, type: CSyncEnums::ItemTypeDirectory, etag: "d01e6b1f3e554c2b7ecef64ecc611e7d", fileId: "e753ea99-bf29-42a0-9d51-1850f45d002f$1d9f1866-1f44-473d-bb16-804764dfa153!90058bd7-3acc-47f1-9de0-c7b1d05a50c1", remotePerm: "DNVCKR", size: 0, checksum: "", serverHasIgnoredFiles: false, hasDirtyPlaceholder: false) with etag "d01e6b1f3e554c2b7ecef64ecc611e7d"
    25-10-30 00:16:01:271 [ info sync.propagator ]:	Completed propagation of "cmder/vendor/git-for-windows/mingw64/lib/reg1.3" by OCC::PropagateDirectory(0xfc620b5200) with status OCC::SyncFileItem::Success
    25-10-30 00:16:01:271 [ info sync.propagator ]:	Starting propagation of OCC::SyncFileItem(file="cmder/vendor/git-for-windows/mingw64/share/git", type=CSyncEnums::ItemTypeDirectory, instruction=CSyncEnums::CSYNC_INSTRUCTION_NEW, status=OCC::SyncFileItem::NoStatus) by OCC::PropagateRemoteMkdir(0xfc628132e0)
    25-10-30 00:16:01:272 [ info sync.networkjob ]:	Created OCC::MkColJob(OCC::Account("[email protected]"), "https://my-domain.com/dav/spaces/e753ea99-bf29-42a0-9d51-1850f45d002f$1d9f1866-1f44-473d-bb16-804764dfa153/cmder/vendor/git-for-windows/mingw64/share/git", "MKCOL", Original-Request-ID: "7b866235-6975-4299-bbb8-c8ed54b58205", X-Request-ID: "7b866235-6975-4299-bbb8-c8ed54b58205") for OCC::PropagateRemoteMkdir(0xfc628132e0)
    25-10-30 00:16:01:272 [ info sync.vfs.cfapi.wrapper ]:	updatePlaceholderState "C:\\Users\\Valentin\\OpenCloud Beta\\Personnel\\cmder\\vendor\\git-for-windows\\mingw64\\lib\\tcl8\\8.4\\platform" 1761779749 "e753ea99-bf29-42a0-9d51-1850f45d002f$1d9f1866-1f44-473d-bb16-804764dfa153!159a861f-09b0-4c37-988c-ad76e01114be"
    25-10-30 00:16:01:272 [ info sync.database ]:	Updating file record: SyncJournalFileRecord(path: "cmder/vendor/git-for-windows/mingw64/lib/tcl8/8.4/platform", inode: 33495522229149789, modtime: 1761779749, type: CSyncEnums::ItemTypeDirectory, etag: "4f63fba13c786761968216ddc499b744", fileId: "e753ea99-bf29-42a0-9d51-1850f45d002f$1d9f1866-1f44-473d-bb16-804764dfa153!159a861f-09b0-4c37-988c-ad76e01114be", remotePerm: "DNVCKR", size: 0, checksum: "", serverHasIgnoredFiles: false, hasDirtyPlaceholder: false) with etag "4f63fba13c786761968216ddc499b744"
    25-10-30 00:16:01:272 [ info sync.propagator ]:	Completed propagation of "cmder/vendor/git-for-windows/mingw64/lib/tcl8/8.4/platform" by OCC::PropagateDirectory(0xfc620b54a0) with status OCC::SyncFileItem::Success
    25-10-30 00:16:01:273 [ info sync.vfs.cfapi.wrapper ]:	updatePlaceholderState "C:\\Users\\Valentin\\OpenCloud Beta\\Personnel\\cmder\\vendor\\git-for-windows\\mingw64\\lib\\tcl8\\8.4" 1761779749 "e753ea99-bf29-42a0-9d51-1850f45d002f$1d9f1866-1f44-473d-bb16-804764dfa153!22d52def-cdef-4252-89bb-de545a48e6d1"
    25-10-30 00:16:01:273 [ info sync.database ]:	Updating file record: SyncJournalFileRecord(path: "cmder/vendor/git-for-windows/mingw64/lib/tcl8/8.4", inode: 54324670505738331, modtime: 1761779749, type: CSyncEnums::ItemTypeDirectory, etag: "5a188b751ac895f26e366c575087587a", fileId: "e753ea99-bf29-42a0-9d51-1850f45d002f$1d9f1866-1f44-473d-bb16-804764dfa153!22d52def-cdef-4252-89bb-de545a48e6d1", remotePerm: "DNVCKR", size: 0, checksum: "", serverHasIgnoredFiles: false, hasDirtyPlaceholder: false) with etag "5a188b751ac895f26e366c575087587a"
    25-10-30 00:16:01:273 [ info sync.propagator ]:	Completed propagation of "cmder/vendor/git-for-windows/mingw64/lib/tcl8/8.4" by OCC::PropagateDirectory(0xfc620b5ac0) with status OCC::SyncFileItem::Success
    25-10-30 00:16:01:274 [ info sync.propagator ]:	Starting propagation of OCC::SyncFileItem(file="cmder/vendor/git-for-windows/mingw64/lib/tcl8.6/encoding/gb2312-raw.enc", type=CSyncEnums::ItemTypeFile, instruction=CSyncEnums::CSYNC_INSTRUCTION_NEW, status=OCC::SyncFileItem::NoStatus) by OCC::PropagateUploadFileTUS(0xfc59d2bcf0)
    25-10-30 00:16:01:274 [ info sync.checksums ]:	Computing OCC::CheckSums::Algorithm::SHA1 checksum of "C:/Users/Valentin/OpenCloud Beta/Personnel/cmder/vendor/git-for-windows/mingw64/lib/tcl8.6/encoding/gb2312-raw.enc" in a thread
    25-10-30 00:16:01:274 [ info sync.vfs.cfapi.wrapper ]:	updatePlaceholderState "C:\\Users\\Valentin\\OpenCloud Beta\\Personnel\\cmder\\vendor\\git-for-windows\\mingw64\\lib\\tcl8\\8.5" 1761779749 "e753ea99-bf29-42a0-9d51-1850f45d002f$1d9f1866-1f44-473d-bb16-804764dfa153!56250668-b74e-47c1-b569-3eb10fbdba9e"
    25-10-30 00:16:01:275 [ info sync.database ]:	Updating file record: SyncJournalFileRecord(path: "cmder/vendor/git-for-windows/mingw64/lib/tcl8/8.5", inode: 25332747904540775, modtime: 1761779749, type: CSyncEnums::ItemTypeDirectory, etag: "1933c12c48803ae74aa8b174a4c46ec2", fileId: "e753ea99-bf29-42a0-9d51-1850f45d002f$1d9f1866-1f44-473d-bb16-804764dfa153!56250668-b74e-47c1-b569-3eb10fbdba9e", remotePerm: "DNVCKR", size: 0, checksum: "", serverHasIgnoredFiles: false, hasDirtyPlaceholder: false) with etag "1933c12c48803ae74aa8b174a4c46ec2"
    25-10-30 00:16:01:275 [ info sync.propagator ]:	Completed propagation of "cmder/vendor/git-for-windows/mingw64/lib/tcl8/8.5" by OCC::PropagateDirectory(0xfc620b6c40) with status OCC::SyncFileItem::Success
    25-10-30 00:16:01:275 [ info sync.propagator ]:	Starting propagation of OCC::SyncFileItem(file="cmder/vendor/git-for-windows/mingw64/lib/tcl8.6/encoding/gb2312.enc", type=CSyncEnums::ItemTypeFile, instruction=CSyncEnums::CSYNC_INSTRUCTION_NEW, status=OCC::SyncFileItem::NoStatus) by OCC::PropagateUploadFileTUS(0xfc59d2d650)
    25-10-30 00:16:01:276 [ info sync.checksums ]:	Computing OCC::CheckSums::Algorithm::SHA1 checksum of "C:/Users/Valentin/OpenCloud Beta/Personnel/cmder/vendor/git-for-windows/mingw64/lib/tcl8.6/encoding/gb2312.enc" in a thread
    25-10-30 00:16:01:276 [ fatal default ]:	ASSERT: "_location.isValid()" in file D:\a\desktop\desktop\src\libsync\propagateuploadtus.cpp, line 125
    
  4. anon-pradip commented on Oct 30, 2025

    @anon-pradip
    ContributorAuthor
    1. Copy large file (>= 2GB) to root sync folder
    2. While the client is syncing that file to the server, hit Pause sync in the middle of syncing process.

    Expected behavior: The client pauses the sync successfully
    Actual behavior: The client is closed itself

    I cannot directly find: $TMPDIR/OpenCloud Beta-crash.log, instead I found C:\Users\<user>\AppData\Local\Temp\OpenCloud-logdir\OpenCloud.log

    Here is the log file I got after client got crashed: C:\Users\<user>\AppData\Local\Temp\OpenCloud-logdir\OpenCloud.log

    OpenCloud.log

    Am I seeing the wrong crash log file?

  5. marked Assertion in tus upload #630 as a duplicate of this issue on Oct 30, 2025
  6. changed the title [-]Client crashes while `Force sync now`, `Pause sync` while syncing large files from locally to server in Windows[/-] [+]Crash in tus resume[/+] on Oct 30, 2025
  7. TheOneRing commented on Oct 30, 2025

    @TheOneRing
    Contributor

    Hmm, this might be an issue with the tus resume, the condition for this is that we uploaded at least one 10mb chunk before we abort the sync. The crash log really helps thx.

  8. added 2 commits that reference this issue on Nov 3, 2025
    1ee9618
    e683767
  9. added a commit that references this issue on Nov 4, 2025
    f5d039a
  10. added a commit that references this issue on Nov 17, 2025
    bc52ed2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions