用的supersu,android 8, google pixel
开启app之后adb logcat显示如下信息:
09-26 16:43:15.688 1368 4771 I ActivityManager: START u0 {cmp=com.zzzmode.appopsx/.ui.permission.AppPermissionActivity (has extras)} from uid 10138
09-26 16:43:15.721 22774 22794 W System.err: java.io.IOException: Connection refused
09-26 16:43:15.721 22774 22794 W System.err: at android.net.LocalSocketImpl.connectLocal(Native Method)
09-26 16:43:15.721 22774 22794 W System.err: at android.net.LocalSocketImpl.connect(LocalSocketImpl.java:292)
09-26 16:43:15.721 22774 22794 W System.err: at android.net.LocalSocket.connect(LocalSocket.java:145)
09-26 16:43:15.721 22774 22794 W System.err: at com.zzzmode.appopsx.LocalServerManager$SyncClient.connect(LocalServerManager.java:517)
09-26 16:43:15.721 22774 22794 W System.err: at com.zzzmode.appopsx.LocalServerManager$SyncClient.start(LocalServerManager.java:553)
09-26 16:43:15.721 22774 22794 W System.err: at com.zzzmode.appopsx.LocalServerManager.start(LocalServerManager.java:76)
09-26 16:43:15.721 22774 22794 W System.err: at com.zzzmode.appopsx.OpsxManager.checkConnect(OpsxManager.java:55)
09-26 16:43:15.721 22774 22794 W System.err: at com.zzzmode.appopsx.OpsxManager.getOpsForPackage(OpsxManager.java:59)
09-26 16:43:15.721 22774 22794 W System.err: at com.zzzmode.appopsx.ui.core.Helper$14.subscribe(Helper.java:567)
09-26 16:43:15.721 22774 22794 W System.err: at a.a.e.e.a.e.b(ObservableCreate.java:40)
09-26 16:43:15.721 22774 22794 W System.err: at a.a.c.a(Observable.java:10838)
09-26 16:43:15.721 22774 22794 W System.err: at a.a.e.e.a.o$a.a(ObservableRetryPredicate.java:111)
09-26 16:43:15.721 22774 22794 W System.err: at a.a.e.e.a.o.b(ObservableRetryPredicate.java:41)
09-26 16:43:15.721 22774 22794 W System.err: at a.a.c.a(Observable.java:10838)
09-26 16:43:15.721 22774 22794 W System.err: at a.a.e.e.a.q$b.run(ObservableSubscribeOn.java:96)
09-26 16:43:15.721 22774 22794 W System.err: at a.a.h$a.run(Scheduler.java:452)
09-26 16:43:15.721 22774 22794 W System.err: at a.a.e.g.i.run(ScheduledRunnable.java:61)
09-26 16:43:15.722 22774 22794 W System.err: at a.a.e.g.i.call(ScheduledRunnable.java:52)
09-26 16:43:15.722 22774 22794 W System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
09-26 16:43:15.722 22774 22794 W System.err: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
09-26 16:43:15.722 22774 22794 W System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
09-26 16:43:15.722 22774 22794 W System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
09-26 16:43:15.722 22774 22794 W System.err: at java.lang.Thread.run(Thread.java:764)
09-26 16:43:15.722 22774 22794 E LocalServerManager: useRootStartServer -->
09-26 16:43:15.775 1368 1416 I ActivityManager: Displayed com.zzzmode.appopsx/.ui.permission.AppPermissionActivity: +70ms
09-26 16:43:15.786 22774 22799 D OpenGLRenderer: endAllActiveAnimators on 0x7089278000 (RippleDrawable) with handle 0x7080b54760
09-26 16:43:16.918 22774 22794 E LocalServerManager: getCommonds --> type:root,path:appopsx_zzzmode_socket,token:6dc8892f1dea790dd0ff9746a224b6fa,bgrun:1 &
09-26 16:43:16.921 22774 22894 E LocalServerManager: log run --> start
09-26 16:43:16.935 22774 22894 E LocalServerManager: log run --> uid=0(root) gid=0(root) groups=0(root) context=u:r:supersu:s0
09-26 16:43:17.176 22896 22896 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
09-26 16:43:17.174 22896 22896 W app_process: type=1400 audit(0.0:445): avc: granted { open } for path="/dev/pmsg0" dev="tmpfs" ino=15505 scontext=u:r:supersu:s0 tcontext=u:object_r:pmsg_device:s0 tclass=chr_file
09-26 16:43:17.176 22896 22896 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
--------- beginning of crash
09-26 16:43:17.307 22898 22898 F libc : CANNOT LINK EXECUTABLE "/system/bin/dex2oat": "/system/lib64/libart.so" is 64-bit instead of 32-bit
09-26 16:43:17.307 22898 22898 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22898 (dex2oat)
09-26 16:43:17.331 22900 22900 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.331 22900 22900 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22900 (crash_dump32)
09-26 16:43:17.345 22902 22902 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.345 22902 22902 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22902 (crash_dump32)
09-26 16:43:17.360 22904 22904 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.360 22904 22904 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22904 (crash_dump32)
09-26 16:43:17.374 22906 22906 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.375 22906 22906 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22906 (crash_dump32)
09-26 16:43:17.385 22908 22908 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.385 22908 22908 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22908 (crash_dump32)
09-26 16:43:17.395 22910 22910 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.395 22910 22910 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22910 (crash_dump32)
09-26 16:43:17.403 22774 22779 I zygote64: Do partial code cache collection, code=30KB, data=23KB
09-26 16:43:17.404 22912 22912 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.404 22912 22912 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22912 (crash_dump32)
09-26 16:43:17.404 22774 22779 I zygote64: After code cache collection, code=30KB, data=23KB
09-26 16:43:17.404 22774 22779 I zygote64: Increasing code cache capacity to 128KB
09-26 16:43:17.413 22914 22914 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.413 22914 22914 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22914 (crash_dump32)
09-26 16:43:17.420 22916 22916 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.421 22916 22916 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22916 (crash_dump32)
09-26 16:43:17.428 22918 22918 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.429 22918 22918 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22918 (crash_dump32)
09-26 16:43:17.437 22920 22920 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.441 22920 22920 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22920 (crash_dump32)
09-26 16:43:17.448 22922 22922 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.449 22922 22922 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22922 (crash_dump32)
09-26 16:43:17.457 22924 22924 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.458 22924 22924 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22924 (crash_dump32)
09-26 16:43:17.463 22926 22926 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.464 22926 22926 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22926 (crash_dump32)
09-26 16:43:17.470 22928 22928 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.470 22928 22928 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22928 (crash_dump32)
09-26 16:43:17.482 22930 22930 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.482 22930 22930 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22930 (crash_dump32)
09-26 16:43:17.491 22932 22932 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.491 22932 22932 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22932 (crash_dump32)
09-26 16:43:17.496 22934 22934 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.497 22934 22934 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22934 (crash_dump32)
09-26 16:43:17.502 22936 22936 F libc : CANNOT LINK EXECUTABLE "crash_dump32": "/system/lib64/libbacktrace.so" is 64-bit instead of 32-bit
09-26 16:43:17.502 22936 22936 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 22936 (crash_dump32)
之后系统会出现大量的crash dump进程,直到系统卡死
7153 root 20 0 1.6M 360K 204K S 0.0 0.0 0:00.00 crash_dump32 7151 7152
7151 root 20 0 1.6M 364K 204K S 0.0 0.0 0:00.00 crash_dump32 7149 7150
7149 root 20 0 1.6M 364K 204K S 0.0 0.0 0:00.00 crash_dump32 7147 7148
7147 root 20 0 1.6M 360K 204K S 0.0 0.0 0:00.00 crash_dump32 7145 7146
7145 root 20 0 1.6M 364K 204K S 0.0 0.0 0:00.00 crash_dump32 7143 7144
7143 root 20 0 1.6M 364K 204K S 0.0 0.0 0:00.00 crash_dump32 7141 7142
bug