The hangs may be caused by the multithreading bug from my previous
comment.

The problem is this: there is both a folder monitor and a file monitor.
Usually, the file monitor is registered before the folder monitor. If
that happens, when a file is renamed, the file monitor gets called and
the folder monitor gets temporarily disconnected (this causes
thunar_folder_monitor not to run later).

But, sometimes, when we're out of luck, because of the multithreading
issues, the file monitor is not registered (or registered for the wrong
(already renamed?) filename). In that case, the folder monitor will
handle the signal.

When that happens, this assertion always fails in thunar_folder_finished - this 
causes the hang:
_thunar_return_if_fail (folder->content_type_idle_id == 0);

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1512120

Title:
  [SRU] thunar crashes on file renaming

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunar/+bug/1512120/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to