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.
Attachments
For Gerrit Dashboard: QTBUG-81272 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
286795,2 | QLibrary/Unix: do not attempt to load a library relative to $PWD | 5.14.1 | qt/qtbase | Status: MERGED | +2 | 0 |
287102,2 | QLibrary/Unix: do not attempt to load a library relative to $PWD | 5.12.7 | qt/qtbase | Status: MERGED | +2 | 0 |
299105,1 | QLibrary/Unix: do not attempt to load a library relative to $PWD | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |