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 server maintenance #1576

Closed
TP75 opened this issue Nov 1, 2019 · 1 comment

Comments

@TP75
Copy link

@TP75 TP75 commented Nov 1, 2019

Expected behaviour

The NC desktop app is stable and it's running stability is independent from any NC server state.

Actual behaviour

The NC desktop app crashes immediatedly after GUI access to the 'Access tab' while big red icon during a NC server maintenance phase.

Steps to reproduce

On the server:

  1. Set NC server maintenance status to 'on' via CLI occ command.

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

On the client:

  1. Wait some time after NC server maintenance status was set to 'on'
  2. Green icon becomes red icon of the NC desktop icon visible in the client OS top menu bar
  3. Make GUI access to the 'Access tab' of the NC desktop GUI window
  4. Click on or near the big red bubble and crash happens almost immediatedly

Client configuration

Client version:

  • Version 2.6.1rc1 (build 20191018)

Operating system:

  • Mac OS X / macOS Mojave 10.14.6

OS language:

  • German (Deutsch / DE)

Qt version used by client package:

  • Qt 5.12.5

Server configuration

Nextcloud version: 16.0.5.1

Logs

Maybe useless as providing info after crash only apparently.

CLI /Applications/nextcloud.app/Contents/MacOS/nextcloud --logwindow

Redacted output from above cmd is embedded below:

[OCC::FolderMan::setupFolders 	Setup folders from settings file
[OCC::ConfigFile::setupDefaultExcludeFilePaths 	Adding user defined ignore list to csync: "/Users/adm204/Library/Preferences/Nextcloud/sync-exclude.lst"
[OCC::FolderMan::addFolderInternal 	Adding folder to Folder Map  OCC::Folder(0x7f9a15884200) "1"
[OCC::FolderMan::scheduleFolder 	Schedule folder  "1"  to sync!
[OCC::FolderMan::scheduleFolder 	Folder is not ready to sync, not scheduled!
[OCC::ownCloudGui::slotSyncStateChange 	Sync state changed for folder  "https://cloud2.redacted.tld/remote.php/webdav/" :  "Not yet Started"
[OCC::ConfigFile::setupDefaultExcludeFilePaths 	Adding user defined ignore list to csync: "/Users/adm204/Library/Preferences/Nextcloud/sync-exclude.lst"
[OCC::FolderMan::addFolderInternal 	Adding folder to Folder Map  OCC::Folder(0x7f9a158c2000) "2"
[OCC::FolderMan::scheduleFolder 	Schedule folder  "2"  to sync!
[OCC::FolderMan::scheduleFolder 	Folder is not ready to sync, not scheduled!
[OCC::ownCloudGui::slotSyncStateChange 	Sync state changed for folder  "https://cloud1.redacted.tld/remote.php/webdav/" :  "Not yet Started"
[OCC::SyncJournalDb::checkConnect 	sqlite3 version "3.24.0"
[OCC::SyncJournalDb::checkConnect 	sqlite3 journal_mode= "wal"
[OCC::SyncJournalDb::checkConnect 	sqlite3 version "3.24.0"
[OCC::SyncJournalDb::checkConnect 	sqlite3 journal_mode= "wal"
[OCC::ClientProxy::setupQtProxyFromConfig 	Set proxy configuration to use NO proxy
[OCC::WebFlowCredentials::slotFinished 	request finished
[OCC::AbstractNetworkJob::slotFinished 	QNetworkReply::ServiceUnavailableError "Server hat \"503 Service Unavailable\" auf \"GET https://cloud1.redacted.tld/ocs/v2.php/core/navigation/apps?absolute=true&format=json\" geantwortet" QVariant(int, 503)
[OCC::WebFlowCredentials::stillValid 	QNetworkReply::ServiceUnavailableError
[OCC::WebFlowCredentials::stillValid 	"Error transferring https://cloud1.redacted.tld/ocs/v2.php/core/navigation/apps?absolute=true&format=json - server replied: Service Unavailable"
[OCC::OcsJob::finished 	Reply to "GET" QUrl("https://cloud1.redacted.tld/ocs/v2.php/core/navigation/apps") (QPair("absolute","true")) has unexpected status code: 503 "{\"ocs\":{\"meta\":{\"status\":\"failure\",\"statuscode\":503,\"message\":\"Service unavailable\"},\"data\":[]}}"
[OCC::WebFlowCredentials::slotFinished 	request finished
[OCC::WebFlowCredentials::stillValid 	QNetworkReply::AuthenticationRequiredError
[OCC::WebFlowCredentials::stillValid 	"Der Host verlangt eine Authentifizierung"
[OCC::OcsJob::finished 	Reply to "GET" QUrl("https://cloud2.redacted.tld/ocs/v2.php/core/navigation/apps") (QPair("absolute","true")) has unexpected status code: 997 "{\"ocs\":{\"meta\":{\"status\":\"failure\",\"statuscode\":997,\"message\":\"Current user is not logged in\"},\"data\":[]}}"
[OCC::SocketApi::slotNewConnection 	New connection SocketApiSocket(0x7f9a177d6050)
[OCC::SocketApi::slotReadSocket 	Received SocketAPI message <-- "GET_STRINGS:" from SocketApiSocket(0x7f9a177d6050)
[OCC::SocketListener::sendMessage 	Sending SocketAPI message --> "GET_STRINGS:BEGIN" to SocketApiSocket(0x7f9a177d6050)
[OCC::SocketListener::sendMessage 	Sending SocketAPI message --> "STRING:SHARE_MENU_TITLE:Share options" to SocketApiSocket(0x7f9a177d6050)
[OCC::SocketListener::sendMessage 	Sending SocketAPI message --> "STRING:CONTEXT_MENU_TITLE:Share via Nextcloud" to SocketApiSocket(0x7f9a177d6050)
[OCC::SocketListener::sendMessage 	Sending SocketAPI message --> "STRING:COPY_PRIVATE_LINK_MENU_TITLE:Privater Link in die Zwischenablage kopiert" to SocketApiSocket(0x7f9a177d6050)
[OCC::SocketListener::sendMessage 	Sending SocketAPI message --> "STRING:EMAIL_PRIVATE_LINK_MENU_TITLE:Sende privaten Link per E-Mail ..." to SocketApiSocket(0x7f9a177d6050)
[OCC::SocketListener::sendMessage 	Sending SocketAPI message --> "STRING::" to SocketApiSocket(0x7f9a177d6050)
[OCC::SocketListener::sendMessage 	Sending SocketAPI message --> "GET_STRINGS:END" to SocketApiSocket(0x7f9a177d6050)
[OCC::WebFlowCredentials::fetchFromKeychain 	Fetch from keychain!
[OCC::WebFlowCredentials::fetchFromKeychain 	Fetch from keychain!
[OCC::WebFlowCredentials::slotReadClientCaCertsPEMJobDone 	Unable to read client CA cert slot  "0" "Password not found"
[OCC::WebFlowCredentials::slotReadClientCaCertsPEMJobDone 	Unable to read client CA cert slot  "0" "Password not found"
[OCC::AccountState::slotCredentialsFetched 	Fetched credentials for "https://cloud2.redacted.tld" attempting to connect
[OCC::WebFlowCredentials::createQNAM 	Get QNAM
[OCC::AccountState::slotCredentialsFetched 	Fetched credentials for "https://cloud1.redacted.tld" attempting to connect
[OCC::WebFlowCredentials::createQNAM 	Get QNAM
[OCC::AccessManager::createRequest 	2 "" "https://cloud2.redacted.tld/status.php" has X-Request-ID "60859d9d-4297-4ef2-b0bd-380a97d7a60c"
[OCC::AbstractNetworkJob::start 	OCC::CheckServerJob created for "https://cloud2.redacted.tld" + "status.php" "OCC::ConnectionValidator"
[OCC::AccessManager::createRequest 	2 "" "https://cloud1.redacted.tld/status.php" has X-Request-ID "59f95850-15a3-4c5d-a69f-95e52549688c"
[OCC::AbstractNetworkJob::start 	OCC::CheckServerJob created for "https://cloud1.redacted.tld" + "status.php" "OCC::ConnectionValidator"
[OCC::WebFlowCredentials::slotFinished 	request finished

Further observations

After the a.m. crash happened some 'Nextcloud Extensons app' process remains active with low CPU apparently.

Sampling process 4022 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling FinderSyncExt (pid 4022) every 1 millisecond
Process:         FinderSyncExt [4022]
Path:            /Applications/nextcloud.app/Contents/PlugIns/FinderSyncExt.appex/Contents/MacOS/FinderSyncExt
Load Address:    0x105a54000
Identifier:      com.nextcloud.desktopclient.FinderSyncExt
Version:         1.0 (1)
Code Type:       X86-64
Parent Process:  ??? [1]

Date/Time:       2019-11-01 12:57:32.264 +0100
Launch Time:     2019-11-01 10:36:31.987 +0100
OS Version:      Mac OS X 10.14.6 (18G1012)
Report Version:  7
Analysis Tool:   /usr/bin/sample

Physical footprint:         15.7M
Physical footprint (peak):  33.6M
----

NOTE: This was obeserverd before the a.m. procedure to grab the logs took place.

The a.m. crash appeared while some bigger Apple AppStore software update download was happening.

BTW Selfies, ladies and gents of the macOS dev community: Halloween is over and it's the XCode 11.2 update coming around.
😇

@TP75 TP75 changed the title client crash on server maintenance macOS client crash on server maintenance Nov 1, 2019
@TP75

This comment has been minimized.

Copy link
Author

@TP75 TP75 commented Nov 8, 2019

fixed for 2.6.1stable

👍

@TP75 TP75 closed this Nov 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.