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

QDBusConnectionManager destructor hangs after fork

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 6.9.0 RC
    • Core: Threads
    • None
    • Linux/X11

    Description

      I'm not sure if this is really a bug or just a limitation of how fork() works. This issue bite me even in the Qt 5 era and now reoccured in another use case that I was able to minimize into a following testcase: https://arrowd.name/t.cpp

      When the test program is ran as

      ./a.out fork stuff

      the program successfully terminates. However, running it as

      ./a.out stuff fork

      makes the child hang in QDBusConnectionManager::~QDBusConnectionManager

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            arrowd Gleb Popov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes