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

QFileSystemWatcher hangs in destructor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 4.5.3
    • None
    • Qt-Embedded 4.5.3 on MIPS and x86.
      MIPS: Linux 2.6.22.6 with Inotify support, GCC 4.1.2.
      x86 (Gentoo): Linux 2.6.30 with Inotify and Dnotify support, GCC 4.3.4.

    Description

      When a QFileSystemWatcher object is destroyed on exiting an application it hangs in the destructor waiting for a QThread to terminate. This happens only if it had been watching files previously, and no matter if files() and directories() currently return any files being watched. It does not occur if there had never been added any files to the object.
      As I currently can't debug into the libs I'm not sure which watcher backend is used.

      Attachments

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

        Activity

          People

            dzyubenk Denis Dzyubenko (Inactive)
            murphy.gebert Martin Gebert
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes