Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-108899

[macOS] Weird crashes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 6.3.2
    • QPA
    • None
    • different mac devices and macOS versions
      but the most of them came from macOS 13.0.0/13.0.1
    • macOS

    Description

      I see such crashes among our users crash reports. Unfortunately I have no idea what caused this or how to reproduce it.

      This one is the most frequent one (and predominantly on macOS 13):

      Date/Time:       2022-11-25T09:03:57.999Z
      Launch Time:     2022-11-21T18:13:38Z
      OS Version:      Mac OS X 13.0.1 (22A400)
      Report Version:  104
      
      Exception Type:  SIGILL
      Exception Codes: ILL_NOOP at 0x0
      Crashed Thread:  0
      
      Thread 0 Crashed:
      0   AppKit                               0x00007ff806c0deea -[NSApplication _crashOnException:] + 287
      1   AppKit                               0x00007ff806a0411b __62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 856
      2   AppKit                               0x00007ff80721a513 ___NSRunLoopObserverCreateWithHandler_block_invoke + 40
      3   CoreFoundation                       0x00007ff803849401 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 22
      4   CoreFoundation                       0x00007ff803849329 __CFRunLoopDoObservers + 481
      5   CoreFoundation                       0x00007ff803848886 __CFRunLoopRun + 876
      6   CoreFoundation                       0x00007ff803847e9f CFRunLoopRunSpecific + 559
      7   HIToolbox                            0x00007ff80d66fbd6 RunCurrentEventLoopInMode + 291
      8   HIToolbox                            0x00007ff80d66f9e6 ReceiveNextEventCommon + 678
      9   HIToolbox                            0x00007ff80d66f723 _BlockUntilNextEventMatchingListInModeWithFilter + 69
      10  AppKit                               0x00007ff8068a5b37 _DPSNextEvent + 908
      11  AppKit                               0x00007ff8068a49b8 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1218
      12  AppKit                               0x00007ff806896ff3 -[NSApplication run] + 585
      13  libqcocoa.dylib                      0x000000011702df18 QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qcocoaeventdispatcher.mm:430)
      14  QtCore                               0x000000011766e826 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:136)
      15  QtCore                               0x0000000117665615 QCoreApplication::exec() (qcoreapplication.cpp:1388)
      

      Others:

      Exception Type:  SIGSEGV
      Exception Codes: SEGV_MAPERR at 0xa002e03c203b7
      Crashed Thread:  0
      
      Thread 0 Crashed:
      0   SkyLight                             0x00007fff24d4272b get_current_display_system_state() + 4525
      1   SkyLight                             0x00007fff24d43c96 get_display_logging() + 22
      2   SkyLight                             0x00007fff24d42cd2 display_notify_proc(CGSNotificationType, void*, unsigned int, void*) + 39
      3   SkyLight                             0x00007fff24b6cfb4 CGSPostLocalNotification + 273
      4   SkyLight                             0x00007fff24b6ca48 (anonymous namespace)::notify_datagram_handler(unsigned int, CGSDatagramType, void*, unsigned long, void*) + 97
      5   SkyLight                             0x00007fff24e0ed78 CGSDatagramReadStream::dispatchMainQueueDatagrams() + 201
      6   SkyLight                             0x00007fff24e0ec9f ___ZN21CGSDatagramReadStream15mainQueueWakeupEv_block_invoke + 17
      7   libdispatch.dylib                    0x00007fff201ef623 _dispatch_call_block_and_release + 11
      8   libdispatch.dylib                    0x00007fff201f0806 _dispatch_client_callout + 7
      9   libdispatch.dylib                    0x00007fff201fcb4f _dispatch_main_queue_callback_4CF + 939
      10  CoreFoundation                       0x00007fff204cfe6e __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 8
      11  CoreFoundation                       0x00007fff20491e68 __CFRunLoopRun + 2768
      12  CoreFoundation                       0x00007fff20490cd0 CFRunLoopRunSpecific + 566
      13  HIToolbox                            0x00007fff2893ba83 RunCurrentEventLoopInMode + 291
      14  HIToolbox                            0x00007fff2893b7e5 ReceiveNextEventCommon + 586
      15  HIToolbox                            0x00007fff2893b583 _BlockUntilNextEventMatchingListInModeWithFilter + 69
      16  AppKit                               0x00007fff22bc4172 _DPSNextEvent + 863
      17  AppKit                               0x00007fff22bc2945 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1363
      18  AppKit                               0x00007fff22bb4c69 -[NSApplication run] + 585
      19  libqcocoa.dylib                      0x0000000136f40f18 QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qcocoaeventdispatcher.mm:430)
      20  QtCore                               0x0000000133408826 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:136)
      21  QtCore                               0x00000001333ff615 QCoreApplication::exec() (qcoreapplication.cpp:1388)
      
      Exception Type:  SIGILL
      Exception Codes: ILL_NOOP at 0x0
      Crashed Thread:  0
      
      Thread 0 Crashed:
      0   AppKit                               0x00007ff81e0956f8 NSCGSPanicv + 261
      1   AppKit                               0x00007ff81e0955f3 NSCGSPanic + 113
      2   AppKit                               0x00007ff81e0eb183 -[NSCGSWindow(NSCGSWindowGeometry) frame] + 656
      3   AppKit                               0x00007ff81d6c106e -[NSWindow _setFrameCommon:display:fromServer:] + 413
      4   AppKit                               0x00007ff81d78da86 -[NSWindow setFrameOrigin:] + 355
      5   AppKit                               0x00007ff81e022ebe __47-[_NSFunctionRow initWithDFRElementAttributes:]_block_invoke_4 + 625
      6   AppKit                               0x00007ff81d68c1ab +[NSAnimationContext runAnimationGroup:] + 54
      7   AppKit                               0x00007ff81e022a40 __47-[_NSFunctionRow initWithDFRElementAttributes:]_block_invoke_3 + 152
      8   AppKit                               0x00007ff81d68c1ab +[NSAnimationContext runAnimationGroup:] + 54
      9   AppKit                               0x00007ff81e0229a1 __47-[_NSFunctionRow initWithDFRElementAttributes:]_block_invoke_2 + 115
      10  AppKit                               0x00007ff81e024d67 ___NSMainRunLoopPerformBlockInModes_block_invoke + 24
      11  CoreFoundation                       0x00007ff81ac38d11 0x7ff81abb9000 + 523537
      12  CoreFoundation                       0x00007ff81ac38bbc 0x7ff81abb9000 + 523196
      13  CoreFoundation                       0x00007ff81ac37f2d 0x7ff81abb9000 + 519981
      14  CoreFoundation                       0x00007ff81ac36e3c 0x7ff81abb9000 + 515644
      15  HIToolbox                            0x00007ff8238e65e6 RunCurrentEventLoopInMode + 291
      16  HIToolbox                            0x00007ff8238e634a ReceiveNextEventCommon + 593
      17  HIToolbox                            0x00007ff8238e60e5 _BlockUntilNextEventMatchingListInModeWithFilter + 69
      18  AppKit                               0x00007ff81d670fad _DPSNextEvent + 926
      19  AppKit                               0x00007ff81d66f66a -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1393
      20  AppKit                               0x00007ff81d661d19 -[NSApplication run] + 585
      21  libqcocoa.dylib                      0x000000010702df18 QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qcocoaeventdispatcher.mm:430)
      22  QtCore                               0x00000001096b6826 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:136)
      23  QtCore                               0x00000001096ad615 QCoreApplication::exec() (qcoreapplication.cpp:1388)
      
      Exception Type:  SIGSEGV
      Exception Codes: SEGV_MAPERR at 0x0
      Crashed Thread:  0
      
      Thread 0 Crashed:
      0   libobjc.A.dylib                      0x00007fff202bf997 0x7fff202b8000 + 31127
      1   libobjc.A.dylib                      0x00007fff202bf39b 0x7fff202b8000 + 29595
      2   CoreGraphics                         0x00007fff25028d8c 0x7fff25020000 + 36236
      3   CoreGraphics                         0x00007fff250918e2 0x7fff25020000 + 465122
      4   CoreFoundation                       0x00007fff205e436a 0x7fff20498000 + 1360746
      5   AppKit                               0x00007fff22f3034e -[NSBitmapImageRep dealloc] + 38
      6   libobjc.A.dylib                      0x00007fff202dd82e 0x7fff202b8000 + 153646
      7   CoreFoundation                       0x00007fff204df054 0x7fff20498000 + 290900
      8   AppKit                               0x00007fff236c964e -[NSImageArrayRepProvider dealloc] + 21
      9   AppKit                               0x00007fff22e9f91f -[NSImage dealloc] + 122
      10  libsystem_blocks.dylib               0x00007fff20159605 _Block_release + 127
      11  AppKit                               0x00007fff2348ddc4 -[NSStatusItemReplicantView setDrawBlock:] + 48
      12  AppKit                               0x00007fff23491b6c -[NSStatusItem _updateReplicant:] + 2159
      13  AppKit                               0x00007fff22fd4970 -[NSStatusItem _updateReplicants] + 242
      14  AppKit                               0x00007fff23492358 -[NSStatusItem _updateReplicantsUnlessMenuIsTracking:] + 120
      15  Foundation                           0x00007fff212c81a7 __NSFireDelayedPerform + 414
      16  CoreFoundation                       0x00007fff20532279 0x7fff20498000 + 631417
      17  CoreFoundation                       0x00007fff20531d6d 0x7fff20498000 + 630125
      18  CoreFoundation                       0x00007fff205318ca 0x7fff20498000 + 628938
      19  CoreFoundation                       0x00007fff205184a3 0x7fff20498000 + 525475
      20  CoreFoundation                       0x00007fff2051761c 0x7fff20498000 + 521756
      21  HIToolbox                            0x00007fff2875ca83 RunCurrentEventLoopInMode + 291
      22  HIToolbox                            0x00007fff2875c7e5 ReceiveNextEventCommon + 586
      23  HIToolbox                            0x00007fff2875c583 _BlockUntilNextEventMatchingListInModeWithFilter + 69
      24  AppKit                               0x00007fff22d1e502 _DPSNextEvent + 863
      25  AppKit                               0x00007fff22d1ccd5 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1363
      26  AppKit                               0x00007fff22d0f049 -[NSApplication run] + 585
      27  libqcocoa.dylib                      0x00000001171d8f18 QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qcocoaeventdispatcher.mm:430)
      28  QtCore                               0x00000001135ed826 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:136)
      29  QtCore                               0x00000001135e4615 QCoreApplication::exec() (qcoreapplication.cpp:1388)
      
      Exception Type:  SIGSEGV
      Exception Codes: SEGV_MAPERR at 0x40
      Crashed Thread:  0
      
      Thread 0 Crashed:
      0   SkyLight                             0x00007fff64d5341a SLSGetBackgroundEventMask + 14
      1   HIToolbox                            0x00007fff3ea7d390 ChangeBackgroundEventMask + 41
      2   HIToolbox                            0x00007fff3ea36e95 HandleCGEventsBeforeConversion(__CGEvent*) + 481
      3   HIToolbox                            0x00007fff3ea35696 Convert1CGEvent(unsigned char) + 193
      4   HIToolbox                            0x00007fff3ea35577 MainLoopObserver(unsigned int, OpaqueEventRef*, void*) + 40
      5   HIToolbox                            0x00007fff3ea28957 _NotifyEventLoopObservers + 152
      6   HIToolbox                            0x00007fff3ea2b16b RunCurrentEventLoopInMode + 227
      7   HIToolbox                            0x00007fff3ea2aded ReceiveNextEventCommon + 354
      8   HIToolbox                            0x00007fff3ea2ac76 _BlockUntilNextEventMatchingListInModeWithFilter + 63
      9   AppKit                               0x00007fff3cdc2e89 _DPSNextEvent + 1134
      10  AppKit                               0x00007fff3cdc1b77 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1360
      11  AppKit                               0x00007fff3cdbbc94 -[NSApplication run] + 698
      12  libqcocoa.dylib                      0x00000001218b4f18 QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qcocoaeventdispatcher.mm:430)
      13  QtCore                               0x000000011f01d826 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:136)
      14  QtCore                               0x000000011f014615 QCoreApplication::exec() (qcoreapplication.cpp:1388)
      
      Exception Type:  SIGILL
      Exception Codes: ILL_NOOP at 0x0
      Crashed Thread:  0
      
      Thread 0 Crashed:
      0   AppKit                               0x00007ff815e28abc NSCGSPanicv + 261
      1   AppKit                               0x00007ff815e289b7 NSCGSPanic + 113
      2   AppKit                               0x00007ff815e7c45f -[NSCGSWindow(NSCGSWindowDisplayCoordinateSystem) convertCGScreenLocationToCGWindowRelativePoint:] + 313
      3   AppKit                               0x00007ff815573412 -[NSEvent _initWithCGEvent:eventRef:] + 460
      4   AppKit                               0x00007ff815403bb1 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2152
      5   AppKit                               0x00007ff8153f5f69 -[NSApplication run] + 585
      6   libqcocoa.dylib                      0x0000000109c75f18 QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qcocoaeventdispatcher.mm:430)
      7   QtCore                               0x0000000109f37826 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:136)
      8   QtCore                               0x0000000109f2e615 QCoreApplication::exec() (qcoreapplication.cpp:1388)
      

      Any thoughts?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vestbo Tor Arne Vestbø
            studiosus Vladimir Belyavsky
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes