-
Type:
Bug
-
Status: Closed
-
Priority:
P1: Critical
-
Resolution: Done
-
Affects Version/s: 5.13.1, 5.14.0
-
Fix Version/s: 5.12.7, 5.14.1, 5.15.0 Alpha
-
Component/s: Core: Plugins
-
Labels:None
-
Platform/s:
-
Commits:e6f1fde24f77f63fb16b2df239f82a89d2bf05dd (qt/qtbase/5.14.1) eb192256e74ba46e719fcadcb962592d19612f6e (qt/qtbase/5.12.7)
With strace, it is visible that Qt (installed in /usr/lib64) tries to load a plugin relative to the current directory:
~> strace -fefile qdbusviewer |& grep -i hasw [pid 3055] openat(AT_FDCWD, "haswell/libXcursor.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (Datei oder Verzeichnis nicht gefunden) [pid 3055] openat(AT_FDCWD, "haswell/libXcursor", O_RDONLY|O_CLOEXEC) = -1 ENOENT (Datei oder Verzeichnis nicht gefunden)
This is undesirable as the CWD contents can be unknown, so it might be finding something which it's not supposed to.