Unable to run wechat arm apk

Bug #1987732 reported by Terence
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Anbox Cloud
Triaged
High
Unassigned

Bug Description

Wechat arm apk crashed after running inside Anbox cloud, how can we provide more information to debug the issue?

Revision history for this message
Simon Fels (morphis) wrote :

Can you describe the problem you're seeing? Currently we have no information at all. Usually when running the appliance including the output of

* anbox-cloud-appliance.buginfo
* logs of a failed container

is the bare minimum we need.

Changed in anbox-cloud:
status: New → Incomplete
Revision history for this message
Terence (terencetwork) wrote :
Download full text (48.4 KiB)

Here's the log from logcat

08-30 14:09:06.469 25183 25183 E LoadedApk: Unable to instantiate appComponentFactory
08-30 14:09:06.469 25183 25183 E LoadedApk: java.lang.ClassNotFoundException: Didn't find class "androidx.core.app.CoreComponentFactory" on path: DexPathList[[zip file "/data/app/~~uHHX6pD3GWchsZ4LPWIx3A==/com.tencent.mm-Uknj3GJWqYeE-TjKC59FVw==/base.apk", zip file "/data/app/~~uHHX6pD3GWchsZ4LPWIx3A==/com.tencent.mm-Uknj3GJWqYeE-TjKC59FVw==/split_config.arm64_v8a.apk", zip file "/data/app/~~uHHX6pD3GWchsZ4LPWIx3A==/com.tencent.mm-Uknj3GJWqYeE-TjKC59FVw==/split_config.en.apk", zip file "/data/app/~~uHHX6pD3GWchsZ4LPWIx3A==/com.tencent.mm-Uknj3GJWqYeE-TjKC59FVw==/split_config.hdpi.apk"],nativeLibraryDirectories=[/data/app/~~uHHX6pD3GWchsZ4LPWIx3A==/com.tencent.mm-Uknj3GJWqYeE-TjKC59FVw==/lib/arm64, /data/app/~~uHHX6pD3GWchsZ4LPWIx3A==/com.tencent.mm-Uknj3GJWqYeE-TjKC59FVw==/base.apk!/lib/arm64-v8a, /data/app/~~uHHX6pD3GWchsZ4LPWIx3A==/com.tencent.mm-Uknj3GJWqYeE-TjKC59FVw==/split_config.arm64_v8a.apk!/lib/arm64-v8a, /data/app/~~uHHX6pD3GWchsZ4LPWIx3A==/com.tencent.mm-Uknj3GJWqYeE-TjKC59FVw==/split_config.en.apk!/lib/arm64-v8a, /data/app/~~uHHX6pD3GWchsZ4LPWIx3A==/com.tencent.mm-Uknj3GJWqYeE-TjKC59FVw==/split_config.hdpi.apk!/lib/arm64-v8a, /system/lib64, /system/system_ext/lib64, /system/product/lib64]]
08-30 14:09:06.469 25183 25183 E LoadedApk: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:218)
08-30 14:09:06.469 25183 25183 E LoadedApk: at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
08-30 14:09:06.469 25183 25183 E LoadedApk: at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
08-30 14:09:06.469 25183 25183 E LoadedApk: at android.app.LoadedApk.createAppFactory(LoadedApk.java:262)
08-30 14:09:06.469 25183 25183 E LoadedApk: at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:975)
08-30 14:09:06.469 25183 25183 E LoadedApk: at android.app.LoadedApk.getClassLoader(LoadedApk.java:1062)
08-30 14:09:06.469 25183 25183 E LoadedApk: at android.app.LoadedApk.getResources(LoadedApk.java:1310)
08-30 14:09:06.469 25183 25183 E LoadedApk: at android.app.ContextImpl.createAppContext(ContextImpl.java:3011)
08-30 14:09:06.469 25183 25183 E LoadedApk: at android.app.ContextImpl.createAppContext(ContextImpl.java:3003)
08-30 14:09:06.469 25183 25183 E LoadedApk: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6622)
08-30 14:09:06.469 25183 25183 E LoadedApk: at android.app.ActivityThread.access$1500(ActivityThread.java:247)
08-30 14:09:06.469 25183 25183 E LoadedApk: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2053)
08-30 14:09:06.469 25183 25183 E LoadedApk: at android.os.Handler.dispatchMessage(Handler.java:106)
08-30 14:09:06.469 25183 25183 E LoadedApk: at android.os.Looper.loopOnce(Looper.java:201)
08-30 14:09:06.469 25183 25183 E LoadedApk: at android.os.Looper.loop(Looper.java:288)
08-30 14:09:06.469 25183 25183 E LoadedApk: at android.app.ActivityThread.main(ActivityThread.java:7838)
08-30 14:09:06.469 25183 25183 E LoadedApk: at java.lang.reflect.Method.invoke(Native Method)
08-30 14:09:06.469 25183 25183 E LoadedApk:...

Revision history for this message
Terence (terencetwork) wrote :
Download full text (48.1 KiB)

08-30 15:17:41.814 144721 13649 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-30 15:17:41.814 144721 13649 F DEBUG : Build fingerprint: 'Android/anbox_arm64/arm64:12/SP1A.210812.016/eng.jenkin.20220808.184815:user/release-keys'
08-30 15:17:41.814 144721 13649 F DEBUG : Revision: '0'
08-30 15:17:41.814 144721 13649 F DEBUG : ABI: 'arm64'
08-30 15:17:41.814 144721 13649 F DEBUG : Timestamp: 2022-08-30 15:17:41.551228189+0000
08-30 15:17:41.814 144721 13649 F DEBUG : Process uptime: -168s
08-30 15:17:41.814 144721 13649 F DEBUG : Cmdline: com.tencent.mm:toolsmp
08-30 15:17:41.814 144721 13649 F DEBUG : pid: 144573, tid: 144573, name: cent.mm:toolsmp >>> com.tencent.mm:toolsmp <<<
08-30 15:17:41.814 144721 13649 F DEBUG : uid: 10086
08-30 15:17:41.814 144721 13649 F DEBUG : tagged_addr_ctrl: 0000000000000001
08-30 15:17:41.814 144721 13649 F DEBUG : signal 5 (SIGTRAP), code 1 (TRAP_BRKPT), fault addr 0xfffc6786ee48
08-30 15:17:41.814 144721 13649 F DEBUG : x0 0000000000000000 x1 0000ffffee92a5d0 x2 0000fffc64bb3d89 x3 0000000000000000
08-30 15:17:41.814 144721 13649 F DEBUG : x4 0000000000000010 x5 0000000000000000 x6 0000000000000000 x7 72635f626577783a
08-30 15:17:41.814 144721 13649 F DEBUG : x8 0000000000000065 x9 8000000000000000 x10 00000000000493e0 x11 0000000000000000
08-30 15:17:41.814 144721 13649 F DEBUG : x12 0000000000000010 x13 0000000000000008 x14 0000000000000010 x15 0000000000000010
08-30 15:17:41.814 144721 13649 F DEBUG : x16 0000fffc6a1ceb98 x17 0000ffff8dfedd70 x18 0000000000000052 x19 0000ffffee92a680
08-30 15:17:41.814 144721 13649 F DEBUG : x20 0000000000000036 x21 0000fffc64ba6972 x22 0000000000000003 x23 0000ffffee92a680
08-30 15:17:41.814 144721 13649 F DEBUG : x24 0000ffffee92af00 x25 0000ffffabd4d000 x26 0000ffffabd4d000 x27 0000ffffee92a888
08-30 15:17:41.815 144721 13649 F DEBUG : x28 0000fffc6a1de9d0 x29 0000ffffee92a610
08-30 15:17:41.815 144721 13649 F DEBUG : lr 0000fffc6786ee48 sp 0000ffffee92a610 pc 0000fffc6786ee48 pst 0000000000001000
08-30 15:17:41.815 144721 13649 F DEBUG : backtrace:
08-30 15:17:41.815 144721 13649 F DEBUG : #00 pc 0000000003735e48 /data/data/com.tencent.mm/app_xwalk_3171/extracted_xwalkcore/libxwalkcore.so (BuildId: 08054b7cae820f2e)
08-30 15:17:41.815 144721 13649 F DEBUG : #01 pc 0000000003777654 /data/data/com.tencent.mm/app_xwalk_3171/extracted_xwalkcore/libxwalkcore.so (BuildId: 08054b7cae820f2e)
08-30 15:17:41.815 144721 13649 F DEBUG : #02 pc 0000000003777ba4 /data/data/com.tencent.mm/app_xwalk_3171/extracted_xwalkcore/libxwalkcore.so (BuildId: 08054b7cae820f2e)
08-30 15:17:41.815 144721 13649 F DEBUG : #03 pc 00000000037fcc70 /data/data/com.tencent.mm/app_xwalk_3171/extracted_xwalkcore/libxwalkcore.so (BuildId: 08054b7cae820f2e)
08-30 15:17:41.815 144721 13649 F DEBUG : #04 pc 0000000002b7e6a8 /data/data/com.tencent.mm/app_xwalk_3171/extracted_xwalkcore/libxwalkcore.so (BuildId: 08054b7cae820f2e)
08-30 15:17:41.815 144721 13649 F DEBUG : #05 pc 0000000003a367c8 /data/data/com.tence...

Revision history for this message
Terence (terencetwork) wrote :
Download full text (728.2 KiB)

