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

QML debugger hangs in constructor of QQmlApplicationEngine (wait condition in QQmlDebugServer)

    XMLWordPrintable

Details

    Description

      When debugging a Qt Quick application in Qt Creator the program hangs at constructor of QQmlApplicationEngine.
      In Debugger Log every few seconds this message appears:
      "QML Debugger: No application output received in time, trying to connect ..."

      When disabling QML debugging the application runs fine.

      Steps to reproduce:
      1. Create default Qt Quick application in Qt Creator.
      2. Debug application.

      A backtrace looks like this:

      >~"#0  0x00007ffff5a6cb2f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0\n"
      >~"#1  0x00007ffff694567b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5\n"
      >~"#2  0x00007ffff7aa2d6e in QQmlDebugServer::instance() () from /usr/lib/libQt5Qml.so.5\n"
      >~"#3  0x00007ffff7a9ac09 in QQmlDebugService::isDebuggingEnabled() () from /usr/lib/libQt5Qml.so.5\n"
      >~"#4  0x00007ffff79f1a4d in QQmlEnginePrivate::init() () from /usr/lib/libQt5Qml.so.5\n"
      >~"#5  0x00007ffff7a77600 in QQmlApplicationEngine::QQmlApplicationEngine(QObject*) () from /usr/lib/libQt5Qml.so.5\n"
      

      The full Debugger Log is attached as a text file.

      This issue has also been reported here:
      http://stackoverflow.com/questions/24227915/linux-qt-creator-debugger-hangs-while-qqmlapplicationengine-is-created

      Attachments

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

        Activity

          People

            ablasche Alex Blasche
            jellysheep Max Mertens
            Votes:
            10 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes