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

Unicode "medium black circle" in QML causes crashes on Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3: Somewhat important
    • 5.15.2
    • 5.9.2
    • None
    • Android 6.0.1
    • Android
    • 2021wk02

    Description

      I've created a minimal test case which illustrates this. Basically, when putting the ⚫ character (Unicode "medium black circle") in the text property of a QtQuick Text item, your app will crash intermittently on Android. The QML file is encoded in UTF-8 (this apparently is the only encoding allowed for QML, at least as far as I can tell by web search). The crash happens whether the string is plain or uses qsTr(). I've also tested some other non-ASCII Unicode characters which don't seem to cause a crash.

      The backtraces I have gotten from the crashes are not at all consistent with each other.

      Attachments

        Issue Links

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

          Activity

            People

              rampe Rami Potinkara
              j.craig Jason Craig
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes