Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-118163

Flaky race-condition in QuickTest when running tst_inputpanel built with ASAN

XMLWordPrintable

    • 80532bcd2 (dev), 5b111a8d4 (6.6), ac663089b (tqtc/lts-6.5), fd7459a60 (dev), 70ac45623 (6.6), b486710ba (tqtc/lts-6.5), 72d01521e (tqtc/lts-6.2), f8b6cdf63 (dev), 90c72cc90 (6.6), 44dbbf49e (tqtc/lts-6.5)

      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.

        For Gerrit Dashboard: QTBUG-118163
        # Subject Branch Project Status CR V

            manordheim MÃ¥rten Nordheim
            jimis Dimitrios Apostolou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: