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

Deadlock may happen when local object call happens and qDBusAddSpyHook is used.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.6.0 RC
    • Fix Version/s: 5.6.1
    • Component/s: D-Bus
    • Labels:
      None
    • Environment:
      Qt 5.6.0 RC
    • Commits:
      2e02de165115c9d67ac343ff0960ed80f9c09bc8

      Description

      See new backtrace and main.cpp for more details.
      When qDBusAddSpyHook is used, handleObjectCall will be called from daemon thread. If this happens and the receiver thread tries to make a call to daemon thread, dead lock will happen.

        Attachments

        1. backtrace
          5 kB
        2. backtrace
          9 kB
        3. main.cpp
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            csslayer Weng Xuetian
            Reporter:
            csslayer Weng Xuetian
            Votes:
            2 Vote for this issue
            Watchers:
            10 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes