[Xfce-bugs] [Bug 13481] Indefinite hang

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Thu Apr 13 02:19:37 CEST 2017


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

Viktor Odintsev <zakhams at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zakhams at gmail.com

--- Comment #3 from Viktor Odintsev <zakhams at gmail.com> ---
Created attachment 7074
  --> https://bugzilla.xfce.org/attachment.cgi?id=7074&action=edit
Deadlock fix

It seems that mutex may be not released due to return statement in
thunar_file_monitor function. This will cause deadlocks.

>          G_LOCK (file_rename_mutex);
>          ...
>          if (other_file == NULL)
>              return;
>          ...
>          G_UNLOCK (file_rename_mutex);

I'm attaching the patch which solves this problem. Thunar no more hangs for me.

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


More information about the Xfce-bugs mailing list