Desktop: Nextcloud Client Crashed in Linux

Created on 12 Apr 2020  路  9Comments  路  Source: nextcloud/desktop

Expected behaviour

Should not crash

Actual behaviour

Today when I launched laptop, I saw in Linux Mint spotted bug in Nextcloud yesterday, I don't remember what I done yesterday(I can't reproduce this)

Operating system: Linux Mint Mate 19.3

OS language: Polish

Qt version used by client package (Linux only, see also Settings dialog):

Client package (From Nextcloud or distro) (Linux only): PPA Ubuntu

Logs

  1. Client logfile:
    Full report from Linux MInt -
    Dokument bez nazwy.txt
===================================================================
 Info                                                              
===================================================================
           PID: 1895 (nextcloud)
           UID: 1000 (rafal)
           GID: 1000 (rafal)
        Signal: 11 (SEGV)
     Timestamp: Sat 2020-04-11 19:58:34 CEST (13h ago)
  Command Line: /usr/bin/nextcloud
    Executable: /usr/bin/nextcloud
 Control Group: /user.slice/user-1000.slice/session-c2.scope
          Unit: session-c2.scope
         Slice: user-1000.slice
       Session: c2
     Owner UID: 1000 (rafal)
       Boot ID: 1301339b9a2247c1a068636149eb5207
    Machine ID: fede3597f8724a62b7726a319d60a6bc
      Hostname: LaptopRafal
       Storage: /var/lib/systemd/coredump/core.nextcloud.1000.1301339b9a2247c1a068636149eb5207.1895.1586627914000000.lz4
       Message: Process 1895 (nextcloud) of user 1000 dumped core.

                Stack trace of thread 1895:
                #0  0x00007f83155bb7c7 g_dbus_object_get_object_path (libgio-2.0.so.0)
                #1  0x00007f8315088b1d cloud_providers_provider_exporter_remove_account (libcloudproviders.so.0)
                #2  0x000055990fefd340 _ZN20CloudProviderManager21slotFolderListChangedERK4QMapI7QStringPN3OCC6FolderEE (nextcloud)
                #3  0x00007f8309317555 _ZN11QMetaObject8activateEP7QObjectiiPPv (libQt5Core.so.5)
                #4  0x000055990ff08665 _ZN3OCC9FolderMan17folderListChangedERK4QMapI7QStringPNS_6FolderEE (nextcloud)
                #5  0x000055990fe05773 _ZN3OCC9FolderMan25unloadAndDeleteAllFoldersEv (nextcloud)
                #6  0x000055990fdeba2a _ZN3OCC11Application11slotCleanupEv (nextcloud)
                #7  0x00007f830931766f _ZN11QMetaObject8activateEP7QObjectiiPPv (libQt5Core.so.5)
                #8  0x00007f83092e70e7 _ZN16QCoreApplication11aboutToQuitENS_14QPrivateSignalE (libQt5Core.so.5)
                #9  0x00007f83092eb60b _ZN23QCoreApplicationPrivate11execCleanupEv (libQt5Core.so.5)
                #10 0x00007f83092ef9cd _ZN16QCoreApplication4execEv (libQt5Core.so.5)
                #11 0x000055990fdd5588 main (nextcloud)
                #12 0x00007f830834fb97 __libc_start_main (libc.so.6)
                #13 0x000055990fdd598a _start (nextcloud)

                Stack trace of thread 2023:
                #0  0x00007f8308442bf9 __GI___poll (libc.so.6)
                #1  0x00007f83158ce5c9 n/a (libglib-2.0.so.0)
                #2  0x00007f83158ce6dc g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007f830934188f _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                #4  0x00007f83092e690a _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                #5  0x00007f830910523a _ZN7QThread4execEv (libQt5Core.so.5)
                #6  0x00007f8314e05d45 n/a (libQt5DBus.so.5)
                #7  0x00007f830910a17d n/a (libQt5Core.so.5)
                #8  0x00007f8307ea46db start_thread (libpthread.so.0)
                #9  0x00007f830844f88f __clone (libc.so.6)

                Stack trace of thread 2040:
                #0  0x00007f8308442bf9 __GI___poll (libc.so.6)
                #1  0x00007f83158ce5c9 n/a (libglib-2.0.so.0)
                #2  0x00007f83158ce962 g_main_loop_run (libglib-2.0.so.0)
                #3  0x00007f83155b2276 n/a (libgio-2.0.so.0)
                #4  0x00007f83158f6175 n/a (libglib-2.0.so.0)
                #5  0x00007f8307ea46db start_thread (libpthread.so.0)
                #6  0x00007f830844f88f __clone (libc.so.6)

                Stack trace of thread 2043:
                #0  0x00007f8308442bf9 __GI___poll (libc.so.6)
                #1  0x00007f83158ce5c9 n/a (libglib-2.0.so.0)
                #2  0x00007f83158ce6dc g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007f830934188f _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                #4  0x00007f83092e690a _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                #5  0x00007f830910523a _ZN7QThread4execEv (libQt5Core.so.5)
                #6  0x00007f830910a17d n/a (libQt5Core.so.5)
                #7  0x00007f8307ea46db start_thread (libpthread.so.0)
                #8  0x00007f830844f88f __clone (libc.so.6)

                Stack trace of thread 2093:
                #0  0x00007f8308442bf9 __GI___poll (libc.so.6)
                #1  0x00007f83158ce5c9 n/a (libglib-2.0.so.0)
                #2  0x00007f83158ce6dc g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007f830934188f _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                #4  0x00007f83092e690a _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                #5  0x00007f830910523a _ZN7QThread4execEv (libQt5Core.so.5)
                #6  0x00007f830910a17d n/a (libQt5Core.so.5)
                #7  0x00007f8307ea46db start_thread (libpthread.so.0)
                #8  0x00007f830844f88f __clone (libc.so.6)

                Stack trace of thread 1991:
                #0  0x00007f8307eaa9f3 futex_wait_cancelable (libpthread.so.0)
                #1  0x00007f8308d8c8bc _ZNSt18condition_variable4waitERSt11unique_lockISt5mutexE (libstdc++.so.6)
                #2  0x00007f830cd880a7 n/a (libQt5WebKit.so.5)
                #3  0x00007f830cd881e9 n/a (libQt5WebKit.so.5)
                #4  0x00007f8308d926df n/a (libstdc++.so.6)
                #5  0x00007f8307ea46db start_thread (libpthread.so.0)
                #6  0x00007f830844f88f __clone (libc.so.6)

                Stack trace of thread 2013:
                #0  0x00007f8307eaa9f3 futex_wait_cancelable (libpthread.so.0)
                #1  0x00007f82e363decb n/a (i965_dri.so)
                #2  0x00007f82e363dac7 n/a (i965_dri.so)
                #3  0x00007f8307ea46db start_thread (libpthread.so.0)
                #4  0x00007f830844f88f __clone (libc.so.6)

                Stack trace of thread 2038:
                #0  0x00007f8308442bf9 __GI___poll (libc.so.6)
                #1  0x00007f83158ce5c9 n/a (libglib-2.0.so.0)
                #2  0x00007f83158ce6dc g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007f83158ce721 n/a (libglib-2.0.so.0)
                #4  0x00007f83158f6175 n/a (libglib-2.0.so.0)
                #5  0x00007f8307ea46db start_thread (libpthread.so.0)
                #6  0x00007f830844f88f __clone (libc.so.6)

                Stack trace of thread 2022:
                #0  0x00007f8308442bf9 __GI___poll (libc.so.6)
                #1  0x00007f83158ce5c9 n/a (libglib-2.0.so.0)
                #2  0x00007f83158ce6dc g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007f830934188f _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                #4  0x00007f83092e690a _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                #5  0x00007f830910523a _ZN7QThread4execEv (libQt5Core.so.5)
                #6  0x00007f830910a17d n/a (libQt5Core.so.5)
                #7  0x00007f8307ea46db start_thread (libpthread.so.0)
                #8  0x00007f830844f88f __clone (libc.so.6)

Most helpful comment

A fix for the "Grant Access" bug worked for me as described in here: https://github.com/nextcloud/desktop/issues/1878#issuecomment-609440316

  • Open the login dialog
  • Remove the account
  • Recreate it

All 9 comments

Did the application crash after a login attempt? I'm getting segfault whenever I click "Grant Access".

On Kubuntu 18.04 (Kernel 5.5) using the Ubuntu PPA as well

Here also crash and debug message is:
(nextcloud:1875): GLib-ERROR **: 07:19:14.621: Creating pipes for GWakeup: Too much files open

(translated from Spanish)

What nextcloud server version do you use?
Does your nextcloud version authentificate against LDAP?

We have the same issues using an old nextcloud server version with LDAP authentification. We tested the newest version (without LDAP Auth) and the client does not crash.

Hi @etlam

We use 18.0.3 server.

No, we don't use LDAP.

When we try it with the nextcloud instant trial (https://try.nextcloud.com/, version 18.0.3) it works flawless with the client in version 2.6.4.
You can add a new account during the dialog is opend using the nextcloud tray bar icon and the link "Settings ..."
Therefore I hope that it is going to work well again after updating our nextcloud.

A fix for the "Grant Access" bug worked for me as described in here: https://github.com/nextcloud/desktop/issues/1878#issuecomment-609440316

  • Open the login dialog
  • Remove the account
  • Recreate it

I have the same/similar issue on 2 machines now.

It works to install start and configure the client it also works to sync but apperently if you tr to sync some data it just crashes - no notice about that at all.

one time on lubuntu 19.10
other ubuntu 18.04

both machines are rather old and have not much memory..
i also just noticed that i think their tryng to sync the same folder so right now im syncing that folder to a newer laptop also running 18.04..

uh that shows me also a lot of
"too many open files" error in the sync client - but its still running and ram usage is 85mb and not growing..
https://github.com/nextcloud/desktop/issues/1876

Also getting segfaults. I've tried removing and readding the account, as well as reinstalling the client.

I've deleted a directory and tried resyncing it. It synced the full directory structure, but no files. When syncing, it shows syncing 0B of 9GB, as if it only finds empty files.

Built from Git revision b45f5f on Mar 4 2020, 15:50:27 using Qt 5.14.2, OpenSSL 1.1.1g 21 Apr 2020

uname 5.4.35-1-MANJARO

The machine has 16 GB of RAM. Connecting to the same server from a laptop with the same Manjaro but kernel v 5.5 works fine.

Process 7786 (nextcloud) of user 1000 dumped core.

                                                     Stack trace of thread 7786:
                                                     #0  0x00007f5ed2e55408 _ZNK11QMetaObject4castEPK7QObject (libQt5Core.so.5 + 0x2ae408)
                                                     #1  0x00007f5edb554e13 _ZN3OCC21PropagateDownloadFile13startDownloadEv (libnextcloudsync.so.0 + 0xe5e13)
                                                     #2  0x00007f5edb555d6e _ZN3OCC21PropagateDownloadFile30startAfterIsEncryptedIsCheckedEv (libnextcloudsync.so.0 + 0xe6d6e)
                                                     #3  0x00007f5ed2e81cde n/a (libQt5Core.so.5 + 0x2dacde)
                                                     #4  0x00007f5edb57eb79 _ZN3OCC26PropagateDownloadEncrypted20folderStatusReceivedERK7QStringb (libnextcloudsync.so.0 + 0x10fb79)
                                                     #5  0x00007f5ed2e81cde n/a (libQt5Core.so.5 + 0x2dacde)
                                                     #6  0x00007f5edb4da937 _ZN3OCC25GetFolderEncryptStatusJob27encryptStatusFolderReceivedERK7QStringb (libnextcloudsync.so.0 + 0x6b937)
                                                     #7  0x00007f5edb5b3d49 _ZN3OCC25GetFolderEncryptStatusJob8finishedEv (libnextcloudsync.so.0 + 0x144d49)
                                                     #8  0x00007f5edb52ae62 _ZN3OCC18AbstractNetworkJob12slotFinishedEv (libnextcloudsync.so.0 + 0xbbe62)
                                                     #9  0x00007f5ed2e81cde n/a (libQt5Core.so.5 + 0x2dacde)
                                                     #10 0x00007f5ed3ee2a19 n/a (libQt5Network.so.5 + 0xb4a19)
                                                     #11 0x00007f5ed3f89831 n/a (libQt5Network.so.5 + 0x15b831)
                                                     #12 0x00007f5ed2e79ada _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x2d2ada)
                                                     #13 0x00007f5ed38e7352 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x15b352)
                                                     #14 0x00007f5ed38f0829 _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x164829)
                                                     #15 0x00007f5ed2e4c4f2 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2a54f2)
                                                     #16 0x00007f5ed2e4ed56 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt5Core.so.5 + 0x2a7d56)
                                                     #17 0x00007f5ed2ea5244 n/a (libQt5Core.so.5 + 0x2fe244)
                                                     #18 0x00007f5edb9866be g_main_context_dispatch (libglib-2.0.so.0 + 0x6b6be)
                                                     #19 0x00007f5edb988531 n/a (libglib-2.0.so.0 + 0x6d531)
                                                     #20 0x00007f5edb988571 g_main_context_iteration (libglib-2.0.so.0 + 0x6d571)
                                                     #21 0x00007f5ed2ea4890 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2fd890)
                                                     #22 0x00007f5ed2e4b05c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2a405c)
                                                     #23 0x00007f5ed2e53066 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2ac066)
                                                     #24 0x00005598decfe7a3 main (nextcloud + 0xb97a3)
                                                     #25 0x00007f5ed26bd023 __libc_start_main (libc.so.6 + 0x27023)
                                                     #26 0x00005598decfecde _start (nextcloud + 0xb9cde)

                                                     Stack trace of thread 7796:
                                                     #0  0x00007f5ed278aabf __poll (libc.so.6 + 0xf4abf)
                                                     #1  0x00007f5edb9884a0 n/a (libglib-2.0.so.0 + 0x6d4a0)
                                                     #2  0x00007f5edb988571 g_main_context_iteration (libglib-2.0.so.0 + 0x6d571)
                                                     #3  0x00007f5ed2ea4890 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2fd890)
                                                     #4  0x00007f5ed2e4b05c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2a405c)
                                                     #5  0x00007f5ed2c6fc62 _ZN7QThread4execEv (libQt5Core.so.5 + 0xc8c62)
                                                     #6  0x00007f5ed2c70dd6 n/a (libQt5Core.so.5 + 0xc9dd6)
                                                     #7  0x00007f5ed260b46f start_thread (libpthread.so.0 + 0x946f)
                                                     #8  0x00007f5ed27953d3 __clone (libc.so.6 + 0xff3d3)

                                                     Stack trace of thread 7797:
                                                     #0  0x00007f5ed278aabf __poll (libc.so.6 + 0xf4abf)
                                                     #1  0x00007f5edb9884a0 n/a (libglib-2.0.so.0 + 0x6d4a0)
                                                     #2  0x00007f5edb988571 g_main_context_iteration (libglib-2.0.so.0 + 0x6d571)
                                                     #3  0x00007f5ed2ea4890 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2fd890)
                                                     #4  0x00007f5ed2e4b05c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2a405c)
                                                     #5  0x00007f5ed2c6fc62 _ZN7QThread4execEv (libQt5Core.so.5 + 0xc8c62)
                                                     #6  0x00007f5edb66bb28 n/a (libQt5DBus.so.5 + 0x15b28)
                                                     #7  0x00007f5ed2c70dd6 n/a (libQt5Core.so.5 + 0xc9dd6)
                                                     #8  0x00007f5ed260b46f start_thread (libpthread.so.0 + 0x946f)
                                                     #9  0x00007f5ed27953d3 __clone (libc.so.6 + 0xff3d3)

                                                     Stack trace of thread 7793:
                                                     #0  0x00007f5ed2611cf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
                                                     #1  0x00007f5ec6b0230c n/a (iris_dri.so + 0x48530c)
                                                     #2  0x00007f5ec6b01f08 n/a (iris_dri.so + 0x484f08)
                                                     #3  0x00007f5ed260b46f start_thread (libpthread.so.0 + 0x946f)
                                                     #4  0x00007f5ed27953d3 __clone (libc.so.6 + 0xff3d3)

                                                     Stack trace of thread 7799:
                                                     #0  0x00007f5ed278aabf __poll (libc.so.6 + 0xf4abf)
                                                     #1  0x00007f5edb9884a0 n/a (libglib-2.0.so.0 + 0x6d4a0)
                                                     #2  0x00007f5edb989543 g_main_loop_run (libglib-2.0.so.0 + 0x6e543)
                                                     #3  0x00007f5edb7c1df8 n/a (libgio-2.0.so.0 + 0x59df8)
                                                     #4  0x00007f5edb9645b1 n/a (libglib-2.0.so.0 + 0x495b1)
                                                     #5  0x00007f5ed260b46f start_thread (libpthread.so.0 + 0x946f)
                                                     #6  0x00007f5ed27953d3 __clone (libc.so.6 + 0xff3d3)

                                                     Stack trace of thread 7792:
                                                     #0  0x00007f5ed2611cf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
                                                     #1  0x00007f5ec6b0230c n/a (iris_dri.so + 0x48530c)
                                                     #2  0x00007f5ec6b01f08 n/a (iris_dri.so + 0x484f08)
                                                     #3  0x00007f5ed260b46f start_thread (libpthread.so.0 + 0x946f)
                                                     #4  0x00007f5ed27953d3 __clone (libc.so.6 + 0xff3d3)

                                                     Stack trace of thread 7798:
                                                     #0  0x00007f5ed278aabf __poll (libc.so.6 + 0xf4abf)
                                                     #1  0x00007f5edb9884a0 n/a (libglib-2.0.so.0 + 0x6d4a0)
                                                     #2  0x00007f5edb988571 g_main_context_iteration (libglib-2.0.so.0 + 0x6d571)
                                                     #3  0x00007f5edb9885c2 n/a (libglib-2.0.so.0 + 0x6d5c2)
                                                     #4  0x00007f5edb9645b1 n/a (libglib-2.0.so.0 + 0x495b1)
                                                     #5  0x00007f5ed260b46f start_thread (libpthread.so.0 + 0x946f)
                                                     #6  0x00007f5ed27953d3 __clone (libc.so.6 + 0xff3d3)

                                                     Stack trace of thread 7819:
                                                     #0  0x00007f5ed278aabf __poll (libc.so.6 + 0xf4abf)
                                                     #1  0x00007f5edb9884a0 n/a (libglib-2.0.so.0 + 0x6d4a0)
                                                     #2  0x00007f5edb988571 g_main_context_iteration (libglib-2.0.so.0 + 0x6d571)
                                                     #3  0x00007f5ed2ea4890 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2fd890)
                                                     #4  0x00007f5ed2e4b05c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2a405c)
                                                     #5  0x00007f5ed2c6fc62 _ZN7QThread4execEv (libQt5Core.so.5 + 0xc8c62)
                                                     #6  0x00007f5ed2c70dd6 n/a (libQt5Core.so.5 + 0xc9dd6)
                                                     #7  0x00007f5ed260b46f start_thread (libpthread.so.0 + 0x946f)
                                                     #8  0x00007f5ed27953d3 __clone (libc.so.6 + 0xff3d3)

                                                     Stack trace of thread 7794:
                                                     #0  0x00007f5ed2611cf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
                                                     #1  0x00007f5ec6b0230c n/a (iris_dri.so + 0x48530c)
                                                     #2  0x00007f5ec6b01f08 n/a (iris_dri.so + 0x484f08)
                                                     #3  0x00007f5ed260b46f start_thread (libpthread.so.0 + 0x946f)
                                                     #4  0x00007f5ed27953d3 __clone (libc.so.6 + 0xff3d3)

                                                     Stack trace of thread 7795:
                                                     #0  0x00007f5ed2611cf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
                                                     #1  0x00007f5ec6b0230c n/a (iris_dri.so + 0x48530c)
                                                     #2  0x00007f5ec6b01f08 n/a (iris_dri.so + 0x484f08)
                                                     #3  0x00007f5ed260b46f start_thread (libpthread.so.0 + 0x946f)
                                                     #4  0x00007f5ed27953d3 __clone (libc.so.6 + 0xff3d3)
Was this page helpful?
0 / 5 - 0 ratings