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

Crash in QQmlAbstractBinding::removeFromObject()

    XMLWordPrintable

Details

    • Windows
    • cdcfed60e (dev), e1cfc24d3 (6.8), 0f629cbbe (tqtc/lts-6.5), 15704937b (tqtc/lts-6.2)

    Description

      The attached minimal example reproduces the issue.

      If it is simplified more it will not crash.

      If it works it will change nothing in the UI but it prints the created object to console.

      This worked at least in Qt 6.7.0.

      It behaves differently, depending if the QML-Files are added in CMake or via QRC-File.

      • top button - cmake -> assert in debug build if debugger attached no crash in any build
      • bottom button - qrc -> assert in debug build even if debugger is not attached + crash in any other build

      Cant explain that one either.

      Attachments

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

        Activity

          People

            ulherman Ulf Hermann
            Marscho Marscho
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: