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

Crash in QV4::Value::as<QV4::QQmlValueTypeWrapper const> on init

    XMLWordPrintable

    Details

      Description

      We get many crashes reported when creating a QQmlComponent. Unfortunately I do not know what input values trigger the crash. Relevant part of the crash:

      Thread 1 (Thread 0x7f1aa8d30840 (LWP 810)): [KCrash Handler]
      #5 QV4::Value::as<QV4::QQmlValueTypeWrapper const> (this=0x7f19e9640320) at /tmp/makepkg/qt5-declarative-debug/src/qtdeclarative-opensource-src-5.6.0/include/QtQml/5.6.0/QtQml/private/../../../../../src/qml/jsruntime/qv4value_p.h:349
      #6 QQmlBinding::write (this=this@entry=0x233b2b0, core=..., result=..., isUndefined=<optimized out>, flags=...) at /tmp/makepkg/qt5-declarative-debug/src/qtdeclarative-opensource-src-5.6.0/src/qml/qml/qqmlbinding.cpp:257
      #7 0x00007f1aa051dcda in QQmlBinding::update (this=0x233b2b0, flags=...) at /tmp/makepkg/qt5-declarative-debug/src/qtdeclarative-opensource-src-5.6.0/src/qml/qml/qqmlbinding.cpp:191
      #8 0x00007f1aa0526adf in QQmlObjectCreator::finalize (this=0x1edb1b0, interrupt=...) at /tmp/makepkg/qt5-declarative-debug/src/qtdeclarative-opensource-src-5.6.0/src/qml/qml/qqmlobjectcreator.cpp:1191
      #9 0x00007f1aa04b326e in QQmlComponentPrivate::complete (enginePriv=0x11aab70, state=0x1754580) at /tmp/makepkg/qt5-declarative-debug/src/qtdeclarative-opensource-src-5.6.0/src/qml/qml/qqmlcomponent.cpp:912
      #10 0x00007f1aa04b3337 in QQmlComponentPrivate::completeCreate (this=0x17544e0) at /tmp/makepkg/qt5-declarative-debug/src/qtdeclarative-opensource-src-5.6.0/src/qml/qml/qqmlcomponent.cpp:948
      #11 0x00007f1aa04b31a0 in QQmlComponent::create (this=0x1754390, context=0x21e79b0) at /tmp/makepkg/qt5-declarative-debug/src/qtdeclarative-opensource-src-5.6.0/src/qml/qml/qqmlcomponent.cpp:774
      #12 0x00007f1a80424d1d in Aurorae::Decoration::init (this=0x21e28b0) at /home/build/kwin/src/kwin-5.6.4/clients/aurorae/src/aurorae.cpp:316
      

      Downstream bug report: https://bugs.kde.org/show_bug.cgi?id=361236

      Similar bug report for version before Qt 5.6 is: https://bugs.kde.org/show_bug.cgi?id=351839

        Attachments

        1. kw.txt
          19 kB
        2. stack.txt
          46 kB

          Issue Links

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

            Activity

              People

              • Assignee:
                erikv Erik Verbruggen
                Reporter:
                mgraesslin Martin Gräßlin
              • Votes:
                6 Vote for this issue
                Watchers:
                14 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes