[Xfce-bugs] [Bug 13481] Indefinite hang

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Fri Apr 7 11:13:47 CEST 2017


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

Alistair Buxton <a.j.buxton at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |a.j.buxton at gmail.com

--- Comment #1 from Alistair Buxton <a.j.buxton at gmail.com> ---
Okay, so from the GDB trace we see that one thread is stuck at:

thunar_file_monitor (monitor=<optimised out>, event_path=0x562c507922a0,
other_path=0x562c50b92fa0, event_type=G_FILE_MONITOR_EVENT_MOVED,
user_data=<optimised out>) at thunar-file.c:822

This line is:

    G_LOCK (file_rename_mutex);

Which was added to try to fix bug #12264. So this is a mutex deadlock.

My best guess (which I mentioned on the other bug) is that this is something to
do with thumbnails. When a file gets moved/renamed, thunar also renames the
thumbnail cache file (which I think lives in ~/.cache/thumbnails) to match.
This is done inside the mutex, and of course it triggers a further
G_FILE_MONITOR_EVENT_MOVED, which has to wait for the mutex to unlock before it
can complete.

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


More information about the Xfce-bugs mailing list