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

Android: Crash in QQuickImageBase::loadPixmap / QResourcePrivate::ensureInitialized

    XMLWordPrintable

Details

    • Android
    • 2022wk44FOQtforAndroid, 2022wk46FOQtforAndroid, 2022wk48FOQtforAndroid

    Description

      We are seeing a large number of the following crashes, where the Play Console shows them to be on Android 11 and Samsung Galaxy devices only, but Firebase also has them for Android 10 (45%) and other devices such as HUAWEI and Xiaomi.

      backtrace:
        #00  pc 0000000000089cd0  /apex/com.android.runtime/lib64/bionic/libc.so (abort+164)
        #00  pc 000000000009e08c  /apex/com.android.runtime/lib64/bionic/libc.so (__stack_chk_fail+20)
        #00  pc 00000000003f2edc  /data/app/id/com.our.app/lib/arm64/libQt5Core_arm64-v8a.so (QResourcePrivate::ensureInitialized() const) (SourceCode: qresource.cpp)
        #00  pc 00000000003f34a0  /data/app/id/com.our.app/lib/arm64/libQt5Core_arm64-v8a.so (QResource::isValid() const)
        #00  pc 00000000003f47f8  /data/app/id/com.our.app/lib/arm64/libQt5Core_arm64-v8a.so (QResourceFileEngine::fileFlags(QFlags<QAbstractFileEngine::FileFlag>) const) (SourceCode: qresource.cpp)
        #00  pc 00000000003e8004  /data/app/id/com.our.app/lib/arm64/libQt5Core_arm64-v8a.so (QFileInfoPrivate::getFileFlags(QFlags<QAbstractFileEngine::FileFlag>) const) (SourceCode: qfileinfo.cpp)
        #00  pc 00000000003e8710  /data/app/id/com.our.app/lib/arm64/libQt5Core_arm64-v8a.so (QFileInfo::exists() const)
        #00  pc 00000000003e87dc  /data/app/id/com.our.app/lib/arm64/libQt5Core_arm64-v8a.so (QFileInfo::exists(QString const&))
        #00  pc 0000000000405eec  /data/app/id/com.our.app/lib/arm64/libQt5Core_arm64-v8a.so (QFileSelectorPrivate::selectionHelper(QString const&, QString const&, QStringList const&, QChar const&))
        #00  pc 0000000000405948  /data/app/id/com.our.app/lib/arm64/libQt5Core_arm64-v8a.so (QFileSelectorPrivate::select(QString const&) const)
        #00  pc 0000000000405b3c  /data/app/id/com.our.app/lib/arm64/libQt5Core_arm64-v8a.so (QFileSelector::select(QUrl const&) const)
        #00  pc 00000000002f8228  /data/app/id/com.our.app/lib/arm64/libQt5Quick_arm64-v8a.so (QQuickImageBase::loadPixmap(QUrl const&, QFlags<QQuickImageBase::LoadPixmapOption>))

      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
              fseiffert Frederik Seiffert
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes