Skip to content

[Bug]: Nextcloud Client makes Windows Explorer non-responsive when numerous sync errors occur #7676

@siblount

Description

@siblount

⚠️ Before submitting, please verify the following: ⚠️

Bug description

The immediate issue is that the Nextcloud Client is causing Windows Explorer to be non-responsive (freeze) that then crashes. This only occurs when there are numerous sync errors. By Windows Explorer, I really mean the taskbar, since the desktop, taskbar, and actual Windows Explorer are all connected.

When this freezing behavior occurs, a noticeable side-effect is that the Nextcloud notification icon becomes invisible (see image below). Please don't tell me the tray is re-rendering infinitely (tell me). As you see below, that invisible slot is actually for Nextcloud.

Image

Another side-effect is that the Nextcloud UI is extremely slow, unresponsive, and has a very slow UI feedback (~3-5 sec feedback time).

This seems to only happen when there are a lot of errors and the server is still trying to provide sync updates. For some reason, I am getting weird 401 or 499 errors but that's not the problem.
Image

I guess once Nextcloud stops adding error elements or whatever, it goes back to its usual refreshing flickering madness. If even more errors occur, well. We're back to square one. Fun fact: It also crashes Windows Snippet Tool when trying to record it 😂

nextcloud_flickering_ui_icon.mp4

Pausing the sync immediately stops this madness as you will see in the logs.

LOGS:
logs.txt
logs1.txt

(I am going to double check if this still exists with the latest Desktop Client update 3.15.1 momentarily)

Steps to reproduce

  1. Bulk upload files (let's say 100+).
  2. After a few moments, observe state of the taskbar.

Expected behavior

Desktop client does not cause Windows Explorer to freeze, ultimately leading to a crash.

Which files are affected by this bug

NA

Operating system

Windows

Which version of the operating system you are running.

Windows 11 23H2 Build 22631.4317

Package

Official Windows MSI

Nextcloud Server version

30.0.2

Nextcloud Desktop Client version

3.15.0

Is this bug present after an update or on a fresh install?

Updated from a minor version (ex. 3.4.2 to 3.4.4)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

  • Default internal user-backend
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Nextcloud Server logs

Additional info

Using virtual files in a local folder, total file upload was around 10 GB.

This may be related to #6749.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions