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

[macOS] Crash on [NSSavePanel didEndPanelWithReturnCode:]

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.5.9, 6.8.2, 6.9.0 FF
    • 6.5.3, 6.7.3
    • QPA
    • None
    • macOS
    • a794f957c (dev), 497cc1deb (6.8), 1b7c39136 (tqtc/lts-6.5)

    Description

      I see such crashes among our users crash reports. Unfortunately have no reproducer or more details as we don't experience such crashes during internal testing.

      Call stack:

      Date/Time:       2024-11-29T04:40:42.999Z
      Launch Time:     2024-11-28T05:14:22Z
      OS Version:      Mac OS X 15.1.1 (24B91)
      Report Version:  104
      
      Exception Type:  SIGSEGV
      Exception Codes: SEGV_MAPERR at 0x8
      Crashed Thread:  0
      
      Thread 0 Crashed:
      0   QtCore                               0x00000001091aaa28 void doActivate<false>(QObject*, int, void**) (qscopedpointer.h:112)
      1   AppKit                               0x000000018ccdfd7c -[NSSavePanel didEndPanelWithReturnCode:] + 120
      2   AppKit                               0x000000018ccdfc60 -[NSSavePanel didEndSheet:returnCode:contextInfo:] + 68
      3   AppKit                               0x000000018cb1d7cc NSWindowEndWindowModalSession + 568
      4   AppKit                               0x000000018ccdfbb0 -[NSSavePanel completeSheet:] + 100
      5   AppKit                               0x000000018ccdf95c -[NSSavePanel completeWithReturnCode:url:urls:] + 444
      6   AppKit                               0x000000018ccddd54 -[NSSavePanel observeMostRecentCompletion:] + 476
      7   AppKit                               0x000000018ccdd830 -[NSSavePanel observeValueForKeyPath:ofObject:change:context:] + 528
      8   Foundation                           0x00000001896b211c NSKeyValueNotifyObserver + 248
      9   Foundation                           0x000000018975eef4 NSKeyValueDidChange + 384
      10  Foundation                           0x0000000189f4be78 NSKeyValueDidChangeWithPerThreadPendingNotifications + 156
      11  ViewBridge                           0x0000000191503144 __47-[NSViewBridge setObject:forKey:withKVO:local:]_block_invoke + 312
      12  ViewBridge                           0x0000000191592ee0 withHintInProgress + 164
      13  ViewBridge                           0x0000000191502e50 -[NSViewBridge setObject:forKey:withKVO:local:] + 556
      14  ViewBridge                           0x000000019156cea8 -[NSRemoteViewMarshal setHostObject:forKey:] + 272
      15  CoreFoundation                       0x00000001884fe434 __invoking___ + 144
      16  CoreFoundation                       0x00000001884fe2ac -[NSInvocation invoke] + 424
      17  ViewBridge                           0x00000001914f6b78 __deferNSXPCInvocationOntoMainThread_block_invoke + 128
      18  ViewBridge                           0x00000001914ebca0 __wrapBlockWithVoucher_block_invoke + 52
      19  ViewBridge                           0x0000000191597880 deferredBlockOpportunity_block_invoke_2 + 356
      20  CoreFoundation                       0x000000018851d8c0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 24
      21  CoreFoundation                       0x000000018851d7d0 __CFRunLoopDoBlocks + 352
      22  CoreFoundation                       0x000000018851cc00 __CFRunLoopRun + 2428
      23  CoreFoundation                       0x000000018851bbc4 CFRunLoopRunSpecific + 584
      24  HIToolbox                            0x000000019398bf64 RunCurrentEventLoopInMode + 288
      25  HIToolbox                            0x0000000193991d54 ReceiveNextEventCommon + 632
      26  HIToolbox                            0x0000000193991eb8 _BlockUntilNextEventMatchingListInModeWithFilter + 72
      27  AppKit                               0x000000018c047a08 _DPSNextEvent + 656
      28  AppKit                               0x000000018c987e0c -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 684
      29  AppKit                               0x000000018c03aae0 -[NSApplication run] + 476
      30  libqcocoa.dylib                      0x000000010e2753a0 QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qcocoaeventdispatcher.mm:406)
      31  QtCore                               0x0000000109168de8 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:100)
      32  QtCore                               0x000000010915fbf8 QCoreApplication::exec() (qcoreapplication.cpp:1496)
      

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-131880
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes