[Magisk] AndrewDam:
Simply viewing the Magisk Manager apk file (downloaded from APKmirror) causes the file explorer app to crash. The crash occurs when you are scrolling down the list of files and Magisk Manager apk is next to be shown.

Tested with Solid Explorer and CM13 Stock File Manager.

The offending apk files are:

Magisk Manager 5.1.1

Magisk Manager 5.1.0

The rest of the 5.0 release is untested. Currently have 4.3.3 installed and the apk does not cause any crashes.

Installing one of the offending apk's will severely mess up my phone. The phone will boot up and stay at a black screen (right when the lock screen is supposed to appear). Magisk uninstaller does NOT fix this boot up problem and I had to resort to re-flashing my ROM.

My setup:

Nexus 4

CM13.0 2016-12-21 Snapshot

Magisk Manger v4.3.3

MagiskSu v12.0

Here is the ADB log:

07-25 01:28:16.106 8548-8610/? I/SolidExplorer: pl.solidexplorer.thumbs.ThumbnailManager$FileThumbTask#run(ThumbnailManager.java:511)
07-25 01:28:16.106 8548-8610/? I/SolidExplorer: Cache size: 1006.27 KB
07-25 01:28:16.230 8548-8610/? I/SolidExplorer: pl.solidexplorer.thumbs.ThumbnailManager$FileThumbTask#run(ThumbnailManager.java:511)
07-25 01:28:16.230 8548-8610/? I/SolidExplorer: Cache size: 1.02 MB
07-25 01:28:16.316 8548-8610/? I/SolidExplorer: pl.solidexplorer.thumbs.ThumbnailManager$FileThumbTask#run(ThumbnailManager.java:511)
07-25 01:28:16.316 8548-8610/? I/SolidExplorer: Cache size: 1.05 MB
07-25 01:28:16.358 8548-8610/? A/libc: invalid address or address of corrupt block 0x430d87fe passed to dlfree
07-25 01:28:16.370 8548-8610/? A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0xdeadbaad in tid 8610 (pool-3-thread-1)
07-25 01:28:16.371 736-736/? I/DEBUG: property debug.db.uid not set; NOT waiting for gdb.
07-25 01:28:16.371 736-736/? I/DEBUG: HINT: adb shell setprop debug.db.uid 100000
07-25 01:28:16.371 736-736/? I/DEBUG: HINT: adb forward tcp:5039 tcp:5039
07-25 01:28:16.473 736-736/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-25 01:28:16.473 736-736/? A/DEBUG: CM Version: '13.0-20161221-SNAPSHOT-ZNH5YAO3Y2-mako'
07-25 01:28:16.473 736-736/? A/DEBUG: Build fingerprint: 'google/occam/mako:5.1.1/LMY48M/2167285:user/release-keys'
07-25 01:28:16.473 736-736/? A/DEBUG: Revision: '0'
07-25 01:28:16.473 736-736/? A/DEBUG: ABI: 'arm'
07-25 01:28:16.473 736-736/? A/DEBUG: pid: 8548, tid: 8610, name: pool-3-thread-1 >>> pl.solidexplorer2 <<<
07-25 01:28:16.473 736-736/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xdeadbaad
07-25 01:28:16.515 736-736/? A/DEBUG: Abort message: 'invalid address or address of corrupt block 0x430d87fe passed to dlfree'
07-25 01:28:16.515 736-736/? A/DEBUG: r0 00000000 r1 00000000 r2 00000000 r3 00000002
07-25 01:28:16.515 736-736/? A/DEBUG: r4 430d87fe r5 deadbaad r6 b6d72f38 r7 98fcc000
07-25 01:28:16.515 736-736/? A/DEBUG: r8 430d8806 r9 9bc730cc sl b6cd38db fp b6cd38e4
07-25 01:28:16.516 736-736/? A/DEBUG: ip b6d6d5d8 sp 9bc72fb8 lr b6d3ecdf pc b6d3ecde cpsr 600f0030
07-25 01:28:16.524 736-736/? A/DEBUG: backtrace:
07-25 01:28:16.524 736-736/? A/DEBUG: #00 pc 00030cde /system/lib/libc.so (dlfree+1285)
07-25 01:28:16.524 736-736/? A/DEBUG: #01 pc 000157a9 /system/lib/libandroidfw.so (_ZN7android13ResStringPool6uninitEv+38)
07-25 01:28:16.524 736-736/? A/DEBUG: #02 pc 000164f9 /system/lib/libandroidfw.so (_ZN7android10ResXMLTree6uninitEv+14)
07-25 01:28:16.524 736-736/? A/DEBUG: #03 pc 00016517 /system/lib/libandroidfw.so (_ZN7android10ResXMLTreeD1Ev+4)
07-25 01:28:16.525 736-736/? A/DEBUG: #04 pc 00013263 /system/lib/libandroidfw.so (_ZN7android12AssetManager10getPkgNameEPKc+258)
07-25 01:28:16.525 736-736/? A/DEBUG: #05 pc 000132bf /system/lib/libandroidfw.so (_ZN7android12AssetManager18getBasePackageNameEj+62)
07-25 01:28:16.525 736-736/? A/DEBUG: #06 pc 0008967f /system/lib/libandroid_runtime.so
07-25 01:28:16.525 736-736/? A/DEBUG: #07 pc 737486e1 /data/dalvik-cache/arm/system@framework@boot.oat (offset 0x1f93000)
07-25 01:28:16.554 736-736/? W/debuggerd: type=1400 audit(0.0:1525): avc: denied { search } for name="default" dev="tmpfs" ino=8252 scontext=u:r:debuggerd:s0 tcontext=u:object_r:storage_file:s0 tclass=dir permissive=0
07-25 01:28:17.416 1230-8698/? W/ActivityManager: Force finishing activity pl.solidexplorer2/pl.solidexplorer.SolidExplorer
07-25 01:28:17.417 736-736/? A/DEBUG: Tombstone written to: /data/tombstones/tombstone_02
07-25 01:28:17.417 736-736/? E/DEBUG: AM write failed: Broken pipe
07-25 01:28:17.418 1230-1250/? I/BootReceiver: Copying /data/tombstones/tombstone_02 to DropBox (SYSTEM_TOMBSTONE)
07-25 01:28:17.502 1230-1403/? W/InputDispatcher: channel '5ab4980 pl.solidexplorer2/pl.solidexplorer.SolidExplorer (server)' ~ Consumer closed input channel or an error occurred. events=0x9
07-25 01:28:17.502 1230-1403/? E/InputDispatcher: channel '5ab4980 pl.solidexplorer2/pl.solidexplorer.SolidExplorer (server)' ~ Channel is unrecoverably broken and will be disposed!
07-25 01:28:17.511 1230-1241/? I/WindowState: WIN DEATH: Window{5ab4980 u0 pl.solidexplorer2/pl.solidexplorer.SolidExplorer}
07-25 01:28:17.511 1230-1241/? W/InputDispatcher: Attempted to unregister already unregistered input channel '5ab4980 pl.solidexplorer2/pl.solidexplorer.SolidExplorer (server)'
07-25 01:28:17.518 1230-8698/? W/ActivityManager: Exception thrown during pause
android.os.DeadObjectException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:503)
at android.app.ApplicationThreadProxy.schedulePauseActivity(ApplicationThreadNative.java:727)
at com.android.server.am.ActivityStack.startPausingLocked(ActivityStack.java:879)
at com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:2992)
at com.android.server.am.ActivityStack.finishTopRunningActivityLocked(ActivityStack.java:2848)
at com.android.server.am.ActivityStackSupervisor.finishTopRunningActivityLocked(ActivityStackSupervisor.java:2828)
at com.android.server.am.ActivityManagerService.handleAppCrashLocked(ActivityManagerService.java:12449)
at com.android.server.am.ActivityManagerService.makeAppCrashingLocked(ActivityManagerService.java:12320)
at com.android.server.am.ActivityManagerService.crashApplication(ActivityManagerService.java:13036)
at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:12541)
at com.android.server.am.NativeCrashListener$NativeCrashReporter.run(NativeCrashListener.java:86)
07-25 01:28:17.523 724-724/? E/lowmemorykiller: Error writing /proc/8548/oom_score_adj; errno=22
07-25 01:28:17.538 748-748/? I/Zygote: Process 8548 exited due to signal (11)
07-25 01:28:17.617 1230-4016/? I/ActivityManager: Process pl.solidexplorer2 (pid 8548) has died
07-25 01:28:17.674 1230-1412/? I/OpenGLRenderer: Initialized EGL, version 1.4