Details
-
Bug
-
Resolution: Invalid
-
P1: Critical
-
None
-
6.4
-
None
-
Ubuntu 20.04
clang 10.0.0
Description
- Configure qtbase with "-sanitize address" and build it.
- Build the attached project.
qt-cmake /tmp/report/ && cmake --build .
- Run the resulting binary passing any .ico file as parameter:
./report ~/dev/src/qtbase/tests/auto/gui/image/qimage/images/image.ico
ASAN will report a memory leak:
================================================================= ==55235==ERROR: LeakSanitizer: detected memory leaks Direct leak of 60 byte(s) in 1 object(s) allocated from: #0 0x494b0d in malloc (/tmp/build-report/report+0x494b0d) #1 0x7fe9e68a50c5 (/usr/lib/x86_64-linux-gnu/libxcb.so.1+0xe0c5) SUMMARY: AddressSanitizer: 60 byte(s) leaked in 1 allocation(s).
Attachments
Issue Links
- is replaced by
-
QTBUG-101302 [REG 6.2.3 -> 6.3.0] QGuiApplication leaks memory
-
- Closed
-