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

Android: Crash when using color fonts on x86 emulator

    XMLWordPrintable

Details

    • Task
    • Resolution: Cannot Reproduce
    • P1: Critical
    • None
    • 5.12.0
    • GUI: Text handling
    • None
    • Android

    Description

      1. Create an x86 emulator device.
      2. Run the simple example from QTBUG-70657 and input an emoji character.

      It crashes with SIGILL and the following stack trace:

      1   QRgba64::fromRgba64                             qrgba64.h                    74   0xd8508b6a 
      2   QRgba64::fromRgba64                             qrgba64.h                    79   0xd8508c28 
      3   qRgba64                                         qrgba64.h                    194  0xd862466c 
      4   QColor::rgba64                                  qcolor.cpp                   1361 0xd88b8771 
      5   QSpanData::setup                                qpaintengine_raster.cpp      4591 0xd8966a1e 
      6   QRasterPaintEngine::begin                       qpaintengine_raster.cpp      499  0xd89666f0 
      7   QPainter::begin                                 qpainter.cpp                 1822 0xd89966fa 
      8   QPainter::QPainter                              qpainter.cpp                 1486 0xd8995a06 
      9   QImageTextureGlyphCache::fillTexture            qtextureglyphcache.cpp       328  0xd8a3c169 
      10  QOpenGLTextureGlyphCache::fillTexture           qopengltextureglyphcache.cpp 433  0xd8b3fd51 
      11  QTextureGlyphCache::fillInPendingGlyphs         qtextureglyphcache.cpp       254  0xd8a3b9ce 
      12  QSGTextMaskMaterial::populate                   qsgdefaultglyphnode_p.cpp    476  0xd742de7a 
      13  QSGDefaultGlyphNode::update                     qsgdefaultglyphnode.cpp      101  0xd7426b10 
      14  QQuickTextNode::addGlyphs                       qquicktextnode.cpp           117  0xd75dff27 
      15  QQuickTextNodeEngine::addToSceneGraph           qquicktextnodeengine.cpp     791  0xd75e99e8 
      16  QQuickTextEditPrivate::addCurrentTextNodeToRoot qquicktextedit.cpp           2697 0xd763b7b6 
      17  QQuickTextEdit::updatePaintNode                 qquicktextedit.cpp           2144 0xd763ac1b 
      18  QQuickWindowPrivate::updateDirtyNode            qquickwindow.cpp             3505 0xd7528f53 
      19  QQuickWindowPrivate::updateDirtyNodes           qquickwindow.cpp             3250 0xd7511db5 
      20  QQuickWindowPrivate::syncSceneGraph             qquickwindow.cpp             436  0xd75116e5 
      ... <More>                                                                                       
      

      I am unsure if this a compilation error or an emulator error or possibly a cross-platform bug that happens when you use color fonts together with the FBO readback workaround.

      Attachments

        Issue Links

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

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              esabraha Eskil Abrahamsen Blomfeldt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes