LiquidPlayer/LiquidCore

LiquidCore crashes when in release mode (Android, 0.7.10)

carlosjrtee opened this issue · 1 comments

LiquidCore consistently crashes when being run in release mode. So what we only have is the logs below where the following logs stands out to me:

2020-08-10 19:54:01.496 559-559/? E/audit: type=1701 audit(1597060441.485:656): auid=4294967295 uid=10217 gid=10217 ses=4294967295 subj=u:r:untrusted_app:s0:c512,c768 pid=29997 comm="nodejs" reason="memory violation" sig=6 audit_filtered
2020-08-10 19:54:01.516 478-478/? E/lowmemorykiller: Error writing /proc/29938/oom_score_adj; errno=22

We plan to go through the JS script to if there's a specific cause to this. Hopefully this has workaround since we don't exactly have any other option but to use liquidcore.

logcat:
2020-08-10 19:53:58.644 1482-1532/? E/ViewRootImpl: sendUserActionEvent() returned.
2020-08-10 19:53:59.585 3920-3925/? E/ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
2020-08-10 19:53:59.670 3920-3925/? E/ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
2020-08-10 19:53:59.709 1482-3683/? E/ActivityManager: applyOptionsLocked: pendingOptions.getStartX()=947pendingOptions.getStartY()=214
2020-08-10 19:53:59.723 29938-29938/? E/Zygote: v2
2020-08-10 19:53:59.724 29938-29938/? E/Zygote: accessInfo : 0
2020-08-10 19:54:00.222 559-559/? E/audit: type=1400 audit(1597060440.205:652): avc: denied { ioctl } for pid=29997 comm="nodejs" path="socket:[247367]" dev="sockfs" ino=247367 ioctlcmd=5451 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:zygote:s0 tclass=unix_dgram_socket permissive=0 SEPF_SECMOBILE_7.0_0010 unfiltered
2020-08-10 19:54:00.222 559-559/? E/audit: type=1300 audit(1597060440.205:652): arch=c00000b7 syscall=29 success=no exit=-13 a0=3 a1=5451 a2=61 a3=69 items=0 ppid=587 pid=29997 auid=4294967295 uid=10217 gid=10217 euid=10217 suid=10217 fsuid=10217 egid=10217 sgid=10217 fsgid=10217 ses=4294967295 tty=(none) comm="nodejs" exe="/system/bin/app_process64" subj=u:r:untrusted_app:s0:c512,c768 key=(null) unfiltered
2020-08-10 19:54:00.223 559-559/? E/audit: type=1327 audit(1597060440.205:652): proctitle="com.cormanttech.powerform.plus" unfiltered
2020-08-10 19:54:00.223 559-559/? E/audit: type=1320 audit(1597060440.205:652): audit_filtered
2020-08-10 19:54:00.223 559-559/? E/audit: type=1400 audit(1597060440.205:653): avc: denied { ioctl } for pid=29997 comm="nodejs" path="/dev/pmsg0" dev="tmpfs" ino=13055 ioctlcmd=5451 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:pmsg_device:s0 tclass=chr_file permissive=0 SEPF_SECMOBILE_7.0_0010 unfiltered
2020-08-10 19:54:00.224 559-559/? E/audit: type=1300 audit(1597060440.205:653): arch=c00000b7 syscall=29 success=no exit=-13 a0=4 a1=5451 a2=61 a3=69 items=0 ppid=587 pid=29997 auid=4294967295 uid=10217 gid=10217 euid=10217 suid=10217 fsuid=10217 egid=10217 sgid=10217 fsgid=10217 ses=4294967295 tty=(none) comm="nodejs" exe="/system/bin/app_process64" subj=u:r:untrusted_app:s0:c512,c768 key=(null) unfiltered
2020-08-10 19:54:00.225 559-559/? E/audit: type=1327 audit(1597060440.205:653): proctitle="com.cormanttech.powerform.plus" unfiltered
2020-08-10 19:54:00.225 559-559/? E/audit: type=1320 audit(1597060440.205:653): audit_filtered
2020-08-10 19:54:00.225 559-559/? E/audit: type=1400 audit(1597060440.205:654): avc: denied { ioctl } for pid=29997 comm="nodejs" path="/sys/kernel/debug/tracing/trace_marker" dev="debugfs" ino=5362 ioctlcmd=5451 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:debugfs_trace_marker:s0 tclass=file permissive=0 SEPF_SECMOBILE_7.0_0010 unfiltered
2020-08-10 19:54:00.225 559-559/? E/audit: type=1300 audit(1597060440.205:654): arch=c00000b7 syscall=29 success=no exit=-13 a0=6 a1=5451 a2=61 a3=69 items=0 ppid=587 pid=29997 auid=4294967295 uid=10217 gid=10217 euid=10217 suid=10217 fsuid=10217 egid=10217 sgid=10217 fsgid=10217 ses=4294967295 tty=(none) comm="nodejs" exe="/system/bin/app_process64" subj=u:r:untrusted_app:s0:c512,c768 key=(null) unfiltered
2020-08-10 19:54:00.226 559-559/? E/audit: type=1327 audit(1597060440.205:654): proctitle="com.cormanttech.powerform.plus" unfiltered
2020-08-10 19:54:00.226 559-559/? E/audit: type=1320 audit(1597060440.205:654): audit_filtered
2020-08-10 19:54:00.433 29938-29997/? E/libc++abi: terminating
2020-08-10 19:54:00.434 29938-29997/? A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 29997 (nodejs)
2020-08-10 19:54:00.445 559-559/? E/audit: type=1400 audit(1597060440.435:655): avc: denied { search } for pid=30004 comm="debuggerd64" name="com.google.android.gms" dev="dm-0" ino=524467 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0 SEPF_SECMOBILE_7.0_0010 audit_filtered
2020-08-10 19:54:00.445 559-559/? E/audit: type=1300 audit(1597060440.435:655): arch=c00000b7 syscall=56 success=no exit=-13 a0=ffffff9c a1=7f8fe373c0 a2=0 a3=0 items=0 ppid=387 pid=30004 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm="debuggerd64" exe="/system/bin/debuggerd64" subj=u:r:debuggerd:s0 key=(null) audit_filtered
2020-08-10 19:54:00.445 559-559/? E/audit: type=1327 audit(1597060440.435:655): proctitle="/system/bin/debuggerd64" audit_filtered
2020-08-10 19:54:00.445 559-559/? E/audit: type=1320 audit(1597060440.435:655): audit_filtered
2020-08-10 19:54:00.507 30004-30004/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2020-08-10 19:54:00.507 30004-30004/? A/DEBUG: Build fingerprint: 'samsung/gts210veltexx/gts210velte:7.0/NRD90M/T819XXS2BSG1:user/release-keys'
2020-08-10 19:54:00.507 30004-30004/? A/DEBUG: Revision: '4'
2020-08-10 19:54:00.507 30004-30004/? A/DEBUG: ABI: 'arm64'
2020-08-10 19:54:00.507 30004-30004/? A/DEBUG: pid: 29938, tid: 29997, name: nodejs >>> com.cormanttech.powerform.plus <<<
2020-08-10 19:54:00.507 30004-30004/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
2020-08-10 19:54:00.509 30004-30004/? A/DEBUG: Abort message: 'terminating'
2020-08-10 19:54:00.510 30004-30004/? A/DEBUG: x0 0000000000000000 x1 000000000000752d x2 0000000000000006 x3 0000000000000008
2020-08-10 19:54:00.510 30004-30004/? A/DEBUG: x4 ffffffffffffffff x5 0000000080000000 x6 0000008000000000 x7 6fe58b06ff666d68
2020-08-10 19:54:00.510 30004-30004/? A/DEBUG: x8 0000000000000083 x9 ffffffffffffffdf x10 0000000000000000 x11 0000000000000001
2020-08-10 19:54:00.510 30004-30004/? A/DEBUG: x12 ffffffffffffffff x13 0000000000000000 x14 0000000000000000 x15 0019de2a28f4d418
2020-08-10 19:54:00.510 30004-30004/? A/DEBUG: x16 0000007f9846aed0 x17 0000007f98414a18 x18 00000000ffffffff x19 0000007f705af4f8
2020-08-10 19:54:00.510 30004-30004/? A/DEBUG: x20 0000000000000006 x21 0000007f705af450 x22 0000000000000019 x23 0000007f705acc30
2020-08-10 19:54:00.510 30004-30004/? A/DEBUG: x24 0000007f705acb10 x25 0000007f705acb50 x26 0000007f98472000 x27 0000000000000018
2020-08-10 19:54:00.510 30004-30004/? A/DEBUG: x28 0000000000000016 x29 0000007f705aca20 x30 0000007f98411ea8
2020-08-10 19:54:00.510 30004-30004/? A/DEBUG: sp 0000007f705aca00 pc 0000007f98414a20 pstate 0000000060000000
2020-08-10 19:54:00.515 30004-30004/? A/DEBUG: backtrace:
2020-08-10 19:54:00.515 30004-30004/? A/DEBUG: #00 pc 000000000006ba20 /system/lib64/libc.so (tgkill+8)
2020-08-10 19:54:00.515 30004-30004/? A/DEBUG: #1 pc 0000000000068ea4 /system/lib64/libc.so (pthread_kill+64)
2020-08-10 19:54:00.515 30004-30004/? A/DEBUG: #2 pc 0000000000024350 /system/lib64/libc.so (raise+24)
2020-08-10 19:54:00.515 30004-30004/? A/DEBUG: #3 pc 000000000001cd6c /system/lib64/libc.so (abort+52)
2020-08-10 19:54:00.515 30004-30004/? A/DEBUG: #4 pc 0000000000f558b0 /data/app/com.cormanttech.powerform.plus-2/base.apk (offset 0x5fd000)
2020-08-10 19:54:00.515 30004-30004/? A/DEBUG: #5 pc 0000000000f55930 /data/app/com.cormanttech.powerform.plus-2/base.apk (offset 0x5fd000)
2020-08-10 19:54:00.515 30004-30004/? A/DEBUG: #6 pc 0000000000f52a44 /data/app/com.cormanttech.powerform.plus-2/base.apk (offset 0x5fd000)
2020-08-10 19:54:00.515 30004-30004/? A/DEBUG: #7 pc 0000000000f529ec /data/app/com.cormanttech.powerform.plus-2/base.apk (offset 0x5fd000)
2020-08-10 19:54:00.515 30004-30004/? A/DEBUG: #8 pc 0000000000f5082c /data/app/com.cormanttech.powerform.plus-2/base.apk (offset 0x5fd000)
2020-08-10 19:54:00.515 30004-30004/? A/DEBUG: #9 pc 0000000000077330 /system/lib64/libc.so (__cxa_finalize+192)
2020-08-10 19:54:00.515 30004-30004/? A/DEBUG: #10 pc 0000000000019f98 /system/lib64/libc.so (exit+24)
2020-08-10 19:54:00.515 30004-30004/? A/DEBUG: #11 pc 00000000003e4c68 /data/app/com.cormanttech.powerform.plus-2/base.apk (offset 0x1b96000)
2020-08-10 19:54:00.515 30004-30004/? A/DEBUG: #12 pc 0000000000a6b8d0 /data/app/com.cormanttech.powerform.plus-2/base.apk (offset 0x5fd000)
2020-08-10 19:54:01.496 559-559/? E/audit: type=1701 audit(1597060441.485:656): auid=4294967295 uid=10217 gid=10217 ses=4294967295 subj=u:r:untrusted_app:s0:c512,c768 pid=29997 comm="nodejs" reason="memory violation" sig=6 audit_filtered
2020-08-10 19:54:01.516 478-478/? E/lowmemorykiller: Error writing /proc/29938/oom_score_adj; errno=22
2020-08-10 19:54:05.287 1482-2591/? E/Watchdog: !@sync 530 [2020-08-10 19:54:05.287]

Just an update: liquid core crashes regardless of which script is loaded on start. But we've been able to resolve the issue by disabling Minify in the release build type of our app.