Skip to content

Segmentation fault with RestartManager #507

Closed

Description

@Narrat

I'm using a build based on a07666f but experienced it also with older builds.
On a flaky wireless connection the program frequently runs into a disconnected state. Sometimes it crashes on its own, but more often it happens if the program is exited in such a state.
Didn't test other cases like actively uploading and closing the program and such yet.

Part of the currently useless coredump:

 Stack trace of thread 165221:
#0  0x00007ff5f651c424 _ZNK3OCC12AccountState12readyForSyncEv (libOpenCloudGui.so + 0xbc424)
#1  0x00007ff5f64e5043 _ZNK3OCC6Folder7canSyncEv (libOpenCloudGui.so + 0x85043)
#2  0x00007ff5f64e916e _ZN3OCC6Folder9startSyncEv (libOpenCloudGui.so + 0x8916e)
#3  0x00007ff5f652b633 n/a (libOpenCloudGui.so + 0xcb633)
#4  0x00007ff5f4d457ef n/a (libQt6Core.so.6 + 0x1d37ef)
#5  0x00007ff5f4d31c04 _ZN7QObjectD2Ev (libQt6Core.so.6 + 0x1bfc04)
#6  0x00007ff5f64e0db6 _ZN3OCC6FolderD0Ev (libOpenCloudGui.so + 0x80db6)
#7  0x00007ff5f4d32d3c _ZN7QObject5eventEP6QEvent (libQt6Core.so.6 + 0x1c0d3c)
#8  0x00007ff5f5b95c70 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0x101c70)
#9  0x00007ff5f4cda118 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x168118)
#10 0x00007ff5f4cda4fb _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt6Core.so.6 + 0x1684fb)
#11 0x00007ff5f4cde812 _ZN16QCoreApplication4execEv (libQt6Core.so.6 + 0x16c812)
#12 0x00005650d989902e n/a (/usr/bin/opencloud + 0xb02e)
#13 0x00007ff5f6400078 _ZNK3OCC14RestartManager4execEiPPc (libOpenCloudLibSync.so.0 + 0x122078)
#14 0x00005650d98932f1 n/a (/usr/bin/opencloud + 0x52f1)
#15 0x00007ff5f46f2675 n/a (libc.so.6 + 0x27675)
#16 0x00007ff5f46f2729 __libc_start_main (libc.so.6 + 0x27729)
#17 0x00005650d9893375 n/a (/usr/bin/opencloud + 0x5375)

Only thing of interest currently visible seems to be line 13.

What is the preferred way to get a debug output?

Activity

  1. TheOneRing commented on Sep 12, 2025

    @TheOneRing
    Contributor

    Hi, are you using a build from the github ci?
    If so, asserts are enabled, and you should also receive a message in the terminal or in the log file.
    https://docs.opencloud.eu/docs/user/desktop-client/logging

  2. added a commit that references this issue on Sep 12, 2025
    da13a41
  3. TheOneRing commented on Sep 12, 2025

    @TheOneRing
    Contributor

    I guess I might have found the cause, thanks for the report.

  4. added 2 commits that reference this issue on Sep 12, 2025
    5686efc
    fae3818
  5. added a commit that references this issue on Sep 13, 2025
    dc4d5e0
  6. Narrat commented on Sep 21, 2025

    @Narrat
    Author

    Hi, are you using a build from the github ci? If so, asserts are enabled, and you should also receive a message in the terminal or in the log file. https://docs.opencloud.eu/docs/user/desktop-client/logging

    Oh, good to know for the future!
    And after testing a new build for some time it seems the related PR does fix the issue :)

  7. added a commit that references this issue on Nov 17, 2025
    9cc2ebb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions