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

Segfault when running qmlplugindump on Qt Quick Templates

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.11.0 Beta 1
    • 5.11
    • Quick: Controls 2
    • None
    • Ubuntu 16.04
    • 632da6a9871c9b37e8e319eafd9769c6339b8eae

    Description

      Running this command

      /dev/qt5.11-debug/qtbase/bin/qmlplugindump -nonrelocatable -dependencies dependencies.json QtQuick.Templates 2.4
      

      gives this error message:

      Error: SEGV
      While processing the property 'QQuickDialog::contentItem', which probably has uninitialized data.
      

      and this backtrace:

      gdb backtrace
      Thread 1 "qmlplugindump" received signal SIGSEGV, Segmentation fault.
      QtQuickPrivate::cancelDeferred (object=object@entry=0x4a3c80, propertyIndex=26) at /home/mitch/dev/qt5.11/qtquickcontrols2/src/quicktemplates2/qquickdeferredexecute.cpp:61
      61          auto dit = ddata->deferredData.rbegin();
      (gdb) bt
      #0  QtQuickPrivate::cancelDeferred (object=object@entry=0x4a3c80, propertyIndex=26) at /home/mitch/dev/qt5.11/qtquickcontrols2/src/quicktemplates2/qquickdeferredexecute.cpp:61
      #1  0x00007fffede031a6 in QtQuickPrivate::cancelDeferred (object=0x4a3c80, property=...) at /home/mitch/dev/qt5.11/qtquickcontrols2/src/quicktemplates2/qquickdeferredexecute.cpp:131
      #2  0x00007fffede23257 in quickCancelDeferred (property=..., object=<optimised out>) at /home/mitch/dev/qt5.11/qtquickcontrols2/src/quicktemplates2/qquickdeferredexecute_p_p.h:75
      #3  QQuickPopupItemPrivate::cancelContentItem (this=<optimised out>) at /home/mitch/dev/qt5.11/qtquickcontrols2/src/quicktemplates2/qquickpopupitem.cpp:123
      #4  0x00007fffeddfea87 in QQuickControlPrivate::setContentItem_helper (this=this@entry=0x4a4220, item=0x4a4c80, notify=notify@entry=false) at /home/mitch/dev/qt5.11/qtquickcontrols2/src/quicktemplates2/qquickcontrol.cpp:302
      #5  0x00007fffede008de in QQuickControl::contentItem (this=<optimised out>) at /home/mitch/dev/qt5.11/qtquickcontrols2/src/quicktemplates2/qquickcontrol.cpp:1364
      #6  0x00007fffede2135e in QQuickPopup::contentItem (this=<optimised out>) at /home/mitch/dev/qt5.11/qtquickcontrols2/src/quicktemplates2/qquickpopup.cpp:1635
      #7  0x00007fffede5630b in QQuickPopup::qt_static_metacall (_o=_o@entry=0x4a3c80, _c=_c@entry=QMetaObject::ReadProperty, _id=_id@entry=25, _a=_a@entry=0x7fffffffd430) at .moc/moc_qquickpopup_p.cpp:1007
      #8  0x00007fffede5689f in QQuickPopup::qt_metacall (this=this@entry=0x4a3c80, _c=_c@entry=QMetaObject::ReadProperty, _id=25, _a=_a@entry=0x7fffffffd430) at .moc/moc_qquickpopup_p.cpp:1143
      #9  0x00007fffede12d71 in QQuickMenu::qt_metacall (this=0x4a3c80, _c=QMetaObject::ReadProperty, _id=<optimised out>, _a=0x7fffffffd430) at .moc/moc_qquickmenu_p.cpp:425
      #10 0x00007ffff6438e73 in QMetaObject::metacall (object=object@entry=0x4a3c80, cl=cl@entry=QMetaObject::ReadProperty, idx=<optimised out>, argv=argv@entry=0x7fffffffd430) at /home/mitch/dev/qt5.11/qtbase/src/corelib/kernel/qmetaobject.cpp:301
      #11 0x00007ffff643f70f in QMetaProperty::read (this=this@entry=0x7fffffffd4f0, object=object@entry=0x4a3c80) at /home/mitch/dev/qt5.11/qtbase/src/corelib/kernel/qmetaobject.cpp:3105
      #12 0x0000000000407d0b in collectReachableMetaObjects (object=object@entry=0x4a3c80, metas=metas@entry=0x7fffffffd930) at /home/mitch/dev/qt5.11/qtdeclarative/tools/qmlplugindump/main.cpp:139
      #13 0x000000000040a69d in collectReachableMetaObjects (engine=engine@entry=0x7fffffffd960, noncreatables=..., singletons=..., skip=...) at /home/mitch/dev/qt5.11/qtdeclarative/tools/qmlplugindump/main.cpp:337
      #14 0x000000000040cef2 in main (argc=6, argv=<optimised out>) at /home/mitch/dev/qt5.11/qtdeclarative/tools/qmlplugindump/main.cpp:1272
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: