Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS client: crash on exit after quit #1551

Closed
TP75 opened this issue Oct 23, 2019 · 4 comments
Closed

macOS client: crash on exit after quit #1551

TP75 opened this issue Oct 23, 2019 · 4 comments

Comments

@TP75
Copy link

TP75 commented Oct 23, 2019

Expected behaviour

The NC desktop app after a 'quit' always exits safely to the OS environment.

Actual behaviour

The NC desktop app crashes on exit after quit when the 'External sites' app is (or was) activated on the NC server and this advanced setup is (or was) providing some website items as links in the NC top bar. Please note the 'Apps' list of the NC desktop app gets no update after the 'External sites' app was removed from the NC server and internally holds a corrupted list apparently.

Certainly there is a bug in the Version 2.6.1 RC1 desktop as the actual behaviour ist not observed with older versions. Both Version 2.5.1git desktop client on Linux and Version 2.6.0 (20190927) on Mac OS X / macOS provide the expected behaviour of the NC desktop.


The actual behaviour with the overloaded app list also happens in a normal setup i.e. a reduced NC server setup without the 'External sites' app. However, the actual behaviour gets even more challenging if the 'External sites' app is activated on the NC server and this advanced setup is providing some website items as links in the NC top bar.

Originally posted by @TP75 in #1545 (comment)


However, the NC desktop app does not crash on exit on a client in a normal setup (i.e. the 'External sites' app not installed or not activated in the NC server setup) and not after a fresh start without remaining data left from an earlier 'External sites' app NC server setup.

Steps to reproduce

On the server:

  1. The 'External sites' app is enabled.
  2. An advanced setup is providing some website items as links in the NC top bar.

For further information see the remarks in section 'Server configuration' below.

On the client:

  1. In the OS top menu bar go to the icon of the NC desktop app icon
  2. In the NC desktop icon click 'Nextcloud beenden' i.e. 'Quit Nextcloud' from the icon menu of the NC desktop app.
  3. Observe the deviated icon would appear in the OS top menu bar.
  4. Endure the multi-coloured (Sierra) or blue (Mojave) wheel a.k.a. Spinning Wait Cursor of the Mac OS X / macOS GUI until the force quit finally succeeds.
  5. Try to enforce an 'Sofort beenden' i.e. 'Force quit' of the 'Nextcloud Extensions' by help of the 'Force Quit Applications' which would fail, unfortunately.
  6. Please be aware the 'Nextcloud Extensions' would remain in crashed status although disappearing from the view of the 'Force Quit Applications' window.
  7. Enforce a 'Force quit' by help of the 'Aktivitätsanzeige' i.e. 'Application monitor' which should succeed, hopefully.

Note 1: One may use the 'CPU' column to be sorted from the 'Application monitor' window to more easily find and identify the 'nextcloud' process to be killed.

Note 2: The more experienced self may use the CLI for the ps and the kill command.

Client configuration

Client version:

  • Version 2.6.1rc1 (build 20191018)

Operating system:

  1. Mac OS X / macOS Sierra 10.12.6
  2. Mac OS X / macOS HighSierra 10.13.6
  3. Mac OS X / macOS Mojave 10.14.6

OS language:

  • German (Deutsch / DE)
  • Dutch (Nederlands / NL)

Qt version used by client package:

  • Qt 5.12.5

Server configuration

Nextcloud version: 16.0.5.1

List of activated apps


Enabled:
...
 - **external: 3.3.1**-
...

Please refer to nextcloud/server#17631 for a more comprised information on the server configuration details and the advanced NC server setup with the 'External sites' app involved.

Brief description:

Some screenshots from OS (1.) after the crash on exit occured:

  • Observe the deviated icon would appear in the OS top menu bar.

screenshot_ncc261rc1_macOS_2019-10-23a01_main_menu

  • Try to enforce an 'Force quit' of the 'Nextcloud Extensions' by help of the 'Force Quit Applications' which would fail unfortunately.

screenshot_ncc261rc1_macOS_2019-10-23b01_forcequit

  • Enforce a 'Force quit' by help of the 'Activity Monitor' which should succeed, hopefully.

screenshot_ncc261rc1_macOS_2019-10-23c01_appmonitor

Note : One may use the 'CPU' column to be sorted from the a.m. 'Activity Monitor' window to more easily find and identify the 'nextcloud' process to be killed.

Ref to the documents acc. to your locale at your convenience as:

DE locale

EN locale

Hope this helps.

N.B.: Take a potato and/or drink a cup of coffee. 😉

@TP75 TP75 changed the title The actual behaviour with the overloaded app list also happens in a normal setup i.e. a reduced NC server setup without the 'External sites' app. However, the actual behaviour gets even more challenging if [the 'External sites' app](https://github.com/nextcloud/external) is activated on the NC server and this advanced setup is providing some website items as links in the NC top bar. crash on exit after quit Oct 23, 2019
@TP75 TP75 mentioned this issue Oct 23, 2019
18 tasks
@TP75
Copy link
Author

TP75 commented Oct 23, 2019

CC @juliushaertl just to keep you informed.

Obviously the NC desktop app holds a corrupted Apps list which survives on a client even after the 'Externel site' app was removed from the NC server.

Please note the 'Apps' list of the NC desktop app either gets no update after the 'External sites' app was removed from the NC server or is not capable of correctly managing its data internally after such sync update to the client has occured. However, I cannot deduce whether this is clearly limited to the unstable RC1 desktop app or may show some sync failure or other issue to waiting for further investigation.

@TP75
Copy link
Author

TP75 commented Nov 1, 2019

see #1576

@TP75 TP75 changed the title crash on exit after quit macOS client: crash on exit after quit Nov 2, 2019
@mgallien mgallien added the crash label Apr 20, 2021
@mgallien mgallien added the bug label Apr 29, 2021
@github-actions
Copy link

This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

@github-actions github-actions bot added the stale label May 27, 2021
@github-actions
Copy link

This bug report is getting automatically closed due to no answer since the issue has been staled. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants