Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
6.12
-
None
Description
Please look at https://bugreports.qt.io/browse/QTBUG-122824 which is titled QApplication leaks files.
This is just a more complicated version of QTBUG-122824 https://bugreports.qt.io/browse/QTBUG-122824
PLEASE READ https://bugreports.qt.io/browse/QTBUG-122824. The idea is the same but it turns out the unloading the Qt and friend libraries does not close the leaked files. See and compile that attached C++ source files. The 3 files are used to compile two binary ELF files, one that is a regular binary program that does not link with Qt (and friend libraries) and the other one is a DSO (dynamic shared object) library that links with the Qt and friend libraries. Compiling instructions are in the comments of the source files (just 4 bash command lines). Running the program "qt6_fileLeak_test" loads the DSO file which creates a QApplication object and prints to stdout what's going on.