Hi @PeterLin,
Thanks for reaching out! Yesterday I had problems logging in to the forum while working from home. But now I am back at the office.
I have tried to capture the error using chrome://inspect remotely but the recording stops as soon as I encounter the crash and no data is saved. The only log I can see is the logcat output, pasted below. The crashpad output was too long to paste here, I can email if needed.
The webview is a thin wrapper loading a transparent UI on top of a natively rendered GLES surface. I will continue to work on getting a minimal sample apk in place.
Logcat output
01-11 08:27:03.275 15605 15605 D ffboard : FlatFrog Board ZCanvas: css 3072 x 1728, device 9216 x 5184. UI scale: 3
01-11 08:27:03.334 395 934 D gps_ql : Error connecting rild-nmea (Connection refused)
01-11 08:27:03.334 395 934 D gps_ql : fail to open GPS channel !
01-11 08:27:03.350 389 1465 I android.hardware.bluetooth@1.0-service-droidlogic: wole_config_cback, status = 0, opcode=0xfe54
01-11 08:27:03.355 416 512 W APM::AudioPolicyEngine: getDevicesForStrategy() unknown strategy: -1
01-11 08:27:03.355 640 1030 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
01-11 08:27:03.514 15768 15768 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 10135 <<<<<<
01-11 08:27:03.517 15768 15768 I AndroidRuntime: Using default boot image
01-11 08:27:03.517 15768 15768 I AndroidRuntime: Leaving lock profiling enabled
01-11 08:27:03.521 15768 15768 I app_process64: Core platform API reporting enabled, enforcing=false
01-11 08:27:03.513 15768 15768 I app_process64: type=1400 audit(0.0:1747): avc: denied { read } for name=“u:object_r:device_config_runtime_native_boot_prop:s0” dev=“tmpfs” ino=22165 scontext=u:r:untrusted_app:s0:c135,c256,c512,c768 tcontext=u:object_r:device_config_runtime_native_boot_prop:s0 tclass=file permissive=1 app=com.flatfrog.FFBoardWrapper
01-11 08:27:03.517 15768 15768 I app_process64: type=1400 audit(0.0:1751): avc: denied { lock } for path=“/apex/com.android.art/javalib/arm64/boot.art” dev=“dm-0” ino=134 scontext=u:r:untrusted_app:s0:c135,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=1 app=com.flatfrog.FFBoardWrapper
01-11 08:27:03.627 15768 15768 D app_process64: Time zone APEX ICU file found: /apex/com.android.tzdata/etc/icu/icu_tzdata.dat
01-11 08:27:03.627 15768 15768 D app_process64: I18n APEX ICU file found: /apex/com.android.i18n/etc/icu/icudt66l.dat
01-11 08:27:03.640 15768 15768 I app_process64: The ClassLoaderContext is a special shared library.
01-11 08:27:03.660 15768 15768 W app_process64: JNI RegisterNativeMethods: attempt to register 0 native methods for android.media.AudioAttributes
01-11 08:27:03.667 15768 15768 D AndroidRuntime: Calling main entry org.chromium.components.crash.browser.CrashpadMain
01-11 08:27:03.677 15768 15768 E chromium: [0111/082703.676755:ERROR:exception_handler_server.cc(102)] capget: Invalid argument (22)
01-11 08:27:03.688 15768 15768 E chromium: [0111/082703.688795:ERROR:process_memory_linux.cc(42)] open: No such file or directory (2)
01-11 08:27:03.705 15768 15768 I main : type=1400 audit(0.0:1752): avc: denied { getsched } for scontext=u:r:untrusted_app:s0:c135,c256,c512,c768 tcontext=u:r:isolated_app:s0:c512,c768 tclass=process permissive=1 app=com.flatfrog.FFBoardWrapper
01-11 08:27:04.001 482 510 D RIL RILU: find_pci_device is 0
01-11 08:27:04.005 482 510 E RIL RILU: cannot find ttyname for AT Port
01-11 08:27:04.005 482 510 D RIL RILC: USB can’t find at device
01-11 08:27:04.035 15768 15768 E chromium: [0111/082704.035276:ERROR:file_io_posix.cc(143)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: Permission denied (13)
01-11 08:27:04.035 15768 15768 E chromium: [0111/082704.035672:ERROR:ptrace_client.cc(377)] Broker Open: access denied
01-11 08:27:04.113 3011 3011 W HidlServiceManagement: Waited one second for android.hardware.radio@1.1::IRadio/slot1
01-11 08:27:04.113 269 269 I hwservicemanager: Since android.hardware.radio@1.1::IRadio/slot1 is not registered, trying to start it as a lazy HAL.
01-11 08:27:04.114 3011 3011 I HidlServiceManagement: getService: Trying again for android.hardware.radio@1.1::IRadio/slot1…
01-11 08:27:04.114 269 15785 W libc : Unable to set property “ctl.interface_start” to “android.hardware.radio@1.1::IRadio/slot1”: error code: 0x20
--------- beginning of crash
01-11 08:27:04.133 15768 15768 F crashpad: -----BEGIN CRASHPAD MINIDUMP-----
<<< snipped 61 lines of CRASHPAD output >>>
01-11 08:27:04.139 15768 15768 F crashpad: -----END CRASHPAD MINIDUMP-----
01-11 08:27:04.150 389 1465 I android.hardware.bluetooth@1.0-service-droidlogic: wole_config_cback, status = 0, opcode=0xfe54
01-11 08:27:04.158 15768 15768 E chromium: [0111/082704.158392:ERROR:socket.cc(181)] incorrect payload size 0
01-11 08:27:04.159 15768 15768 D AndroidRuntime: Shutting down VM
01-11 08:27:04.159 15639 15672 E libc : failed to connect to tombstoned: Operation not permitted
01-11 08:27:04.185 15639 15672 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-11 08:27:04.186 15639 15672 F DEBUG : Build fingerprint: ‘OnePlus/OnePlus6/OnePlus6:8.1.0/OPM1.171019.011/06140300:user/release-keys’
01-11 08:27:04.186 15639 15672 F DEBUG : Revision: ‘0’
01-11 08:27:04.186 15639 15672 F DEBUG : ABI: ‘arm’
01-11 08:27:04.187 15639 15672 F DEBUG : Timestamp: 2023-01-11 08:27:04+0000
01-11 08:27:04.187 15639 15672 F DEBUG : pid: 15639, tid: 15672, name: ocessService0:0 >>> com.android.webview:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:0 <<<
01-11 08:27:04.187 15639 15672 F DEBUG : uid: 99078
01-11 08:27:04.187 15639 15672 F DEBUG : signal 5 (SIGTRAP), code -6 (SI_TKILL), fault addr --------
01-11 08:27:04.187 15639 15672 F DEBUG : vm_pid:15639
01-11 08:27:04.188 15639 15672 F DEBUG : r0 00000000, PFN:-------- r1 c8459c90, PFN: 1517593 r2 00000444, PFN:-------- r3 dda69a70, PFN: 1626029
01-11 08:27:04.188 15639 15672 F DEBUG : r4 dda69a70, PFN: 1626029 r5 d45a4cd4, PFN: 1533563 r6 00000000, PFN:-------- r7 e5193418, PFN: 1544506
01-11 08:27:04.188 15639 15672 F DEBUG : r8 d45a49c0, PFN: 1533563 r9 d45a4cd4, PFN: 1533563 r10 b001489c, PFN: 1525075 r11 d45a4b70, PFN: 1533563
01-11 08:27:04.189 15639 15672 F DEBUG : ip c5b06f3f, PFN: 1633714 sp d45a4968, PFN: 1533563 lr c6271ca1, PFN: 1225175 pc c73a7108, PFN: 1524676
01-11 08:27:04.189 15639 15672 F DEBUG :
01-11 08:27:04.189 15639 15672 F DEBUG : backtrace:
01-11 08:27:04.189 15639 15672 F DEBUG : #00 pc 022e7108 /product/app/webview/webview.apk!libwebviewchromium.so (offset 0x4fca000) (BuildId: bf7bc8b9207ce682bfa9c27240394adfa9bfc088)
01-11 08:27:04.271 0 0 W [ 3319.021275@3] audit: audit_lost=1141 audit_rate_limit=5 audit_backlog_limit=64
01-11 08:27:04.271 0 0 E [ 3319.021493@3] audit: rate limit exceeded
01-11 08:27:04.265 15639 15639 I CrRendererMain: type=1400 audit(0.0:1753): avc: denied { read } for name=“u:object_r:media_variant_prop:s0” dev=“tmpfs” ino=22221 scontext=u:r:isolated_app:s0:c512,c768 tcontext=u:object_r:media_variant_prop:s0 tclass=file permissive=1
01-11 08:27:04.334 395 934 D gps_ql : Error connecting rild-nmea (Connection refused)
01-11 08:27:04.334 395 934 D gps_ql : fail to open GPS channel !
01-11 08:27:04.410 640 2831 I ActivityManager: Process com.android.webview:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:0 (pid 15639) has died: fg BTOP
01-11 08:27:04.410 640 668 I libprocessgroup: Successfully killed process cgroup uid 99078 pid 15639 in 0ms
01-11 08:27:04.410 1135 1135 I Zygote : Process 15639 exited due to signal 5 (Trap)
01-11 08:27:04.410 640 2831 W ActivityManager: Scheduling restart of crashed service com.flatfrog.FFBoardWrapper/org.chromium.content.app.SandboxedProcessService0:0 in 1000ms for connection