130|:/data/tombstones # cat tombstone_00
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'Android/anbox_arm64/arm64:12/SP1A.210812.016/eng.jenkin.20220808.184815:user/release-keys'
Revision: '0'
ABI: 'arm64'
Timestamp: 2022-08-30 15:17:13.740687678+0000
Process uptime: -160s
Cmdline: com.tencent.mm:toolsmp
pid: 144165, tid: 144165, name: cent.mm:toolsmp >>> com.tencent.mm:toolsmp <<<
uid: 10086
tagged_addr_ctrl: 0000000000000001
signal 5 (SIGTRAP), code 1 (TRAP_BRKPT), fault addr 0xfffc62cb1e48
    x0 0000000000000000 x1 0000ffffee92c070 x2 0000fffc5fff6d89 x3 0000000000000000
    x4 0000000000000010 x5 0000000000000000 x6 0000000000000000 x7 72635f626577783a
    x8 0000000000000065 x9 8000000000000000 x10 00000000000493e0 x11 0000000000000000
    x12 0000000000000014 x13 0000000000000008 x14 0000000000000010 x15 0000000000000010
    x16 0000fffc65611b98 x17 0000ffff8dfedd70 x18 0000000000000052 x19 0000ffffee92c120
    x20 0000000000000036 x21 0000fffc5ffe9972 x22 0000000000000003 x23 0000ffffee92c120
    x24 0000ffffee92c9a0 x25 0000ffffabd4d000 x26 0000ffffabd4d000 x27 0000ffffee92c328
    x28 0000fffc656219d0 x29 0000ffffee92c0b0
    lr 0000fffc62cb1e48 sp 0000ffffee92c0b0 pc 0000fffc62cb1e48 pst 0000000000001000

backtrace:
      #00 pc 0000000003735e48 /data/data/com.tencent.mm/app_xwalk_3171/extracted_xwalkcore/libxwalkcore.so (BuildId: 08054b7cae820f2e)
      #01 pc 0000000003777654 /data/data/com.tencent.mm/app_xwalk_3171/extracted_xwalkcore/libxwalkcore.so (BuildId: 08054b7cae820f2e)
      #02 pc 0000000003777ba4 /data/data/com.tencent.mm/app_xwalk_3171/extracted_xwalkcore/libxwalkcore.so (BuildId: 08054b7cae820f2e)
      #03 pc 00000000037fcc70 /data/data/com.tencent.mm/app_xwalk_3171/extracted_xwalkcore/libxwalkcore.so (BuildId: 08054b7cae820f2e)
      #04 pc 0000000002b7e6a8 /data/data/com.tencent.mm/app_xwalk_3171/extracted_xwalkcore/libxwalkcore.so (BuildId: 08054b7cae820f2e)
      #05 pc 0000000003a367c8 /data/data/com.tencent.mm/app_xwalk_3171/extracted_xwalkcore/libxwalkcore.so (BuildId: 08054b7cae820f2e)
      #06 pc 0000000003a36adc /data/data/com.tencent.mm/app_xwalk_3171/extracted_xwalkcore/libxwalkcore.so (BuildId: 08054b7cae820f2e)
      #07 pc 0000000003bdf398 /data/data/com.tencent.mm/app_xwalk_3171/extracted_xwalkcore/libxwalkcore.so (BuildId: 08054b7cae820f2e)
      #08 pc 00000000023ef540 /data/data/com.tencent.mm/app_xwalk_3171/extracted_xwalkcore/libxwalkcore.so (BuildId: 08054b7cae820f2e)
      #09 pc 000000000371b574 /data/data/com.tencent.mm/app_xwalk_3171/extracted_xwalkcore/libxwalkcore.so (BuildId: 08054b7cae820f2e)
      #10 pc 0000000005bd1438 /data/data/com.tencent.mm/app_xwalk_3171/extracted_xwalkcore/libxwalkcore.so (BuildId: 08054b7cae820f2e)
      #11 pc 0000000005bd179c /data/data/com.tencent.mm/app_xwalk_3171/extracted_xwalkcore/libxwalkcore.s...

Revision history for this message
Simon Fels (morphis) wrote :

Thanks for the logs but we still know only very little of what you're doing. Can you provide all what is asked for in comment #1?

Thanks!

Revision history for this message
Terence (terencetwork) wrote :

I've added

* anbox-cloud-appliance.buginfo
* amc logs
* /data/tombstones/tombstone_00

Revision history for this message
Terence (terencetwork) wrote :

To Replicate, there are 2 cases

Case 1
- Start an android instance
- Install Wechat 8.0.21 APK for Android
- Enter phone number and Login (App not proceeding)

Case 2
- Start an android instance
- Install Wechat 8.0.21 APK for Android
- Enter phone number and Login (App proceed)
- However, app crash with database require repair

Simon Fels (morphis)
Changed in anbox-cloud:
status: Incomplete → Triaged
importance: Undecided → High
Revision history for this message
Simon Fels (morphis) wrote :

What Android version have you tried this on? We have seen issues with such apps on newer Android versions like 12. If you tried on 12 can you check on 10 and 11 as well?

If that doesn't work we will have a closer look.

Revision history for this message
Terence (terencetwork) wrote :

I don’t have Android 10 as my selection
Would you be able to provide android 10 image ?

Revision history for this message
Simon Fels (morphis) wrote :

Every Anbox Cloud installation comes with images for all supported Android versions which are currently 10, 11 and 12 (see https://anbox-cloud.io/docs/ref/provided-images). You can simply select a different image in your app manifest.yaml like this:

name: my-app
image: jammy:android10:arm64
...

Revision history for this message
Terence (terencetwork) wrote :

Tried all

jammy:android10
jammy:android11
jammy:android12

All are not working

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.