Nextcloud desktop client 3.12.2 sync error freeze AccessManager QThread

Nextcloud stop working on sync files, this issue is not present on version 3.11.2
Sync process stops on “Preparing sync” but if nextcloud get restarted it crashes until the sync is paused.

No error logs on Nextcloud Server side.

Nextcloud client archive log:

2024-03-28 15:44:22:709 [ info nextcloud.gui.folder C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\gui\folder.cpp:1174 ]:	Client version 3.12.2stable-Win64 (build 20240320)  Qt 5.15.10  SSL  OpenSSL 3.1.3 19 Sep 2023
2024-03-28 15:44:22:709 [ info nextcloud.gui.folder C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\gui\folder.cpp:1183 ]:	SyncEngine finished without problem.
2024-03-28 15:44:22:709 [ info nextcloud.gui.folder C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\gui\folder.cpp:417 ]:	Folder "" sync result:  OCC::SyncResult::SyncAbortRequested
2024-03-28 15:44:22:709 [ info nextcloud.gui.folder C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\gui\folder.cpp:1210 ]:	the last 1 syncs failed
2024-03-28 15:44:22:710 [ info nextcloud.gui.application C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\gui\owncloudgui.cpp:233 ]:	Sync state changed for folder  "https://nextcloud.xyz.it/remote.php/dav/files/xyz/" :  "Sync paused"
2024-03-28 15:44:22:911 [ info nextcloud.gui.folder.manager C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\gui\folderman.cpp:1168 ]:	<========== Sync finished for folder [Nextcloud] of account [xyz@nextcloud.xyz.it] with remote [https://nextcloud.xyz.it/remote.php/dav/files/xyz/]
2024-03-28 15:44:23:999 [ info nextcloud.gui.updater C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\gui\updater\ocupdater.cpp:134 ]:	Checking for available update
2024-03-28 15:44:23:999 [ info nextcloud.sync.accessmanager C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\libsync\accessmanager.cpp:78 ]:	2 "" "https://updates.nextcloud.org/client/?version=3.12.2.20240320&platform=win32&osRelease=windows&osVersion=11&kernelVersion=10.0.22631&oem=Nextcloud&buildArch=x86_64&currentArch=x86_64&versionsuffix=stable-Win64&updatesegment=15&msi=true" has X-Request-ID "a25a2ca0-4bb2-489a-a29b-aeb1675e721d"
2024-03-28 15:44:24:182 [ info nextcloud.gui.updater C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\gui\updater\ocupdater.cpp:351 ]:	Version info arrived: Your version: 219552680877807552 Available version: 0 "" Available version string: "" Web url: "" Download url: ""
2024-03-28 15:44:24:182 [ info nextcloud.gui.updater C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\gui\updater\ocupdater.cpp:359 ]:	No version information available at the moment
2024-03-28 15:44:24:391 [ debug nextcloud.gui.systray C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\gui\systray.cpp:720 ]	[ OCC::Systray::computeWindowReferencePoint ]:	screenRect: QRect(0,0 1920x1140)
2024-03-28 15:44:24:391 [ debug nextcloud.gui.systray C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\gui\systray.cpp:721 ]	[ OCC::Systray::computeWindowReferencePoint ]:	taskbarScreenEdge: OCC::Systray::TaskBarPosition::Bottom
2024-03-28 15:44:24:391 [ debug nextcloud.gui.systray C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\gui\systray.cpp:722 ]	[ OCC::Systray::computeWindowReferencePoint ]:	trayIconCenter: QPoint(1617,1169)
2024-03-28 15:44:24:391 [ debug nextcloud.gui.systray C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\gui\systray.cpp:843 ]	[ OCC::Systray::computeWindowPosition ]:	taskbarScreenEdge: OCC::Systray::TaskBarPosition::Bottom
2024-03-28 15:44:24:391 [ debug nextcloud.gui.systray C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\gui\systray.cpp:844 ]	[ OCC::Systray::computeWindowPosition ]:	screenRect: QRect(0,0 1920x1200)
2024-03-28 15:44:24:391 [ debug nextcloud.gui.systray C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\gui\systray.cpp:845 ]	[ OCC::Systray::computeWindowPosition ]:	windowRect (reference) QRect(1392,559 452x577)
2024-03-28 15:44:24:391 [ debug nextcloud.gui.systray C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\gui\systray.cpp:846 ]	[ OCC::Systray::computeWindowPosition ]:	windowRect (adjusted) QRect(1392,559 452x577)
2024-03-28 15:44:24:413 [ info nextcloud.sync.accessmanager C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\libsync\accessmanager.cpp:78 ]:	2 "" "https://nextcloud.xyz.it/ocs/v2.php/apps/user_status/api/v1/user_status?format=json" has X-Request-ID "970c83f4-67ad-4921-ae16-cdbf564a53f6"
2024-03-28 15:44:24:414 [ info nextcloud.sync.networkjob C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\libsync\abstractnetworkjob.cpp:363 ]:	OCC::JsonApiJob created for "https://nextcloud.xyz.it" + "/ocs/v2.php/apps/user_status/api/v1/user_status" "OCC::UserStatusConnector"
2024-03-28 15:44:24:414 [ info nextcloud.gui.activity C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\gui\tray\activitylistmodel.cpp:437 ]:	Start fetching activities for  "xyz@nextcloud.xyz.it"
2024-03-28 15:44:24:414 [ info nextcloud.sync.accessmanager C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\libsync\accessmanager.cpp:78 ]:	2 "" "https://nextcloud.xyz.it/ocs/v2.php/apps/activity/api/v2/activity?previews=true&since=0&limit=50&format=json" has X-Request-ID "91a62686-718d-4f6c-a5c4-303207712bc8"
2024-03-28 15:44:24:414 [ info nextcloud.sync.networkjob C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\libsync\abstractnetworkjob.cpp:363 ]:	OCC::JsonApiJob created for "https://nextcloud.xyz.it" + "ocs/v2.php/apps/activity/api/v2/activity" "OCC::ActivityListModel"
2024-03-28 15:44:24:414 [ info nextcloud.sync.accessmanager C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\libsync\accessmanager.cpp:78 ]:	2 "" "https://nextcloud.xyz.it/ocs/v2.php/apps/notifications/api/v2/notifications?format=json" has X-Request-ID "2c518af1-f21f-4875-bc44-7d2226102b89"
2024-03-28 15:44:24:415 [ info nextcloud.sync.networkjob C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\libsync\abstractnetworkjob.cpp:363 ]:	OCC::JsonApiJob created for "https://nextcloud.xyz.it" + "ocs/v2.php/apps/notifications/api/v2/notifications" "OCC::ServerNotificationHandler"
2024-03-28 15:44:24:523 [ info nextcloud.sync.credentials.webflow C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\gui\creds\webflowcredentials.cpp:406 ]:	request finished
2024-03-28 15:44:24:523 [ info nextcloud.sync.networkjob.jsonapi C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\libsync\networkjobs.cpp:972 ]:	JsonApiJob of QUrl("https://nextcloud.xyz.it/ocs/v2.php/apps/notifications/api/v2/notifications?format=json") FINISHED WITH STATUS "OK"
2024-03-28 15:44:24:523 [ warning nextcloud.sync.networkjob.jsonapi C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\libsync\networkjobs.cpp:993 ]:	Nothing changed so nothing to retrieve - status code:  304
2024-03-28 15:44:24:523 [ info nextcloud.gui.servernotification C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\gui\tray\notificationhandler.cpp:75 ]:	Status code  304  Not Modified - No new notifications.
2024-03-28 15:44:24:524 [ info nextcloud.sync.credentials.webflow C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\gui\creds\webflowcredentials.cpp:406 ]:	request finished
2024-03-28 15:44:24:524 [ info nextcloud.sync.networkjob.jsonapi C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\libsync\networkjobs.cpp:972 ]:	JsonApiJob of QUrl("https://nextcloud.xyz.it/ocs/v2.php/apps/user_status/api/v1/user_status?format=json") FINISHED WITH STATUS "OK"
2024-03-28 15:44:24:540 [ info nextcloud.sync.credentials.webflow C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\gui\creds\webflowcredentials.cpp:406 ]:	request finished
2024-03-28 15:44:24:540 [ info nextcloud.sync.networkjob.jsonapi C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\libsync\networkjobs.cpp:972 ]:	JsonApiJob of QUrl("https://nextcloud.xyz.it/ocs/v2.php/apps/activity/api/v2/activity?previews=true&since=0&limit=50&format=json") FINISHED WITH STATUS "OK"
2024-03-28 15:44:24:540 [ info nextcloud.gui.activity C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\gui\tray\activitylistmodel.cpp:663 ]:	Activity/Notification/Error successfully dismissed:  "Recupero attività …"
2024-03-28 15:44:24:540 [ info nextcloud.gui.activity C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\gui\tray\activitylistmodel.cpp:664 ]:	Trying to remove Activity/Notification/Error from view... 
2024-03-28 15:44:24:540 [ info nextcloud.gui.activity C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\gui\tray\activitylistmodel.cpp:668 ]:	Activity/Notification/Error successfully removed from the list.
2024-03-28 15:44:24:540 [ info nextcloud.gui.activity C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\gui\tray\activitylistmodel.cpp:669 ]:	Updating Activity/Notification/Error view.
2024-03-28 15:44:24:601 [ info nextcloud.sync.accessmanager C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\libsync\accessmanager.cpp:78 ]:	2 "" "https://nextcloud.xyz.it/index.php/apps/theming/img/core/filetypes/file.svg?v=6999a646" has X-Request-ID "6d6bee10-2ab7-462d-90d6-2fd380878526"
2024-03-28 15:44:24:601 [ warning default unknown:0 ]:	QObject: Cannot create children for a parent that is in a different thread.
(Parent is OCC::AccessManager(0x1ce33fab840), parent's thread is QThread(0x1ce29e06640), current thread is QQuickPixmapReader(0x1ce33f3fdd0)
2024-03-28 15:44:24:605 [ info nextcloud.sync.accessmanager C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\libsync\accessmanager.cpp:78 ]:	2 "" "https://nextcloud.xyz.it/index.php/apps/theming/img/core/filetypes/x-office-document.svg?v=6999a646" has X-Request-ID "389fcd75-d4ca-4ded-aa40-4e4475703f15"
2024-03-28 15:44:24:605 [ warning default unknown:0 ]:	QObject: Cannot create children for a parent that is in a different thread.
(Parent is OCC::AccessManager(0x1ce33fab840), parent's thread is QThread(0x1ce29e06640), current thread is QQuickPixmapReader(0x1ce33f3fdd0)
2024-03-28 15:44:24:609 [ info nextcloud.sync.accessmanager C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\libsync\accessmanager.cpp:78 ]:	2 "" "https://nextcloud.xyz.it/index.php/apps/theming/img/core/filetypes/application-pdf.svg" has X-Request-ID "b85b8609-1f33-4077-89a2-b68b51515e42"
2024-03-28 15:44:24:609 [ warning default unknown:0 ]:	QObject: Cannot create children for a parent that is in a different thread.
(Parent is OCC::AccessManager(0x1ce33fab840), parent's thread is QThread(0x1ce29e06640), current thread is QQuickPixmapReader(0x1ce33f3fdd0)
2024-03-28 15:44:24:656 [ info nextcloud.sync.credentials.webflow C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\gui\creds\webflowcredentials.cpp:406 ]:	request finished
2024-03-28 15:44:24:657 [ info nextcloud.sync.credentials.webflow C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\gui\creds\webflowcredentials.cpp:406 ]:	request finished
2024-03-28 15:44:24:657 [ info nextcloud.sync.credentials.webflow C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\gui\creds\webflowcredentials.cpp:406 ]:	request finished
2024-03-28 15:44:29:731 [ warning nextcloud.sync.credentials.keychainchunk C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\libsync\creds\keychainchunk.cpp:360 ]:	Unable to read "Nextcloud_proxy-password" chunk "0" "Password entry not found"
2024-03-28 15:44:29:732 [ info nextcloud.sync.accessmanager C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\libsync\accessmanager.cpp:78 ]:	6 "PROPFIND" "https://nextcloud.xyz.it/remote.php/dav/files/xyz/" has X-Request-ID "d150e535-d73b-4d59-a2f2-9834683d58c3"
2024-03-28 15:44:29:732 [ info nextcloud.sync.networkjob C:\Users\User\AppData\Local\Temp\windows-21700\client-building\desktop\src\libsync\abstractnetworkjob.cpp:363 ]:	OCC::LsColJob created for "https://nextcloud.xyz.it" + "/" ""

Nextcloud serverversion: 28.0.3
Nextcloud client version: 3.12.2

SO Microsoft Windows 11 Pro
Version 10.0.22631 build 22631
Model HP ZBook Firefly 16 inch G10 Mobile Workstation PC
Sistem PC based on x64
Processor 13th Gen Intel(R) Core™ i7-1355U, 1700 Mhz, 10 core, 12 logical processors
Version/data BIOS HP V70 Ver. [01.04.00, 18](callto:01.04.00, 18)/01/2024
(RAM) 32,0 GB

The issue you are facing:

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Sync files

Not sure if this is relevant, but since installing 3.12.3 my laptop freezes after a few seconds. The only way to un-freeze it is to do a hard reset.
OS: Ubuntu 22.04.3
NC-client: 3.12.3-20240328.195955.e4ad64aa1-1.0~jammy1

kernel: 6.5.0-26-generic
Description: initially the NC client is not running. After some new files are added, I am starting the NC client. It seems that when the NC client finds something new to sync, it works as expected (syncs the files, no high cpu utilisation). But when all the syncing is done it skyrockets to 100% utilisation of a core and hangs.

This is resolved for me.
One of the NC servers I am syncing was causing the issue. It was resolved after logging out and in again to that particular account.