[Xfce-bugs] [Bug 14122] New: Deadlock during loading of folder contents

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Tue Dec 26 17:37:34 CET 2017


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

            Bug ID: 14122
           Summary: Deadlock during loading of folder contents
    Classification: Xfce Core
           Product: Thunar
           Version: 1.6.13
          Hardware: PC (x86_64)
               URL: https://bugzilla.suse.com/show_bug.cgi?id=1074051
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: General
          Assignee: xfce-bugs at xfce.org
          Reporter: elfring at users.sourceforge.net
                CC: benny at xfce.org, hjudt at xfce.org
  Target Milestone: 1.7.1

I stumbled on the following software situation once more on 2017-12-24. The
windows of this file manager did not respond any more as expected. Their status
lines displayed the message “Ordnerinhalt wird geladen …” (Loading folder
contents...).

elfring at Sonne:~> ps -ef|grep Thunar
elfring   3346  3336  0 10:49 tty2     00:00:02 Thunar --sm-client-id
2e621412a-b89a-4db2-9ba2-bd3cc0e1d1ce --daemon
…
elfring at Sonne:~> strace -p 3346
…
futex(0x55df5419db28, FUTEX_WAIT_PRIVATE, 2, NULL
elfring at Sonne:~> gdb -p 3346
…
(gdb) bt
#0  0x00007fbafaec7fd9 in syscall () at
../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fbafb43febc in g_mutex_lock_slowpath
(mutex=mutex at entry=0x55df5419db28) at gthread-posix.c:1313
#2  0x00007fbafb440702 in g_mutex_lock (mutex=mutex at entry=0x55df5419db28) at
gthread-posix.c:1337
#3  0x000055df5230aa49 in thunar_thumbnailer_queue_async_reply
(proxy=0x55df53804550, handle=2, error=0x0, user_data=0x55df53eb63a0) at
thunar-thumbnailer.c:617
#4  0x000055df5230a63e in thunar_thumbnailer_proxy_queue_async_callback
(proxy=0x55df53804550, call=<optimized out>, user_data=0x55df5418e790) at
../thunar/thunar-thumbnailer-proxy.h:36
#5  0x00007fbafbcc98a2 in complete_pending_call_and_unlock
(connection=connection at entry=0x55df534fa1e0, pending=0x55df543e4da0,
message=message at entry=0x55df543e4310) at dbus-connection.c:2331
#6  0x00007fbafbccd21f in dbus_connection_dispatch
(connection=connection at entry=0x55df534fa1e0) at dbus-connection.c:4652
#7  0x00007fbafbf124f5 in message_queue_dispatch
(source=source at entry=0x55df534fc090, callback=<optimized out>,
user_data=<optimized out>) at dbus-gmain.c:90
#8  0x00007fbafb3faf97 in g_main_dispatch (context=0x55df534818b0) at
gmain.c:3148
#9  0x00007fbafb3faf97 in g_main_context_dispatch
(context=context at entry=0x55df534818b0) at gmain.c:3813
#10 0x00007fbafb3fb1d0 in g_main_context_iterate (context=0x55df534818b0,
block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at
gmain.c:3886
#11 0x00007fbafb3fb4e2 in g_main_loop_run (loop=0x55df54142fc0) at gmain.c:4082
#12 0x00007fbafd308ad7 in gtk_main () at /usr/lib64/libgtk-x11-2.0.so.0
#13 0x000055df522b3799 in main (argc=<optimized out>, argv=<optimized out>) at
main.c:312

The directory contents were correctly displayed when I started another instance
of the application “thunar 1.6.13-124.1” on my openSUSE Tumbleweed system.

But a software component got stuck after my login for this XFCE session.


How often can it happen that the call of the macro “_thumbnailer_lock” will be
reached in the implementation of the function
“thunar_thumbnailer_queue_async_reply” before the corresponding statement
“_thumbnailer_unlock” will be completely executed?
https://git.xfce.org/xfce/thunar/tree/thunar/thunar-thumbnailer.c?id=89de3451891c36b1b86cb626de820d11e0f4bd9e#n265

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


More information about the Xfce-bugs mailing list