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

Crash with QML inspector enabled when QQuickWidget/QQuickView instances involved

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.4.0 RC
    • Fix Version/s: 5.4.0
    • Labels:
      None
    • Commits:
      fdf004803d036583f58ceb832803cfe39c6ba6d8

      Description

      Please see attached test case.

      Running this example through GDB with the QML inspector enabled crashes instantly.

      Backtrace:
      0 __GI_raise raise.c 56 0x7ffff533dd27
      1 __GI_abort abort.c 89 0x7ffff533f418
      2 qt_message_fatal qlogging.cpp 1411 0x7ffff5c9705c
      3 QMessageLogger::fatal qlogging.cpp 639 0x7ffff5c93748
      4 qt_assert qglobal.cpp 2810 0x7ffff5c8d19d
      5 QmlJSDebugger::QtQuick2::QtQuick2Plugin::activate qtquick2plugin.cpp 62 0x7fffe05f4a6e
      6 QQmlInspectorService::updateState qqmlinspectorservice.cpp 120 0x7ffff665fe45
      7 QQmlInspectorService::removeView qqmlinspectorservice.cpp 73 0x7ffff665f98b
      8 QQuickViewPrivate::~QQuickViewPrivate qquickview.cpp 101 0x7ffff7b5d83b
      9 QQuickViewPrivate::~QQuickViewPrivate qquickview.cpp 102 0x7ffff7b5d8f4
      10 QScopedPointerDeleter<QObjectData>::cleanup qscopedpointer.h 54 0x7ffff5f8adc8
      11 QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::~QScopedPointer qscopedpointer.h 101 0x7ffff5f89237
      12 QObject::~QObject qobject.cpp 882 0x7ffff5f7dfc4
      13 QWindow::~QWindow qwindow.cpp 202 0x7ffff69dc6bf
      14 QQuickWindow::~QQuickWindow qquickwindow.cpp 1100 0x7ffff7a7080f
      15 QQuickView::~QQuickView qquickview.cpp 220 0x7ffff7b5dee7
      16 QQuickView::~QQuickView qquickview.cpp 227 0x7ffff7b5df20
      17 main main.cpp 22 0x40130e

        Attachments

        For Gerrit Dashboard: QTBUG-43048
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            ulherman Ulf Hermann
            Reporter:
            krf Kevin Funk
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes