-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
6.8.4, 6.9.1, 6.11
-
None
-
Ubuntu 24.04 LTS
clang 18.1.3
- Have a Qt build with ASAN.
I used clang 18.1.3 to build the current dev branch with switches including -static -sanitize address, see attached config.opt. - Use that to build the attached demo project:
#include <QGuiApplication> #include <QImage> #include <QPainter> int main(int argc, char *argv[]) { static QGuiApplication qga(argc, argv); QImage image(377, 233, QImage::Format_RGB32); QPainter painter(&image); painter.drawText(0,0,"Qt"); return 0; }
- Run the project.
ASAN reports memory leaks, see attached logs.