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

tst_selftests 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: Testing: qtestlib
    • Labels:
      None
    • Platform/s:
      Android

      Description

      tst_selftests fails on Android because QTemporaryDir cannot create a directory on Android

      11-14 23:34:07.067 31724 31886 F libtst_selftests_arm64-v8a.so: Could not create temp directory: Read-only file system
      --------- beginning of crash
      11-14 23:34:07.068 31724 31886 F libc    : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 31886 (qtMainLoopThrea), pid 31724 (e.tst_selftests)
      11-14 23:34:07.079 31724 31822 D OpenGLRenderer: makeCurrent EglSurface : 0x0 -> 0x0
      11-14 23:34:07.085 31724 31822 I mali_winsys: new_window_surface() [1440x2960] return: 0x3000
      11-14 23:34:07.087 31724 31822 D OpenGLRenderer: makeCurrent EglSurface : 0x0 -> 0x707eb02b00
      11-14 23:34:07.090  4171  4171 I hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.mapper@3.0::IMapper/default in either framework or device manifest.
      11-14 23:34:07.090 31724 31822 W Gralloc3: mapper 3.x is not supported
      11-14 23:34:07.092 31724 31822 I gralloc : Arm Module v1.0
      11-14 23:34:07.094  4958  4992 I ActivityManager: Killing 30047:com.samsung.storyservice/5004 (adj 999): empty #25
      11-14 23:34:07.103 32064 32064 E crash_dump64: unknown process state: t
      11-14 23:34:07.119 32064 32064 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
      11-14 23:34:07.123  4743  4743 I /system/bin/tombstoned: received crash request for pid 31886
      11-14 23:34:07.126 32064 32064 I crash_dump64: performing dump of process 31724 (target tid = 31886)
      11-14 23:34:07.135 11136 11136 I ServiceManager: [#CMH#] Disconnected to Service  com.samsung.storyservice.StoryService
      11-14 23:34:07.135  4958  4992 W ActivityManager: Scheduling restart of crashed service com.samsung.storyservice/.StoryService in 10313ms
      11-14 23:34:07.135 11136 11136 I chatty  : uid=5004(vendor_cmhservice) com.samsung.cmh:CMH identical 2 lines
      11-14 23:34:07.135 11136 11136 I ServiceManager: [#CMH#] Disconnected to Service  com.samsung.storyservice.StoryService
      11-14 23:34:07.135  4617  4617 I Zygote  : Process 30047 exited due to signal 9 (Killed)
      11-14 23:34:07.136 32064 32064 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
      11-14 23:34:07.136 32064 32064 F DEBUG   : Build fingerprint: 'samsung/starltexx/starlte:10/QP1A.190711.020/G960FXXSBETH2:user/release-keys'
      11-14 23:34:07.136  4958  5031 I libprocessgroup: Successfully killed process cgroup uid 5004 pid 30047 in 41ms
      11-14 23:34:07.136 32064 32064 F DEBUG   : Revision: '26'
      11-14 23:34:07.136 32064 32064 F DEBUG   : ABI: 'arm64'
      11-14 23:34:07.137 32064 32064 F DEBUG   : Timestamp: 2020-11-14 23:34:07+0200
      11-14 23:34:07.137 32064 32064 F DEBUG   : pid: 31724, tid: 31886, name: qtMainLoopThrea  >>> org.qtproject.example.tst_selftests <<<
      11-14 23:34:07.137 32064 32064 F DEBUG   : uid: 10918
      11-14 23:34:07.137 32064 32064 F DEBUG   : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
      11-14 23:34:07.137 32064 32064 F DEBUG   : Abort message: 'Could not create temp directory: Read-only file system
      11-14 23:34:07.137 32064 32064 F DEBUG   : '
      11-14 23:34:07.137 32064 32064 F DEBUG   :     x0  0000000000000000  x1  0000000000007c8e  x2  0000000000000006  x3  000000707873af70
      11-14 23:34:07.137 32064 32064 F DEBUG   :     x4  2e6761772e000000  x5  2e6761772e000000  x6  2e6761772e000000  x7  000000ffffffffff
      11-14 23:34:07.137 32064 32064 F DEBUG   :     x8  00000000000000f0  x9  000000710dc355e0  x10 0000000000000000  x11 0000000000000001
      11-14 23:34:07.137 32064 32064 F DEBUG   :     x12 000000000000ffff  x13 ffffffffffffffff  x14 0000000000000000  x15 ffffffffffffffff
      11-14 23:34:07.137 32064 32064 F DEBUG   :     x16 000000710dd038c0  x17 000000710dce0880  x18 000000701ccb2000  x19 00000000000000ac
      11-14 23:34:07.137 32064 32064 F DEBUG   :     x20 0000000000007bec  x21 00000000000000b2  x22 0000000000007c8e  x23 00000000ffffffff
      11-14 23:34:07.137 32064 32064 F DEBUG   :     x24 0000000000000000  x25 000000707873d020  x26 00000070833df0b0  x27 0000000000000000
      11-14 23:34:07.137 32064 32064 F DEBUG   :     x28 000000707873bea0  x29 000000707873b020
      11-14 23:34:07.137 32064 32064 F DEBUG   :     sp  000000707873af50  lr  000000710dc94330  pc  000000710dc94360
      11-14 23:34:07.172  4958  4992 D WindowManager: finishDrawingWindow: Window{7f8cbdc u0 org.qtproject.example.tst_selftests/org.qtproject.qt.android.bindings.QtActivity} mDrawState=DRAW_PENDING
      11-14 23:34:07.174  4958  5024 D PkgPredictorService: pkg:org.qtproject.example.tst_selftests activity:org.qtproject.qt.android.bindings.QtActivity thisTime:1788
      11-14 23:34:07.174  4958  5024 D PkgPredictorService-Collector: update activity launch time: QtActivity : 1788

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              macadder Jason McDonald
              Reporter:
              assam Assam Boudjelthia
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes