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

Hang issue

    XMLWordPrintable

Details

    Description

      We observe our hmi process hang.

      I am providing the stacktrace of the crashing thread:

      Thread 1 (pid 262189 tid 1):
      #0  0x000000007a741ff4 in SyncCondvarWait_r () from /scratch-space/LocalSymbolSync/Sync4-launch-signing-OS-Image-Build-1214-0289be14e83622e83fb4c26c563b0797/SYNC4/qnx-ifs-sym.tar.xz/aarch64le/lib/libc.so.5
      No symbol table info available.
      #1  0x000000007a72335c in pthread_cond_wait () from /scratch-space/LocalSymbolSync/Sync4-launch-signing-OS-Image-Build-1214-0289be14e83622e83fb4c26c563b0797/SYNC4/qnx-ifs-sym.tar.xz/aarch64le/lib/libc.so.5
      No symbol table info available.
      #2  0x000000007a06dd20 in QWaitConditionPrivate::wait (deadline=..., this=0x1614cd60) at /proj/jenkins/workspace/workspace/SYNC4/Sync4-qt-prebuilts-imx8/sync-qt-build/qt-v5.15.14-****7/qt5base/src/corelib/thread/qwaitcondition_unix.cpp:146
              code = <optimized out>
      #3  QWaitCondition::wait (this=0x16e8fb60, mutex=0x16e8fb58, deadline=...) at /proj/jenkins/workspace/workspace/SYNC4/Sync4-qt-prebuilts-imx8/sync-qt-build/qt-v5.15.14-****7/qt5base/src/corelib/thread/qwaitcondition_unix.cpp:225
      No locals.
      #4  0x0000000078e23480 in QSGThreadedRenderLoop::polishAndSync (this=this@entry=0x14b7de40, w=0x1614ce40, inExpose=inExpose@entry=false) at /proj/jenkins/workspace/workspace/SYNC4/Sync4-qt-prebuilts-imx8/qt-install-dir/target/usr/include/qt5/QtCore/qdeadlinetimer.h:68
              window = 0x14b805b0
              timer = {t1 = -9223372036854775808, t2 = -9223372036854775808}
              polishTime = 0
              waitTime = 0
              syncTime = 0
              profileFrames = false
              d = <optimized out>
      #5  0x0000000078e24210 in QSGThreadedRenderLoop::handleUpdateRequest (this=0x14b7de40, window=0x14b805b0) at scenegraph/qsgthreadedrenderloop.cpp:1447
              w = <optimized out>
      #6  0x0000000078e8d00c in QQuickWindow::event (this=0x14b805b0, e=0x1013ffc0) at items/qquickwindow.cpp:1873
              d = 0x14b82000
      #7  0x0000000011f56334 in HmiGuiFramework::HmiQQuickWindow::event (this=0x14b805b0, e=0x1013ffc0) at src/HmiGuiFramework/hmiqquickwindow.cpp:168
              ret = <optimized out>
      #8  0x000000007a24c5bc in QCoreApplication::notifyInternal2 (receiver=0x14b805b0, event=0x1013ffc0) at ../../include/QtCore/5.15.14/QtCore/private/../../../../../../qt5base/src/corelib/thread/qthread_p.h:332
              selfRequired = true
              result = false
              cbdata = {0x14b805b0, 0x1013ffc0, 0x1013ff6f}
              d = <optimized out>
              threadData = 0x1392eb00
              scopeLevelCounter = {threadData = 0x1392eb00}
      #9  0x00000000792a6768 in QPlatformWindow::deliverUpdateRequest (this=<optimized out>) at /proj/jenkins/workspace/workspace/SYNC4/Sync4-qt-prebuilts-imx8/sync-qt-build/qt-v5.15.14-****7/qt5base/src/gui/kernel/qplatformwindow.cpp:799
              w = 0x14b805b0
              wp = <optimized out>
              request = {_vptr.QEvent = 0x7a562b60 <vtable for QEvent+16>, static staticMetaObject = {d = {superdata =

      {direct = 0x0}, stringdata = 0x5c11d0, data = 0x47dd50, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x0, t = 77, posted = 0, spont = 0, m_accept = 1, reserved = 663}
      #10 QPlatformWindow::windowEvent (this=<optimized out>, event=<optimized out>) at /proj/jenkins/workspace/workspace/SYNC4/Sync4-qt-prebuilts-imx8/sync-qt-build/qt-v5.15.14-****7/qt5base/src/gui/kernel/qplatformwindow.cpp:479
              d = <optimized out>
      #11 0x00000000792b2eb0 in QGuiApplication::notify (this=0x101403f8, object=0x14b805b0, event=0x10140100) at /proj/jenkins/workspace/workspace/SYNC4/Sync4-qt-prebuilts-imx8/sync-qt-build/qt-v5.15.14-****7/qt5base/src/gui/kernel/qguiapplication.cpp:1932
      No locals.
      #12 0x000000007a24c5bc in QCoreApplication::notifyInternal2 (receiver=0x14b805b0, event=0x10140100) at ../../include/QtCore/5.15.14/QtCore/private/../../../../../../qt5base/src/corelib/thread/qthread_p.h:332
              selfRequired = true
              result = false
              cbdata = {0x14b805b0, 0x10140100, 0x1014005f}
              d = <optimized out>
              threadData = 0x1392eb00
              scopeLevelCounter = {threadData = 0x1392eb00}
      #13 0x000000007a2a5e74 in QTimerInfoList::activateTimers (this=this@entry=0x136021e8) at /proj/jenkins/workspace/workspace/SYNC4/Sync4-qt-prebuilts-imx8/sync-qt-build/qt-v5.15.14-****7/qt5base/src/corelib/kernel/qtimerinfo_unix.cpp:643
              e = {<QEvent> = {_vptr.QEvent = 0x7a562b80 <vtable for QTimerEvent+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}

      , stringdata = 0x5c11d0, data = 0x47dd50, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x0, t = 1, posted = 0, spont = 0, m_accept = 1, reserved = 0}, id = 13}
              currentTimerInfo = 0x0
              n_act = 2
              maxCount = 0
              currentTime = {tv_sec = 1909, tv_nsec = 847013875}
      #14 0x000000007a2a39e0 in QEventDispatcherUNIXPrivate::activateTimers (this=this@entry=0x13602160) at /proj/jenkins/workspace/workspace/SYNC4/Sync4-qt-prebuilts-imx8/sync-qt-build/qt-v5.15.14-****7/qt5base/src/corelib/kernel/qeventdispatcher_unix.cpp:249
      No locals.
      #15 0x000000007a2a4714 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at /proj/jenkins/workspace/workspace/SYNC4/Sync4-qt-prebuilts-imx8/sync-qt-build/qt-v5.15.14-****7/qt5base/src/corelib/kernel/qeventdispatcher_unix.cpp:516
              d = 0x13602160
              threadData = <optimized out>
              include_timers = true
              canWait = <optimized out>
              tm = <optimized out>
              wait_tm = {tv_sec = 0, tv_nsec = 4000000}
              nevents = 0
      #16 0x000000007d26bb54 in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at /proj/jenkins/workspace/workspace/SYNC4/Sync4-qt-prebuilts-imx8/sync-qt-build/qt-v5.15.14-****7/qt5base/src/platformsupport/eventdispatchers/qunixeventdispatcher.cpp:63
              didSendEvents = <optimized out>
      #17 0x000000007a24acdc in QEventLoop::exec (this=this@entry=0x101402d0, flags=..., flags@entry=...) at ../../include/QtCore/../../../qt5base/src/corelib/global/qflags.h:141
              d = 0x1562f1f0
              threadData = <optimized out>
              locker = {val = 328310312}
              ref = {d = 0x1562f1f0, locker = @0x10140258, exceptionCaught = true}
              app = 0x101403f8
      #18 0x000000007a253a58 in QCoreApplication::exec () at ../../include/QtCore/../../../qt5base/src/corelib/global/qflags.h:121
              threadData = 0x1392eb00
              eventLoop = {<QObject> = {_vptr.QObject = 0x7a562930 <vtable for QEventLoop+16>, static staticMetaObject = {d = {superdata =

      {direct = 0x0}, stringdata = 0x5c2e20, data = 0x47fab0, static_metacall = 0x2cde70, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x1562f1f0}, static staticQtMetaObject = {d = {superdata = {direct = 0x0}

      , stringdata = 0x5c2fb0, data = 0x47fbd0, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata =

      {direct = 0x0}, stringdata = 0x5c0d90, data = 0x47d4a0, static_metacall = 0x296970, relatedMetaObjects = 0x0, extradata = 0x0}}}
              returnCode = <optimized out>
      #19 0x00000000117cbf80 in main (argc=<optimized out>, argv=0x10140508) at src/****hmi/main.cpp:412
              _PRETTY_FUNCTION_ = "int main(int, char**)"
              threadName = 0x1227da65 "****hmi (main thread)"
              app = {<QGuiApplication> = {<QCoreApplication> = {<QObject> = {_vptr.QObject = 0x12761b40 <vtable for HmiCore::HmiApplication+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}

      , stringdata = 0x5c2e20, data = 0x47fab0, static_metacall = 0x2cde70, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x13550a20}, static staticQtMetaObject = {d = {superdata =

      {direct = 0x0}, stringdata = 0x5c2fb0, data = 0x47fbd0, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x0}

      , stringdata = 0x5c0fa8, data = 0x47d6e0, static_metacall = 0x29a130, relatedMetaObjects = 0x0, extradata = 0x0}}, static self = 0x0}, static staticMetaObject = {d = {superdata =

      {direct = 0x0}, stringdata = 0x696140, data = 0x561600, static_metacall = 0x11bfd0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x0}

      , stringdata = 0x18acf08, data = 0x12424ac, static_metacall = 0xc98890, relatedMetaObjects = 0x0, extradata = 0x0}}, m_qmlEngine = 0x13b52020, m_oneMinuteTimer = 0x0, m_modules = {<QListSpecialMethods<HmiCore::HmiModuleIntegration*>> =

      {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::_1::atomic_base<int, true>> = {<std::1::atomic_base<int, false>> = {a = {__a_value = -1}}, <No data fields>}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x151d0800}, d = 0x151d0800}}, m_hmiManager = 0x13b119f0, m_messageReceiveThread = 0x13b67580, m_messageReceivePriorityQueThread = 0x13b67400, m_hmiAppSettings = 0x13b11c70, m_hmiStatusBarController = 0x1469b000, m_hmiWindowManager = 0x14956d00, m_imageProvider = 0x13a96280, m_frameProvider = 0x13a96260, m_heartBeatMonitor = 0x13a87ea0, m_historyModuleBlackList = {<QListSpecialMethods<int>> = {<No data fields>}

      , {p = {static shared_null = {ref = {atomic = {_q_value = {<std::_1::atomic_base<int, true>> = {<std::1::atomic_base<int, false>> = {a = {__a_value = -1}}, <No data fields>}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7a567880 <QListData::shared_null>}, d = 0x7a567880 <QListData::shared_null>}}, m_instrumentationHandler = 0x1359e140, mLooper = 0x13b0d360, static LOG_TAG = <optimized out>, m_hmiMainThreadId = 1, m_showHmiUiConn = {d_ptr = 0x0}, m_hmiBootedConn = {d_ptr = 0x0}, m_uiVariationChangedConn = {d_ptr = 0x0}, m_createdRootElementConn = {d_ptr = 0x0}, m_hmiUiReady = {<std::_1::atomic_base<bool, false>> = {a = {__a_value = true}}, <No data fields>}, m_showHmiUiReceived = {<std::_1::atomic_base<bool, false>> = {a = {__a_value = true}}, <No data fields>}, m_hmiBootedReceived = {<std::_1::atomic_base<bool, false>> = {a = {__a_value = true}}, <No data fields>}, m_uiVariationChangedReceived = {<std::_1::atomic_base<bool, false>> = {a = {__a_value = true}}, <No data fields>}, m_createdRootElementReceived = {<std::_1::atomic_base<bool, false>> = {a = {__a_value = true}}, <No data fields>}, m_isThemeLoaded = {<std::_1::atomic_base<bool, false>> = {a = {__a_value = true}}, <No data fields>}}
              hmiInitializer = {<PasaHmiExtension::PasaHmiInitializer> = {<HmiCore::HmiInitializer> = {_vptr.HmiInitializer = 0x1274ade8 <vtable for ****HmiInitializer+16>}, <No data fields>}, m_initialRootState = 0x139d9da0}
              alLogger = {<QObject> = {_vptr.QObject = 0x12751a50 <vtable for AL2HMIBridge::ALLogger+16>, static staticMetaObject = {d = {superdata =

      {direct = 0x0}, stringdata = 0x5c2e20, data = 0x47fab0, static_metacall = 0x2cde70, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x1564b1a0}, static staticQtMetaObject = {d = {superdata = {direct = 0x0}

      , stringdata = 0x5c2fb0, data = 0x47fbd0, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata =

      {direct = 0x0}

      , stringdata = 0x1719130, data = 0x1208cdc, static_metacall = 0x9de924, relatedMetaObjects = 0x0, extradata = 0x0}}, m_dpLookupModel = 0x13973080, m_eventLookupModel = 0x13973350, m_dpListLookupModel = 0x1478e640, m_keyLookupModel = 0x147d1f20, m_logLevelLookupModel = 0x147b5200, m_logLevelEvtLookupModel = 0x147b52c0, static m_instance = 0x0}

       

       

      Attachments

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

        Activity

          People

            janichol Andy Nichols
            karthika Karthika G
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes