Skip to content

[Bug]: Nextcloud 3.16.4 AppImage for Linux, crash when try to enable VFS #8261

@linkstat

Description

@linkstat

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

Bug description

This crash is a bug in the Nextcloud Desktop client (3.16.4 AppImage) when enabling VFS on Linux, likely due to:

A null object that should initialize a VFS-related view or setting, as suggested by the previous log:

QObject::connect(QDialog, OCC::AccountSettings): invalid nullptr parameter
An uncaught error in the virtual file system's UI or backend logic when attempting to mount the virtual directory.

Client ver: 3.16.4 AppImage
OS: Zorin OS 17.3 Pro
Kernel: 6.8.0-59-generic #61~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 17:03:15 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Stack trace de GDB (bt):

Thread 1 "nextcloud" received signal SIGSEGV, Segmentation fault.
0x000055555575af07 in ?? ()
(gdb) bt
#0  0x000055555575af07 in ?? ()
#1  0x000055555567ae59 in ?? ()
#2  0x00005555556d1ab9 in ?? ()
#3  0x00005555556d663f in ?? ()
#4  0x00005555556d1b29 in ?? ()
#5  0x00005555556cce78 in ?? ()
#6  0x00005555556c6a01 in ?? ()
#7  0x00007fffe85d8f53 in void doActivate<false>(QObject*, int, void**) () from /home/linkstat/AppImage/squashfs-root/usr/bin/../lib/libQt6Core.so.6
#8  0x00007fffe96054a6 in QAction::triggered(bool) () from /home/linkstat/AppImage/squashfs-root/usr/bin/../lib/libQt6Gui.so.6
#9  0x00007fffe96083dd in QAction::activate(QAction::ActionEvent) () from /home/linkstat/AppImage/squashfs-root/usr/bin/../lib/libQt6Gui.so.6
#10 0x00007fffe9d679a5 in QMenuPrivate::activateCausedStack(QList<QPointer<QWidget> > const&, QAction*, QAction::ActionEvent, bool) () from /home/linkstat/AppImage/squashfs-root/usr/bin/../lib/libQt6Widgets.so.6
#11 0x00007fffe9d6fce3 in QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) () from /home/linkstat/AppImage/squashfs-root/usr/bin/../lib/libQt6Widgets.so.6
#12 0x00007fffe9beddee in QWidget::event(QEvent*) () from /home/linkstat/AppImage/squashfs-root/usr/bin/../lib/libQt6Widgets.so.6
#13 0x00007fffe9b8eb96 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/linkstat/AppImage/squashfs-root/usr/bin/../lib/libQt6Widgets.so.6
#14 0x00007fffe9b97d58 in QApplication::notify(QObject*, QEvent*) () from /home/linkstat/AppImage/squashfs-root/usr/bin/../lib/libQt6Widgets.so.6
#15 0x00007fffe8579682 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /home/linkstat/AppImage/squashfs-root/usr/bin/../lib/libQt6Core.so.6
#16 0x00007fffe9b9674f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) ()
   from /home/linkstat/AppImage/squashfs-root/usr/bin/../lib/libQt6Widgets.so.6
#17 0x00007fffe9c01bcc in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /home/linkstat/AppImage/squashfs-root/usr/bin/../lib/libQt6Widgets.so.6
#18 0x00007fffe9c03e90 in QWidgetWindow::event(QEvent*) () from /home/linkstat/AppImage/squashfs-root/usr/bin/../lib/libQt6Widgets.so.6
#19 0x00007fffe9b8eb96 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/linkstat/AppImage/squashfs-root/usr/bin/../lib/libQt6Widgets.so.6
#20 0x00007fffe8579682 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /home/linkstat/AppImage/squashfs-root/usr/bin/../lib/libQt6Core.so.6
#21 0x00007fffe91d1d58 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /home/linkstat/AppImage/squashfs-root/usr/bin/../lib/libQt6Gui.so.6
#22 0x00007fffe92335ac in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/linkstat/AppImage/squashfs-root/usr/bin/../lib/libQt6Gui.so.6
#23 0x00007fffe739dd0e in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () from /home/linkstat/AppImage/squashfs-root/usr/plugins/platforms/../../lib/libQt6XcbQpa.so.6
#24 0x00007fffe7b1bd3b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fffe7b712b8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fffe7b193e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007fffe884e43e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/linkstat/AppImage/squashfs-root/usr/bin/../lib/libQt6Core.so.6
#28 0x00007fffe85856fb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/linkstat/AppImage/squashfs-root/usr/bin/../lib/libQt6Core.so.6
#29 0x00007fffe8581286 in QCoreApplication::exec() () from /home/linkstat/AppImage/squashfs-root/usr/bin/../lib/libQt6Core.so.6
#30 0x000055555565f92f in ?? ()
#31 0x00007fffe7c29d90 in __libc_start_call_main (main=main@entry=0x55555565ebf1, argc=argc@entry=2, argv=argv@entry=0x7fffffffe058) at ../sysdeps/nptl/libc_start_call_main.h:58
#32 0x00007fffe7c29e40 in __libc_start_main_impl (main=0x55555565ebf1, argc=2, argv=0x7fffffffe058, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe048)
    at ../csu/libc-start.c:392
#33 0x000055555565e8be in ?? ()

Log message (QObject::connect...)

System state: have FUSE active, correct permissions, etc.

Steps to reproduce

  1. Start Nextcloud (for first time) and configure an account, but not the sync of folders. Close the app.
  2. Edit / change ~/.config/Nextcloud/nextcloud.cfg to add showExperimentalOptions=true
  3. Add /configure one test folder for sync, then goto Settings -> Folder Sync ->[...] -> Enable virtual file support (experimental)...
  4. The program close silently (but if you run it from terminal, you can read: Segmentation fault or someing similar as "Violación de segmento" that is the spanish message in my case)
    ...

Expected behavior

Get the VFS support
...

Which files are affected by this bug

Nextcloud-3.16.4-x86_64.AppImage

Operating system

Linux

Which version of the operating system you are running.

Zorin 17.3 Pro

Package

Official Linux AppImage

Nextcloud Server version

31.0.4

Nextcloud Desktop Client version

3.16.4

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

Fresh desktop client install

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

Additional info

No response

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions