Skip to content

macOS 27: Crash on click on menubar icon #1105

Closed

Description

@nicokaiser

Steps to reproduce

  1. Open OpenCloud Desktop on macOS 27
  2. Click on the menu bar icon

Expected behavior

  • The menu should open
  • The app should not crash

Actual behavior

  • The app crashes

Right-clicking on the icon works normal.

Setup

  • macOS 27.0
  • Client version 4.0.0.3642
  • Log:
sync.utility: process not translated
gui.main: Using "de_Latn_DE" translation "de"
gui.main: Could not load qtkeychain translations
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid message sent to event "NSEvent: type=KitDefined loc=(0,1169) time=36095.8 flags=0x40 win=0x0 winNum=0 ctxt=0x0 subtype=2 data1=0 data2=64"'
*** First throw call stack:
(
	0   CoreFoundation                      0x0000000180b1a8c0 __exceptionPreprocess + 176
	1   libobjc.A.dylib                     0x000000018057860c objc_exception_throw + 88
	2   Foundation                          0x00000001822614d8 -[NSCalendarDate initWithCoder:] + 0
	3   AppKit                              0x00000001851f8f80 -[NSEvent clickCount] + 152
	4   libqcocoa.dylib                     0x0000000103e61388 qt_plugin_instance + 187260
	5   CoreFoundation                      0x0000000180a9f1a0 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 148
	6   CoreFoundation                      0x0000000180b2e394 ___CFXRegistrationPost_block_invoke + 92
	7   CoreFoundation                      0x0000000180b2e2d8 _CFXRegistrationPost + 440
	8   CoreFoundation                      0x0000000180a6b3d0 _CFXNotificationPost + 688
	9   Foundation                          0x000000018215c38c -[NSNotificationCenter postNotificationName:object:userInfo:] + 88
	10  AppKit                              0x000000018560d154 -[NSMenuTrackingSession sendBeginTrackingNotifications] + 188
	11  AppKit                              0x0000000185614b98 -[NSMenuTrackingSession beginTrackingSession:] + 644
	12  AppKit                              0x00000001855c1bac +[NSContextMenuImpl presentPopup:fromView:withContext:animated:async:completionBlock:] + 432
	13  AppKit                              0x0000000185906880 _NSPopUpMenu + 1992
	14  AppKit                              0x0000000185905fe0 -[NSCocoaMenuImpl popUpMenu:atLocation:width:view:selectedItemIndexProvider:font:positioningRect:flags:options:] + 432
	15  AppKit                              0x0000000185905e08 -[NSCocoaMenuImpl popUpMenu:atLocation:width:forView:withSelectedItem:withFont:withFlags:withOptions:] + 96
	16  AppKit                              0x00000001858c682c +[NSStatusBarButtonCell popUpStatusBarMenu:ofItem:ofBar:inRect:ofView:withEvent:] + 744
	17  AppKit                              0x00000001858ced1c -[NSStatusItem popUpStatusItemMenu:] + 108
	18  AppKit                              0x00000001858cf348 -[NSStatusItem _beginExpandedInterfaceSession:] + 600
	19  AppKit                              0x000000018569a60c -[NSSceneStatusItem _beginExpandedInterfaceSession:] + 192
	20  AppKit                              0x00000001856991b0 __33-[NSSceneStatusItem _setupScene:]_block_invoke.25 + 320
	21  AppKit                              0x0000000185ee6618 __swift_closure_destructor.106 + 28764
	22  AppKit                              0x0000000185ee6794 __swift_closure_destructor.106 + 29144
	23  FrontBoardServices                  0x000000019d187cc8 -[FBSSceneObserver scene:handlePrivateActions:] + 80
	24  FrontBoardServices                  0x000000019d14b864 -[FBSScene updater:didReceiveActions:forExtension:] + 736
	25  FrontBoardServices                  0x000000019d173e28 __71-[FBSWorkspaceScenesClient sceneID:sendActions:toExtension:completion:]_block_invoke + 204
	26  FrontBoardServices                  0x000000019d12ebbc -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 180
	27  libdispatch.dylib                   0x00000001808425a0 _dispatch_client_callout + 16
	28  libdispatch.dylib                   0x000000018082d700 _dispatch_block_invoke_direct + 284
	29  BoardServices                       0x000000019d216ca4 __BSSERVICEMAINRUNLOOPQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 48
	30  BoardServices                       0x000000019d215ac8 BSServiceMainRunLoopSourceHandler + 232
	31  CoreFoundation                      0x0000000180aaa944 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
	32  CoreFoundation                      0x0000000180aaa8d8 __CFRunLoopDoSource0 + 224
	33  CoreFoundation                      0x0000000180aaa610 __CFRunLoopDoSources0 + 232
	34  CoreFoundation                      0x0000000180aa91e0 __CFRunLoopRun + 832
	35  CoreFoundation                      0x0000000180b8382c _CFRunLoopRunSpecificWithOptions + 536
	36  HIToolbox                           0x000000018dedc590 RunCurrentEventLoopInMode + 320
	37  HIToolbox                           0x000000018dedf91c ReceiveNextEventCommon + 492
	38  HIToolbox                           0x000000018e062380 _BlockUntilNextEventMatchingListInMode + 48
	39  AppKit                              0x00000001853a329c _DPSBlockUntilNextEventMatchingListInMode + 292
	40  AppKit                              0x00000001850604fc _DPSNextEvent + 580
	41  AppKit                              0x00000001858d8748 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 780
	42  AppKit                              0x00000001858d826c -[NSApplication(NSEventRouting) nextEventMatchingMask:untilDate:inMode:dequeue:] + 292
	43  libqcocoa.dylib                     0x0000000103e41284 qt_plugin_instance + 55928
	44  QtCore                              0x000000010366eb10 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE + 588
	45  QtCore                              0x0000000103665514 _ZN16QCoreApplication4execEv + 228
	46  OpenCloud                           0x0000000100406640 OpenCloud + 42560
	47  libOpenCloudLibSync.4.0.0.dylib     0x00000001009a10ec _ZNK3OCC14RestartManager4execEiPPc + 64
	48  OpenCloud                           0x0000000100403fd4 OpenCloud + 32724
	49  dyld                                0x0000000180613e80 start + 6688
)
libc++abi: terminating due to uncaught exception of type NSException
[1]    22653 abort      /Applications/OpenCloud.app/Contents/MacOS/OpenCloud

Activity

  1. added this to the 4.0.1 milestone on Sep 16, 2026
  2. TheOneRing commented on Sep 16, 2026

    @TheOneRing
    Contributor

    Urks not much we can do here, I'll check whether there is a known bug in Qt.

  3. TheOneRing commented on Sep 16, 2026

    @TheOneRing
    Contributor
  4. nicokaiser commented on Sep 16, 2026

    @nicokaiser
    Author
  5. TheOneRing commented on Sep 16, 2026

    @TheOneRing
    Contributor

    Yes I'm going to backport the changes

  6. nicokaiser commented on Sep 17, 2026

    @nicokaiser
    Author

    Awesome, thank you!

  7. suse-coder commented on Nov 20, 2026

    @suse-coder
    OS: macOS 27.0.1 (26A434)
    App: OpenCloud Desktop 4.0.0.3642 (x86_64, translated)
    Qt: 6.11.1
    
    Exception Type:    EXC_BAD_ACCESS (SIGSEGV)
    Exception Subtype: KERN_INVALID_ADDRESS at 0x0020019008070c10 -> 0x0000019008070c10 (possible pointer authentication failure)
    Exception Codes:   0x0000000000000001, 0x0020019008070c10
    Termination Reason: Namespace SIGNAL, Code 11, Segmentation fault: 11
    Triggered by Thread: 0, Dispatch Queue: com.apple.main-thread
    
    Thread 0 Crashed:
    0   ???                       0x10234a36c ???
    1   libunwind.dylib           _Unwind_RaiseException + 242
    2   libc++abi.dylib           __cxa_throw + 61
    3   libobjc.A.dylib           objc_exception_throw + 317
    4   Foundation                -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 362
    5   AppKit                    -[NSEvent clickCount] + 137
    6   libqcocoa.dylib           qt_plugin_instance + 243814
    7   CoreFoundation            __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 137
    8   CoreFoundation            ___CFXRegistrationPost_block_invoke + 86
    9   CoreFoundation            _CFXRegistrationPost + 538
    10  CoreFoundation            _CFXNotificationPost + 812
    11  Foundation                -[NSNotificationCenter postNotificationName:object:userInfo:] + 82
    12  AppKit                    -[NSMenuTrackingSession sendBeginTrackingNotifications] + 234
    13  AppKit                    -[NSMenuTrackingSession beginTrackingSession:] + 798
    14  AppKit                    +[NSContextMenuImpl presentPopup:fromView:withContext:animated:async:completionBlock:] + 551
    15  AppKit                    _NSPopUpMenu + 3201
    16  AppKit                    -[NSCocoaMenuImpl popUpMenu:atLocation:width:view:selectedItemIndexProvider:font:positioningRect:flags:options:] + 568
    17  AppKit                    -[NSCocoaMenuImpl popUpMenu:atLocation:width:view:selectedItemIndexProvider:font:flags:options:] + 53
    18  AppKit                    -[NSCocoaMenuImpl popUpMenu:atLocation:width:forView:withSelectedItem:withFont:withFlags:withOptions:] + 81
    19  AppKit                    +[NSStatusBarButtonCell popUpStatusBarMenu:ofItem:ofBar:inRect:ofView:withEvent:] + 914
    20  AppKit                    -[NSStatusItem popUpStatusItemMenu:] + 149
    21  AppKit                    -[NSStatusItem _beginExpandedInterfaceSession:] + 803
    22  AppKit                    -[NSSceneStatusItem _beginExpandedInterfaceSession:] + 216
    23  AppKit                    __33-[NSSceneStatusItem _setupScene:]_block_invoke.97 + 401
    24  AppKit                    <redacted> + 17811082
    25  AppKit                    <redacted> + 17811650
    26  FrontBoardServices         -[FBSSceneObserver scene:handlePrivateActions:] + 74
    27  FrontBoardServices         -[FBSScene updater:didReceiveActions:forExtension:] + 1058
    28  FrontBoardServices         __71-[FBSWorkspaceScenesClient sceneID:sendActions:toExtension:completion:]_block_invoke + 215
    29  FrontBoardServices         -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 213
    30  libdispatch.dylib         _dispatch_client_callout + 6
    31  libdispatch.dylib         _dispatch_block_invoke_direct + 271
    32  BoardServices             __BSSERVICEMAINRUNLOOPQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 30
    33  BoardServices             BSServiceMainRunLoopSourceHandler + 192
    34  CoreFoundation            __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    35  CoreFoundation            __CFRunLoopDoSource0 + 157
    36  CoreFoundation            __CFRunLoopDoSources0 + 203
    37  CoreFoundation            __CFRunLoopRun + 945
    38  CoreFoundation            _CFRunLoopRunSpecificWithOptions + 496
    39  HIToolbox                 RunCurrentEventLoopInMode + 283
    40  HIToolbox                 ReceiveNextEventCommon + 599
    41  HIToolbox                 _BlockUntilNextEventMatchingListInMode + 37
    42  AppKit                    _DPSBlockUntilNextEventMatchingListInMode + 257
    43  AppKit                    _DPSNextEvent + 816
    44  AppKit                    -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1194
    45  AppKit                    -[NSApplication(NSEventRouting) nextEventMatchingMask:untilDate:inMode:dequeue:] + 330
    46  libqcocoa.dylib           qt_plugin_instance + 95655
    47  QtCore                    QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 550
    48  QtCore                    QCoreApplication::exec() + 207
    49  OpenCloud                 0x10201ab2b + 43819
    50  libOpenCloudLibSync.4.0.0.dylib  OCC::RestartManager::exec(int, char**) const + 52
    51  OpenCloud                 0x102018042 + 32834
    52  dyld                      start + 3253
    
    Error Formulating Crash Report:
    RIP register does not match crashing frame (0x20019008070C10 vs 0x10234A36C)
    

    is that the same error we get on mac os with opencloud desktop?

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

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions