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

qml binary crashes at exit if the qmldebugger channel is connected

    XMLWordPrintable

Details

    • Linux/X11, Windows
    • 50e76d84bf6935e5d517c64c46b32c50d1e14ba9 (qt/qtdeclarative/5.15)

    Description

      Especially when using the qmlpreview feature in qtcreator this looks very bad.

      >	Qt5Core.dll!qt_message_fatal(QtMsgType __formal, const QMessageLogContext & context, const QString & message) Line 1883	C++
       	Qt5Core.dll!QMessageLogger::fatal(const char * msg, ...) Line 893	C++
       	Qt5Core.dll!QThread::~QThread() Line 450	C++
       	[External Code]	
       	Qt5Qml.dll!QQmlDebugConnectorFactory::~QQmlDebugConnectorFactory() Line 172	C++
       	[External Code]	
       	Qt5Core.dll!QLibraryPrivate::unload(QLibraryPrivate::UnloadFlag flag) Line 580	C++
       	Qt5Core.dll!QFactoryLoaderPrivate::~QFactoryLoaderPrivate() Line 179	C++
       	[External Code]	
       	[Inline Frame] Qt5Core.dll!QScopedPointerDeleter<QObjectData>::cleanup(QObjectData *) Line 60	C++
       	[Inline Frame] Qt5Core.dll!QScopedPointer<QObjectData,QScopedPointerDeleter<QObjectData> >::{dtor}() Line 107	C++
       	Qt5Core.dll!QObject::~QObject() Line 1119	C++
       	[External Code]	
      
      

      and output is:

      QEventDispatcherWin32::wakeUp: Failed to post a message (Ungültiges Fensterhandle)
      QThread: Destroyed while thread is still running
      Unhandled exception at 0x00007FFE59E75128 (Qt5Core.dll) in qml.exe: Fatal program exit requested.
      

      Some bugs with qmlpreview and qmlscene should be fixed if we use qml, but with this crash it looks not like the best solution at the moment.

      Attachments

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

        Activity

          People

            ulherman Ulf Hermann
            tjenssen Tim Jenssen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes