tiann / KernelSU

A Kernel based root solution for Android
https://kernelsu.org
GNU General Public License v3.0
9.81k stars 1.59k forks source link

模块列表消失 #1054

Closed fei-ke closed 11 months ago

fei-ke commented 11 months ago

Describe the bug 在升级 0.6.9+ 之后,偶尔出现所有模块列表消失,重启后能恢复

To Reproduce 未找到必现路径,但是印象中每次变空的时候,会有一个 GMS 的 Crash,不确定先后顺序,日志如下:

================================================================
    Generated by AppErrorsTracking
    Project Url: https://github.com/KitsunePie/AppErrorsTracking
================================================================
[Device Brand]: Samsung
[Device Model]: SM-S9180
[Display]: TP1A.220624.014.S9180ZCU2AWH1
[Android Version]: 13
[Android API Level]: 33
[System Locale]: zh_CN_#Hans
[Process ID]: 26815
[CPU ABI]: arm64-v8a
[Package Name]: com.google.android.gms
[Version Name]: 23.39.18 (190400-572044148)
[Version Code]: 233918044
[Error Type]: Native
[Crash Time]: 2023-10-19T09:28:20.518
[Stack Trace]:
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/dm3qzcx/dm3q:13/TP1A.220624.014/S9180ZCU2AWH1:user/release-keys'
Revision: '14'
ABI: 'arm64'
Processor: '3'
Timestamp: 2023-10-19 09:28:20.083832607+0800
Process uptime: 1s
Cmdline: zygote64
pid: 26815, tid: 26815, name: ch_zygote  >>> zygote64 <<<
uid: 0
tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
pac_enabled_keys: 000000000000000f (PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY)
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000007ed5608e80
Cause: stack pointer is in a non-existent map; likely due to stack overflow.
    x0  ffffffffffffffff  x1  0000007ed5608ea0  x2  ffffffffffffffff  x3  0000000000000000
    x4  0000000000000000  x5  0000000000000000  x6  0000000000000010  x7  7f7f7f7f7f7f7f7f
    x8  00000000000000cf  x9  0000007fd5608ea0  x10 000000003b9aca00  x11 b53bb2ef2ab25d81
    x12 00000077a4a8d030  x13 000000007fffffff  x14 0000000000254118  x15 00000069514b1838
    x16 00000076e5d28c90  x17 000000777a29b0bc  x18 00000077a421a000  x19 00000076e5d29ec0
    x20 0000000000000003  x21 0000007ed5608ea0  x22 ffffffffffffffff  x23 00000077a38dd000
    x24 0000007fd5608ea0  x25 00000000000000d8  x26 00000076e5ca501c  x27 4c72723c1389b94d
    x28 0000007fd5609070  x29 0000007fd5608eb0
    lr  0028ce76e5d1d684  sp  0000007ed5608ea0  pc  000000777a29b0c0  pst 0000000000001000
backtrace:
      #00 pc 00000000000490c0  /apex/com.android.runtime/lib64/bionic/libc.so (malloc+4) (BuildId: 1bcad8bca80d38bceb9089f70d394e33)
      #01 pc 0000000000006680  /memfd:jit-cache (deleted)
      #02 pc 0000000000006700  /system/lib64/libzygisk_injector.so (BuildId: f8d478269c7e60f78ee63462ffc9fa6175a27a6e)

Expected behavior 模块列表正常

Screenshots

https://github.com/tiann/KernelSU/assets/2138570/47bbd788-20a6-4a34-9f11-1d060d5c0385

Smartphone (please complete the following information):

Additional context 日志:KernelSU_bugreport_2023-10-19_09_29.tar.gz

模块正常时的一个列表: modules.json

内核源码来自:https://github.com/fei-ke/android_kernel_samsung_sm8550/tree/AWGJ , 同一份源码集成 KernelSU v0.6.8 未出现过该问题

列表消失后能正常安装其他模块

有安装 PlayIntegrityFix 模块,Crash 猜测和该模块有关系

tiann commented 11 months ago

1045