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

QProcess::execute sometimes hangs on Linux

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9.2
    • 5.9.0
    • Core: I/O
    • None
    • ffe8884ac3a3b494786055aa51fd48e3d6edac16

    Description

      When trying to integrate https://codereview.qt-project.org/#/c/195904/ we observed several times that tst_qprocess::lockupsInStartDetached sometimes hangs.
      Backtrace is attached.

      On a RHEL 6.6 coin VM I could reproduce the hang with commit 15fe60cfdada84ea519f08e905d59cc3fb6d20cd already by running the single autotest in a loop. According to the failure logs it's not specific to RHEL though.

      Non-scientific impression: When the CI was under heavy load I was able to reproduce the hang after 50000 runs or so, in quieter times it took several hours (15 or so) running in a loop.

      I've attached three strace logs:

      • normal run (not hanging)
      • hanging
      • hanging after pressing Ctrl-C

      Attachments

        1. bt.txt
          17 kB
        2. trace-after-Ctrl-C.txt
          47 kB
        3. trace-hanging.txt
          46 kB
        4. trace-normal.txt
          63 kB

        Issue Links

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

          Activity

            People

              thiago Thiago Macieira
              jbornema Joerg Bornemann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes