You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Segfault when clicking on unconfigured SFTP server #6562
The ownCloud settings view should display a proper error message for unconfigured SFTP folders.
Actual behaviour
The client segfaults when trying to display the subfolders of the unconfigured SFTP folder.
Steps to reproduce
unproperly configure SFTP external storage
open testpilot
in the account view, click on the triangle left to the SFTP folder
wait for the client to segfault
Server configuration
demo.owncloud.org
Client configuration
Client version:
testpilotcloud version 2.5.0alpha1 (build 9564)
Git revision 107baf2947959cd61f45951f7dbcef2f61bb9ab3
Using Qt 5.10.1, built against Qt 5.10.1
Using 'OpenSSL 1.0.2n 7 Dec 2017'
Operating system: Xubuntu 18.04
OS language: english
Client package (From ownCloud or distro) (Linux only): testpilotcloud-client
Installation path of client: /usr/bin/testpilotcloud
Therefore the SFTP entry should never go into the selective sync list - but when setting up the local sync folder from scratch (either via new account or new FSC wizard) there it goes. Then clicking in the arrow means running a PROPFIND to https://<server>/remote.php/dav/files/admin/SFTP/ that returns an unhandled 503.
I just sent crash report bp-daa0c72c-ab49-420b-be99-0068b2180531 with the dump file from macOS.
Activity
jnweiger commentedon May 30, 2018
Does not crash when running under gdb. Heisenbug...
Unconfigured SFTP folder means:
Cannot yet reproduce the coredump, I only get lockups.
Reproducable with both, demo.owncloud.org and demo.owncloud.com
jnweiger commentedon May 30, 2018
@hodyroff maybe related to your SFTP issue?
SamuAlfageme commentedon May 31, 2018
Can reproduce. The moment the client detects the mounted folder I see in the logs:
When looking at the discovery code that triggers this error:
client/src/libsync/discoveryphase.cpp
Lines 384 to 395 in bbf1843
One can tell the server is including the
SFTPdirectory on the results of thePROPFINDbut did not set an ETAG for the mounted dir:Therefore the
SFTPentry should never go into the selective sync list - but when setting up the local sync folder from scratch (either via new account or new FSC wizard) there it goes. Then clicking in the arrow means running aPROPFINDtohttps://<server>/remote.php/dav/files/admin/SFTP/that returns an unhandled 503.I just sent crash report
bp-daa0c72c-ab49-420b-be99-0068b2180531with the dump file from macOS.¿Same condition was already triggered on #285?
ogoffart commentedon May 31, 2018
I can reproduce.
Backtrace:
FolderStatusModel: Fix crash when there is an error while expanding f…
FolderStatusModel: Fix crash when there is an error while expanding f…
SamuAlfageme commentedon Jun 4, 2018
Crash no longer reproduces - closing here as it's fixed. 👍
The leftover collateral of not syncing anything when this error pops up (see my concerns on #6563 (comment)) can be tracked in #5859 (comment)