Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.13.1, 5.14.0
-
None
-
-
e6f1fde24f77f63fb16b2df239f82a89d2bf05dd (qt/qtbase/5.14.1) eb192256e74ba46e719fcadcb962592d19612f6e (qt/qtbase/5.12.7)
Description
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.