[Xiaomi Redmi Note 5 Pro Questions & Answers] GuikBretas:
Hello guys, my whyred system sometimes is hanging while on sleep, do someone knows what can be?

On bugreport i found this:

--------- beginning of crash
06-23 16:39:54.585 root 643 21653 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x7b9eb1aa7a in tid 21653 (netd), pid 643 (Binder:643_2)
06-23 16:39:54.669 root 21658 21658 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
06-23 16:39:54.669 root 21658 21658 F DEBUG : Build fingerprint: 'Xiaomi/polaris/polaris:8.0.0/OPR1.170623.032/V9.5.19.0.ODGMIFA:user/release-keys'
06-23 16:39:54.669 root 21658 21658 F DEBUG : Revision: '0'
06-23 16:39:54.669 root 21658 21658 F DEBUG : ABI: 'arm64'
06-23 16:39:54.669 root 21658 21658 F DEBUG : pid: 643, tid: 21653, name: netd >>> /system/bin/netd <<<
06-23 16:39:54.670 root 21658 21658 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x7b9eb1aa7a
06-23 16:39:54.670 root 21658 21658 F DEBUG : x0 0000007b9fa1ab44 x1 0000007b9eb1aa7a x2 000000000000007e x3 0000007b9fa1ab40
06-23 16:39:54.670 root 21658 21658 F DEBUG : x4 0000007b9eb1aaf8 x5 0000007b9fa1abc2 x6 0000000000000000 x7 0000000000000000
06-23 16:39:54.670 root 21658 21658 F DEBUG : x8 0000007b9eb1aaf8 x9 0000000000000004 x10 0000007b9fa1ab40 x11 0000007b9fa1abbf
06-23 16:39:54.670 root 21658 21658 F DEBUG : x12 0000000000000001 x13 0000000000000000 x14 0000007c21cc37c0 x15 aaaaaaaaaaaaaaab
06-23 16:39:54.670 root 21658 21658 F DEBUG : x16 00000063e43cb348 x17 0000007c216faf70 x18 00000000000000fe x19 0000007ba005e780
06-23 16:39:54.670 root 21658 21658 F DEBUG : x20 0000007b9ea1f408 x21 0000007b9fa1ab40 x22 0000007b9ea1f588 x23 0000007b9eb1aa7a
06-23 16:39:54.670 root 21658 21658 F DEBUG : x24 0000007b9eb1aaf8 x25 0000007b9e922000 x26 0000007b9eb1d588 x27 0000000000000002
06-23 16:39:54.670 root 21658 21658 F DEBUG : x28 0000007ba00d28c0 x29 0000007b9ea1f3e0
06-23 16:39:54.670 root 21658 21658 F DEBUG : sp 0000007b9ea1f390 lr 00000063e439080c pc 0000007c216fb058
06-23 16:39:54.687 root 21658 21658 F DEBUG :
06-23 16:39:54.687 root 21658 21658 F DEBUG : backtrace:
06-23 16:39:54.687 root 21658 21658 F DEBUG : #00 pc 000000000001e058 /system/lib64/libc.so (memcpy+232)
06-23 16:39:54.687 root 21658 21658 F DEBUG : #01 pc 0000000000074808 /system/bin/netd (android::net::DnsTlsSocket::sendQuery(android::net::DnsTlsSocket::Query const&)+352)
06-23 16:39:54.687 root 21658 21658 F DEBUG : #02 pc 0000000000074304 /system/bin/netd (android::net::DnsTlsSocket::loop()+300)
06-23 16:39:54.687 root 21658 21658 F DEBUG : #03 pc 0000000000074c04 /system/bin/netd
06-23 16:39:54.687 root 21658 21658 F DEBUG : #04 pc 0000000000090328 /system/lib64/libc.so (__pthread_start(void*)+36)
06-23 16:39:54.687 root 21658 21658 F DEBUG : #05 pc 0000000000023a28 /system/lib64/libc.so (__start_thread+68)

and on the bottom of file have this:

========================================================
== Dropbox crashes
========================================================
------ DROPBOX SYSTEM SERVER CRASHES (/system/bin/dumpsys -T 30000 dropbox -p system_server_crash) ------
Drop box contents: 586 entries
Max entries: 1000
Searching for: system_server_crash

(No entries found.)
------ 0.113s was the duration of 'DROPBOX SYSTEM SERVER CRASHES' ------
------ DROPBOX SYSTEM APP CRASHES (/system/bin/dumpsys -T 30000 dropbox -p system_app_crash) ------
Drop box contents: 586 entries
Max entries: 1000
Searching for: system_app_crash

========================================
2019-06-21 16:26:00 system_app_crash (text, 967 bytes)
Process: pl.zdunex25.updater
PID: 2137
Flags: 0x3888be47
Package: pl.zdunex25.updater v83 (8.3)
Foreground: Yes
Build: xiaomi/whyred/whyred:9/PKQ1.180904.001/9.6.13:user/release-keys/1560434479

java.lang.NullPointerException: Attempt to read from null array
at pl.zdunex25.updater.MainActivity$3.onClick(MainActivity.java:340)
at android.view.View.performClick(Unknown Source:17)
at android.view.View.performClickInternal(Unknown Source:3)
at android.view.View.access$3100(Unknown Source:0)
at android.view.View$PerformClick.run(Unknown Source:2)
at android.os.Handler.handleCallback(Unknown Source:2)
at android.os.Handler.dispatchMessage(Unknown Source:4)
at android.os.Looper.loop(Unknown Source:208)
at android.app.ActivityThread.main(Unknown Source:107)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
at com.android.internal.os.ZygoteInit.main(Unknown Source:274)

------ 0.083s was the duration of 'DROPBOX SYSTEM APP CRASHES' ------
========================================================
== Final progress (pid 31206): 1422/1452 (estimated 1452)

I am using Xiaomi.eu ROM, on Pixel Experience it happens the same