Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-21400

Crash when quitting with Cmd+Q when "files changed" dialog is open

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • Qt Creator 4.7.0
    • All Other Issues
    • None
    • macOS 10.14
      Qt Creator 4.7.0
      Based on Qt 5.11.1 (Clang 8.0 (Apple), 64 bit)
      Built on Jul 17 2018 04:23:31
      From revision dedbb40f57

    Description

      Steps to reproduce:

      1. Open a file in Creator
      2. Edit that file in another program
      3. Go back to Creator, and while the dialog that tells you the file has changed is open, hit Cmd+Q to quit Creator

      Stack trace:

      Crashed Thread:        0  Dispatch queue: com.apple.main-thread
      
      Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
      Exception Codes:       EXC_I386_GPFLT
      Exception Note:        EXC_CORPSE_NOTIFY
      
      Termination Signal:    Segmentation fault: 11
      Termination Reason:    Namespace SIGNAL, Code 0xb
      Terminating Process:   exc handler [38386]
      
      Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
      0   libCore.dylib                 	0x0000000115a63e6d Core::DocumentManager::checkForReload() + 5837
      1   org.qt-project.QtCore         	0x00000001102385d1 0x110021000 + 2192849
      2   org.qt-project.QtCore         	0x00000001102286b6 QObject::event(QEvent*) + 102
      3   org.qt-project.QtWidgets      	0x000000010f559f12 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 306
      4   org.qt-project.QtWidgets      	0x000000010f55b2ed QApplication::notify(QObject*, QEvent*) + 573
      5   org.qt-project.QtCore         	0x00000001101ff54f QCoreApplication::notifyInternal2(QObject*, QEvent*) + 159
      6   org.qt-project.QtCore         	0x000000011025719a QTimerInfoList::activateTimers() + 890
      7   libqcocoa.dylib               	0x00000001127b1db2 0x112789000 + 167346
      8   com.apple.CoreFoundation      	0x00007fff36a7e405 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
      9   com.apple.CoreFoundation      	0x00007fff36a7e3ab __CFRunLoopDoSource0 + 108
      10  com.apple.CoreFoundation      	0x00007fff36a61ea9 __CFRunLoopDoSources0 + 283
      11  com.apple.CoreFoundation      	0x00007fff36a613fa __CFRunLoopRun + 1219
      12  com.apple.CoreFoundation      	0x00007fff36a60ce4 CFRunLoopRunSpecific + 463
      13  com.apple.HIToolbox           	0x00007fff35cfa895 RunCurrentEventLoopInMode + 293
      14  com.apple.HIToolbox           	0x00007fff35cfa5cb ReceiveNextEventCommon + 618
      15  com.apple.HIToolbox           	0x00007fff35cfa348 _BlockUntilNextEventMatchingListInModeWithFilter + 64
      16  com.apple.AppKit              	0x00007fff33fb795b _DPSNextEvent + 997
      17  com.apple.AppKit              	0x00007fff33fb66fa -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1362
      18  com.apple.AppKit              	0x00007fff33fb075d -[NSApplication run] + 699
      19  libqcocoa.dylib               	0x00000001127b2a8d 0x112789000 + 170637
      20  org.qt-project.QtCore         	0x00000001101fb0a2 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 418
      21  org.qt-project.QtCore         	0x00000001101ffc62 QCoreApplication::exec() + 402
      22  org.qt-project.qtcreator      	0x000000010f2a2a26 main + 14390
      23  libdyld.dylib                 	0x00007fff63afa085 start + 1
      
      Thread 1:
      0   libsystem_pthread.dylib       	0x00007fff63ceb408 start_wqthread + 0
      1   ???                           	0x0000000054485244 0 + 1414025796
      
      Thread 2:: com.apple.CFSocket.private
      0   libsystem_kernel.dylib        	0x00007fff63c39e82 __select + 10
      1   com.apple.CoreFoundation      	0x00007fff36a8fc83 __CFSocketManager + 639
      2   libsystem_pthread.dylib       	0x00007fff63cec33d _pthread_body + 126
      3   libsystem_pthread.dylib       	0x00007fff63cef2a7 _pthread_start + 70
      4   libsystem_pthread.dylib       	0x00007fff63ceb425 thread_start + 13
      
      Thread 3:: Qt bearer thread
      0   libsystem_kernel.dylib        	0x00007fff63c3ab8e poll + 10
      1   org.qt-project.QtCore         	0x0000000110254090 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 112
      2   org.qt-project.QtCore         	0x00000001102558c9 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 857
      3   org.qt-project.QtCore         	0x00000001101fb0a2 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 418
      4   org.qt-project.QtCore         	0x0000000110045101 QThread::exec() + 113
      5   org.qt-project.QtCore         	0x000000011004e657 0x110021000 + 185943
      6   libsystem_pthread.dylib       	0x00007fff63cec33d _pthread_body + 126
      7   libsystem_pthread.dylib       	0x00007fff63cef2a7 _pthread_start + 70
      8   libsystem_pthread.dylib       	0x00007fff63ceb425 thread_start + 13
      
      Thread 4:: QThread
      0   libsystem_kernel.dylib        	0x00007fff63c3ab8e poll + 10
      1   org.qt-project.QtCore         	0x0000000110254240 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 544
      2   org.qt-project.QtCore         	0x00000001102558c9 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 857
      3   org.qt-project.QtCore         	0x00000001101fb0a2 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 418
      4   org.qt-project.QtCore         	0x0000000110045101 QThread::exec() + 113
      5   org.qt-project.QtCore         	0x000000011004e657 0x110021000 + 185943
      6   libsystem_pthread.dylib       	0x00007fff63cec33d _pthread_body + 126
      7   libsystem_pthread.dylib       	0x00007fff63cef2a7 _pthread_start + 70
      8   libsystem_pthread.dylib       	0x00007fff63ceb425 thread_start + 13
      
      Thread 5:: QThread
      0   libsystem_kernel.dylib        	0x00007fff63c3ab8e poll + 10
      1   org.qt-project.QtCore         	0x0000000110254240 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 544
      2   org.qt-project.QtCore         	0x00000001102558c9 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 857
      3   org.qt-project.QtCore         	0x00000001101fb0a2 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 418
      4   org.qt-project.QtCore         	0x0000000110045101 QThread::exec() + 113
      5   org.qt-project.QtCore         	0x000000011004e657 0x110021000 + 185943
      6   libsystem_pthread.dylib       	0x00007fff63cec33d _pthread_body + 126
      7   libsystem_pthread.dylib       	0x00007fff63cef2a7 _pthread_start + 70
      8   libsystem_pthread.dylib       	0x00007fff63ceb425 thread_start + 13
      
      Thread 6:: QQmlThread
      0   libsystem_kernel.dylib        	0x00007fff63c3ab8e poll + 10
      1   org.qt-project.QtCore         	0x0000000110254240 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 544
      2   org.qt-project.QtCore         	0x00000001102558c9 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 857
      3   org.qt-project.QtCore         	0x00000001101fb0a2 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 418
      4   org.qt-project.QtCore         	0x0000000110045101 QThread::exec() + 113
      5   org.qt-project.QtQml          	0x000000011096aed9 0x11073a000 + 2297561
      6   org.qt-project.QtCore         	0x000000011004e657 0x110021000 + 185943
      7   libsystem_pthread.dylib       	0x00007fff63cec33d _pthread_body + 126
      8   libsystem_pthread.dylib       	0x00007fff63cef2a7 _pthread_start + 70
      9   libsystem_pthread.dylib       	0x00007fff63ceb425 thread_start + 13
      
      Thread 7:: QQmlThread
      0   libsystem_kernel.dylib        	0x00007fff63c3ab8e poll + 10
      1   org.qt-project.QtCore         	0x0000000110254240 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 544
      2   org.qt-project.QtCore         	0x00000001102558c9 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 857
      3   org.qt-project.QtCore         	0x00000001101fb0a2 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 418
      4   org.qt-project.QtCore         	0x0000000110045101 QThread::exec() + 113
      5   org.qt-project.QtQml          	0x000000011096aed9 0x11073a000 + 2297561
      6   org.qt-project.QtCore         	0x000000011004e657 0x110021000 + 185943
      7   libsystem_pthread.dylib       	0x00007fff63cec33d _pthread_body + 126
      8   libsystem_pthread.dylib       	0x00007fff63cef2a7 _pthread_start + 70
      9   libsystem_pthread.dylib       	0x00007fff63ceb425 thread_start + 13
      
      Thread 8:: com.apple.NSEventThread
      0   libsystem_kernel.dylib        	0x00007fff63c32c2a mach_msg_trap + 10
      1   libsystem_kernel.dylib        	0x00007fff63c33174 mach_msg + 60
      2   com.apple.CoreFoundation      	0x00007fff36a6205e __CFRunLoopServiceMachPort + 337
      3   com.apple.CoreFoundation      	0x00007fff36a615ad __CFRunLoopRun + 1654
      4   com.apple.CoreFoundation      	0x00007fff36a60ce4 CFRunLoopRunSpecific + 463
      5   com.apple.AppKit              	0x00007fff33fc0581 _NSEventThread + 160
      6   libsystem_pthread.dylib       	0x00007fff63cec33d _pthread_body + 126
      7   libsystem_pthread.dylib       	0x00007fff63cef2a7 _pthread_start + 70
      8   libsystem_pthread.dylib       	0x00007fff63ceb425 thread_start + 13
      
      Thread 9:: Thread (pooled)
      0   libsystem_kernel.dylib        	0x00007fff63c361b2 __psynch_cvwait + 10
      1   libsystem_pthread.dylib       	0x00007fff63cef5cb _pthread_cond_wait + 724
      2   org.qt-project.QtCore         	0x000000011004ff10 0x110021000 + 192272
      3   org.qt-project.QtCore         	0x000000011004fc5b 0x110021000 + 191579
      4   org.qt-project.QtCore         	0x000000011004fc12 QWaitCondition::wait(QMutex*, unsigned long) + 162
      5   org.qt-project.QtCore         	0x00000001100460be 0x110021000 + 151742
      6   org.qt-project.QtCore         	0x000000011004e657 0x110021000 + 185943
      7   libsystem_pthread.dylib       	0x00007fff63cec33d _pthread_body + 126
      8   libsystem_pthread.dylib       	0x00007fff63cef2a7 _pthread_start + 70
      9   libsystem_pthread.dylib       	0x00007fff63ceb425 thread_start + 13
      
      Thread 10:: Thread (pooled)
      0   libsystem_kernel.dylib        	0x00007fff63c361b2 __psynch_cvwait + 10
      1   libsystem_pthread.dylib       	0x00007fff63cef5cb _pthread_cond_wait + 724
      2   org.qt-project.QtCore         	0x000000011004ff10 0x110021000 + 192272
      3   org.qt-project.QtCore         	0x000000011004fc5b 0x110021000 + 191579
      4   org.qt-project.QtCore         	0x000000011004fc12 QWaitCondition::wait(QMutex*, unsigned long) + 162
      5   org.qt-project.QtCore         	0x00000001100460be 0x110021000 + 151742
      6   org.qt-project.QtCore         	0x000000011004e657 0x110021000 + 185943
      7   libsystem_pthread.dylib       	0x00007fff63cec33d _pthread_body + 126
      8   libsystem_pthread.dylib       	0x00007fff63cef2a7 _pthread_start + 70
      9   libsystem_pthread.dylib       	0x00007fff63ceb425 thread_start + 13
      
      Thread 11:: Thread (pooled)
      0   libsystem_kernel.dylib        	0x00007fff63c361b2 __psynch_cvwait + 10
      1   libsystem_pthread.dylib       	0x00007fff63cef5cb _pthread_cond_wait + 724
      2   org.qt-project.QtCore         	0x000000011004ff10 0x110021000 + 192272
      3   org.qt-project.QtCore         	0x000000011004fc5b 0x110021000 + 191579
      4   org.qt-project.QtCore         	0x000000011004fc12 QWaitCondition::wait(QMutex*, unsigned long) + 162
      5   org.qt-project.QtCore         	0x00000001100460be 0x110021000 + 151742
      6   org.qt-project.QtCore         	0x000000011004e657 0x110021000 + 185943
      7   libsystem_pthread.dylib       	0x00007fff63cec33d _pthread_body + 126
      8   libsystem_pthread.dylib       	0x00007fff63cef2a7 _pthread_start + 70
      9   libsystem_pthread.dylib       	0x00007fff63ceb425 thread_start + 13
      
      Thread 12:: Thread (pooled)
      0   libsystem_kernel.dylib        	0x00007fff63c361b2 __psynch_cvwait + 10
      1   libsystem_pthread.dylib       	0x00007fff63cef5cb _pthread_cond_wait + 724
      2   org.qt-project.QtCore         	0x000000011004ff10 0x110021000 + 192272
      3   org.qt-project.QtCore         	0x000000011004fc5b 0x110021000 + 191579
      4   org.qt-project.QtCore         	0x000000011004fc12 QWaitCondition::wait(QMutex*, unsigned long) + 162
      5   org.qt-project.QtCore         	0x00000001100460be 0x110021000 + 151742
      6   org.qt-project.QtCore         	0x000000011004e657 0x110021000 + 185943
      7   libsystem_pthread.dylib       	0x00007fff63cec33d _pthread_body + 126
      8   libsystem_pthread.dylib       	0x00007fff63cef2a7 _pthread_start + 70
      9   libsystem_pthread.dylib       	0x00007fff63ceb425 thread_start + 13
      
      Thread 13:
      0   libsystem_pthread.dylib       	0x00007fff63ceb408 start_wqthread + 0
      1   ???                           	0x00006000004bef70 0 + 105553121242992
      
      Thread 14:: Dispatch queue: NSCGSDisableUpdates
      0   libsystem_kernel.dylib        	0x00007fff63c32c2a mach_msg_trap + 10
      1   libsystem_kernel.dylib        	0x00007fff63c33174 mach_msg + 60
      2   com.apple.SkyLight            	0x00007fff5ca2f9bf CGSUpdateManager::enable_updates_common() + 539
      3   com.apple.SkyLight            	0x00007fff5c9d2f97 CGSUpdateManager::enable_update(unsigned long long) + 317
      4   libdispatch.dylib             	0x00007fff63aaad4f _dispatch_call_block_and_release + 12
      5   libdispatch.dylib             	0x00007fff63aabdcb _dispatch_client_callout + 8
      6   libdispatch.dylib             	0x00007fff63ab2120 _dispatch_lane_serial_drain + 618
      7   libdispatch.dylib             	0x00007fff63ab2bd8 _dispatch_lane_invoke + 388
      8   libdispatch.dylib             	0x00007fff63abb084 _dispatch_workloop_worker_thread + 603
      9   libsystem_pthread.dylib       	0x00007fff63ceb61c _pthread_wqthread + 409
      10  libsystem_pthread.dylib       	0x00007fff63ceb415 start_wqthread + 13
      
      Thread 15:
      0   libsystem_pthread.dylib       	0x00007fff63ceb408 start_wqthread + 0
      1   ???                           	0x0000600000fba850 0 + 105553132759120
      
      

      Might be similar to the issue mentioned in QTCREATORBUG-8630:

      The core cause is the same as for the linked bug. A modal dialog should prevent shortcuts from being handled.

      Attachments

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

        Activity

          People

            con Eike Ziller
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes