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

Qml app hangup

    XMLWordPrintable

    Details

      Description

      Process CPU utilization is 100% when attempting a QML dynamic load,
      The frequency is low, but this is obviously a big problem for us.

      The following trace in problem situations.
      #1

      (gdb) info thread
        Id   Target Id         Frame
      * 1    process 1344 "manager" 0x6544fa80 in ?? ()
      (gdb) bt
      Python Exception <type 'exceptions.ImportError'> No module named gdb.frames:
      #0  0x6544fa80 in ?? ()
      #1  0x756b3fc6 in ?? () from /usr/lib/libQt5Qml.so.5
      #2  0x757484e0 in ?? () from /usr/lib/libQt5Qml.so.5
      #3  0x7574882a in ?? () from /usr/lib/libQt5Qml.so.5
      #4  0x7574d474 in QQmlBinding::update(QFlags<QQmlPropertyPrivate::WriteFlag>)
          () from /usr/lib/libQt5Qml.so.5
      #5  0x75752aa4 in ?? () from /usr/lib/libQt5Qml.so.5
      #6  0x75708e70 in QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) () from /usr/lib/libQt5Qml.so.5
      #7  0x756fb65e in QtQml::qmlExecuteDeferred(QObject*) ()
         from /usr/lib/libQt5Qml.so.5
      #8  0x75be23b2 in QQuickState::apply(QQuickTransition*, QQuickState*) ()
         from /usr/lib/libQt5Quick.so.5
      #9  0x75beae6e in ?? () from /usr/lib/libQt5Quick.so.5
      #10 0x75beb754 in QQuickStateGroup::componentComplete() ()
         from /usr/lib/libQt5Quick.so.5
      #11 0x75c52774 in QQuickItem::componentComplete() ()
         from /usr/lib/libQt5Quick.so.5
      #12 0x75752b2a in ?? () from /usr/lib/libQt5Qml.so.5
      #13 0x7570b9ae in ?? () from /usr/lib/libQt5Qml.so.5
      #14 0x7570bf72 in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlContextData*)
          () from /usr/lib/libQt5Qml.so.5
      #15 0x757855bc in ?? () from /usr/lib/libQt5Qml.so.5
      ---Type <return> to continue, or q <return> to quit---
      #16 0x757856e2 in QQmlDelegateModel::object(int, bool) ()
         from /usr/lib/libQt5Qml.so.5
      #17 0x75cde57a in ?? () from /usr/lib/libQt5Quick.so.5
      #18 0x75ca9e7e in ?? () from /usr/lib/libQt5Quick.so.5
      #19 0x75cdedea in ?? () from /usr/lib/libQt5Quick.so.5
      #20 0x75cdf3fc in ?? () from /usr/lib/libQt5Quick.so.5
      #21 0x75c59294 in QQuickWindowPrivate::polishItems() ()
         from /usr/lib/libQt5Quick.so.5
      #22 0x75c38fc2 in ?? () from /usr/lib/libQt5Quick.so.5
      #23 0x75c39768 in ?? () from /usr/lib/libQt5Quick.so.5
      #24 0x753c5bbe in QCoreApplicationPrivate::notify_helper(QObject*, QEvent*) ()
         from /usr/lib/libQt5Core.so.5
      #25 0x753c5bf0 in QCoreApplication::notify(QObject*, QEvent*) ()
         from /usr/lib/libQt5Core.so.5
      #26 0x753c5a14 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
         from /usr/lib/libQt5Core.so.5
      #27 0x753c74ca in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
      #28 0x7540037c in ?? () from /usr/lib/libQt5Core.so.5
      #29 0x76e99578 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
      #30 0x76e9979c in ?? () from /usr/lib/libglib-2.0.so.0
      #31 0x76e99848 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
      #32 0x753ffd92 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::Process---Type <return> to continue, or q <return> to quit---
      EventsFlag>) () from /usr/lib/libQt5Core.so.5
      #33 0x753c43a4 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
      #34 0x753c4656 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
         from /usr/lib/libQt5Core.so.5
      #35 0x753c918e in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
      #36 0x0000c34a in main ()
      (gdb)
      

      #2

      hread 1 (Thread 0x72e833b0 (LWP 1325)):
      #0  0x5e7d1e30 in ?? ()
      #1  0x7568ffc6 in ?? () from /usr/lib/libQt5Qml.so.5
      #2  0x757244e0 in ?? () from /usr/lib/libQt5Qml.so.5
      #3  0x7572482a in ?? () from /usr/lib/libQt5Qml.so.5
      #4  0x75729474 in QQmlBinding::update(QFlags<QQmlPropertyPrivate::WriteFlag>)
          () from /usr/lib/libQt5Qml.so.5
      #5  0x7572eaa4 in ?? () from /usr/lib/libQt5Qml.so.5
      #6  0x756e4e70 in QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) () from /usr/lib/libQt5Qml.so.5
      #7  0x756d765e in QtQml::qmlExecuteDeferred(QObject*) ()
         from /usr/lib/libQt5Qml.so.5
      #8  0x75bbe3b2 in QQuickState::apply(QQuickTransition*, QQuickState*) ()
         from /usr/lib/libQt5Quick.so.5
      ---Type <return> to continue, or q <return> to quit---
      #9  0x75bc6e6e in ?? () from /usr/lib/libQt5Quick.so.5
      #10 0x75bc7754 in QQuickStateGroup::componentComplete() ()
         from /usr/lib/libQt5Quick.so.5
      #11 0x75c2e774 in QQuickItem::componentComplete() ()
         from /usr/lib/libQt5Quick.so.5
      #12 0x75c98b2c in QQuickBasePositioner::componentComplete() ()
         from /usr/lib/libQt5Quick.so.5
      #13 0x7572eb2a in ?? () from /usr/lib/libQt5Qml.so.5
      #14 0x756e79ae in ?? () from /usr/lib/libQt5Qml.so.5
      #15 0x756e801e in QQmlIncubationController::incubateFor(int) ()
         from /usr/lib/libQt5Qml.so.5
      #16 0x75c39ff8 in ?? () from /usr/lib/libQt5Quick.so.5
      #17 0x753c1e9a in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
      #18 0x753a1bbe in QCoreApplicationPrivate::notify_helper(QObject*, QEvent*) ()
         from /usr/lib/libQt5Core.so.5
      #19 0x753a1bf0 in QCoreApplication::notify(QObject*, QEvent*) ()
         from /usr/lib/libQt5Core.so.5
      #20 0x753a1a14 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
         from /usr/lib/libQt5Core.so.5
      #21 0x753db8a0 in QTimerInfoList::activateTimers() ()
         from /usr/lib/libQt5Core.so.5
      #22 0x753dbbea in ?? () from /usr/lib/libQt5Core.so.5
      #23 0x76e710d0 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
      ---Type <return> to continue, or q <return> to quit---
      #24 0x76e7136c in ?? () from /usr/lib/libglib-2.0.so.0
      #25 0x76e71408 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
      #26 0x753dbd92 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
      #27 0x753a03a4 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
      #28 0x753a0656 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
         from /usr/lib/libQt5Core.so.5
      #29 0x753a518e in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
      #30 0x0000c34a in main ()
      

        Attachments

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

          Activity

            People

            • Assignee:
              srutledg Shawn Rutledge
              Reporter:
              aram.so Aram So
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes