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

macos: crash in Cocoa QPA when plugging in an external screen

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.9
    • GUI: Window management, QPA
    • None
    • macOS

    Description

      Crash:

      Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
      0   ossia score                   	       0x105593004 -[QNSView(Drawing) propagateBackingProperties] + 88
      1   ossia score                   	       0x105592ed0 -[QNSView(Drawing) viewDidChangeBackingProperties] + 252
      2   AppKit                        	       0x1911994d8 _NSViewHierarchyDidChangeBackingProperties + 244
      3   AppKit                        	       0x191c70ad8 -[NSWindow _postWindowDidChangeBackingPropertiesAndDisplayWindowForPreviousBackingScaleFactor:previousColorSpace:] + 192
      4   AppKit                        	       0x191337194 __67-[NSWindow _updateSettingsSendingScreenChangeNotificationToScreen:]_block_invoke + 440
      5   AppKit                        	       0x1911b84d8 NSPerformVisuallyAtomicChange + 108
      6   AppKit                        	       0x191336fd0 -[NSWindow _updateSettingsSendingScreenChangeNotificationToScreen:] + 96
      7   AppKit                        	       0x1911b9a50 -[NSWindow _setFrameCommon:display:fromServer:] + 2060
      8   AppKit                        	       0x191c698c4 -[NSWindow(NSScreenLayout) _setFrame:fromAdjustmentToScreen:anchorIfNeeded:animate:] + 1624
      9   AppKit                        	       0x191453d88 -[NSWindow _adjustWindowToScreen] + 1192
      10  AppKit                        	       0x1914735fc -[NSWindow _displayChangedSoAdjustWindows:] + 100
      11  AppKit                        	       0x191fb99fc ___NSApplicationPerformScreenInvalidationReactions_block_invoke + 80
      12  AppKit                        	       0x1911715ac -[NSApplication enumerateWindowsWithOptions:usingBlock:] + 236
      13  AppKit                        	       0x191fb92fc ___NSApplicationReactToScreenInvalidation_block_invoke + 1012
      14  AppKit                        	       0x191fb8b3c _NSApplicationReactToScreenInvalidation + 308
      15  AppKit                        	       0x191fb8d88 -[NSApplication(ScreenHandling) _reactToDisplayChanges:] + 416
      16  AppKit                        	       0x191a6de08 _NSCGSDisplayConfigurationUpdateAndInvokeObservers + 436
      17  AppKit                        	       0x191a6e2f0 _NSCGSDisplayConfigurationDidReconfigureNotificationHandler + 316
      18  SkyLight                      	       0x193156680 (anonymous namespace)::notify_datagram_handler(unsigned int, CGSDatagramType, void*, unsigned long, void*) + 932
      19  SkyLight                      	       0x19356b0b8 CGSDatagramReadStream::dispatchMainQueueDatagrams() + 228
      20  SkyLight                      	       0x19356afb4 invocation function for block in CGSDatagramReadStream::mainQueueWakeup() + 28
      21  libdispatch.dylib             	       0x18d363854 _dispatch_call_block_and_release + 32
      22  libdispatch.dylib             	       0x18d3655b4 _dispatch_client_callout + 20
      23  libdispatch.dylib             	       0x18d374040 _dispatch_main_queue_drain + 984
      24  libdispatch.dylib             	       0x18d373c58 _dispatch_main_queue_callback_4CF + 44
      25  CoreFoundation                	       0x18d63f9d0 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
      26  CoreFoundation                	       0x18d5ff5bc __CFRunLoopRun + 1996
      27  CoreFoundation                	       0x18d5fe734 CFRunLoopRunSpecific + 588
      28  HIToolbox                     	       0x198b6d530 RunCurrentEventLoopInMode + 292
      29  HIToolbox                     	       0x198b73348 ReceiveNextEventCommon + 676
      30  HIToolbox                     	       0x198b73508 _BlockUntilNextEventMatchingListInModeWithFilter + 76
      31  AppKit                        	       0x191176848 _DPSNextEvent + 660
      32  AppKit                        	       0x191adcc24 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688
      33  AppKit                        	       0x191169874 -[NSApplication run] + 480
      34  ossia score                   	       0x10554dba8 QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2580
      35  ossia score                   	       0x10cfcf320 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 588
      36  ossia score                   	       0x10cfc7020 QCoreApplication::exec() + 228
      37  ossia score                   	       0x1041b5edc main + 1676
      38  dyld                          	       0x18d198274 start + 2840
      

      Attachments

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

        Activity

          People

            vestbo Tor Arne Vestbø
            jcelerier Jean-Michaël Celerier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes