Skip to content

[Bug]: macOS Nextcloud Finder extension stops running, causing right-click menu to stop working  #5193

@briankendall

Description

@briankendall

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

Bug description

This is a follow up to #4277 and #4459. I've opted to open a new issue as the previous issues were about a different crash that has since been fixed.

On a regular basis, sometimes multiple times per day, Nextcloud's Finder extension will stop running, causing the right-click menu to stop working. In order to get Finder integration working again, I need to restart Nextcloud.

I say "stop running" because macOS does not consider it to be crashing. There is no dialog box opening reporting a crashed process, and there is no crash log listed in ~/Library/Logs/DiagnosticReports. Nonetheless, if I check the list of running processes Nextcloud Extensions is not running. So it may be the case that the extension is erroneous "quitting normally" on its own, though it is possible that it is crashing and macOS is simply considering it a normal exit for some reason.

Steps to reproduce

Unfortunately I have found no consistent way to trigger this issue, but will update if I find one. However it will inevitably happen after Nextcloud has been running for several hours, though on occasion it has taken over a day to occur.

Expected behavior

Obviously the Finder extension should continue running.

Which files are affected by this bug

N/A

Operating system

Mac OS

Which version of the operating system you are running.

macOS 10.14.6

Package

Other

Nextcloud Server version

22.2.10

Nextcloud Desktop Client version

3.6.2git (build 12294)

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

Updated to a major version (ex. 3.3.6 to 3.4.0)

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

N/A

Additional info

I'm a professional macOS and Qt developer, and would be happy to help debug this. I think the best initial approach to fixing this would be to attach a debugger to the Nextcloud Extensions and checking to see if a) it is actually crashing, or b) at least figure out what's triggering it to quit. However I don't offhandedly know how to do that since this project is a Qt project built using cmake. (I'm already familiar with using a debugger in Xcode and Qt Creator.) If someone could advise about how to do that, I'd be happy to do some debugging.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions