How to reproduce
Compile Qt with -sanitize address and under module qtvirtualkeyboard run tst_inputpanel::tst_plugin::test_fullScreenModeWordReselection in a loop:
export ASAN_OPTIONS=detect_leaks=0 # ignore memory leaks while ./tst_inputpanel tst_plugin::test_fullScreenModeWordReselection; do : ; done
Problem
It will crash spuriously (around 1 out of 10 times) with either a heap-use-after-free or a stack-buffer-overflow.
Logs
See attached files.
If you need to debug it, I have setup a VM where the problem manifests. Get in touch with me to get access.
NOTE
This is the last issue remaining to enable blocking ASAN testruns in all modules of Qt.
- blocks
-
QTQAINFRA-5375 Enable ASAN build for Qt modules
-
- Closed
-
- resulted from
-
QTBUG-117060 ERROR: AddressSanitizer: heap-use-after-free in tst_inputpanel
-
- Closed
-