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.