Skip to content

Crash sync v3.0.0-beta.3 #604

Closed
Closed

Description

@provalinf

Hi guys,
I am reporting a synchronization bug that is fairly easy to reproduce with versions v3.0.0-beta.3 and v3.0.0-beta.2.

Unzip the cmder.zip archive (version with git-for-windows : https://github.com/cmderdev/cmder/releases/download/v1.3.25/cmder.zip https://cmder.app/) into the opencloud working folder using Windows Explorer.
At some point, the client will crash.
The second problem is that not all files are synchronized, but one thing at a time!

Don't hesitate to contact me if you would like more information. I am available for testing.

25-10-21 01:38:21:703 [ info sync.discovery ]:	Not a move, no item in db with inode 4503599628448198
25-10-21 01:38:21:703 [ info sync.discovery ]:	Discovered "cmder/vendor/git-for-windows/usr/share/terminfo/6d/ms-terminal" CSyncEnums::CSYNC_INSTRUCTION_NEW OCC::SyncFileItem::Up CSyncEnums::ItemTypeFile
25-10-21 01:38:21:703 [ info sync.discovery ]:	Processing (db|local|remote) "cmder/vendor/git-for-windows/usr/share/terminfo/64/dumb" | valid: false/true/false | mtime: 0/1714676745/0 | size: 0/308/0 | etag: ""//"" | checksum: ""//"" | perm: ""//"" | fileid: ""//"" | inode: 0/4503599628448193/ | type: CSyncEnums::ItemTypeUnsupported/CSyncEnums::ItemTypeFile/CSyncEnums::ItemTypeFile
25-10-21 01:38:21:703 [ info sync.discovery ]:	Not a move, no item in db with inode 4503599628448193
25-10-21 01:38:21:703 [ info sync.discovery ]:	Discovered "cmder/vendor/git-for-windows/usr/share/terminfo/64/dumb" CSyncEnums::CSYNC_INSTRUCTION_NEW OCC::SyncFileItem::Up CSyncEnums::ItemTypeFile
25-10-21 01:38:21:705 [ warning qt.network.http2 ]:	stream 2001 error: "Received GOAWAY"
25-10-21 01:38:21:705 [ warning qt.network.http2 ]:	stream 2001 finished with error: ""
25-10-21 01:38:21:705 [ warning qt.network.http2 ]:	stream 2003 error: "Received GOAWAY"
25-10-21 01:38:21:705 [ warning qt.network.http2 ]:	stream 2003 finished with error: ""
25-10-21 01:38:21:705 [ info sync.networkjob.propfind ]:	LSCOL of QUrl("https://my-domain.com/dav/spaces/e753ea99-bf29-42a0-9d51-1850f45d002f$1d9f1866-1f44-473d-bb16-804764dfa153/cmder/vendor/git-for-windows/usr/share/p11-kit") FINISHED WITH STATUS "OK"
25-10-21 01:38:21:705 [ warning sync.discovery ]:	Server error in directory "cmder/vendor/git-for-windows/usr/share/p11-kit" 0
25-10-21 01:38:21:705 [ info sync.engine ]:	Sync run for "C:/Users/Valentin/OpenCloud Beta/Personnel/" took duration(0h, 0min, 2s, 466ms)
25-10-21 01:38:21:705 [ info gui.folder ]:	Client version "OpenCloud Beta 3.0.0.1727 2a055e Bibliothèques Qt 6.9.2, OpenSSL 3.5.4 30 Sep 2025 Utilisation du plugin de fichiers virtuels : cfapi OS: windows-10.0.27943 (build arch: x86_64, CPU arch: x86_64) QPA: windows"
25-10-21 01:38:21:705 [ warning gui.folder ]:	SyncEngine finished with ERROR
25-10-21 01:38:21:706 [ info gui.folder ]:	Folder "C:/Users/Valentin/OpenCloud Beta/Personnel/" sync result:  OCC::SyncResult::SyncRunning
25-10-21 01:38:21:706 [ info gui.folder ]:	the last 2 syncs failed
25-10-21 01:38:21:708 [ info sync.networkjob.propfind ]:	LSCOL of QUrl("https://my-domain.com/dav/spaces/e753ea99-bf29-42a0-9d51-1850f45d002f$1d9f1866-1f44-473d-bb16-804764dfa153/cmder/vendor/git-for-windows/usr/share/perl5") FINISHED WITH STATUS "OK"
25-10-21 01:38:21:708 [ warning sync.discovery ]:	Server error in directory "cmder/vendor/git-for-windows/usr/share/perl5" 0
25-10-21 01:38:21:708 [ info sync.engine ]:	Sync run for "C:/Users/Valentin/OpenCloud Beta/Personnel/" took duration(0h, 0min, 2s, 466ms)
25-10-21 01:38:21:708 [ fatal default ]:	ASSERT: "_end == steady_clock::time_point{}" in file D:\a\desktop\desktop\src\libsync\common\chronoelapsedtimer.cpp, line 45

Activity

  1. TheOneRing commented on Oct 21, 2025

    @TheOneRing
    Contributor

    Looks like SyncEngine::finalize gets called twice :(

  2. added a commit that references this issue on Oct 21, 2025
    9a461b4
  3. added a commit that references this issue on Oct 21, 2025
    b3de619
  4. provalinf commented on Oct 29, 2025

    @provalinf
    Author

    @TheOneRing After checking with v3.0.0-beta.5, the problem is still there. I wonder if it's related to the issue #627
    Same procedure to reproduce problem.

  5. provalinf commented on Oct 29, 2025

    @provalinf
    Author

    I took a video record of the procedure.
    https://1drv.ms/v/c/61453fb4a6851d05/EQQ0HztUIElLuSj6j4CjICwBN-n9IScobq1cdAUaNvDm5Q?e=3ylvZm

    Here log file:

    25-10-29 23:31:10:888 [ info sync.vfs.cfapi.wrapper ]:	updatePlaceholderState "C:\\Users\\Valentin\\OpenCloud Beta (2)\\Personnel\\cmder\\vendor\\git-for-windows\\mingw64\\lib\\tcl8\\8.6" 1761776749 "e753ea99-bf29-42a0-9d51-1850f45d002f$1d9f1866-1f44-473d-bb16-804764dfa153!b1005ebd-d95b-41f7-881e-73c1bfb51631"
    25-10-29 23:31:10:889 [ info sync.database ]:	Updating file record: SyncJournalFileRecord(path: "cmder/vendor/git-for-windows/mingw64/lib/tcl8/8.6", inode: 20266198323777306, modtime: 1761776749, type: CSyncEnums::ItemTypeDirectory, etag: "57ea00fb23f914274916a79442348f17", fileId: "e753ea99-bf29-42a0-9d51-1850f45d002f$1d9f1866-1f44-473d-bb16-804764dfa153!b1005ebd-d95b-41f7-881e-73c1bfb51631", remotePerm: "DNVCKR", size: 0, checksum: "", serverHasIgnoredFiles: false, hasDirtyPlaceholder: false) with etag "57ea00fb23f914274916a79442348f17"
    25-10-29 23:31:10:889 [ info sync.propagator ]:	Completed propagation of "cmder/vendor/git-for-windows/mingw64/lib/tcl8/8.6" by OCC::PropagateDirectory(0xfe23f8c150) with status OCC::SyncFileItem::Success
    25-10-29 23:31:10:889 [ info sync.vfs.cfapi.wrapper ]:	updatePlaceholderState "C:\\Users\\Valentin\\OpenCloud Beta (2)\\Personnel\\cmder\\vendor\\git-for-windows\\mingw64\\lib\\tcl8" 1761776750 "e753ea99-bf29-42a0-9d51-1850f45d002f$1d9f1866-1f44-473d-bb16-804764dfa153!bfde0c72-ae1f-421d-a0d1-36fa248714d4"
    25-10-29 23:31:10:890 [ info sync.database ]:	Updating file record: SyncJournalFileRecord(path: "cmder/vendor/git-for-windows/mingw64/lib/tcl8", inode: 19703248370355986, modtime: 1761776750, type: CSyncEnums::ItemTypeDirectory, etag: "56865743632e0d65517dfbd23e438b47", fileId: "e753ea99-bf29-42a0-9d51-1850f45d002f$1d9f1866-1f44-473d-bb16-804764dfa153!bfde0c72-ae1f-421d-a0d1-36fa248714d4", remotePerm: "DNVCKR", size: 0, checksum: "", serverHasIgnoredFiles: false, hasDirtyPlaceholder: false) with etag "56865743632e0d65517dfbd23e438b47"
    25-10-29 23:31:10:890 [ info sync.propagator ]:	Completed propagation of "cmder/vendor/git-for-windows/mingw64/lib/tcl8" by OCC::PropagateDirectory(0xfe23f8ca10) with status OCC::SyncFileItem::Success
    25-10-29 23:31:10:890 [ info sync.vfs.cfapi.wrapper ]:	updatePlaceholderState "C:\\Users\\Valentin\\OpenCloud Beta (2)\\Personnel\\cmder\\vendor\\git-for-windows\\mingw64\\lib\\tcl8.6\\http1.0" 1761776751 "e753ea99-bf29-42a0-9d51-1850f45d002f$1d9f1866-1f44-473d-bb16-804764dfa153!905ea0c2-3003-4cf9-9993-ac7ebf8cd9c3"
    25-10-29 23:31:10:891 [ info sync.database ]:	Updating file record: SyncJournalFileRecord(path: "cmder/vendor/git-for-windows/mingw64/lib/tcl8.6/http1.0", inode: 17732923533381497, modtime: 1761776751, type: CSyncEnums::ItemTypeDirectory, etag: "0ba86a9156be7f85a706330c95b2896b", fileId: "e753ea99-bf29-42a0-9d51-1850f45d002f$1d9f1866-1f44-473d-bb16-804764dfa153!905ea0c2-3003-4cf9-9993-ac7ebf8cd9c3", remotePerm: "DNVCKR", size: 0, checksum: "", serverHasIgnoredFiles: false, hasDirtyPlaceholder: false) with etag "0ba86a9156be7f85a706330c95b2896b"
    25-10-29 23:31:10:891 [ info sync.propagator ]:	Completed propagation of "cmder/vendor/git-for-windows/mingw64/lib/tcl8.6/http1.0" by OCC::PropagateDirectory(0xfe23f8b190) with status OCC::SyncFileItem::Success
    25-10-29 23:31:10:892 [ info sync.vfs.cfapi.wrapper ]:	updatePlaceholderState "C:\\Users\\Valentin\\OpenCloud Beta (2)\\Personnel\\cmder\\vendor\\git-for-windows\\mingw64\\lib\\thread2.8.8" 1761776761 "e753ea99-bf29-42a0-9d51-1850f45d002f$1d9f1866-1f44-473d-bb16-804764dfa153!cb3cbb36-fd65-4545-a360-cb5c356c4f34"
    25-10-29 23:31:10:892 [ info sync.database ]:	Updating file record: SyncJournalFileRecord(path: "cmder/vendor/git-for-windows/mingw64/lib/thread2.8.8", inode: 17451448556674361, modtime: 1761776761, type: CSyncEnums::ItemTypeDirectory, etag: "f2ddd8083fc1eafc6cf75f48e5bde638", fileId: "e753ea99-bf29-42a0-9d51-1850f45d002f$1d9f1866-1f44-473d-bb16-804764dfa153!cb3cbb36-fd65-4545-a360-cb5c356c4f34", remotePerm: "DNVCKR", size: 0, checksum: "", serverHasIgnoredFiles: false, hasDirtyPlaceholder: false) with etag "f2ddd8083fc1eafc6cf75f48e5bde638"
    25-10-29 23:31:10:892 [ info sync.propagator ]:	Completed propagation of "cmder/vendor/git-for-windows/mingw64/lib/thread2.8.8" by OCC::PropagateDirectory(0xfe23f7e150) with status OCC::SyncFileItem::Success
    25-10-29 23:31:10:892 [ info sync.propagator ]:	Starting propagation of OCC::SyncFileItem(file="cmder/vendor/git-for-windows/mingw64/lib/tcl8.6/msgs/tr.msg", type=CSyncEnums::ItemTypeFile, instruction=CSyncEnums::CSYNC_INSTRUCTION_NEW, status=OCC::SyncFileItem::NoStatus) by OCC::PropagateUploadFileTUS(0xfe23ca4940)
    25-10-29 23:31:10:893 [ info sync.checksums ]:	Computing OCC::CheckSums::Algorithm::SHA1 checksum of "C:/Users/Valentin/OpenCloud Beta (2)/Personnel/cmder/vendor/git-for-windows/mingw64/lib/tcl8.6/msgs/tr.msg" in a thread
    25-10-29 23:31:10:893 [ debug sync.propagator.upload.tus ]	[ OCC::PropagateUploadFileTUS::startNextChunk ]:	Starting creation with upload: "/cmder/vendor/git-for-windows/mingw64/libexec/git-core/libidn2-0.dll"
    25-10-29 23:31:10:893 [ debug sync.propagator.upload.tus ]	[ OCC::PropagateUploadFileTUS::startNextChunk ]:	Offset: 0 0 Chunk: 242965 0
    25-10-29 23:31:10:894 [ info sync.networkjob ]:	Created OCC::SimpleNetworkJob(OCC::Account("[email protected]"), "https://my-domain.com/dav/spaces/e753ea99-bf29-42a0-9d51-1850f45d002f$1d9f1866-1f44-473d-bb16-804764dfa153", "POST", Original-Request-ID: "739efa95-94e4-49cb-9163-e62b9d9371d1", X-Request-ID: "739efa95-94e4-49cb-9163-e62b9d9371d1") for OCC::PropagateUploadFileTUS(0xfe23ca92c0)
    25-10-29 23:31:10:894 [ info sync.propagator ]:	Starting propagation of OCC::SyncFileItem(file="cmder/vendor/git-for-windows/mingw64/lib/tcl8.6/msgs/uk.msg", type=CSyncEnums::ItemTypeFile, instruction=CSyncEnums::CSYNC_INSTRUCTION_NEW, status=OCC::SyncFileItem::NoStatus) by OCC::PropagateUploadFileTUS(0xfe23ca85a0)
    25-10-29 23:31:10:895 [ info sync.checksums ]:	Computing OCC::CheckSums::Algorithm::SHA1 checksum of "C:/Users/Valentin/OpenCloud Beta (2)/Personnel/cmder/vendor/git-for-windows/mingw64/lib/tcl8.6/msgs/uk.msg" in a thread
    25-10-29 23:31:10:895 [ fatal default ]:	ASSERT: "_location.isValid()" in file D:\a\desktop\desktop\src\libsync\propagateuploadtus.cpp, line 125
    
    
  6. TheOneRing commented on Oct 30, 2025

    @TheOneRing
    Contributor

    I opened another issue for that assertion, thx for reporting.

  7. added a commit that references this issue on Nov 17, 2025
    aa43486
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

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions