[Lenovo K6 / K6 Power / K6 Note ROMs, Kernels, Reco] gradinaruvasile:
Logs spammed with crashes

I keep getting crashes related to some executable named "/vendor/bin/hw/vendor.qti.hardware.qdutils_disp@1.0-service-qti" that requires "libdisplayconfig.so" library that is not found (i searched for the library and the closest one i found is /system/lib64/libdisplayservicehidl.so). These messages spam logcat/dmesg every 5 seconds or so ( possibly preventing the phone to enter deep sleep). The phone (K6 Power) works otherwise.

I removed the executable permissions from that file and logcat doesnt have the crash messages anymore, in dmesg i still see that the "qdutils_disp-1-0" service tries to start and fails because "cannot execve('/vendor/bin/hw/vendor.qti.hardware.qdutils_disp@1.0-service-qti'): Permission denied". This is because it has no executable permissions. But where is the "trigger" where the service is set to start?

What is this service and what can be done about it?

logcat message:

03-11 06:08:35.119 10944 10944 F libc : CANNOT LINK EXECUTABLE "/vendor/bin/hw/vendor.qti.hardware.qdutils_disp@1.0-service-qti": library "libdisplayconfig.so" not found
03-11 06:08:35.120 10944 10944 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 10944 (vendor.qti.hard), pid 10944 (vendor.qti.hard)
03-11 06:08:35.149 10947 10947 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
03-11 06:08:35.149 686 686 I /system/bin/tombstoned: received crash request for pid 10944
03-11 06:08:35.151 10947 10947 I crash_dump64: performing dump of process 10944 (target tid = 10944)
03-11 06:08:35.151 10947 10947 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-11 06:08:35.151 10947 10947 F DEBUG : Build fingerprint: 'lenovo/lineage_karate/karate:8.1.0/OPM1.171019.018/9e7f51b6e2:userdebug/test-keys'
03-11 06:08:35.151 10947 10947 F DEBUG : Revision: '0'
03-11 06:08:35.151 10947 10947 F DEBUG : ABI: 'arm64'
03-11 06:08:35.151 10947 10947 F DEBUG : pid: 10944, tid: 10944, name: vendor.qti.hard >>> /vendor/bin/hw/vendor.qti.hardware.qdutils_disp@1.0-service-qti <<<
03-11 06:08:35.151 10947 10947 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
03-11 06:08:35.154 10947 10947 F DEBUG : Abort message: 'CANNOT LINK EXECUTABLE "/vendor/bin/hw/vendor.qti.hardware.qdutils_disp@1.0-service-qti": library "libdisplayconfig.so" not found'
03-11 06:08:35.154 10947 10947 F DEBUG : x0 0000000000000000 x1 0000000000002ac0 x2 0000000000000006 x3 0000000000000008
03-11 06:08:35.154 10947 10947 F DEBUG : x4 0080000000808080 x5 0080000000808080 x6 0080000000808080 x7 0000000000000010
03-11 06:08:35.154 10947 10947 F DEBUG : x8 0000000000000083 x9 30e7402f0ac5b97f x10 0000000000000000 x11 0000000000000001
03-11 06:08:35.154 10947 10947 F DEBUG : x12 ffffffffffffffff x13 000000005aa4abc3 x14 0006cb70ebb31e00 x15 00005af21054c054
03-11 06:08:35.154 10947 10947 F DEBUG : x16 0000000000000000 x17 063697934a61d14a x18 00000076e3baf230 x19 0000000000002ac0
03-11 06:08:35.154 10947 10947 F DEBUG : x20 0000000000002ac0 x21 0000005555555e32 x22 0000007fe95cc0e8 x23 0000005555557ee0
03-11 06:08:35.154 10947 10947 F DEBUG : x24 00000076e3bae568 x25 0000007fe95cc0f8 x26 00000076e3cbb3f8 x27 00000076e3cbb000
03-11 06:08:35.154 10947 10947 F DEBUG : x28 00000076e3cbb7e0 x29 0000007fe95cadb0 x30 00000076e3c5cf00
03-11 06:08:35.154 10947 10947 F DEBUG : sp 0000007fe95cad70 pc 00000076e3c5cf1c pstate 0000000060000000
03-11 06:08:35.158 10947 10947 F DEBUG :
03-11 06:08:35.158 10947 10947 F DEBUG : backtrace:
03-11 06:08:35.158 10947 10947 F DEBUG : #00 pc 000000000009ef1c /system/bin/linker64 (__dl_abort+104)
03-11 06:08:35.158 10947 10947 F DEBUG : #01 pc 000000000001d7f4 /system/bin/linker64 (__dl___linker_init+3668)
03-11 06:08:35.158 10947 10947 F DEBUG : #02 pc 0000000000023b64 /system/bin/linker64 (_start+4)
03-11 06:08:35.215 1122 1577 W NativeCrashListener: Couldn't find ProcessRecord for pid 10944
03-11 06:08:35.216 686 686 E /system/bin/tombstoned: Tombstone written to: /data/tombstones/tombstone_44
03-11 06:08:35.217 1122 1313 I BootReceiver: Copying /data/tombstones/tombstone_44 to DropBox (SYSTEM_TOMBSTONE)

dmesg:

[24274.592003] init: starting service 'qdutils_disp-1-0'...
[24274.593050] init: property_set("ro.boottime.qdutils_disp-1-0", "30262109512606") failed: property already set
[24274.672277] logd: logdr: UID=1000 GID=1000 PID=10920 n tail=5 logMask=8 pid=10917 start=0ns timeout=0ns
[24274.678973] logd: logdr: UID=1000 GID=1000 PID=10920 n tail=5 logMask=1 pid=10917 start=0ns timeout=0ns
[24274.685449] logd: logdr: UID=1000 GID=1000 PID=10920 n tail=0 logMask=8 pid=10917 start=0ns timeout=0ns
[24274.693151] logd: logdr: UID=1000 GID=1000 PID=10920 n tail=0 logMask=1 pid=10917 start=0ns timeout=0ns
[24274.704312] init: Untracked pid 10920 killed by signal 13
[24274.709563] init: Service 'qdutils_disp-1-0' (pid 10917) killed by signal 6
[24274.709617] init: Sending signal 9 to service 'qdutils_disp-1-0' (pid 10917) process group...
[24274.709787] init: Successfully killed process cgroup uid 1000 pid 10917 in 0ms

dmesg after removing permissions:

[24474.632563] init: starting service 'qdutils_disp-1-0'...
[24474.633605] init: property_set("ro.boottime.qdutils_disp-1-0", "30462150078051") failed: property already set
[24474.634040] init: cannot execve('/vendor/bin/hw/vendor.qti.hardware.qdutils_disp@1.0-service-qti'): Permission denied
[24474.635345] init: Sending signal 9 to service 'qdutils_disp-1-0' (pid 11001) process group...
[24474.635492] init: Successfully killed process cgroup uid 1000 pid 11001 in 0ms