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

[Mac OS] Accessing QClipboard::image() crashes with qmake

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P1: Critical
    • None
    • 6.4.2
    • Build tools: qmake
    • None
    • macOS

    Description

      When trying to access QClipboard::image() on Mac OS Monterey 12.6.3 where the application is built using qmake, the application crashes.

      The exact same application works as expected when building with cmake.

      You can access QClipboard::mimeData()>hasImage() and it returns true, yet when you try to access QClipboard::mimeData()>imageData() it also fails to access and crashes.

       

      To reproduce:

      1. Run the application
      2. Copy a png/jpeg into the system clipboard or use the clipping tool via: shift+ctrl+command+4
      3. Hide the application window
      4. Focus on the application window to trigger the clipboardChanged signal

      This should result in a crash.

       

      Here's a bug report of the problem:

       

      // -------------------------------------
      Translated Report (Full Report Below)
      -------------------------------------Process:               clipboard-test-qt6 [19616]
      Path:                  /Users/USER/*/clipboard-test-qt6.app/Contents/MacOS/clipboard-test-qt6
      Identifier:            my.test.project.clipboard-test-qt6
      Version:               ???
      Code Type:             X86-64 (Native)
      Parent Process:        qtcreator_processlauncher [12648]
      User ID:               501Date/Time:             2023-02-19 12:31:57.8444 +0100
      OS Version:            macOS 12.6.3 (21G419)
      Report Version:        12
      Anonymous UUID:        59FD0A45-E1AE-009B-30D4-5F52FCB9080ESleep/Wake UUID:       3B86C862-5987-45E6-B605-86F14709B08CTime Awake Since Boot: 63000 seconds
      Time Since Wake:       60595 secondsSystem Integrity Protection: enabledCrashed Thread:        0  Dispatch queue: com.apple.main-threadException Type:        EXC_BAD_ACCESS (SIGSEGV)
      Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
      Exception Codes:       0x0000000000000001, 0x0000000000000000
      Exception Note:        EXC_CORPSE_NOTIFYTermination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
      Terminating Process:   exc handler [19616]VM Region Info: 0 is not in any region.  Bytes before following region: 4394110976
            REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
            UNUSED SPACE AT START
      --->  
            __TEXT                      105e8d000-105e95000    [   32K] r-x/r-x SM=COW  ...oard-test-qt6Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
      0   ???                                              0x0 ???
      1   ImageIO                               0x7ff81e2c4e7c PNGReadPlugin::InitializePluginData(IIOImageReadSession*, IIODictionary*, IIODictionary*, CGImageMetadata*, CGColorSpace**, ReadPluginData&, PNGPluginData&, __CFDictionary*) + 876
      2   ImageIO                               0x7ff81e2c4b08 PNGReadPlugin::initialize(IIODictionary*) + 62
      3   ImageIO                               0x7ff81e2bc2a7 IIOReadPlugin::callInitialize() + 81
      4   ImageIO                               0x7ff81e2bbf90 IIO_Reader::initImageAtOffset(CGImagePlugin*, unsigned long, unsigned long, unsigned long) + 62
      5   ImageIO                               0x7ff81e2b9857 IIOImageSource::makeImagePlus(unsigned long, IIODictionary*) + 517
      6   ImageIO                               0x7ff81e2c68fb IIOImageSource::createImageAtIndex(unsigned long, IIODictionary*) + 61
      7   ImageIO                               0x7ff81e2c67dc CGImageSourceCreateImageAtIndex + 241
      8   ImageIO                               0x7ff81e37e7ba IIOImageDestination::createImageFromSource(unsigned long, IIODictionary*, CGImage**) + 454
      9   ImageIO                               0x7ff81e37e92a IIOImageDestination::addImageFromSource(CGImageSource*, unsigned long, IIODictionary*) + 290
      10  ImageIO                               0x7ff81e38069a CGImageDestinationAddImageFromSource + 366
      11  HIServices                            0x7ff81ad919ad CreateImageFromImage(OpaqueTranslationRef*, __CFData const*, __CFData const**) + 339
      12  HIServices                            0x7ff81ad6be2b PasteboardCopyItemFlavorData + 1135
      13  libqcocoa.dylib                          0x107d3274b QMacPasteboard::retrieveData(QString const&, QMetaType) const + 823
      14  libqcocoa.dylib                          0x107d33538 QMacPasteboardMimeSource::retrieveData(QString const&, QMetaType) const + 18
      15  QtCore                                   0x106d24bbf QMimeDataPrivate::retrieveTypedData(QString const&, QMetaType) const + 129
      16  QtCore                                   0x106d26738 QMimeData::imageData() const + 78
      17  QtGui                                    0x10737b244 QClipboard::image(QClipboard::Mode) const + 100
      18  clipboard-test-qt6                       0x105e93044 MainWindow::clipboardChanged() + 36 (mainwindow.cpp:26)
      19  clipboard-test-qt6                       0x105e942f4 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (MainWindow::*)()>::call(void (MainWindow::*)(), MainWindow*, void**) + 132 (qobjectdefs_impl.h:135)
      20  clipboard-test-qt6                       0x105e9422d void QtPrivate::FunctionPointer<void (MainWindow::*)()>::call<QtPrivate::List<>, void>(void (MainWindow::*)(), MainWindow*, void**) + 77 (qobjectdefs_impl.h:172)
      21  clipboard-test-qt6                       0x105e94122 QtPrivate::QSlotObject<void (MainWindow::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) + 146 (qobjectdefs_impl.h:383)
      22  QtCore                                   0x106d3025c void doActivate<false>(QObject*, int, void**) + 1298
      23  QtGui                                    0x10737b72d QClipboard::emitChanged(QClipboard::Mode) + 65
      24  libqcocoa.dylib                          0x107cf4c0a QCocoaClipboard::handleApplicationStateChanged(Qt::ApplicationState) + 38
      25  QtCore                                   0x106d3025c void doActivate<false>(QObject*, int, void**) + 1298
      26  QtGui                                    0x107394d3a QGuiApplicationPrivate::setApplicationState(Qt::ApplicationState, bool) + 198
      27  QtGui                                    0x1073d7305 QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 109
      28  libqcocoa.dylib                          0x107cfb2de QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 44
      29  CoreFoundation                        0x7ff8152f017b __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
      30  CoreFoundation                        0x7ff8152f00e3 __CFRunLoopDoSource0 + 180
      31  CoreFoundation                        0x7ff8152efe5d __CFRunLoopDoSources0 + 242
      32  CoreFoundation                        0x7ff8152ee878 __CFRunLoopRun + 892
      33  CoreFoundation                        0x7ff8152ede3c CFRunLoopRunSpecific + 562
      34  HIToolbox                             0x7ff81df9d5e6 RunCurrentEventLoopInMode + 292
      35  HIToolbox                             0x7ff81df9d213 ReceiveNextEventCommon + 283
      36  HIToolbox                             0x7ff81df9d0e5 _BlockUntilNextEventMatchingListInModeWithFilter + 70
      37  AppKit                                0x7ff817d27fad _DPSNextEvent + 927
      38  AppKit                                0x7ff817d2666a -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1394
      39  AppKit                                0x7ff817d18d19 -[NSApplication run] + 586
      40  libqcocoa.dylib                          0x107cfa555 QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2103
      41  QtCore                                   0x106cfb3f5 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 359
      42  QtCore                                   0x106cf5607 QCoreApplication::exec() + 111
      43  clipboard-test-qt6                       0x105e929f1 main + 81 (main.cpp:10)
      44  dyld                                     0x115af352e start + 462Thread 1:
      0   libsystem_pthread.dylib               0x7ff815224f48 start_wqthread + 0Thread 2::  Dispatch queue: com.apple.SkyLight.UpdateManager.SerialSema
      0   libsystem_kernel.dylib                0x7ff8151ec9b6 semaphore_wait_trap + 10
      1   SkyLight                              0x7ff81a25333f invocation function for block in (anonymous namespace)::InterprocessSerialSemaphore::asyncWait(void (int) block_pointer) + 35
      2   libdispatch.dylib                     0x7ff8150710cc _dispatch_call_block_and_release + 12
      3   libdispatch.dylib                     0x7ff815072317 _dispatch_client_callout + 8
      4   libdispatch.dylib                     0x7ff815078317 _dispatch_lane_serial_drain + 672
      5   libdispatch.dylib                     0x7ff815078dfd _dispatch_lane_invoke + 366
      6   libdispatch.dylib                     0x7ff815082eee _dispatch_workloop_worker_thread + 753
      7   libsystem_pthread.dylib               0x7ff815225fd0 _pthread_wqthread + 326
      8   libsystem_pthread.dylib               0x7ff815224f57 start_wqthread + 15Thread 3::  Dispatch queue: NSCGSDisableUpdates
      0   libsystem_kernel.dylib                0x7ff8151ec9ce semaphore_timedwait_trap + 10
      1   libdispatch.dylib                     0x7ff815072848 _dispatch_sema4_timedwait + 72
      2   libdispatch.dylib                     0x7ff815072c75 _dispatch_semaphore_wait_slow + 58
      3   SkyLight                              0x7ff81a25312e CGSUpdateManager::enable_updates_common() + 1038
      4   SkyLight                              0x7ff81a253b7e SLSReenableUpdateTokenWithSeed + 130
      5   libdispatch.dylib                     0x7ff8150710cc _dispatch_call_block_and_release + 12
      6   libdispatch.dylib                     0x7ff815072317 _dispatch_client_callout + 8
      7   libdispatch.dylib                     0x7ff815078317 _dispatch_lane_serial_drain + 672
      8   libdispatch.dylib                     0x7ff815078dfd _dispatch_lane_invoke + 366
      9   libdispatch.dylib                     0x7ff815082eee _dispatch_workloop_worker_thread + 753
      10  libsystem_pthread.dylib               0x7ff815225fd0 _pthread_wqthread + 326
      11  libsystem_pthread.dylib               0x7ff815224f57 start_wqthread + 15Thread 4:: com.apple.NSEventThread
      0   libsystem_kernel.dylib                0x7ff8151ec97a mach_msg_trap + 10
      1   libsystem_kernel.dylib                0x7ff8151ecce8 mach_msg + 56
      2   CoreFoundation                        0x7ff8152f036d __CFRunLoopServiceMachPort + 319
      3   CoreFoundation                        0x7ff8152ee9f8 __CFRunLoopRun + 1276
      4   CoreFoundation                        0x7ff8152ede3c CFRunLoopRunSpecific + 562
      5   AppKit                                0x7ff817e959ce _NSEventThread + 132
      6   libsystem_pthread.dylib               0x7ff8152294e1 _pthread_start + 125
      7   libsystem_pthread.dylib               0x7ff815224f6b thread_start + 15Thread 5:
      0   libsystem_pthread.dylib               0x7ff815224f48 start_wqthread + 0Thread 6:
      0   libsystem_pthread.dylib               0x7ff815224f48 start_wqthread + 0
      Thread 0 crashed with X86 Thread State (64-bit):
        rax: 0x0000000000000000  rbx: 0x00007ff8570b3d38  rcx: 0x00007ff81e31e543  rdx: 0x00007ff81e31e4f7
        rdi: 0x00007ff81e4b350c  rsi: 0x0000000000000000  rbp: 0x00007ff7ba070370  rsp: 0x00007ff7ba06ffe8
         r8: 0x000000000000001d   r9: 0x0000000000000001  r10: 0x00007ff8567e48d8  r11: 0x00007ff8152791fa
        r12: 0x0000600002554c80  r13: 0x00007ff7ba070580  r14: 0x00006000030245e0  r15: 0x00007fcde286da80
        rip: 0x0000000000000000  rfl: 0x0000000000010246  cr2: 0x0000000000000000
        
      Logical CPU:     2
      Error Code:      0x00000014 (no mapping for user instruction read)
      Trap Number:     14
      Binary Images:
                     0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
          0x7ff81e2ac000 -     0x7ff81e4f2fff com.apple.ImageIO (3.3.0) <5ad17b97-cc4c-3547-bd04-6e5fb28fffbe> /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
          0x7ff81ad5d000 -     0x7ff81adb8fff com.apple.HIServices (1.22) <08004053-5c3c-3749-a314-9d3eef9440e4> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
             0x107ce4000 -        0x107d6ffff libqcocoa.dylib (*) <167918b1-f306-36f3-a2de-982d7d71b089> /usr/local/Cellar/qt/6.4.2_1/share/qt/plugins/platforms/libqcocoa.dylib
             0x106c9e000 -        0x107065fff org.qt-project.QtCore (6.4) <3d846e11-0f22-3b26-88ae-f6e06c6de0c6> /usr/local/Cellar/qt/6.4.2_1/lib/QtCore.framework/Versions/A/QtCore
             0x10732a000 -        0x107759fff org.qt-project.QtGui (6.4) <99ede31c-e51a-373b-b47f-b9e9c16de66f> /usr/local/Cellar/qt/6.4.2_1/lib/QtGui.framework/Versions/A/QtGui
             0x105e8d000 -        0x105e94fff my.test.project.clipboard-test-qt6 (*) <c0606816-6631-3080-a3fb-7e9ad20039a1> /Users/USER/*/clipboard-test-qt6.app/Contents/MacOS/clipboard-test-qt6
          0x7ff815270000 -     0x7ff815772fff com.apple.CoreFoundation (6.9) <93c48919-68af-367e-9a67-db4159bc962c> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
          0x7ff81df6f000 -     0x7ff81e262fff com.apple.HIToolbox (2.1.1) <06fdecd6-9f69-397b-b1e2-a8226c0ba7ed> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
          0x7ff817ce9000 -     0x7ff818b78fff com.apple.AppKit (6.9) <11be8778-f5e5-3ccb-bcc3-10ffea3bf44b> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
             0x115aee000 -        0x115b59fff dyld (*) <006a3e6f-3cd3-34d9-b0f2-ed6bd67a95a6> /usr/lib/dyld
          0x7ff815223000 -     0x7ff81522efff libsystem_pthread.dylib (*) <b5454e27-e8c7-3fdb-b77f-714f1e82e70b> /usr/lib/system/libsystem_pthread.dylib
          0x7ff8151eb000 -     0x7ff815222fff libsystem_kernel.dylib (*) <e2477724-bccf-3a8c-9c75-c774c569f36e> /usr/lib/system/libsystem_kernel.dylib
          0x7ff81a1f4000 -     0x7ff81a592fff com.apple.SkyLight (1.600.0) <6563e632-526d-3c88-8035-049fcca8ca93> /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/SkyLight
          0x7ff81506f000 -     0x7ff8150b5fff libdispatch.dylib (*) <1a04b380-76e4-3e4b-b0fc-9837533d021d> /usr/lib/system/libdispatch.dylibExternal Modification Summary:
        Calls made by other processes targeting this process:
          task_for_pid: 0
          thread_create: 0
          thread_set_state: 0
        Calls made by this process:
          task_for_pid: 0
          thread_create: 0
          thread_set_state: 0
        Calls made by all processes on this machine:
          task_for_pid: 13
          thread_create: 0
          thread_set_state: 1504VM Region Summary:
      ReadOnly portion of Libraries: Total=932.8M resident=0K(0%) swapped_out_or_unallocated=932.8M(100%)
      Writable regions: Total=582.9M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=582.9M(100%)                                VIRTUAL   REGION 
      REGION TYPE                        SIZE    COUNT (non-coalesced) 
      ===========                     =======  ======= 
      Accelerate framework               384K        3 
      Activity Tracing                   256K        1 
      CG backing stores                 2160K        4 
      CG image                            48K        4 
      ColorSync                          224K       26 
      CoreAnimation                      136K        8 
      CoreGraphics                        12K        2 
      CoreUI image data                 1052K        7 
      Foundation                          16K        1 
      Kernel Alloc Once                    8K        1 
      MALLOC                           184.7M       45 
      MALLOC guard page                   32K        6 
      MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
      ObjC additional data                15K        1 
      STACK GUARD                       56.0M        7 
      Stack                             11.0M        7 
      VM_ALLOCATE                        168K       12 
      __CTF                               756        1 
      __DATA                            19.4M      341 
      __DATA_CONST                      13.6M      222 
      __DATA_DIRTY                       534K       98 
      __FONT_DATA                          4K        1 
      __LINKEDIT                       657.8M       60 
      __TEXT                           275.0M      363 
      __UNICODE                          592K        1 
      dyld private memory               1024K        1 
      mapped file                      153.9M       23 
      shared memory                      784K       19 
      ===========                     =======  ======= 
      TOTAL                              1.7G     1266 
      TOTAL, minus reserved VM space     1.3G     1266 -----------
      Full Report
      -----------{"app_name":"clipboard-test-qt6","timestamp":"2023-02-19 12:31:58.00 +0100","app_version":"","slice_uuid":"c0606816-6631-3080-a3fb-7e9ad20039a1","build_version":"","platform":1,"bundleID":"my.test.project.clipboard-test-qt6","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.6.3 (21G419)","incident_id":"35EEC0D3-49B4-4C29-ACC3-315287E899CA","name":"clipboard-test-qt6"}
      {
        "uptime" : 63000,
        "procLaunch" : "2023-02-19 12:31:51.6772 +0100",
        "procRole" : "Foreground",
        "version" : 2,
        "userID" : 501,
        "deployVersion" : 210,
        "modelCode" : "MacBookPro12,1",
        "procStartAbsTime" : 63467634650919,
        "coalitionID" : 867,
        "osVersion" : {
          "train" : "macOS 12.6.3",
          "build" : "21G419",
          "releaseType" : "User"
        },
        "captureTime" : "2023-02-19 12:31:57.8444 +0100",
        "incident" : "35EEC0D3-49B4-4C29-ACC3-315287E899CA",
        "bug_type" : "309",
        "pid" : 19616,
        "procExitAbsTime" : 63473722525628,
        "cpuType" : "X86-64",
        "procName" : "clipboard-test-qt6",
        "procPath" : "\/Users\/USER\/*\/clipboard-test-qt6.app\/Contents\/MacOS\/clipboard-test-qt6",
        "bundleInfo" : {"CFBundleIdentifier":"my.test.project.clipboard-test-qt6"},
        "storeInfo" : {"deviceIdentifierForVendor":"45C9BBC7-396D-55CF-A106-3AF765D1CBEB","thirdParty":true},
        "parentProc" : "qtcreator_processlauncher",
        "parentPid" : 12648,
        "coalitionName" : "org.qt-project.qtcreator",
        "crashReporterKey" : "59FD0A45-E1AE-009B-30D4-5F52FCB9080E",
        "wakeTime" : 60595,
        "sleepWakeUUID" : "3B86C862-5987-45E6-B605-86F14709B08C",
        "sip" : "enabled",
        "vmRegionInfo" : "0 is not in any region.  Bytes before following region: 4394110976\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      __TEXT                      105e8d000-105e95000    [   32K] r-x\/r-x SM=COW  ...oard-test-qt6",
        "isCorpse" : 1,
        "exception" : {"codes":"0x0000000000000001, 0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000000000000000"},
        "termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":19616},
        "vmregioninfo" : "0 is not in any region.  Bytes before following region: 4394110976\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      __TEXT                      105e8d000-105e95000    [   32K] r-x\/r-x SM=COW  ...oard-test-qt6",
        "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":1504,"task_for_pid":13},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
        "faultingThread" : 0,
        "threads" : [{"triggered":true,"id":527458,"threadState":{"r13":{"value":140701954672000},"rax":{"value":0},"rflags":{"value":66118},"cpu":{"value":2},"r14":{"value":105553166747104},"rsi":{"value":0},"r8":{"value":29},"cr2":{"value":0},"rdx":{"value":140703635203319,"symbolLocation":0,"symbol":"handle_error(png_struct_def*, char const*)"},"r10":{"value":140704579733720,"symbolLocation":0,"symbol":"__CFConstantStringClassReference"},"r9":{"value":1},"r15":{"value":140522245511808},"rbx":{"value":140704588971320},"trap":{"value":14,"description":"(no mapping for user instruction read)"},"err":{"value":20},"r11":{"value":140703483531770,"symbolLocation":0,"symbol":"-[__NSCFString isEqual:]"},"rip":{"value":0},"rbp":{"value":140701954671472},"rsp":{"value":140701954670568},"r12":{"value":105553155411072},"rcx":{"value":140703635203395,"symbolLocation":0,"symbol":"handle_warning(png_struct_def*, char const*)"},"flavor":"x86_THREAD_STATE","rdi":{"value":140703636862220}},"queue":"com.apple.main-thread","frames":[{"imageOffset":0,"imageIndex":0},{"imageOffset":102012,"symbol":"PNGReadPlugin::InitializePluginData(IIOImageReadSession*, IIODictionary*, IIODictionary*, CGImageMetadata*, CGColorSpace**, ReadPluginData&, PNGPluginData&, __CFDictionary*)","symbolLocation":876,"imageIndex":1},{"imageOffset":101128,"symbol":"PNGReadPlugin::initialize(IIODictionary*)","symbolLocation":62,"imageIndex":1},{"imageOffset":66215,"symbol":"IIOReadPlugin::callInitialize()","symbolLocation":81,"imageIndex":1},{"imageOffset":65424,"symbol":"IIO_Reader::initImageAtOffset(CGImagePlugin*, unsigned long, unsigned long, unsigned long)","symbolLocation":62,"imageIndex":1},{"imageOffset":55383,"symbol":"IIOImageSource::makeImagePlus(unsigned long, IIODictionary*)","symbolLocation":517,"imageIndex":1},{"imageOffset":108795,"symbol":"IIOImageSource::createImageAtIndex(unsigned long, IIODictionary*)","symbolLocation":61,"imageIndex":1},{"imageOffset":108508,"symbol":"CGImageSourceCreateImageAtIndex","symbolLocation":241,"imageIndex":1},{"imageOffset":862138,"symbol":"IIOImageDestination::createImageFromSource(unsigned long, IIODictionary*, CGImage**)","symbolLocation":454,"imageIndex":1},{"imageOffset":862506,"symbol":"IIOImageDestination::addImageFromSource(CGImageSource*, unsigned long, IIODictionary*)","symbolLocation":290,"imageIndex":1},{"imageOffset":870042,"symbol":"CGImageDestinationAddImageFromSource","symbolLocation":366,"imageIndex":1},{"imageOffset":215469,"symbol":"CreateImageFromImage(OpaqueTranslationRef*, __CFData const*, __CFData const**)","symbolLocation":339,"imageIndex":2},{"imageOffset":60971,"symbol":"PasteboardCopyItemFlavorData","symbolLocation":1135,"imageIndex":2},{"imageOffset":321355,"symbol":"QMacPasteboard::retrieveData(QString const&, QMetaType) const","symbolLocation":823,"imageIndex":3},{"imageOffset":324920,"symbol":"QMacPasteboardMimeSource::retrieveData(QString const&, QMetaType) const","symbolLocation":18,"imageIndex":3},{"imageOffset":551871,"symbol":"QMimeDataPrivate::retrieveTypedData(QString const&, QMetaType) const","symbolLocation":129,"imageIndex":4},{"imageOffset":558904,"symbol":"QMimeData::imageData() const","symbolLocation":78,"imageIndex":4},{"imageOffset":332356,"symbol":"QClipboard::image(QClipboard::Mode) const","symbolLocation":100,"imageIndex":5},{"imageOffset":24644,"sourceLine":26,"sourceFile":"mainwindow.cpp","symbol":"MainWindow::clipboardChanged()","imageIndex":6,"symbolLocation":36},{"imageOffset":29428,"sourceLine":135,"sourceFile":"qobjectdefs_impl.h","symbol":"QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (MainWindow::*)()>::call(void (MainWindow::*)(), MainWindow*, void**)","imageIndex":6,"symbolLocation":132},{"imageOffset":29229,"sourceLine":172,"sourceFile":"qobjectdefs_impl.h","symbol":"void QtPrivate::FunctionPointer<void (MainWindow::*)()>::call<QtPrivate::List<>, void>(void (MainWindow::*)(), MainWindow*, void**)","imageIndex":6,"symbolLocation":77},{"imageOffset":28962,"sourceLine":383,"sourceFile":"qobjectdefs_impl.h","symbol":"QtPrivate::QSlotObject<void (MainWindow::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*)","imageIndex":6,"symbolLocation":146},{"imageOffset":598620,"symbol":"void doActivate<false>(QObject*, int, void**)","symbolLocation":1298,"imageIndex":4},{"imageOffset":333613,"symbol":"QClipboard::emitChanged(QClipboard::Mode)","symbolLocation":65,"imageIndex":5},{"imageOffset":68618,"symbol":"QCocoaClipboard::handleApplicationStateChanged(Qt::ApplicationState)","symbolLocation":38,"imageIndex":3},{"imageOffset":598620,"symbol":"void doActivate<false>(QObject*, int, void**)","symbolLocation":1298,"imageIndex":4},{"imageOffset":437562,"symbol":"QGuiApplicationPrivate::setApplicationState(Qt::ApplicationState, bool)","symbolLocation":198,"imageIndex":5},{"imageOffset":709381,"symbol":"QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)","symbolLocation":109,"imageIndex":5},{"imageOffset":94942,"symbol":"QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*)","symbolLocation":44,"imageIndex":3},{"imageOffset":524667,"symbol":"__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__","symbolLocation":17,"imageIndex":7},{"imageOffset":524515,"symbol":"__CFRunLoopDoSource0","symbolLocation":180,"imageIndex":7},{"imageOffset":523869,"symbol":"__CFRunLoopDoSources0","symbolLocation":242,"imageIndex":7},{"imageOffset":518264,"symbol":"__CFRunLoopRun","symbolLocation":892,"imageIndex":7},{"imageOffset":515644,"symbol":"CFRunLoopRunSpecific","symbolLocation":562,"imageIndex":7},{"imageOffset":189926,"symbol":"RunCurrentEventLoopInMode","symbolLocation":292,"imageIndex":8},{"imageOffset":188947,"symbol":"ReceiveNextEventCommon","symbolLocation":283,"imageIndex":8},{"imageOffset":188645,"symbol":"_BlockUntilNextEventMatchingListInModeWithFilter","symbolLocation":70,"imageIndex":8},{"imageOffset":257965,"symbol":"_DPSNextEvent","symbolLocation":927,"imageIndex":9},{"imageOffset":251498,"symbol":"-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":1394,"imageIndex":9},{"imageOffset":195865,"symbol":"-[NSApplication run]","symbolLocation":586,"imageIndex":9},{"imageOffset":91477,"symbol":"QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)","symbolLocation":2103,"imageIndex":3},{"imageOffset":381941,"symbol":"QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)","symbolLocation":359,"imageIndex":4},{"imageOffset":357895,"symbol":"QCoreApplication::exec()","symbolLocation":111,"imageIndex":4},{"imageOffset":23025,"sourceLine":10,"sourceFile":"main.cpp","symbol":"main","imageIndex":6,"symbolLocation":81},{"imageOffset":21806,"symbol":"start","symbolLocation":462,"imageIndex":10}]},{"id":527460,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":11}]},{"id":527467,"queue":"com.apple.SkyLight.UpdateManager.SerialSema","frames":[{"imageOffset":6582,"symbol":"semaphore_wait_trap","symbolLocation":10,"imageIndex":12},{"imageOffset":389951,"symbol":"invocation function for block in (anonymous namespace)::InterprocessSerialSemaphore::asyncWait(void (int) block_pointer)","symbolLocation":35,"imageIndex":13},{"imageOffset":8396,"symbol":"_dispatch_call_block_and_release","symbolLocation":12,"imageIndex":14},{"imageOffset":13079,"symbol":"_dispatch_client_callout","symbolLocation":8,"imageIndex":14},{"imageOffset":37655,"symbol":"_dispatch_lane_serial_drain","symbolLocation":672,"imageIndex":14},{"imageOffset":40445,"symbol":"_dispatch_lane_invoke","symbolLocation":366,"imageIndex":14},{"imageOffset":81646,"symbol":"_dispatch_workloop_worker_thread","symbolLocation":753,"imageIndex":14},{"imageOffset":12240,"symbol":"_pthread_wqthread","symbolLocation":326,"imageIndex":11},{"imageOffset":8023,"symbol":"start_wqthread","symbolLocation":15,"imageIndex":11}]},{"id":527468,"queue":"NSCGSDisableUpdates","frames":[{"imageOffset":6606,"symbol":"semaphore_timedwait_trap","symbolLocation":10,"imageIndex":12},{"imageOffset":14408,"symbol":"_dispatch_sema4_timedwait","symbolLocation":72,"imageIndex":14},{"imageOffset":15477,"symbol":"_dispatch_semaphore_wait_slow","symbolLocation":58,"imageIndex":14},{"imageOffset":389422,"symbol":"CGSUpdateManager::enable_updates_common()","symbolLocation":1038,"imageIndex":13},{"imageOffset":392062,"symbol":"SLSReenableUpdateTokenWithSeed","symbolLocation":130,"imageIndex":13},{"imageOffset":8396,"symbol":"_dispatch_call_block_and_release","symbolLocation":12,"imageIndex":14},{"imageOffset":13079,"symbol":"_dispatch_client_callout","symbolLocation":8,"imageIndex":14},{"imageOffset":37655,"symbol":"_dispatch_lane_serial_drain","symbolLocation":672,"imageIndex":14},{"imageOffset":40445,"symbol":"_dispatch_lane_invoke","symbolLocation":366,"imageIndex":14},{"imageOffset":81646,"symbol":"_dispatch_workloop_worker_thread","symbolLocation":753,"imageIndex":14},{"imageOffset":12240,"symbol":"_pthread_wqthread","symbolLocation":326,"imageIndex":11},{"imageOffset":8023,"symbol":"start_wqthread","symbolLocation":15,"imageIndex":11}]},{"id":527487,"name":"com.apple.NSEventThread","frames":[{"imageOffset":6522,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":12},{"imageOffset":7400,"symbol":"mach_msg","symbolLocation":56,"imageIndex":12},{"imageOffset":525165,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":319,"imageIndex":7},{"imageOffset":518648,"symbol":"__CFRunLoopRun","symbolLocation":1276,"imageIndex":7},{"imageOffset":515644,"symbol":"CFRunLoopRunSpecific","symbolLocation":562,"imageIndex":7},{"imageOffset":1755598,"symbol":"_NSEventThread","symbolLocation":132,"imageIndex":9},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":11},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":11}]},{"id":527589,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":11}]},{"id":527591,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":11}]}],
        "usedImages" : [
        {
          "size" : 0,
          "source" : "A",
          "base" : 0,
          "uuid" : "00000000-0000-0000-0000-000000000000"
        },
        {
          "source" : "P",
          "arch" : "x86_64h",
          "base" : 140703634735104,
          "CFBundleShortVersionString" : "3.3.0",
          "CFBundleIdentifier" : "com.apple.ImageIO",
          "size" : 2387968,
          "uuid" : "5ad17b97-cc4c-3547-bd04-6e5fb28fffbe",
          "path" : "\/System\/Library\/Frameworks\/ImageIO.framework\/Versions\/A\/ImageIO",
          "name" : "ImageIO",
          "CFBundleVersion" : "2222.12.1"
        },
        {
          "source" : "P",
          "arch" : "x86_64",
          "base" : 140703578836992,
          "CFBundleShortVersionString" : "1.22",
          "CFBundleIdentifier" : "com.apple.HIServices",
          "size" : 376832,
          "uuid" : "08004053-5c3c-3749-a314-9d3eef9440e4",
          "path" : "\/System\/Library\/Frameworks\/ApplicationServices.framework\/Versions\/A\/Frameworks\/HIServices.framework\/Versions\/A\/HIServices",
          "name" : "HIServices"
        },
        {
          "source" : "P",
          "arch" : "x86_64",
          "base" : 4425924608,
          "size" : 573440,
          "uuid" : "167918b1-f306-36f3-a2de-982d7d71b089",
          "path" : "\/usr\/local\/Cellar\/qt\/6.4.2_1\/share\/qt\/plugins\/platforms\/libqcocoa.dylib",
          "name" : "libqcocoa.dylib"
        },
        {
          "source" : "P",
          "arch" : "x86_64",
          "base" : 4408860672,
          "CFBundleShortVersionString" : "6.4",
          "CFBundleIdentifier" : "org.qt-project.QtCore",
          "size" : 3964928,
          "uuid" : "3d846e11-0f22-3b26-88ae-f6e06c6de0c6",
          "path" : "\/usr\/local\/Cellar\/qt\/6.4.2_1\/lib\/QtCore.framework\/Versions\/A\/QtCore",
          "name" : "QtCore",
          "CFBundleVersion" : "6.4.2"
        },
        {
          "source" : "P",
          "arch" : "x86_64",
          "base" : 4415725568,
          "CFBundleShortVersionString" : "6.4",
          "CFBundleIdentifier" : "org.qt-project.QtGui",
          "size" : 4390912,
          "uuid" : "99ede31c-e51a-373b-b47f-b9e9c16de66f",
          "path" : "\/usr\/local\/Cellar\/qt\/6.4.2_1\/lib\/QtGui.framework\/Versions\/A\/QtGui",
          "name" : "QtGui",
          "CFBundleVersion" : "6.4.2"
        },
        {
          "source" : "P",
          "arch" : "x86_64",
          "base" : 4394110976,
          "CFBundleIdentifier" : "my.test.project.clipboard-test-qt6",
          "size" : 32768,
          "uuid" : "c0606816-6631-3080-a3fb-7e9ad20039a1",
          "path" : "\/Users\/USER\/*\/clipboard-test-qt6.app\/Contents\/MacOS\/clipboard-test-qt6",
          "name" : "clipboard-test-qt6"
        },
        {
          "source" : "P",
          "arch" : "x86_64h",
          "base" : 140703483494400,
          "CFBundleShortVersionString" : "6.9",
          "CFBundleIdentifier" : "com.apple.CoreFoundation",
          "size" : 5255168,
          "uuid" : "93c48919-68af-367e-9a67-db4159bc962c",
          "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
          "name" : "CoreFoundation",
          "CFBundleVersion" : "1866"
        },
        {
          "source" : "P",
          "arch" : "x86_64",
          "base" : 140703631339520,
          "CFBundleShortVersionString" : "2.1.1",
          "CFBundleIdentifier" : "com.apple.HIToolbox",
          "size" : 3096576,
          "uuid" : "06fdecd6-9f69-397b-b1e2-a8226c0ba7ed",
          "path" : "\/System\/Library\/Frameworks\/Carbon.framework\/Versions\/A\/Frameworks\/HIToolbox.framework\/Versions\/A\/HIToolbox",
          "name" : "HIToolbox"
        },
        {
          "source" : "P",
          "arch" : "x86_64",
          "base" : 140703528030208,
          "CFBundleShortVersionString" : "6.9",
          "CFBundleIdentifier" : "com.apple.AppKit",
          "size" : 15269888,
          "uuid" : "11be8778-f5e5-3ccb-bcc3-10ffea3bf44b",
          "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
          "name" : "AppKit",
          "CFBundleVersion" : "2113.60.148"
        },
        {
          "source" : "P",
          "arch" : "x86_64",
          "base" : 4658749440,
          "size" : 442368,
          "uuid" : "006a3e6f-3cd3-34d9-b0f2-ed6bd67a95a6",
          "path" : "\/usr\/lib\/dyld",
          "name" : "dyld"
        },
        {
          "source" : "P",
          "arch" : "x86_64",
          "base" : 140703483179008,
          "size" : 49152,
          "uuid" : "b5454e27-e8c7-3fdb-b77f-714f1e82e70b",
          "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
          "name" : "libsystem_pthread.dylib"
        },
        {
          "source" : "P",
          "arch" : "x86_64",
          "base" : 140703482949632,
          "size" : 229376,
          "uuid" : "e2477724-bccf-3a8c-9c75-c774c569f36e",
          "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
          "name" : "libsystem_kernel.dylib"
        },
        {
          "source" : "P",
          "arch" : "x86_64",
          "base" : 140703566872576,
          "CFBundleShortVersionString" : "1.600.0",
          "CFBundleIdentifier" : "com.apple.SkyLight",
          "size" : 3796992,
          "uuid" : "6563e632-526d-3c88-8035-049fcca8ca93",
          "path" : "\/System\/Library\/PrivateFrameworks\/SkyLight.framework\/Versions\/A\/SkyLight",
          "name" : "SkyLight"
        },
        {
          "source" : "P",
          "arch" : "x86_64",
          "base" : 140703481393152,
          "size" : 290816,
          "uuid" : "1a04b380-76e4-3e4b-b0fc-9837533d021d",
          "path" : "\/usr\/lib\/system\/libdispatch.dylib",
          "name" : "libdispatch.dylib"
        }
      ],
        "sharedCache" : {
        "base" : 140703479922688,
        "size" : 19331678208,
        "uuid" : "b6d97ead-9d19-3228-adaa-cca8452c02d2"
      },
        "vmSummary" : "ReadOnly portion of Libraries: Total=932.8M resident=0K(0%) swapped_out_or_unallocated=932.8M(100%)\nWritable regions: Total=582.9M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=582.9M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nAccelerate framework               384K        3 \nActivity Tracing                   256K        1 \nCG backing stores                 2160K        4 \nCG image                            48K        4 \nColorSync                          224K       26 \nCoreAnimation                      136K        8 \nCoreGraphics                        12K        2 \nCoreUI image data                 1052K        7 \nFoundation                          16K        1 \nKernel Alloc Once                    8K        1 \nMALLOC                           184.7M       45 \nMALLOC guard page                   32K        6 \nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nObjC additional data                15K        1 \nSTACK GUARD                       56.0M        7 \nStack                             11.0M        7 \nVM_ALLOCATE                        168K       12 \n__CTF                               756        1 \n__DATA                            19.4M      341 \n__DATA_CONST                      13.6M      222 \n__DATA_DIRTY                       534K       98 \n__FONT_DATA                          4K        1 \n__LINKEDIT                       657.8M       60 \n__TEXT                           275.0M      363 \n__UNICODE                          592K        1 \ndyld private memory               1024K        1 \nmapped file                      153.9M       23 \nshared memory                      784K       19 \n===========                     =======  ======= \nTOTAL                              1.7G     1266 \nTOTAL, minus reserved VM space     1.3G     1266 \n",
        "legacyInfo" : {
        "threadTriggered" : {
          "queue" : "com.apple.main-thread"
        }
      },
        "trialInfo" : {
        "rollouts" : [
          {
            "rolloutId" : "60186475825c62000ccf5450",
            "factorPackIds" : {      },
            "deploymentId" : 240000026
          },
          {
            "rolloutId" : "60f8ddccefea4203d95cbeef",
            "factorPackIds" : {      },
            "deploymentId" : 240000022
          }
        ],
        "experiments" : [  ]
      }
      }Model: MacBookPro12,1, BootROM 476.0.0.0.0, 2 processors, Dual-Core Intel Core i7, 3.1 GHz, 16 GB, SMC 2.28f7
      Graphics: Intel Iris Graphics 6100, Intel Iris Graphics 6100, Built-In
      Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online
      Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1867 MHz, 0x02FE, 0x4544464232333241314D412D4A442D460000
      Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1867 MHz, 0x02FE, 0x4544464232333241314D412D4A442D460000
      AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x133), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1710.4)
      AirPort: 
      Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
      Network Service: Wi-Fi, AirPort, en0
      Serial ATA Device: APPLE SSD SM0512G, 500.28 GB
      USB Device: USB30Bus
      USB Device: Internal Memory Card Reader
      USB Device: Bluetooth USB Host Controller
      Thunderbolt Bus: MacBook Pro, Apple Inc., 27.1
       

       

       

      Attachments

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

        Activity

          People

            tpochep Timur Pocheptsov
            candyface Oliver Larsen
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes