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

[REG Qt 6.7.2-> 6.8.0-beta4] Crash in QRawFont::pathForGlyph() / black screen

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P1: Critical
    • None
    • 6.8.0 Beta4
    • GUI: Font handling
    • NDK 26.2.11394342
      Android platform 29
      Android emulator Pixel 7 (API 33) running on Mac (arm64)
    • Android

    Description

      Our app has the following behavior after a fresh install when built with Qt 6.8.0:

      1. First launch: app crashes (stack trace below)
      2. Second and sometimes third launch: UI turns black about a second after launch, but app keeps running
      3. Subsequent launches: app works fine

      The same app runs works with Qt 6.8.0 on Mac and with Qt 6.7.2 on Mac and Android.

      Crash log:

      * thread #82, name = 'QtThread', stop reason = signal SIGSEGV: invalid address (fault address: 0x1)
        * frame #0: 0x00000074ebb38f04 libQt6Gui_arm64-v8a.so`QRawFont::pathForGlyph(unsigned int) const + 44
          frame #1: 0x00000074e2d34034 libQt6Quick_arm64-v8a.so`QSGDistanceFieldGlyphCache::glyphData(unsigned int) + 100
          frame #2: 0x00000074e2d34400 libQt6Quick_arm64-v8a.so`QSGDistanceFieldGlyphCache::release(QList<unsigned int> const&) + 100
          frame #3: 0x00000074e2d52e70 libQt6Quick_arm64-v8a.so`___lldb_unnamed_symbol29007 + 120
          frame #4: 0x00000074e2d52f54 libQt6Quick_arm64-v8a.so`___lldb_unnamed_symbol29010 + 20
          frame #5: 0x00000074e2cd9228 libQt6Quick_arm64-v8a.so`QSGInternalTextNode::clear() + 28
          frame #6: 0x00000074e2cab97c libQt6Quick_arm64-v8a.so`QQuickText::updatePaintNode(QSGNode*, QQuickItem::UpdatePaintNodeData*) + 364
          frame #7: 0x00000074e2cecef8 libQt6Quick_arm64-v8a.so`QQuickWindowPrivate::updateDirtyNode(QQuickItem*) + 1764
          frame #8: 0x00000074e2ce9390 libQt6Quick_arm64-v8a.so`QQuickWindowPrivate::updateDirtyNodes() + 396
          frame #9: 0x00000074e2ce90d8 libQt6Quick_arm64-v8a.so`QQuickWindowPrivate::syncSceneGraph() + 264
          frame #10: 0x00000074e2e60ccc libQt6Quick_arm64-v8a.so`___lldb_unnamed_symbol41260 + 172
          frame #11: 0x00000074e2e612a0 libQt6Quick_arm64-v8a.so`___lldb_unnamed_symbol41263 + 1032
          frame #12: 0x00000074e2e61cec libQt6Quick_arm64-v8a.so`___lldb_unnamed_symbol41270 + 188
          frame #13: 0x00000074ed482ac0 libQt6Core_arm64-v8a.so`___lldb_unnamed_symbol23370 + 224
          frame #14: 0x000000783859a3b4 libc.so`__pthread_start(void*) + 212
          frame #15: 0x00000078385370bc libc.so`__start_thread + 68
      

      Attached is the same crash log from logcat.

      Possibly relevant logs:

      Warning: distance-field glyph is not available with index 1307
      Warning: distance-field glyph is not available with index 1307
      

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            fseiffert Frederik Seiffert
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There is 1 open Gerrit change