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

Crash at QtAndroidAccessibility::screenRect on Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P3: Somewhat important
    • None
    • 6.2.2
    • Extras: Android
    • None
    • Android

    Description

      I have an app published on Google Play where I actively fix bugs, after I published a new version of the app with a workaround for QTBUG-82617 the crash rate significantly reduced, but after 1000 downloads I noticed that my app also crashed with the following stack trace:

      #00  pc 0000000000038634  /data/app/my.app/lib/arm64/libplugins_platforms_qtforandroid_arm64-v8a.so (QtAndroidAccessibility::screenRect(_JNIEnv*, _jobject*, int)) (SourceCode: E:/repos/qt-everywhere-src-6.2.2/qtbase/src/plugins/platforms/android/androidjniaccessibility.cpp:168)
      #00  pc 00000000005740f4  /data/app/my.app/oat/arm64/base.odex (offset 0x53b000)
      

      what can it be?

      The crash happens rarely, actually the 64 bit version of the app crashed one time after 1000 downloads, so I have no idea on how to reproduce this on a test device.

      Device where the app crashed: Samsung Galaxy Note8 with Android 7.1 (SDK 25) 

      I am not sure if these crashes are related, but within couple days I also got another crash at qtbase/src/plugins/platforms/android/androidjniaccessibility.cpp with the following stack trace:

      #00  pc 00000000001c513e  /data/app/my.app/lib/arm/libQt6Quick_armeabi-v7a.so (QQuickItem::setAcceptedMouseButtons(QFlags<Qt::MouseButton>)) (SourceCode: E:/repos/qt-everywhere-src-6.2.2/qtdeclarative/src/quick/items/qquickitem.cpp:7605)
      #00  pc 00000000001c61f7  /data/app/my.app/lib/arm/libQt6Quick_armeabi-v7a.so (QQuickItemPrivate::addPointerHandler(QQuickPointerHandler*)) (SourceCode: E:/repos/qt-everywhere-src-6.2.2/qtdeclarative/src/quick/items/qquickitem.cpp:8842)
      #00  pc 00000000002e4337  /data/app/my.app/lib/arm/libQt6Quick_armeabi-v7a.so (QAccessibleQuickItem::role() const) (SourceCode: E:/repos/qt-everywhere-src-6.2.2/qtdeclarative/src/quick/accessible/qaccessiblequickitem.cpp:486)
      #00  pc 00000000002e483b  /data/app/my.app/lib/arm/libQt6Quick_armeabi-v7a.so (QAccessibleQuickItem::text(QAccessible::Text) const) (SourceCode: E:/repos/qt-everywhere-src-6.2.2/qtdeclarative/src/quick/accessible/qaccessiblequickitem.cpp:650)
      #00  pc 000000000001f4cb  /data/app/my.app/lib/arm/libplugins_platforms_qtforandroid_armeabi-v7a.so (QtAndroidAccessibility::descriptionForAccessibleObject_helper(_JNIEnv*, QAccessibleInterface*)) (SourceCode: E:/repos/qt-everywhere-src-6.2.2/qtbase/src/plugins/platforms/android/androidjniaccessibility.cpp:262)
      #00  pc 000000000088bff5  /data/app/my.app/oat/arm/base.odex (offset 0x635000)
      

      it happened with 32 bit version of the app on LGE LG X Android 6.0 (SDK 23)

      Attachments

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

        Activity

          People

            qtandroidteam Qt Android Team
            dmitriano Dmitry Efimov
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes