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

QProcess freezes on deletion after a crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P4: Low
    • Some future release
    • 4.4.1
    • Core: I/O
    • None

    Description

      Test case: connect error signal to a slot that, in case the error is QProcess::crashed, deletes the QProcess, and then continue normally.

      Expected: QProcess (representing the already-crashed and known-to-be-crashed) process to quickly delete and continue with normal program execution. Instead: It just freezes, blocking indefinitely in waitForFinished.

      This happens no matter when the crash takes place - including after some communication between the two processes had already taken place, so it seems as if it couldn't be a race condition.

      Note: deleting the sender object from inside a slot is never a good practice. This task has a low priority because of that.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            stormols Marius Storm-Olsen
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes