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

[REG 6.5 -> 6.8] Crashes in QQmlTypeLoader threads / QQmlPropertyCache::toMetaObjectBuilder()

    XMLWordPrintable

Details

    • Android, Windows

    Description

      We recently upgraded our Windows/Android app from Qt 6.5.6 to 6.8.0 and are since seeing various crashes in QQmlTypeLoader threads at app launch, the most common one of which occurs in QQmlPropertyCache::toMetaObjectBuilder():

      (All stack traces show relative addresses to the official Qt 6.8.0 pre-built libraries.)

      Some of the crashes have associated GWP-ASan info like this in Google Play:

      [GWP-ASan]: Buffer Overflow, 6 bytes right of a 39-byte allocation at 0x739f617fd8

      Here are some of these crashes, which are also attached with the ASan info included:

      There are many other similar stack traces occurring on Android, all of them involving QQmlTypeLoader and on background threads started from QThread::exec(). I’m not entirely sure if they have the same root cause as the crashes in QQmlPropertyCache linked above, but they seemed similar enough to mention them here together. They might only be happening on Android due to GWP-ASan being active there.

      Unfortunately we’re unable to reproduce any of these issues, but I’m hoping that the provided info can give a lead. Please let me know if I can provide any further info.

       

      Attachments

        1. QQmlImports_resolveType.txt
          14 kB
          Frederik Seiffert
        2. QQmlPropertyCache_signalParameterNames.txt
          12 kB
          Frederik Seiffert

        Issue Links

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

          Activity

            People

              qtqmlteam Qt Qml Team User
              fseiffert Frederik Seiffert
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes