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

QML alias triggers ASSERT coreIndex >= 0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • 6.8
    • 6.7, 6.8
    • None
    • All

    Description

      Specifically crafted aliases triggers assert failure in QML code:

      ---------------------------
      Microsoft Visual C++ Runtime Library
      ---------------------------
      Debug Error!
      
      Program: C:\Qt\6.7.0\msvc2019_64\bin\Qt6Cored.dll
      Module: 6.7.0
      File: C:/Users/qt/work/qt/qtdeclarative/src/qml/qml/qqmldata_p.h
      Line: 371
      
      ASSERT: "coreIndex >= 0" in file C:/Users/qt/work/qt/qtdeclarative/src/qml/qml/qqmldata_p.h, line 371
      

      Attached is the minimal app reproducing the issue.

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            jakoivik Jarkko Koivikko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change