Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.8.0
-
None
-
Linux Mint 18.1 Cinnamon (GCC/G++ version 5.4.020160609)
-
524f39db899d68e0ef90184a268eb75ad4ac216e
Description
When using these flags:
GLOBAL_FLAGS += -fsanitize=address,bounds -fsanitize-undefined-trap-on-error -O0
QMAKE_CFLAGS += $$GLOBAL_FLAGS
QMAKE_CXXFLAGS += $$GLOBAL_FLAGS
QMAKE_LFLAGS += $$GLOBAL_FLAGS
The address sanitizer is triggered when opening QFileDialogs and crashes the executing program.
Attached is a simple reproducible gui project to simulate this. In addition, attached is the output produced by asan.
Attachments
For Gerrit Dashboard: QTBUG-59611 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
189041,2 | gtk3: Fix use of dangling pointers | 5.8 | qt/qtbase | Status: MERGED | +2 | 0 |
291645,1 | Notify Accessibility of geometry changes | dev | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |