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

Crash in QV4::ExecutableAllocator::allocate

    XMLWordPrintable

Details

    Description

      We have a significant number of crash reports where Plasma crashes in QV4::ExecutableAllocator::allocate

      Example backtrace

      0   libQt6Qml.so.6.8.0              0x7c57ff04ddc6      [inlined] QV4::ExecutableAllocator::allocate (qv4executableallocator.cpp:168)
      1   libQt6Qml.so.6.8.0              0x7c57ff04ddc6      [inlined] JSC::ExecutableMemoryHandle::ExecutableMemoryHandle (ExecutableAllocator.h:36)
      2   libQt6Qml.so.6.8.0              0x7c57ff04ddc6      [inlined] JSC::ExecutableAllocator::allocate (ExecutableAllocator.h:73)
      3   libQt6Qml.so.6.8.0              0x7c57ff04ddc6      [inlined] JSC::AssemblerBuffer::executableCopy (AssemblerBuffer.h:138)
      4   libQt6Qml.so.6.8.0              0x7c57ff04ddc6      [inlined] JSC::X86Assembler::X86InstructionFormatter::executableCopy (X86Assembler.h:2423)
      5   libQt6Qml.so.6.8.0              0x7c57ff04ddc6      [inlined] JSC::X86Assembler::executableCopy (X86Assembler.h:2058)
      6   libQt6Qml.so.6.8.0              0x7c57ff04ddc6      JSC::LinkBufferBase<T>::linkCode (LinkBuffer.h:333)
      7   libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] QV4::ExecutableAllocator::allocate (qv4executableallocator.cpp:151)
      8   libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::ExecutableMemoryHandle::ExecutableMemoryHandle (ExecutableAllocator.h:36)
      9   libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::ExecutableAllocator::allocate (ExecutableAllocator.h:73)
      10  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::AssemblerBuffer::executableCopy (AssemblerBuffer.h:138)
      11  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::X86Assembler::X86InstructionFormatter::executableCopy (X86Assembler.h:2423)
      12  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::X86Assembler::executableCopy (X86Assembler.h:2058)
      13  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::LinkBufferBase<T>::linkCode (LinkBuffer.h:333)
      14  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] QV4::ExecutableAllocator::allocate (qv4executableallocator.cpp:151)
      15  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::ExecutableMemoryHandle::ExecutableMemoryHandle (ExecutableAllocator.h:36)
      16  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::ExecutableAllocator::allocate (ExecutableAllocator.h:73)
      17  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::AssemblerBuffer::executableCopy (AssemblerBuffer.h:138)
      18  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::X86Assembler::X86InstructionFormatter::executableCopy (X86Assembler.h:2423)
      19  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::X86Assembler::executableCopy (X86Assembler.h:2058)
      20  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::LinkBufferBase<T>::linkCode (LinkBuffer.h:333)
      21  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] QV4::ExecutableAllocator::allocate (qv4executableallocator.cpp:151)
      22  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::ExecutableMemoryHandle::ExecutableMemoryHandle (ExecutableAllocator.h:36)
      23  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::ExecutableAllocator::allocate (ExecutableAllocator.h:73)
      24  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::AssemblerBuffer::executableCopy (AssemblerBuffer.h:138)
      25  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::X86Assembler::X86InstructionFormatter::executableCopy (X86Assembler.h:2423)
      26  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::X86Assembler::executableCopy (X86Assembler.h:2058)
      27  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::LinkBufferBase<T>::linkCode (LinkBuffer.h:333)
      28  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] QV4::ExecutableAllocator::allocate (qv4executableallocator.cpp:151)
      29  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::ExecutableMemoryHandle::ExecutableMemoryHandle (ExecutableAllocator.h:36)
      30  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::ExecutableAllocator::allocate (ExecutableAllocator.h:73)
      31  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::AssemblerBuffer::executableCopy (AssemblerBuffer.h:138)
      32  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::X86Assembler::X86InstructionFormatter::executableCopy (X86Assembler.h:2423)
      33  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::X86Assembler::executableCopy (X86Assembler.h:2058)
      34  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::LinkBufferBase<T>::linkCode (LinkBuffer.h:333)
      35  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] QV4::ExecutableAllocator::allocate (qv4executableallocator.cpp:151)
      36  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::ExecutableMemoryHandle::ExecutableMemoryHandle (ExecutableAllocator.h:36)
      37  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::ExecutableAllocator::allocate (ExecutableAllocator.h:73)
      38  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::AssemblerBuffer::executableCopy (AssemblerBuffer.h:138)
      39  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::X86Assembler::X86InstructionFormatter::executableCopy (X86Assembler.h:2423)
      40  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::X86Assembler::executableCopy (X86Assembler.h:2058)
      41  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::LinkBufferBase<T>::linkCode (LinkBuffer.h:333)
      42  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] QV4::ExecutableAllocator::allocate (qv4executableallocator.cpp:151)
      43  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::ExecutableMemoryHandle::ExecutableMemoryHandle (ExecutableAllocator.h:36)
      44  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::ExecutableAllocator::allocate (ExecutableAllocator.h:73)
      45  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::AssemblerBuffer::executableCopy (AssemblerBuffer.h:138)
      46  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::X86Assembler::X86InstructionFormatter::executableCopy (X86Assembler.h:2423)
      47  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      [inlined] JSC::X86Assembler::executableCopy (X86Assembler.h:2058)
      48  libQt6Qml.so.6.8.0              0x7c57ff04ddc5      JSC::LinkBufferBase<T>::linkCode (LinkBuffer.h:333)
      49  libQt6Qml.so.6.8.0              0x7c57fee51177      [inlined] JSC::LinkBuffer<T>::LinkBuffer (LinkBuffer.h:369)
      50  libQt6Qml.so.6.8.0              0x7c57fee51177      [inlined] QV4::JIT::PlatformAssemblerCommon::link (qv4assemblercommon.cpp:110)
      51  libQt6Qml.so.6.8.0              0x7c57fee51177      [inlined] QV4::JIT::BaselineAssembler::link (qv4baselineassembler.cpp:826)
      52  libQt6Qml.so.6.8.0              0x7c57fee51177      [inlined] QV4::JIT::BaselineJIT::generate (qv4baselinejit.cpp:39)
      53  libQt6Qml.so.6.8.0              0x7c57fee51177      [inlined] QV4::Moth::VME::exec (qv4vme_moth.cpp:470)
      54  libQt6Qml.so.6.8.0              0x7c57fee51177      [inlined] JSC::LinkBuffer<T>::LinkBuffer (LinkBuffer.h:369)
      55  libQt6Qml.so.6.8.0              0x7c57fee51177      [inlined] QV4::JIT::PlatformAssemblerCommon::link (qv4assemblercommon.cpp:110)
      56  libQt6Qml.so.6.8.0              0x7c57fee51177      [inlined] QV4::JIT::BaselineAssembler::link (qv4baselineassembler.cpp:826)
      57  libQt6Qml.so.6.8.0              0x7c57fee51177      [inlined] QV4::JIT::BaselineJIT::generate (qv4baselinejit.cpp:39)
      58  libQt6Qml.so.6.8.0              0x7c57fee51177      [inlined] QV4::Moth::VME::exec (qv4vme_moth.cpp:470)
      59  libQt6Qml.so.6.8.0              0x7c57fee51177      [inlined] JSC::LinkBuffer<T>::LinkBuffer (LinkBuffer.h:369)
      60  libQt6Qml.so.6.8.0              0x7c57fee51177      [inlined] QV4::JIT::PlatformAssemblerCommon::link (qv4assemblercommon.cpp:110)
      61  libQt6Qml.so.6.8.0              0x7c57fee51177      [inlined] QV4::JIT::BaselineAssembler::link (qv4baselineassembler.cpp:826)
      62  libQt6Qml.so.6.8.0              0x7c57fee51177      [inlined] QV4::JIT::BaselineJIT::generate (qv4baselinejit.cpp:39)
      63  libQt6Qml.so.6.8.0              0x7c57fee51177      [inlined] QV4::Moth::VME::exec (qv4vme_moth.cpp:470)
      64  libQt6Qml.so.6.8.0              0x7c57fee51177      [inlined] JSC::LinkBuffer<T>::LinkBuffer (LinkBuffer.h:369)
      65  libQt6Qml.so.6.8.0              0x7c57fee51177      [inlined] QV4::JIT::PlatformAssemblerCommon::link (qv4assemblercommon.cpp:110)
      66  libQt6Qml.so.6.8.0              0x7c57fee51177      [inlined] QV4::JIT::BaselineAssembler::link (qv4baselineassembler.cpp:826)
      67  libQt6Qml.so.6.8.0              0x7c57fee51177      [inlined] QV4::JIT::BaselineJIT::generate (qv4baselinejit.cpp:39)
      68  libQt6Qml.so.6.8.0              0x7c57fee51177      [inlined] QV4::Moth::VME::exec (qv4vme_moth.cpp:470)
      69  libQt6Qml.so.6.8.0              0x7c57fee51177      [inlined] JSC::LinkBuffer<T>::LinkBuffer (LinkBuffer.h:369)
      70  libQt6Qml.so.6.8.0              0x7c57fee51177      [inlined] QV4::JIT::PlatformAssemblerCommon::link (qv4assemblercommon.cpp:110)
      71  libQt6Qml.so.6.8.0              0x7c57fee51177      [inlined] QV4::JIT::BaselineAssembler::link (qv4baselineassembler.cpp:826)
      72  libQt6Qml.so.6.8.0              0x7c57fee51177      [inlined] QV4::JIT::BaselineJIT::generate (qv4baselinejit.cpp:39)
      73  libQt6Qml.so.6.8.0              0x7c57fee51177      QV4::Moth::VME::exec (qv4vme_moth.cpp:470)
      74  libQt6Qml.so.6.8.0              0x7c57fed8c323      QV4::doCall (qv4function.cpp:52)
      75  libQt6Qml.so.6.8.0              0x7c57feedada2      QQmlJavaScriptExpression::evaluate (qqmljavascriptexpression.cpp:238)
      76  libQt6Qml.so.6.8.0              0x7c57fee769c3      QQmlBinding::evaluate (qqmlbinding.cpp:188)
      77  libQt6Qml.so.6.8.0              0x7c57fee7c648      QQmlBinding::doUpdate (qqmlbinding.cpp:702)
      78  libQt6Qml.so.6.8.0              0x7c57fee7e42d      QQmlBinding::update (qqmlbinding.cpp:164)
      79  libQt6Qml.so.6.8.0              0x7c57feefc6db      QQmlNotifier::emitNotify (qqmlnotifier.cpp:70)
      80  libQt6Core.so.6.8.0             0x7c57fddb1e69      doActivate<T> (qobject.cpp:4010)
      81  libQt6Qml.so.6.8.0              0x7c57fee63102      QQmlPropertyData::writeProperty (qqmlpropertydata_p.h:385)
      82  libQt6Qml.so.6.8.0              0x7c57fef20347      QQmlPropertyPrivate::write (qqmlproperty.cpp:1548)
      83  libQt6Qml.so.6.8.0              0x7c57fee7940c      QQmlBinding::slowWrite (qqmlbinding.cpp:543)
      84  libQt6Qml.so.6.8.0              0x7c57fee7fca4      GenericBinding<T>::write (qqmlbinding.cpp:268)
      85  libQt6Qml.so.6.8.0              0x7c57fee7c6ec      QQmlBinding::doUpdate (qqmlbinding.cpp:704)
      86  libQt6Qml.so.6.8.0              0x7c57fee7e42d      QQmlBinding::update (qqmlbinding.cpp:164)
      87  libQt6Qml.so.6.8.0              0x7c57feefc6db      QQmlNotifier::emitNotify (qqmlnotifier.cpp:70)
      88  libQt6Core.so.6.8.0             0x7c57fddb1e69      doActivate<T> (qobject.cpp:4010)
      89  libQt6Qml.so.6.8.0              0x7c57fef9d5a6      QQmlVMEMetaObject::metaCall (qqmlvmemetaobject.cpp:1027)
      90  libQt6Qml.so.6.8.0              0x7c57fee63148      [inlined] QQmlPropertyData::doMetacall<T> (qqmlpropertydata_p.h:367)
      91  libQt6Qml.so.6.8.0              0x7c57fee63148      [inlined] QQmlPropertyData::writeProperty (qqmlpropertydata_p.h:387)
      92  libQt6Qml.so.6.8.0              0x7c57fee63148      [inlined] QQmlPropertyData::doMetacall<T> (qqmlpropertydata_p.h:367)
      93  libQt6Qml.so.6.8.0              0x7c57fee63148      QQmlPropertyData::writeProperty (qqmlpropertydata_p.h:387)
      94  libQt6Qml.so.6.8.0              0x7c57fee80321      [inlined] GenericBinding<T>::doStore<T> (qqmlbinding.cpp:275)
      95  libQt6Qml.so.6.8.0              0x7c57fee80321      [inlined] GenericBinding<T>::write (qqmlbinding.cpp:243)
      96  libQt6Qml.so.6.8.0              0x7c57fee80321      [inlined] GenericBinding<T>::doStore<T> (qqmlbinding.cpp:275)
      97  libQt6Qml.so.6.8.0              0x7c57fee80321      GenericBinding<T>::write (qqmlbinding.cpp:243)
      98  libQt6Qml.so.6.8.0              0x7c57fee7c6ec      QQmlBinding::doUpdate (qqmlbinding.cpp:704)
      99  libQt6Qml.so.6.8.0              0x7c57fee7e42d      QQmlBinding::update (qqmlbinding.cpp:164)
      100 libQt6Qml.so.6.8.0              0x7c57feefc6db      QQmlNotifier::emitNotify (qqmlnotifier.cpp:70)
      101 libQt6Core.so.6.8.0             0x7c57fddb1e69      doActivate<T> (qobject.cpp:4010)
      102 libQt6Qml.so.6.8.0              0x7c57fef163e0      [inlined] QQmlOpenMetaObject::checkedSetValue (qqmlopenmetaobject.cpp:311)
      103 libQt6Qml.so.6.8.0              0x7c57fef163e0      [inlined] QQmlOpenMetaObject::checkedSetValue (qqmlopenmetaobject.cpp:305)
      104 libQt6Qml.so.6.8.0              0x7c57fef163e0      [inlined] QQmlOpenMetaObject::checkedSetValue (qqmlopenmetaobject.cpp:311)
      105 libQt6Qml.so.6.8.0              0x7c57fef163e0      QQmlOpenMetaObject::checkedSetValue (qqmlopenmetaobject.cpp:305)
      106 libQt6Qml.so.6.8.0              0x7c57fefa772d      QQmlPropertyMap::insert (qqmlpropertymap.cpp:208)
      107 libplasma5supportplugin.so      0x7c57ccc19864      [inlined] Plasma5Support::DataSource::dataUpdated (datasource.cpp:161)
      108 libplasma5supportplugin.so      0x7c57ccc19864      [inlined] Plasma5Support::DataSource::dataUpdated (datasource.cpp:157)
      109 libplasma5supportplugin.so      0x7c57ccc19864      [inlined] Plasma5Support::DataSource::qt_static_metacall (moc_datasource.cpp:268)
      110 libplasma5supportplugin.so      0x7c57ccc19864      [inlined] Plasma5Support::DataSource::dataUpdated (datasource.cpp:161)
      111 libplasma5supportplugin.so      0x7c57ccc19864      [inlined] Plasma5Support::DataSource::dataUpdated (datasource.cpp:157)
      112 libplasma5supportplugin.so      0x7c57ccc19864      [inlined] Plasma5Support::DataSource::qt_static_metacall (moc_datasource.cpp:268)
      113 libplasma5supportplugin.so      0x7c57ccc19864      [inlined] Plasma5Support::DataSource::dataUpdated (datasource.cpp:161)
      114 libplasma5supportplugin.so      0x7c57ccc19864      [inlined] Plasma5Support::DataSource::dataUpdated (datasource.cpp:157)
      115 libplasma5supportplugin.so      0x7c57ccc19864      Plasma5Support::DataSource::qt_static_metacall (moc_datasource.cpp:268)
      116 libQt6Core.so.6.8.0             0x7c57fddb23b9      doActivate<T> (qobject.cpp:4132)
      117 libPlasma5Support.so.6.1.4      0x7c57f4a3fc2d      Plasma5Support::DataContainer::dataUpdated (moc_datacontainer.cpp:264)
      118 libPlasma5Support.so.6.1.4      0x7c57f4a43ef3      Plasma5Support::DataContainer::checkForUpdate (datacontainer.cpp:343)
      119 libPlasma5Support.so.6.1.4      0x7c57f4a45d59      Plasma5Support::DataEngine::timerEvent (dataengine.cpp:326)
      120 libQt6Core.so.6.8.0             0x7c57fdda3388      QObject::event (qobject.cpp:1393)
      121 libQt6Widgets.so.6.8.0          0x7c57ffcfd559      QApplicationPrivate::notify_helper (qapplication.cpp:3294)
      122 libQt6Core.so.6.8.0             0x7c57fdd587e7      QCoreApplication::notifyInternal2 (qcoreapplication.cpp:1172)
      123 libQt6Core.so.6.8.0             0x7c57fded791e      [inlined] QCoreApplication::sendEvent (qcoreapplication.cpp:1616)
      124 libQt6Core.so.6.8.0             0x7c57fded791e      [inlined] QTimerInfoList::activateTimers (qtimerinfo_unix.cpp:426)
      125 libQt6Core.so.6.8.0             0x7c57fded791e      [inlined] QCoreApplication::sendEvent (qcoreapplication.cpp:1616)
      126 libQt6Core.so.6.8.0             0x7c57fded791e      QTimerInfoList::activateTimers (qtimerinfo_unix.cpp:426)
      127 libQt6Core.so.6.8.0             0x7c57fdfbcb88      timerSourceDispatch (qeventdispatcher_glib.cpp:152)
      128 libglib-2.0.so.0.8000.5         0x7c57fc85e298      g_main_dispatch.lto_priv.0 (gmain.c:3344)
      129 libglib-2.0.so.0.8000.5         0x7c57fc8c0ec6      [inlined] g_main_context_dispatch_unlocked (gmain.c:4152)
      130 libglib-2.0.so.0.8000.5         0x7c57fc8c0ec6      [inlined] g_main_context_iterate_unlocked.isra.0 (gmain.c:4217)
      131 libglib-2.0.so.0.8000.5         0x7c57fc8c0ec6      [inlined] g_main_context_dispatch_unlocked (gmain.c:4152)
      132 libglib-2.0.so.0.8000.5         0x7c57fc8c0ec6      g_main_context_iterate_unlocked.isra.0 (gmain.c:4217)
      133 libglib-2.0.so.0.8000.5         0x7c57fc85d794      g_main_context_iteration (gmain.c:4282)
      134 libQt6Core.so.6.8.0             0x7c57fdfbaabc      QEventDispatcherGlib::processEvents (qeventdispatcher_glib.cpp:396)
      135 libQt6Core.so.6.8.0             0x7c57fdd625a5      [inlined] QEventLoop::processEvents (qeventloop.cpp:100)
      136 libQt6Core.so.6.8.0             0x7c57fdd625a5      [inlined] QEventLoop::exec (qeventloop.cpp:191)
      137 libQt6Core.so.6.8.0             0x7c57fdd625a5      [inlined] QEventLoop::processEvents (qeventloop.cpp:100)
      138 libQt6Core.so.6.8.0             0x7c57fdd625a5      QEventLoop::exec (qeventloop.cpp:191)
      139 libQt6Core.so.6.8.0             0x7c57fdd59c6e      QCoreApplication::exec (qcoreapplication.cpp:1517)
      140 libQt6Widgets.so.6.8.0          0x7c57ffcf9989      QApplication::exec (qapplication.cpp:2562)
      141 plasmashell                     0x556e68539d85      main (main.cpp:188) 

      There are more backtraces that differ in the lower part, so it doesn't seem to be specific to a single pattern.

      See https://crash-reports.kde.org/organizations/kde/issues/4011/ (and many more Sentry reports) and bugs.kde.org reports like https://bugs.kde.org/show_bug.cgi?id=490346

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            nicolasfella Nicolas Fella
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes