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

Crash using enums

    XMLWordPrintable

Details

    • Linux/X11
    • 0a8fe228f6 (qt/qtdeclarative/dev) 0a8fe228f6 (qt/tqtc-qtdeclarative/dev) b0febdbb05 (qt/tqtc-qmlcompilerplus/6.2) 03a3d5a308 (qt/qtdeclarative/6.3) 03a3d5a308 (qt/tqtc-qtdeclarative/6.3) fa94a35ee7 (qt/qtdeclarative/6.4)

    Description

      The attached example crashes Qt 6.3.1/6.4.0-beta2 when accessing enums directly.

      For some strange reason the crash does not happen when you uncomment the console.log in the Component.onCompleted (at least the second crash).

      Also there are no crashes at all, when I run the code in the debugger. So it does look like a timing issue with the enums.

      Attachments

        Issue Links

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

          Activity

            People

              ulherman Ulf Hermann
              tobiasb Tobias Bräutigam
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: