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

qws server : File descriptor leak

    XMLWordPrintable

Details

    • QNX

    Description

      • Run the QWS Server and remember the number of file descriptors
        # pidin -P qws_server -F "%o"
                  ....
                  12  679955 r-        0 /dev/devi/mouse0
                  13  679955 r-        0 /dev/devi/touch0
                  14  679955 r-        0 /dev/devi/keyboard0
                   0s      1
        
      • Run any other program with using GUI (QApplication) and close
      • See that the number of descriptors has increased
        # pidin -P qws_server -F "%o"
                  ....
                  12  679955 r-        0 /dev/devi/mouse0
                  13  679955 r-        0 /dev/devi/touch0
                  14  679955 r-        0 /dev/devi/keyboard0
                  16       1 rw        0 /bin/ksh
                  17       1 rw        0 /bin/ksh
                  18       1 rw        0 /bin/ksh
                   0s      1
        
      • When you continue to run and close program with GUI the number of programs will increase.

      Attachments

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

        Activity

          People

            ablasche Alex Blasche
            a.khakimov Айнур Хакимов
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes