FS#63939 - [nextcloud-client] 2.6.0 crashes at start

Attached to Project: Community Packages
Opened by Xaver (x-f) - Saturday, 28 September 2019, 11:24 GMT
Last edited by Chih-Hsuan Yen (yan12125) - Saturday, 26 October 2019, 15:10 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Chih-Hsuan Yen (yan12125)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: abort at start

Additional info:
* package version(s) 2.6.0-1
* config and/or log files etc.
(gdb) backtrace
#0 0x00007fffee962755 in raise () from /usr/lib/libc.so.6
#1 0x00007fffee94d851 in abort () from /usr/lib/libc.so.6
#2 0x00007fffeeebc8f8 in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/libQt5Core.so.5
#3 0x00007fffeeebbd0c in qt_assert(char const*, char const*, int) () from /usr/lib/libQt5Core.so.5
#4 0x00007ffff7cb7328 in ?? () from /usr/lib/nextcloud/libocsync.so.0
#5 0x00007ffff7ce4faf in ExcludedFiles::loadExcludeFile(QByteArray const&, QString const&) () from /usr/lib/nextcloud/libocsync.so.0
#6 0x00007ffff7ce54cf in ExcludedFiles::reloadExcludeFiles() () from /usr/lib/nextcloud/libocsync.so.0
#7 0x000055555564919a in OCC::Folder::Folder(OCC::FolderDefinition const&, OCC::AccountState*, QObject*) ()
#8 0x0000555555652228 in OCC::FolderMan::addFolderInternal(OCC::FolderDefinition, OCC::AccountState*) ()
#9 0x0000555555653624 in OCC::FolderMan::setupFoldersHelper(QSettings&, QExplicitlySharedDataPointer<OCC::AccountState>, bool) ()
#10 0x0000555555656402 in OCC::FolderMan::setupFolders() ()
#11 0x00005555556366f5 in OCC::Application::Application(int&, char**) ()
#12 0x0000555555603e56 in main ()


Steps to reproduce:
Start the application
This task depends upon

Closed by  Chih-Hsuan Yen (yan12125)
Saturday, 26 October 2019, 15:10 GMT
Reason for closing:  Fixed
Additional comments about closing:  nextcloud-client 2.6.0-3
Comment by Xaver (x-f) - Saturday, 28 September 2019, 11:25 GMT
sry forgot the title
Comment by Chih-Hsuan Yen (yan12125) - Sunday, 29 September 2019, 04:19 GMT
Thanks for the report! From the backtrace, I believe this is most likely a logic error in how exclude lists are handled. However, I cannot reproduce the issue. Could you open an issue on https://github.com/nextcloud/desktop/issues and CC me (@yan12125)?
Comment by Chih-Hsuan Yen (yan12125) - Tuesday, 01 October 2019, 06:38 GMT
I integrated the upstream fix as 2.6.0-2 and pushed it to [community-testing]. As there is another possible crash, I'll keep this package in [community-testing].
Comment by Xaver (x-f) - Tuesday, 01 October 2019, 11:33 GMT
Build 2 works
Comment by Bas Bleeker (Bubbel) - Friday, 11 October 2019, 08:05 GMT
I have run Build 2 for over a week now without any issues. Running it on Gnome/Wayland
Comment by Chih-Hsuan Yen (yan12125) - Friday, 11 October 2019, 12:25 GMT
Thanks for testing, but I don't think 2.6.0 is stable enough to be in [community].
Comment by Olav Seyfarth (nursoda) - Thursday, 17 October 2019, 12:21 GMT
I am not on testing. Is there anything I can do to test/help to solve to get 2.6.0 in [community]?
Comment by Chih-Hsuan Yen (yan12125) - Thursday, 17 October 2019, 16:09 GMT
Thank you very much for considering giving help. Currently the new directory-specific exclude list feature makes nextcloud-client crash in various easily-triggered situations, as I reported in some comments of https://github.com/nextcloud/desktop/issues/1458. I will appreciate efforts on investigating or even writing patches for those crashes.
Comment by Chih-Hsuan Yen (yan12125) - Saturday, 26 October 2019, 15:09 GMT
Got no further responses from upstream, I added my patches/workarounds and upload nextcloud-client 2.6.0-3. Feel free to open new tickets if there are more issues.

Loading...