Skip to content

Crash on Android 13 builds for waydroid #5

@caffeinepyroxene

Description

@caffeinepyroxene

Error inside app when using cage_xtmapper.sh script:
Image

Logs:

❯ cage_xtmapper.sh --window-width 1920 --window-height 1080 --window-no-title-bar --adb                                                      ─╯
[01:19:23] Starting waydroid session
[01:19:34] Android with user 0 is ready
[01:19:34] Established ADB connection to Waydroid device at 192.168.240.112.
Waiting for overlay...
setenforce: SELinux is disabled
--------- beginning of main
06-07 01:19:35.492  1777  1777 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<
06-07 01:19:35.499  1777  1777 I AndroidRuntime: Using default boot image
06-07 01:19:35.499  1777  1777 I AndroidRuntime: Leaving lock profiling enabled
06-07 01:19:35.501  1777  1777 W app_process: ART APEX data files are untrusted.
06-07 01:19:35.501  1777  1777 I app_process: Core platform API reporting enabled, enforcing=false
06-07 01:19:35.656  1777  1777 D app_process: Time zone APEX ICU file found: /apex/com.android.tzdata/etc/icu/icu_tzdata.dat
06-07 01:19:35.656  1777  1777 D app_process: I18n APEX ICU file found: /apex/com.android.i18n/etc/icu/icudt70l.dat
06-07 01:19:35.663  1777  1777 W app_process: Unexpected CPU variant for x86: x86_64.
06-07 01:19:35.663  1777  1777 W app_process: Known variants: atom, sandybridge, silvermont, kabylake, default
06-07 01:19:35.693  1777  1777 D AndroidRuntime: Calling main entry xtr.keymapper.server.RemoteServiceShell
using wayland client
Starting: Intent { act=android.intent.action.MAIN cmp=xtr.keymapper/.activity.MainActivity (has extras) }
06-07 01:19:36.406  1777  2342 W Parcel  : Expecting binder but got null!
06-07 01:19:36.413  1777  1777 E xtmapper-server: android.view.MotionEvent.getDeclaredMethod [int]
06-07 01:19:36.413  1777  1777 E xtmapper-server: java.lang.NoSuchMethodException: android.view.MotionEvent.getDeclaredMethod [int]
06-07 01:19:36.413  1777  1777 E xtmapper-server: 	at java.lang.Class.getMethod(Class.java:2103)
06-07 01:19:36.413  1777  1777 E xtmapper-server: 	at java.lang.Class.getDeclaredMethod(Class.java:2081)
06-07 01:19:36.413  1777  1777 E xtmapper-server: 	at xtr.keymapper.server.Input.<clinit>(Unknown Source:73)
06-07 01:19:36.413  1777  1777 E xtmapper-server: 	at xtr.keymapper.server.InputService.<init>(Unknown Source:91)
06-07 01:19:36.413  1777  1777 E xtmapper-server: 	at xtr.keymapper.server.RemoteService.lambda$startServer$1(Unknown Source:39)
06-07 01:19:36.413  1777  1777 E xtmapper-server: 	at xtr.keymapper.server.RemoteService.i(Unknown Source:0)
06-07 01:19:36.413  1777  1777 E xtmapper-server: 	at xtr.keymapper.server.e.run(Unknown Source:14)
06-07 01:19:36.413  1777  1777 E xtmapper-server: 	at android.os.Handler.handleCallback(Handler.java:942)
06-07 01:19:36.413  1777  1777 E xtmapper-server: 	at android.os.Handler.dispatchMessage(Handler.java:99)
06-07 01:19:36.413  1777  1777 E xtmapper-server: 	at android.os.Looper.loopOnce(Looper.java:201)
06-07 01:19:36.413  1777  1777 E xtmapper-server: 	at android.os.Looper.loop(Looper.java:288)
06-07 01:19:36.413  1777  1777 E xtmapper-server: 	at xtr.keymapper.server.RemoteServiceShell.main(Unknown Source:283)
06-07 01:19:36.413  1777  1777 E xtmapper-server: 	at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
06-07 01:19:36.413  1777  1777 E xtmapper-server: 	at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:355)
06-07 01:19:36.514  1777  2342 D libEGL  : loaded /vendor/lib64/egl/libEGL_mesa.so
06-07 01:19:36.517  1777  2342 D libEGL  : loaded /vendor/lib64/egl/libGLESv1_CM_mesa.so
06-07 01:19:36.523  1777  2342 D libEGL  : loaded /vendor/lib64/egl/libGLESv2_mesa.so
06-07 01:19:36.544  1777  2342 I MESA    : Using gralloc0 CrOS API
06-07 01:19:36.545  1777  2342 W EGL-MAIN: failed to get driver name for fd -1
06-07 01:19:36.545  1777  2342 W EGL-MAIN: MESA-LOADER: failed to retrieve device information
06-07 01:19:36.545  1777  2342 W EGL-MAIN: failed to get driver name for fd -1
06-07 01:19:36.552  1777  2342 E OpenGLRenderer: Device claims wide gamut support, cannot find matching config, error = EGL_SUCCESS
06-07 01:19:36.552  1777  2342 W OpenGLRenderer: Failed to initialize 101010-2 format, error = EGL_SUCCESS
06-07 01:19:36.566  1777  2342 E OpenGLRenderer: Unable to match the desired swap behavior.
06-07 01:19:37.832  1777  1777 W Choreographer: Frame time is 0.016083 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
06-07 01:19:48.014  1777  1777 I AndroidRuntime: VM exiting with result code 1.
Starting: Intent { act=android.intent.action.MAIN cmp=xtr.keymapper/.activity.MainActivity (has extras) }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions