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

QML Crash when an element has "property int id"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.3.0 Beta1
    • Fix Version/s: 5.3.1
    • Labels:
      None
    • Environment:
      latest qtdeclarative stable branch on Gentoo Linux
    • Commits:
      228fe20d82c15b713f773b5cfc33910d3457fb63 (qtdeclarative)

      Description

      import QtQml 2.0

      QtObject {
      id: root
      property int id
      }

      crashes with the error message
      ASSERT: "binding->type == QV4::CompiledData::Binding::Type_Number" in file .../qt5/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp, line 405

      https://qt.gitorious.org/qt/qtdeclarative/source/aedcd57c84ac9d6b74816c13bdf3fde31e1132b5:src/qml/qml/qqmlobjectcreator.cpp#L405

        Attachments

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

          Activity

            People

            • Assignee:
              shausman Simon Hausmann
              Reporter:
              tasuku.suzuki Tasuku Suzuki
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes