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

QFileSystemWatcher hangs in destructor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated 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.

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes