Bugs in Patchmanager ≥ 3.1.0

triggered again:
screen wont turn on:
top normal:

[defaultuser@Fairphone4 mednafen]$ top -bn 1|head -n 50
Mem: 4507344K used, 1128056K free, 319984K shrd, 179064K buff, 1790384K cached
CPU:  1.1% usr  1.1% sys  0.0% nic 97.7% idle  0.0% io  0.0% irq  0.0% sirq
Load average: 0.39 3.90 3.48 2/1699 9027
  PID  PPID USER     STAT   VSZ %VSZ CPU %CPU COMMAND
 2149  1232 system   S    10.5g197.1   0  0.7 {sensors@2.0-ser} /vendor/bin/hw/android.hardware.sensors@2.0-service.multihal
 9026 41139 defaultu R     3580  0.0   7  0.7 top -bn 1
  508     2 root     SW       0  0.0   2  0.7 [crtc_event:110]
 2468  1232 radio    S    11.9g221.9   4  0.0 {main} /vendor/bin/hw/qcrild
 2578  1232 radio    S    11.7g218.7   7  0.0 {main} /vendor/bin/hw/qcrild -c 2
 9947  1232 camerase S    11.4g212.2   5  0.0 {provider@2.4-se} /vendor/bin/hw/android.hardware.camera.provider@2.4-service_64
 2400  1232 root     S<   11.4g212.0   2  0.0 /vendor/bin/thermal-engine
 2136  1232 system   S    11.3g211.1   7  0.0 /vendor/bin/ssgtzd
 2402  1232 radio    S    11.2g208.3   2  0.0 /system/vendor/bin/netmgrd
 2365  1232 media    S    10.9g203.9   0  0.0 /usr/libexec/droid-hybris/system/bin/minimediaservice
 2144  1232 gps      S    10.9g203.1   0  0.0 {gnss@2.1-servic} /vendor/bin/hw/android.hardware.gnss@2.1-service-qti
 2413  1232 mediacod S    10.9g203.0   2  0.0 {binder:2413_2} media.swcodec oid.media.swcodec/bin/mediaswcodec
 7975  1232 system   S    10.7g199.2   6  0.0 {composer-servic} /vendor/bin/hw/vendor.qti.hardware.display.composer-service
 3878  1232 radio    S    10.6g198.0   6  0.0 /vendor/bin/ims_rtp_daemon
 2964  1232 radio    S    10.6g197.7   0  0.0 /vendor/bin/imsdatadaemon
 2389  1232 system   S    10.6g197.5   2  0.0 /system/vendor/bin/cnd
 2213  1232 root     S    10.5g196.7   3  0.0 {perf@2.2-servic} /vendor/bin/hw/vendor.qti.hardware.perf@2.2-service
 2146  1232 system   S    10.5g196.2   1  0.0 {neuralnetworks@} /vendor/bin/hw/android.hardware.neuralnetworks@1.3-service-qti
 3024  1232 system   S    10.5g195.6   4  0.0 /vendor/bin/hvdcp_opti
 2366  1232 system   S    10.5g195.3   7  0.0 /usr/libexec/droid-hybris/system/bin/minisfservice
 1300  1232 system   S    10.5g195.3   6  0.0 {suspend-service} /system/bin/hw/android.system.suspend-service
 1278  1232 system   S    10.4g194.8   3  0.0 /vendor/bin/qseecomd
 3888  1232 radio    S    10.4g194.8   6  0.0 /vendor/bin/imsrcsd
 1301  1232 keystore S    10.4g194.8   6  0.0 {binder:1301_2} /system/bin/keystore2 /data/misc/keystore
 2232  1232 credstor S    10.4g194.8   6  0.0 /system/bin/credstore /data/misc/credstore
 1782  1232 radio    S    10.4g194.8   6  0.0 /system/vendor/bin/ipacm
 2643  2420 gps      S    10.4g194.5   7  0.0 lowi-server
 2875  1232 system   S    10.4g194.3   2  0.0 /system/vendor/bin/dpmQmiMgr
 2660  1232 radio    S    10.4g194.2   3  0.0 /system/vendor/bin/adpl



[defaultuser@Fairphone4 mednafen]$ dool --help
^C
[defaultuser@Fairphone4 mednafen]$ dstat --load --cpu --page --disk --top-cpu --top-io --top-mem'
> ^C

[defaultuser@Fairphone4 mednafen]$ dstat --load --cpu --page --disk --top-cpu --top-io --top-mem
^C

dstat or other commands did not work

[defaultuser@Fairphone4 mednafen]$ pgrep rich
8722
[defaultuser@Fairphone4 mednafen]$ kill -9 8722
bash: can't kill pid 8722: Operation not permitted
[defaultuser@Fairphone4 mednafen]$ devel-su kill -9 8722

kill rich-core.dumper, everything works again

[defaultuser@Fairphone4 mednafen]$ dstat --load --cpu --page --disk --top-cpu --top-io --top-mem
┄┄┄load┄avg┄┄┄┬┄┄total┄cpu┄usage┄┄┬┄┄┄paging┄┄┬┄dsk/total┄┬┄most┄expensive┄┬┄┄┄┄┄┄┄┄top-io┄┄┄┄┄┄┄┄┬┄┄most┄expensive┄
 1m   5m  15m │usr sys idl wai stl│  in   out │ read  writ│  cpu process   │    name    read  writ│  memory process
0.18 1.70 2.65│  5   8  87   0   0│4534B   14k│1322k  220k│lipstick     0.3│systemd      29k 2337B│lipstick     263M

1 Like