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

Occasional crashes when disconnecting external display (macOS)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • Qt Creator 6.0.2
    • Qt Creator 5.0.0-beta1
    • All Other Issues
    • None
    • macOS 11.4
      Qt Creator 5.0.0-beta1
      MacBook Pro, which I sometimes operate with the lid closed and 2 external displays attached, and sometimes with the lid open and 1 external display attached
    • macOS
    • b028af43ef (qt-creator/qt-creator/master) b028af43ef (qt-creator/qt-creator/qmlprojectstorage) b028af43ef (qt-creator/qt-creator/qds-3.0)

    Description

      Unfortunately this is still happening sporadically. I haven't found steps to reliably reproduce it yet, but since it's a (near-)null pointer dereference, it might be easy to add another null check like on https://bugreports.qt.io/browse/QTCREATORBUG-25466.

      Crashed Thread:        0  Dispatch queue: com.apple.main-thread
      
      Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
      Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000008
      Exception Note:        EXC_CORPSE_NOTIFY
      
      Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
      0   org.qt-project.QtGui          	0x000000010a4f69e4 QScreen::handle() const + 4
      1   libqcocoa.dylib               	0x000000010d670960 0x10d652000 + 125280
      2   org.qt-project.QtCore         	0x000000010ae08a83 QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const + 1267
      3   libqcocoa.dylib               	0x000000010d6775f0 0x10d652000 + 153072
      
      

      Attachments

        Issue Links

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

          Activity

            People

              con Eike Ziller
              smokris Steve Mokris
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes