[Xfce-bugs] [Bug 13481] Indefinite hang

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Fri Apr 7 11:14:48 CEST 2017


https://bugzilla.xfce.org/show_bug.cgi?id=13481

--- Comment #2 from Alistair Buxton <a.j.buxton at gmail.com> ---
(Copying my comment over from the other bug)

The problem appears to be as follows:

1. A file in that directory gets renamed.
2. G_FILE_MONITOR_EVENT_MOVED happens on thread A.
3. The mutex gets locked.
4. The thumbnail associated with the file gets renamed.
5. G_FILE_MONITOR_EVENT_MOVED happens for the thumbnail on thread B.
6. Thread B waits on the mutex to unlock.
7. Thread A won't unlock the mutex until thread B finished.

This all seems to be a result of:

  thunar_file_move_thumbnail_cache_file (event_path, other_path);

now being inside the mutex. The previous crash was likely caused by a similar
chain of events, eg check out this bug report which specifically mentions
move_thumbnail:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=800723;msg=91

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list