[BUG] 代码拉取下来打包之后打开app马上崩溃,提示
panaoshuai opened this issue · comments
描述此错误
我是初学者,也许这个问题很简单,但是请解答一下
拉下包之后按照文档配置完成,打包apk成功,在手机上可以正常安装,但是打开就崩溃,以下是感觉应该是崩溃原因的日志:
2023-05-16 15:39:43.333 22722-22722/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2023-05-16 15:39:43.334 22722-22722/? A/DEBUG: Build fingerprint: 'samsung/dream2qltezh/dream2qltechn:7.1/N2G48H/G9550ZHU1AQEE:user/release-keys'
2023-05-16 15:39:43.334 22722-22722/? A/DEBUG: Revision: '12'
2023-05-16 15:39:43.334 22722-22722/? A/DEBUG: ABI: 'x86'
2023-05-16 15:39:43.334 22722-22722/? A/DEBUG: pid: 22699, tid: 22720, name: Binder:22699_1 >>> com.github.kr328.clash.foss:background <<<
2023-05-16 15:39:43.334 22722-22722/? A/DEBUG: signal 11 (SIGSEGV), code 128 (SI_KERNEL), fault addr 0x0
2023-05-16 15:39:43.334 22722-22722/? A/DEBUG: eax c6dfc555 ebx b4ee87d4 ecx b52830d5 edx 1c551b56
2023-05-16 15:39:43.334 22722-22722/? A/DEBUG: esi 00000000 edi b600f800
2023-05-16 15:39:43.334 22722-22722/? A/DEBUG: xcs 00000073 xds 0000007b xes 0000007b xfs 0000003b xss 0000007b
2023-05-16 15:39:43.334 22722-22722/? A/DEBUG: eip b52830de ebp 00000000 esp b4ee87b0 flags 00010246
2023-05-16 15:39:43.335 22722-22722/? A/DEBUG: backtrace:
2023-05-16 15:39:43.335 22722-22722/? A/DEBUG: #00 pc 000730de /data/app/com.github.kr328.clash.foss-1/lib/x86/libclash.so (offset 0x11c000)
和
2023-05-16 15:39:46.335 22725-22725/? E/memtrack: Couldn't load memtrack module (No such file or directory)
2023-05-16 15:39:46.336 22725-22725/? E/android.os.Debug: failed to load memtrack module: -2
根据日志应该是内存的原因,但是找了各种办法都没有办法解决,请各位大佬帮忙看一下,不胜感激
如何复现该错误
步骤 1: ...
步骤 2: ...
步骤 3: ...
...
设备信息
- 机型:华为p20
- 系统类型:鸿蒙
- Android 版本:11
应用信息
- 版本:2.5.12
- 安装包文件名:cfa-2.5.12-foss-x86-release
- 应用来源:github下载打包
配置文件
无
日志
2023-05-16 16:01:23.861 19724-20567/? I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.github.kr328.clash.foss/com.github.kr328.clash.MainActivity bnds=[104,525][336,684] (has extras)} from uid 1000 on display 0
--------- beginning of main
2023-05-16 16:01:23.908 19629-19629/? E/Zygote: Not whitelisted : /dev/ccid_ctrl
2023-05-16 16:01:23.935 23174-23174/? I/art: Late-enabling -Xcheck:jni
2023-05-16 16:01:23.938 23174-23174/? W/art: Unexpected CPU variant for X86 using defaults: x86
2023-05-16 16:01:23.948 19724-19735/? W/ActivityManager: Slow operation: 57ms so far, now at startProcess: returned from zygote!
2023-05-16 16:01:23.948 19724-19735/? W/ActivityManager: Slow operation: 57ms so far, now at startProcess: done updating battery stats
2023-05-16 16:01:23.948 19724-19735/? W/ActivityManager: Slow operation: 57ms so far, now at startProcess: building log message
2023-05-16 16:01:23.948 19724-19735/? I/ActivityManager: Start proc 23174:com.github.kr328.clash.foss/u0a53 for activity com.github.kr328.clash.foss/com.github.kr328.clash.MainActivity
2023-05-16 16:01:23.948 19724-19735/? W/ActivityManager: Slow operation: 57ms so far, now at startProcess: starting to update pids map
2023-05-16 16:01:23.948 19724-19735/? W/ActivityManager: Slow operation: 57ms so far, now at startProcess: done updating pids map
2023-05-16 16:01:23.948 19724-19735/? W/ActivityManager: Slow operation: 57ms so far, now at startProcess: done starting proc!
2023-05-16 16:01:24.198 23174-23174/com.github.kr328.clash.foss I/art: Starting a blocking GC AddRemoveAppImageSpace
2023-05-16 16:01:24.256 23174-23174/com.github.kr328.clash.foss D/ClashForAndroid: Process com.github.kr328.clash.foss started
2023-05-16 16:01:24.265 23174-23174/com.github.kr328.clash.foss W/art: Before Android 4.1, method double java.util.concurrent.ThreadLocalRandom.internalNextDouble(double, double) would have incorrectly overridden the package-private method in java.util.Random
2023-05-16 16:01:24.265 23174-23174/com.github.kr328.clash.foss W/art: Before Android 4.1, method int java.util.concurrent.ThreadLocalRandom.internalNextInt(int, int) would have incorrectly overridden the package-private method in java.util.Random
2023-05-16 16:01:24.265 23174-23174/com.github.kr328.clash.foss W/art: Before Android 4.1, method long java.util.concurrent.ThreadLocalRandom.internalNextLong(long, long) would have incorrectly overridden the package-private method in java.util.Random
2023-05-16 16:01:24.314 23174-23174/com.github.kr328.clash.foss W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter androidx.vectordrawable.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
2023-05-16 16:01:24.365 19629-19629/? E/Zygote: Not whitelisted : /dev/ccid_ctrl
2023-05-16 16:01:24.387 23196-23196/? I/art: Late-enabling -Xcheck:jni
2023-05-16 16:01:24.395 19724-19776/? I/ActivityManager: Start proc 23196:com.github.kr328.clash.foss:background/u0a53 for service com.github.kr328.clash.foss/com.github.kr328.clash.service.RemoteService
2023-05-16 16:01:24.407 23174-23174/com.github.kr328.clash.foss D/: static HostConnection *HostConnection::createUnique(): call
2023-05-16 16:01:24.408 23174-23174/com.github.kr328.clash.foss D/: HostConnection::get() New Host Connection established 0xc6aa7870, tid 23174
2023-05-16 16:01:24.413 23174-23174/com.github.kr328.clash.foss D/ClashForAndroid: clashTest
2023-05-16 16:01:24.470 23196-23196/? W/art: Unexpected CPU variant for X86 using defaults: x86
2023-05-16 16:01:24.505 23174-23195/com.github.kr328.clash.foss I/OpenGLRenderer: Initialized EGL, version 1.4
2023-05-16 16:01:24.505 23174-23195/com.github.kr328.clash.foss D/OpenGLRenderer: Swap behavior 1
2023-05-16 16:01:24.505 23174-23195/com.github.kr328.clash.foss D/: HostConnection::get() New Host Connection established 0xc6aa7b70, tid 23195
2023-05-16 16:01:24.775 19724-19750/? I/ActivityManager: Displayed com.github.kr328.clash.foss/com.github.kr328.clash.MainActivity: +884ms
2023-05-16 16:01:24.896 23196-23196/com.github.kr328.clash.foss I/art: Starting a blocking GC AddRemoveAppImageSpace
2023-05-16 16:01:25.001 23196-23196/com.github.kr328.clash.foss D/ClashForAndroid: Process com.github.kr328.clash.foss:background started
2023-05-16 16:01:25.022 23196-23196/com.github.kr328.clash.foss W/art: Before Android 4.1, method double java.util.concurrent.ThreadLocalRandom.internalNextDouble(double, double) would have incorrectly overridden the package-private method in java.util.Random
2023-05-16 16:01:25.022 23196-23196/com.github.kr328.clash.foss W/art: Before Android 4.1, method int java.util.concurrent.ThreadLocalRandom.internalNextInt(int, int) would have incorrectly overridden the package-private method in java.util.Random
2023-05-16 16:01:25.022 23196-23196/com.github.kr328.clash.foss W/art: Before Android 4.1, method long java.util.concurrent.ThreadLocalRandom.internalNextLong(long, long) would have incorrectly overridden the package-private method in java.util.Random
2023-05-16 16:01:25.065 23196-23221/com.github.kr328.clash.foss I/ClashForAndroid: Reschedule all profiles update
2023-05-16 16:01:25.079 23196-23211/com.github.kr328.clash.foss D/ClashForAndroid: Home = /data/user/0/com.github.kr328.clash.foss/files/clash
--------- beginning of crash
2023-05-16 16:01:25.089 23196-23224/com.github.kr328.clash.foss A/libc: Fatal signal 11 (SIGSEGV), code 128, fault addr 0x0 in tid 23224 (Binder:23196_2)
2023-05-16 16:01:25.091 1682-1682/? W/: debuggerd: handling request: pid=23196 uid=10053 gid=10053 tid=23224
2023-05-16 16:01:25.180 23226-23226/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2023-05-16 16:01:25.181 23226-23226/? A/DEBUG: Build fingerprint: 'samsung/dream2qltezh/dream2qltechn:7.1/N2G48H/G9550ZHU1AQEE:user/release-keys'
2023-05-16 16:01:25.181 23226-23226/? A/DEBUG: Revision: '12'
2023-05-16 16:01:25.181 23226-23226/? A/DEBUG: ABI: 'x86'
2023-05-16 16:01:25.181 23226-23226/? A/DEBUG: pid: 23196, tid: 23224, name: Binder:23196_2 >>> com.github.kr328.clash.foss:background <<<
2023-05-16 16:01:25.181 23226-23226/? A/DEBUG: signal 11 (SIGSEGV), code 128 (SI_KERNEL), fault addr 0x0
2023-05-16 16:01:25.181 23226-23226/? A/DEBUG: eax 1f3621c3 ebx b4ee77d4 ecx b50780d5 edx 1c551b56
2023-05-16 16:01:25.181 23226-23226/? A/DEBUG: esi 00000000 edi b5e04800
2023-05-16 16:01:25.181 23226-23226/? A/DEBUG: xcs 00000073 xds 0000007b xes 0000007b xfs 0000003b xss 0000007b
2023-05-16 16:01:25.181 23226-23226/? A/DEBUG: eip b50780de ebp 00000000 esp b4ee77b0 flags 00010246
2023-05-16 16:01:25.182 23226-23226/? A/DEBUG: backtrace:
2023-05-16 16:01:25.182 23226-23226/? A/DEBUG: #00 pc 000730de /data/app/com.github.kr328.clash.foss-1/lib/x86/libclash.so (offset 0x11c000)
2023-05-16 16:01:25.769 23212-23212/? D/AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
2023-05-16 16:01:26.417 23212-23212/? D/AndroidRuntime: CheckJNI is OFF
2023-05-16 16:01:26.666 23212-23212/? D/ICU: No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
2023-05-16 16:01:26.685 23212-23212/? W/art: Unexpected CPU variant for X86 using defaults: x86
2023-05-16 16:01:26.710 23212-23212/? D/: houdini no need remount
2023-05-16 16:01:26.761 23212-23212/? E/memtrack: Couldn't load memtrack module (No such file or directory)
2023-05-16 16:01:26.761 23212-23212/? E/android.os.Debug: failed to load memtrack module: -2
2023-05-16 16:01:26.769 23212-23212/? I/Radio-JNI: register_android_hardware_Radio DONE
2023-05-16 16:01:26.807 23212-23212/? D/AndroidRuntime: Calling main entry com.android.commands.am.Am
2023-05-16 16:01:26.828 23212-23212/? D/AndroidRuntime: Shutting down VM
2023-05-16 16:01:26.837 23212-23236/? W/art: Thread attaching while runtime is shutting down: Binder:23212_2
2023-05-16 16:01:26.838 23212-23236/? I/AndroidRuntime: NOTE: attach of thread 'Binder:23212_2' failed
2023-05-16 16:01:27.450 23226-23226/? E/: debuggerd: failed to kill process 23196: No such process
2023-05-16 16:01:27.453 19724-19746/? I/BootReceiver: Copying /data/tombstones/tombstone_09 to DropBox (SYSTEM_TOMBSTONE)
2023-05-16 16:01:27.469 1682-1682/? W/: debuggerd: resuming target 23196
2023-05-16 16:01:27.488 19724-19741/? W/WindowManager: updateFocusedWindowLocked, focusedAppToken is null.
2023-05-16 16:01:27.520 19724-21419/? I/OpenGLRenderer: Initialized EGL, version 1.4
2023-05-16 16:01:27.520 19724-21419/? D/OpenGLRenderer: Swap behavior 1
2023-05-16 16:01:27.542 23174-23174/com.github.kr328.clash.foss W/ClashForAndroid: Remote services panic
2023-05-16 16:01:27.545 19724-20610/? I/ActivityManager: Process com.github.kr328.clash.foss:background (pid 23196) has died
2023-05-16 16:01:27.545 19724-20610/? D/ActivityManager: cleanUpApplicationRecord -- 23196
2023-05-16 16:01:27.545 19724-20610/? W/ActivityManager: Scheduling restart of crashed service com.github.kr328.clash.foss/com.github.kr328.clash.service.RemoteService in 1000ms
2023-05-16 16:01:27.546 23174-23174/com.github.kr328.clash.foss W/ClashForAndroid: RemoteManager crashed
2023-05-16 16:01:27.556 19629-19629/? I/Zygote: Process 23196 exited due to signal (11)
2023-05-16 16:01:28.551 19629-19629/? E/Zygote: Not whitelisted : /dev/ccid_ctrl
2023-05-16 16:01:28.567 19724-19740/? I/ActivityManager: Start proc 23250:com.github.kr328.clash.foss:background/u0a53 for service com.github.kr328.clash.foss/com.github.kr328.clash.service.RemoteService
2023-05-16 16:01:28.574 23250-23250/? I/art: Late-enabling -Xcheck:jni
2023-05-16 16:01:28.577 23250-23250/? W/art: Unexpected CPU variant for X86 using defaults: x86
2023-05-16 16:01:28.659 23250-23250/com.github.kr328.clash.foss I/art: Starting a blocking GC AddRemoveAppImageSpace
2023-05-16 16:01:28.698 23250-23250/com.github.kr328.clash.foss D/ClashForAndroid: Process com.github.kr328.clash.foss:background started
2023-05-16 16:01:28.707 23250-23250/com.github.kr328.clash.foss W/art: Before Android 4.1, method double java.util.concurrent.ThreadLocalRandom.internalNextDouble(double, double) would have incorrectly overridden the package-private method in java.util.Random
2023-05-16 16:01:28.707 23250-23250/com.github.kr328.clash.foss W/art: Before Android 4.1, method int java.util.concurrent.ThreadLocalRandom.internalNextInt(int, int) would have incorrectly overridden the package-private method in java.util.Random
2023-05-16 16:01:28.707 23250-23250/com.github.kr328.clash.foss W/art: Before Android 4.1, method long java.util.concurrent.ThreadLocalRandom.internalNextLong(long, long) would have incorrectly overridden the package-private method in java.util.Random
2023-05-16 16:01:28.717 23250-23267/com.github.kr328.clash.foss I/ClashForAndroid: Reschedule all profiles update
2023-05-16 16:01:28.752 23250-23262/com.github.kr328.clash.foss D/ClashForAndroid: Home = /data/user/0/com.github.kr328.clash.foss/files/clash
2023-05-16 16:01:28.769 23250-23272/com.github.kr328.clash.foss A/libc: Fatal signal 11 (SIGSEGV), code 128, fault addr 0x0 in tid 23272 (Binder:23250_1)
2023-05-16 16:01:28.770 1682-1682/? W/: debuggerd: handling request: pid=23250 uid=10053 gid=10053 tid=23272
2023-05-16 16:01:28.818 23273-23273/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2023-05-16 16:01:28.821 23273-23273/? A/DEBUG: Build fingerprint: 'samsung/dream2qltezh/dream2qltechn:7.1/N2G48H/G9550ZHU1AQEE:user/release-keys'
2023-05-16 16:01:28.826 23273-23273/? A/DEBUG: Revision: '12'
2023-05-16 16:01:28.831 23273-23273/? A/DEBUG: ABI: 'x86'
2023-05-16 16:01:28.834 23273-23273/? A/DEBUG: pid: 23250, tid: 23272, name: Binder:23250_1 >>> com.github.kr328.clash.foss:background <<<
2023-05-16 16:01:28.835 23273-23273/? A/DEBUG: signal 11 (SIGSEGV), code 128 (SI_KERNEL), fault addr 0x0
2023-05-16 16:01:28.841 23273-23273/? A/DEBUG: eax a51dd09a ebx b4de27d4 ecx b50780d5 edx 1c551b56
2023-05-16 16:01:28.842 23273-23273/? A/DEBUG: esi 00000000 edi b5e04800
2023-05-16 16:01:28.842 23273-23273/? A/DEBUG: xcs 00000073 xds 0000007b xes 0000007b xfs 0000003b xss 0000007b
2023-05-16 16:01:28.842 23273-23273/? A/DEBUG: eip b50780de ebp 00000000 esp b4de27b0 flags 00010246
2023-05-16 16:01:28.842 23273-23273/? A/DEBUG: backtrace:
2023-05-16 16:01:28.842 23273-23273/? A/DEBUG: #00 pc 000730de /data/app/com.github.kr328.clash.foss-1/lib/x86/libclash.so (offset 0x11c000)
2023-05-16 16:01:29.929 23273-23273/? E/: debuggerd: failed to kill process 23250: No such process
2023-05-16 16:01:29.932 19724-19746/? I/BootReceiver: Copying /data/tombstones/tombstone_00 to DropBox (SYSTEM_TOMBSTONE)
2023-05-16 16:01:29.942 1682-1682/? W/: debuggerd: resuming target 23250
2023-05-16 16:01:29.966 19724-19741/? W/WindowManager: updateFocusedWindowLocked, focusedAppToken is null.
2023-05-16 16:01:29.983 19724-19776/? I/ActivityManager: Process com.github.kr328.clash.foss:background (pid 23250) has died
2023-05-16 16:01:29.983 19724-19776/? D/ActivityManager: cleanUpApplicationRecord -- 23250
2023-05-16 16:01:29.983 19724-19776/? W/ActivityManager: Service crashed 2 times, stopping: ServiceRecord{c06eafb u0 com.github.kr328.clash.foss/com.github.kr328.clash.service.RemoteService}
2023-05-16 16:01:29.986 23174-23174/com.github.kr328.clash.foss W/ClashForAndroid: Remote services panic
2023-05-16 16:01:29.988 19724-20609/? I/ActivityManager: START u0 {flg=0x10000000 cmp=com.github.kr328.clash.foss/com.github.kr328.clash.AppCrashedActivity} from uid 10053 on display 0
2023-05-16 16:01:30.001 19629-19629/? I/Zygote: Process 23250 exited due to signal (11)
2023-05-16 16:01:30.028 23174-23174/com.github.kr328.clash.foss W/ClashForAndroid: RemoteManager crashed
2023-05-16 16:01:30.245 23174-23174/com.github.kr328.clash.foss I/ClashForAndroid: App version: versionName = 2.5.12.foss.debug versionCode = 205012
2023-05-16 16:01:30.265 19724-19750/? I/ActivityManager: Displayed com.github.kr328.clash.foss/com.github.kr328.clash.AppCrashedActivity: +236ms
屏幕截图
附加信息
No response
不好意思发现是我自己一个很蠢的问题,突然发现了,抱歉