Skip to content

[Bug]: macos desktop client 3.17.3 - 4.0.0 crashes regulary #8951

@zsoltbarat

Description

@zsoltbarat

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

Bug description

The nextcloud desktop client crashes regulary mostly while idle or laptop on sleep.
Versions affected / tested: 3.17.3 and 4.0.0
macos version: 12.7.6 (Intel) and newer OS version on Arm I´ll provide later.


Translated Report (Full Report Below)

Process: Nextcloud [95083]
Path: /Applications/nextcloud.app/Contents/MacOS/Nextcloud
Identifier: com.nextcloud.desktopclient
Version: 3.17.3 (3.17.3.0)
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2025-10-25 01:13:07.0177 +0200
OS Version: macOS 12.7.6 (21H1320)
Report Version: 12
Anonymous UUID: D1BBF7BB-B5AF-54D7-FEFE-E406E9C23B56

Sleep/Wake UUID: E58FD161-50ED-40DF-A2F0-074C4CF0E5BF

Time Awake Since Boot: 580000 seconds
Time Since Wake: 799 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: UNKNOWN_0xD at 0x0000000000000000
Exception Codes: 0x000000000000000d, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [95083]

VM Region Info: 0 is not in any region. Bytes before following region: 4390981632
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 105b91000-10605f000 [ 4920K] r-x/r-x SM=COW ...cOS/Nextcloud

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 QtCore 0x1165829c6 0x116504000 + 518598
1 ??? 0x7f783474f890 ???
2 QtCore 0x1165828de QUrl::host(QFlagsQUrl::ComponentFormattingOption) const + 62
3 QtNetwork 0x1150c55f9 QHstsPolicy::host(QFlagsQUrl::ComponentFormattingOption) const + 25
4 QtNetwork 0x11513b4de 0x1150b9000 + 533726
5 QtNetwork 0x1150c2bcc 0x1150b9000 + 39884
6 QtNetwork 0x11518a13e 0x1150b9000 + 856382
7 QtNetwork 0x11518e60e 0x1150b9000 + 873998
8 QtCore 0x1165ec889 QObject::event(QEvent*) + 665
9 QtWidgets 0x11541b648 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 312
10 QtWidgets 0x11541c612 QApplication::notify(QObject*, QEvent*) + 498
11 QtCore 0x11659f022 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 162
12 QtCore 0x1165a009d QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 541
13 libqcocoa.dylib 0x1163d1c2e 0x1163b8000 + 105518
14 libqcocoa.dylib 0x1163d2f70 0x1163b8000 + 110448
15 CoreFoundation 0x7ff802bda0ab CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17
16 CoreFoundation 0x7ff802bda013 __CFRunLoopDoSource0 + 180
17 CoreFoundation 0x7ff802bd9d8d __CFRunLoopDoSources0 + 242
18 CoreFoundation 0x7ff802bd87a8 __CFRunLoopRun + 892
19 CoreFoundation 0x7ff802bd7d6c CFRunLoopRunSpecific + 562
20 HIToolbox 0x7ff80b88a5e6 RunCurrentEventLoopInMode + 292
21 HIToolbox 0x7ff80b88a34a ReceiveNextEventCommon + 594
22 HIToolbox 0x7ff80b88a0e5 _BlockUntilNextEventMatchingListInModeWithFilter + 70
23 AppKit 0x7ff805616aa9 _DPSNextEvent + 927
24 AppKit 0x7ff805615166 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1394
25 libqcocoa.dylib 0x1163d01d1 0x1163b8000 + 98769
26 QtCore 0x1165a8d06 QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 550
27 QtCore 0x11659f7b5 QCoreApplication::exec() + 197
28 Nextcloud 0x105ba0f60 main + 3152
29 dyld 0x11535b52e start + 462

Part of crashreport for 4.0.0:

Translated Report (Full Report Below)

