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

Qt creates an excessive number of dbus sockets for unknown reason

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 6.7.2
    • D-Bus
    • None
    • Debian Trixie
    • Linux/X11

    Description

      Hi, a qt based application(OBS) has been consistanly crashing shortly after startup. I tracked the issue down to excessive creation of sockets and then choking on the open file limit(gdb backtrace of the syscall that recives EMFILE included).

      The issue I opened on the application itself is here: https://github.com/obsproject/obs-studio/issues/11902

      According to one of the OBS devs they only interact with dbus directly in a few specific places and provided a patch to disable those, but the issue persists with that patch. Therefor I suspect this might be a qt issue.

      Attached are the gdb backtrace of the syscall that creates the excessive number of sockets, the output of `lsof +E -p $APPLICATION_PID` after OBS got EMFILE and the cli output of the application.

      Attachments

        1. all thread backtrace with symbols.txt.gz
          48 kB
          Christoph Lemannczick
        2. lsof +E.txt
          324 kB
          Christoph Lemannczick
        3. backtrace.txt
          2 kB
          Christoph Lemannczick
        4. obs cli output 2.txt
          35 kB
          Christoph Lemannczick
        5. obs cli output.txt
          25 kB
          Christoph Lemannczick
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            lem-solutions Christoph Lemannczick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes