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

crash in QV4

    XMLWordPrintable

Details

    • Linux/Yocto

    Description

      i haven't been able to reproduce this crash locally, but our crash reporter uploaded a crashdump with this backtrace:

       

      OS Version: Linux 5.15.67 (#1 SMP Thu Sep 8 10:32:54 UTC 2022)
      Report Version: 104
      
      Crashed Thread: 340
      
      Application Specific Information:
      Fatal Error: SIGSEGV / SEGV_MAPERR / 0x1cd0100
      
      Thread 340 Crashed:
      0   ni-roda                         0xd44cea            QV4::ExecutableCompilationUnit::markObjects (qv4heap_p.h:153)
      1   ni-roda                         0xd28504            QV4::ExecutionEngine::markObjects (qv4engine.cpp:1328)
      2   ni-roda                         0xde84e6            QV4::MemoryManager::collectRoots (qv4mm.cpp:850)
      3   ni-roda                         0xde8726            QV4::MemoryManager::mark (qv4mm.cpp:894)
      4   ni-roda                         0xdec4c8            QV4::MemoryManager::runGC (qv4mm.cpp:1028)
      5   ni-roda                         0xdec952            QV4::MemoryManager::allocData (qv4mm.cpp:1014)
      6   ni-roda                         0xef67c8            QV4::QQmlValueTypeWrapper::create (qv4mm_p.h:155)
      7   ni-roda                         0xd96a4a            QV4::QObjectWrapper::getProperty (qv4qobjectwrapper.cpp:200)
      8   ni-roda                         0xd888c8            QV4::QQmlContextWrapper::lookupScopeObjectProperty (qv4qobjectwrapper_p.h:298)
      9   memfd:JITCode:QtQml (deleted)   0xb6c4c90b          <unknown>
      10  ni-roda                         0xddc40c            QV4::Moth::VME::exec (qv4vme_moth.cpp:552)
      11  ni-roda                         0x658786            QQuickTransform::appendToItem (qquickitem.cpp:3514)
      12  <unknown>                       0xb39c8480          <unknown>
      13  ni-roda                         0xd50768            QV4::doCall (qv4function.cpp:54)
      14  ni-roda                         0xd50b90            QV4::Function::call (qv4function.cpp:30)
      15  ni-roda                         0xe554b6            QQmlJavaScriptExpression::evaluate (qqmljavascriptexpression.cpp:270)
      16  ni-roda                         0xe99d82            QQmlPropertyBinding::evaluate<T> (qqmlpropertybinding_p.h:303)
      17  ni-roda                         0x6450aa            QObjectCompatProperty<T>::bindingWrapper (qproperty_p.h:491)
      18  ni-roda                         0x10b0814           QPropertyBindingPrivate::evaluateRecursive (qproperty_p.h:818)
      19  ni-roda                         0xe98e28            QQmlPropertyBindingJS::expressionChanged (qqmlpropertybinding.cpp:156)
      20  ni-roda                         0xe7b206            QQmlNotifier::emitNotify (qqmlnotifier.cpp:70)
      21  ni-roda                         0x10ab1cc           doActivate<T> (qobject.cpp:3884)
      22  ni-roda                         0x641c74            QQuickContents::updateRect (moc_qquickitem.cpp:1789)
      23  ni-roda                         0x64a702            QQuickItem::geometryChange (qquickitem.cpp:3824)
      24  ni-roda                         0x6444e4            QQuickItem::setX (qquickitem.cpp:7078)
      25  ni-roda                         0x8334b6            QQuickAnchorsPrivate::updateHorizontalAnchors (qquickanchors.cpp:378)
      26  ni-roda                         0x833fca            QQuickAnchorsPrivate::itemGeometryChanged
      27  ni-roda                         0x64a702            QQuickItem::geometryChange (qquickitem.cpp:3824)
      28  ni-roda                         0x6444e4            QQuickItem::setX (qquickitem.cpp:7078)
      29  ni-roda                         0xe0838c            QQmlPropertyData::writeProperty (qqmlpropertydata_p.h:339)
      30  ni-roda                         0xe9527e            QQmlPropertyPrivate::write (qqmlproperty.cpp:1493)
      31  ni-roda                         0xe97a0e            QQmlPropertyPrivate::writeValueProperty (qqmlproperty.cpp:1306)
      32  ni-roda                         0x8e7f3e            QQuickAnimationPropertyUpdater::setValue (qquickanimation.cpp:2619)
      33  ni-roda                         0xf22202            QAbstractAnimationJob::setCurrentTime (qabstractanimationjob.cpp:479)
      34  ni-roda                         0xf24dda            QSequentialAnimationGroupJob::updateCurrentTime (qsequentialanimationgroupjob.cpp:207)
      35  ni-roda                         0xf22202            QAbstractAnimationJob::setCurrentTime (qabstractanimationjob.cpp:479)
      36  ni-roda                         0xf2237c            QQmlAnimationTimer::updateAnimationsTime (qabstractanimationjob.cpp:100)
      37  ni-roda                         0x1132c6c           QAnimationDriver::advanceAnimation (qabstractanimation.cpp:288)
      38  ni-roda                         0x7649b8            QSGThreadedRenderLoop::polishAndSync (qsgthreadedrenderloop.cpp:1629)
      39  ni-roda                         0x672a0a            QQuickWindow::event (qquickwindow.cpp:1543)
      40  ni-roda                         0x1070e88           QCoreApplication::sendEvent (qcoreapplication.cpp:1118)
      41  ni-roda                         0xba53de            QPlatformWindow::windowEvent (qplatformwindow.cpp:774)
      42  ni-roda                         0x98a162            QGuiApplication::notify (qguiapplication.cpp:2033)
      43  ni-roda                         0x1070e88           QCoreApplication::sendEvent (qcoreapplication.cpp:1118)
      44  ni-roda                         0x11421d8           QTimerInfoList::activateTimers (qtimerinfo_unix.cpp:613)
      45  ni-roda                         0x11403ae           QEventDispatcherUNIX::processEvents (qeventdispatcher_unix.cpp:213)
      46  ni-roda                         0xbf3952            QUnixEventDispatcherQPA::processEvents (qunixeventdispatcher.cpp:27)
      47  ni-roda                         0x1079196           QEventLoop::exec (qeventloop.cpp:100)
      48  ni-roda                         0x1077952           QCoreApplication::exec (qcoreapplication.cpp:1439)
      49  ni-roda                         0x4bb9ac            main (main.cpp:228)
      50  libc.so.6                       0xb5f517c4          __libc_start_call_main (libc_start_call_main.h:58)
      51  libc.so.6                       0xb5f5186e          __libc_start_main_impl (libc-start.c:389)
      52  ni-roda                         0x4d51c6            _start
      53  ld-linux-armhf.so.3             0xb6fce8a1          <unknown>
      54  ni-roda                         0x4d519e            ni::msgpack_support::symbol_registry::get (symbol_registry.cpp:196)
      55  ni-roda                         0x6c3774            QHashPrivate::Data<T>::rehash (qhash.h:641)
      56  <unknown>                       0x2f3a6e69          <unknown>
      57  ni-roda                         0x6e6960            QQuickDeliveryAgentPrivate::deliverPointerEvent (qarraydataops.h:170)
      58  <unknown>                       0x2f727375          <unknown>
      59  ni-roda                         0x61646c            fmt::v10::detail::value<T>::format_custom_arg<T> (char_traits.h:374)
      

      we only received a single crashdump with this backtrace, so it seems to be quite rare.
      it doesn't look too different to QTBUG-92121 (similar location in the qml gc, same platform (linux/yocto))

      Attachments

        Issue Links

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

          Activity

            People

              qtqmlteam Qt Qml Team User
              timblechmann tim blechmann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes