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

qaccessibility fails on Android

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 6.0
    • Fix Version/s: None
    • Component/s: Other
    • Labels:
      None
    • Platform/s:
      Android

      Description

      qaccessibility fails on Android, might be because it times out before the test is done, or the test gets stuck, see screenshot, the test gets stuck in that view for a good amount of time

      cd qaccessibility/ && ( test -e Makefile || /media/assam/Uusi_asema/Qt-dev/6.0.0/install/linux/gcc_64/bin/qmake -o Makefile /home/assam/sources/qt5/qt5/qtbase/tests/auto/other/qaccessibility/qaccessibility.pro -after QT+=gui -qtconf /media/assam/Uusi_asema/Qt-dev/6.0.0/install/linux/android_x86/bin/target_qt.conf ) && make -f Makefile check
      make[1]: Entering directory '/media/assam/Uusi_asema/Qt-dev/tests/qtbase/auto/other/qaccessibility'
      /media/assam/Uusi_asema/Qt-dev/6.0.0/install/linux/gcc_64/bin/androidtestrunner --path "/media/assam/Uusi_asema/Qt-dev/tests/qtbase/auto/other/qaccessibility/android-build" --adb "/home/assam/Android/Sdk/platform-tools/adb" --make "make apk" --apk /media/assam/Uusi_asema/Qt-dev/tests/qtbase/auto/other/qaccessibility/android-build/tst_qaccessibility.apk  --
      Makefile:448: recipe for target 'check' failed
      make[1]: Leaving directory '/media/assam/Uusi_asema/Qt-dev/tests/qtbase/auto/other/qaccessibility'
      Makefile:1185: recipe for target 'sub-qaccessibility-check' failed

      UPDATE:

      After increasing the test timeout, the test app crashes with:

      10-16 12:39:53.457 18233 18249 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 18249 (QtTest Watchdog)
      10-16 12:39:53.516  1307  1307 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
      10-16 12:39:53.516  1307  1307 F DEBUG   : Build fingerprint: 'Android/sdk_phone_x86/generic_x86:6.0/MASTER/4174734:userdebug/test-keys'
      10-16 12:39:53.516  1307  1307 F DEBUG   : Revision: '0'
      10-16 12:39:53.516  1307  1307 F DEBUG   : ABI: 'x86'
      10-16 12:39:53.516  1307  1307 F DEBUG   : pid: 18233, tid: 18249, name: QtTest Watchdog  >>> org.qtproject.example.tst_qaccessibility <<<
      10-16 12:39:53.516  1307  1307 F DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
      10-16 12:39:53.530  1307  1307 F DEBUG   :     eax 00000000  ebx 00004739  ecx 00004749  edx 00000006
      10-16 12:39:53.530  1307  1307 F DEBUG   :     esi a1bff980  edi 00000000
      10-16 12:39:53.530  1307  1307 F DEBUG   :     xcs 00000073  xds 0000007b  xes 0000007b  xfs 0000004f  xss 0000007b
      10-16 12:39:53.530  1307  1307 F DEBUG   :     eip b73ab8d6  ebp 00004749  esp a1bff6f0  flags 00200206
      10-16 12:39:53.539  1307  1307 F DEBUG   : 
      10-16 12:39:53.539  1307  1307 F DEBUG   : backtrace:
      10-16 12:39:53.539  1307  1307 F DEBUG   :     #00 pc 000838d6  /system/lib/libc.so (tgkill+22)
      10-16 12:39:53.539  1307  1307 F DEBUG   :     #01 pc 000815f8  /system/lib/libc.so (pthread_kill+70)
      10-16 12:39:53.539  1307  1307 F DEBUG   :     #02 pc 00027205  /system/lib/libc.so (raise+36)
      10-16 12:39:53.539  1307  1307 F DEBUG   :     #03 pc 000209e4  /system/lib/libc.so (abort+80)
      10-16 12:39:53.539  1307  1307 F DEBUG   :     #04 pc 002df5d4  /data/app/org.qtproject.example.tst_qaccessibility-2/lib/x86/libQt6Core_x86.so (offset 0x2d8000)
      10-16 12:39:53.539  1307  1307 F DEBUG   :     #05 pc 002e015d  /data/app/org.qtproject.example.tst_qaccessibility-2/lib/x86/libQt6Core_x86.so (offset 0x2d8000) (QMessageLogger::fatal(char const*, ...) const+137)
      10-16 12:39:53.539  1307  1307 F DEBUG   :     #06 pc 0003758d  /data/app/org.qtproject.example.tst_qaccessibility-2/lib/x86/libQt6Test_x86.so (offset 0x20000)
      10-16 12:39:53.539  1307  1307 F DEBUG   :     #07 pc 0046a8f2  /data/app/org.qtproject.example.tst_qaccessibility-2/lib/x86/libQt6Core_x86.so (offset 0x2d8000)
      10-16 12:39:53.539  1307  1307 F DEBUG   :     #08 pc 00080aa3  /system/lib/libc.so (__pthread_start(void*)+56)
      10-16 12:39:53.540  1307  1307 F DEBUG   :     #09 pc 00021952  /system/lib/libc.so (__start_thread+25)
      10-16 12:39:53.540  1307  1307 F DEBUG   :     #10 pc 000170b6  /system/lib/libc.so (__bionic_clone+70)
      10-16 12:39:53.592  1307  1307 F DEBUG   : 
      10-16 12:39:53.592  1307  1307 F DEBUG   : Tombstone written to: /data/tombstones/tombstone_00
      

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              qtandroidteam Qt Android Team
              Reporter:
              assam Assam Boudjelthia
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes