! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Thunar freezes while accessing dbus
Status:
RESOLVED: INVALID
Severity:
critical

Comments

Description Konstantin Svist 2011-12-03 09:11:22 CET
User-Agent:       Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20100101 Firefox/8.0
Build Identifier: 

On one machine, Thunar started freezing up some time after upgrade from Fedora 15 to Fedora 16
When opening with strace, it shows waiting (and timing out several times) for a file descriptor that I believe is dbus.

Reproducible: Always
Comment 1 Konstantin Svist 2011-12-05 00:56:54 CET
This appears specific to one user account.

strace:
[...]
poll([{fd=5, events=POLLIN}], 1, 25000) = 0 (Timeout)
sendmsg(5, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1\0\0\0\0\n\0\0\0\255\0\0\0\1\1o\0(\0\0\0/org/fre"..., 192}, {"", 0}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 192
poll([{fd=5, events=POLLIN}], 1, 25000) = 0 (Timeout)
sendmsg(5, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1\0\0\0\0\v\0\0\0\255\0\0\0\1\1o\0(\0\0\0/org/fre"..., 192}, {"", 0}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 192
poll([{fd=5, events=POLLIN}], 1, 25000) = 0 (Timeout)
sendmsg(5, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1\0\0\0\0\f\0\0\0\255\0\0\0\1\1o\0(\0\0\0/org/fre"..., 192}, {"", 0}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 192
poll([{fd=5, events=POLLIN}], 1, 25000) = 0 (Timeout)
sendmsg(5, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1\0\0\0\0\r\0\0\0\255\0\0\0\1\1o\0(\0\0\0/org/fre"..., 192}, {"", 0}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 192
poll([{fd=5, events=POLLIN}], 1, 25000) = 1 ([{fd=5, revents=POLLIN}])
recvmsg(5, {msg_name(0)=NULL, msg_iov(1)=[{"l\3\1\1D\0\0\0\6\0\0\0m\0\0\0\6\1s\0\4\0\0\0:1.0\0\0\0\0"..., 2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 980
recvmsg(5, 0x7fffb5888a20, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable)
sendmsg(5, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1\0\0\0\0\16\0\0\0\255\0\0\0\1\1o\0(\0\0\0/org/fre"..., 192}, {"", 0}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 192
poll([{fd=5, events=POLLIN}], 1, 25000) = 0 (Timeout)
sendmsg(5, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1\0\0\0\0\17\0\0\0\255\0\0\0\1\1o\0(\0\0\0/org/fre"..., 192}, {"", 0}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 192
poll([{fd=5, events=POLLIN}], 1, 25000) = 0 (Timeout)
sendmsg(5, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1\0\0\0\0\20\0\0\0\255\0\0\0\1\1o\0(\0\0\0/org/fre"..., 192}, {"", 0}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 192
poll([{fd=5, events=POLLIN}], 1, 25000) = 0 (Timeout)
sendmsg(5, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1\0\0\0\0\21\0\0\0\255\0\0\0\1\1o\0(\0\0\0/org/fre"..., 192}, {"", 0}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 192
poll([{fd=5, events=POLLIN}], 1, 25000) = 0 (Timeout)
sendmsg(5, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1\0\0\0\0\22\0\0\0\255\0\0\0\1\1o\0(\0\0\0/org/fre"..., 192}, {"", 0}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 192
[...and so on]

Each time the timeout is ~25s. After a bunch of these, thunar finally unfreezes and the directory can be browsed. But if I try to switch to another directory, it freezes up again
Comment 2 Konstantin Svist 2011-12-08 20:41:57 CET
Could not replicate by copying all user's files to a new account
Problem went away after user's id was changed 1000->1002

What could've caused this?
Comment 3 Nick Schermer editbugs 2012-09-30 16:31:49 CEST
No idea.

Bug #8216

Reported by:
Konstantin Svist
Reported on: 2011-12-03
Last modified on: 2012-09-30

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information