Process: Nextcloud [95423]
Path: /Applications/nextcloud.app/Contents/MacOS/Nextcloud
Identifier: com.nextcloud.desktopclient
Version: 4.0.0 (4.0.0.0)
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2025-10-25 03:58:08.5820 +0200
OS Version: macOS 12.7.6 (21H1320)
Report Version: 12
Anonymous UUID: D1BBF7BB-B5AF-54D7-FEFE-E406E9C23B56

Sleep/Wake UUID: CA54132E-B1DA-4334-AF89-45202EF9EDAB

Time Awake Since Boot: 580000 seconds
Time Since Wake: 1 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: UNKNOWN_0xD at 0x0000000000000000
Exception Codes: 0x000000000000000d, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [95423]

VM Region Info: 0 is not in any region. Bytes before following region: 4307083264
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 100b8e000-1010b4000 [ 5272K] r-x/r-x SM=COW ...cOS/Nextcloud

Kernel Triage:
VM - Fault hit memory shortage
VM - Fault hit memory shortage
VM - Fault hit memory shortage
VM - Fault hit memory shortage
VM - Fault hit memory shortage

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 QtCore 0x104fd603d 0x104f4c000 + 565309
1 ??? 0x6000021f9a30 ???
2 QtCore 0x104fcd377 QUrl::~QUrl() + 39
3 QtNetwork 0x1042be1c1 QHstsPolicy::~QHstsPolicy() + 49
4 QtNetwork 0x104332a68 0x1042b2000 + 526952
5 QtNetwork 0x1043321af 0x1042b2000 + 524719
6 QtNetwork 0x1042bb7a6 0x1042b2000 + 38822
7 QtNetwork 0x10437aba8 0x1042b2000 + 822184
8 QtNetwork 0x10437f5a2 0x1042b2000 + 841122
9 QtNetwork 0x10437f4a8 0x1042b2000 + 840872
10 QtCore 0x10503da96 QObject::event(QEvent*) + 694
11 QtWidgets 0x103c5efb8 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 312
12 QtWidgets 0x103c5ffdd QApplication::notify(QObject*, QEvent*) + 525
13 QtCore 0x104fee6df QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 719
14 libqcocoa.dylib 0x108a95fdb 0x108a7d000 + 102363
15 libqcocoa.dylib 0x108a973ae 0x108a7d000 + 107438
16 CoreFoundation 0x7ff802bda0ab CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17
17 CoreFoundation 0x7ff802bda013 __CFRunLoopDoSource0 + 180
18 CoreFoundation 0x7ff802bd9d8d __CFRunLoopDoSources0 + 242
19 CoreFoundation 0x7ff802bd87a8 __CFRunLoopRun + 892
20 CoreFoundation 0x7ff802bd7d6c CFRunLoopRunSpecific + 562
21 HIToolbox 0x7ff80b88a5e6 RunCurrentEventLoopInMode + 292
22 HIToolbox 0x7ff80b88a34a ReceiveNextEventCommon + 594
23 HIToolbox 0x7ff80b88a0e5 _BlockUntilNextEventMatchingListInModeWithFilter + 70
24 AppKit 0x7ff805616aa9 _DPSNextEvent + 927
25 AppKit 0x7ff805615166 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1394
26 libqcocoa.dylib 0x108a944ea 0x108a7d000 + 95466
27 QtCore 0x104ff69d6 QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 550
28 QtCore 0x104fedb6f QCoreApplication::exec() + 207
29 Nextcloud 0x100b9d21c main + 3260
30 dyld 0x109c5752e start + 462

Steps to reproduce

  1. Right click on the file
  2. Click on Share Options
  3. The share dialog does not display the option to share by e-mail
    ...

Expected behavior

When clicking on the share dialog, share by e-mail should be an option.
...

Which files are affected by this bug

all

Operating system

macOS

Which version of the operating system you are running.

12.7.6

Package

Official macOS 12+ universal pkg

Nextcloud Server version

32.0.0

Nextcloud Desktop Client version

3.17.3

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

Updated to a major version (ex. 3.16.3 to 3.17.0)

Are you using the Nextcloud Server Encryption module?

Encryption is Enabled

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

No one assigned

    Labels

    bugos: 🍎 macOSApple macOS, formerly also known as OS X

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions