Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-05-28 11:14:15

rizalmartin
Member
Registered: 2021-05-01
Posts: 15

Thunar crashed when called by DBus

When I opened a file from Desktop via xfdesktop, it show this error message

The requested operation could not be completed
GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying

Also here is the error message found on /var/log/messages

May 28 19:12:31 puppypc daemon.info dbus-daemon[18751]: [session uid=0 pid=18749] Activating service name='org.xfce.FileManager' requested by ':1.9' (uid=0 pid=18786 comm="xfdesktop ")
May 28 19:12:31 puppypc daemon.info dbus-daemon[18751]: [session uid=0 pid=18749] Successfully activated service 'org.xfce.FileManager'
May 28 19:12:31 puppypc kern.info kernel: Thunar[20948]: segfault at 1ed9 ip 00007fbf0bdf512d sp 00007fff011cf658 error 4 in libgobject-2.0.so.0.6800.2[7fbf0bdd0000+2d000]
May 28 19:12:31 puppypc kern.info kernel: Code: 02 48 8d 05 95 45 02 00 48 8b 34 d8 eb b6 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 85 ff 74 4b 48 8b 07 48 85 c0 74 43 <48> 8b 00 48 3d fc 03 00 00 76 18 48 83 e0 fc 0f b6 50 14 45 31 c0

Here is the dbus service file content for org.xfce.FileManager

[D-BUS Service]
Name=org.xfce.FileManager
Exec=/usr/bin/Thunar --gapplication-service
SystemdService=thunar.service

That's strange that Thunar runs nicely but crashed when called by DBus requested by xfdesktop

Last edited by rizalmartin (2021-05-28 11:18:09)

Offline

#2 2021-05-28 16:44:25

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Thunar crashed when called by DBus

Which version of Xfce, thunar and xfdesktop are you running?

Do you have alot of custom actions? See: https://forum.xfce.org/viewtopic.php?id=12266 and https://bugzilla.xfce.org/show_bug.cgi?id=14464 (segfault message is similar).


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2021-05-29 10:30:30

rizalmartin
Member
Registered: 2021-05-01
Posts: 15

Re: Thunar crashed when called by DBus

ToZ wrote:

Which version of Xfce, thunar and xfdesktop are you running?

Do you have alot of custom actions? See: https://forum.xfce.org/viewtopic.php?id=12266 and https://bugzilla.xfce.org/show_bug.cgi?id=14464 (segfault message is similar).

Thunar-4.16.8
xfdesktop-4.16.0

Even the stock custom actions. It still crashes when Thunar was called by DBus from clicking a file from desktop. What's more strange was when the thunar was open and minimized. Then open file saved from desktop. It doesn't crash the thunar called from Dbus

Offline

#4 2021-05-29 13:14:26

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Thunar crashed when called by DBus

Which distro?

With thunar open, what does the following return:

whoami

...and:

ps -ef | grep -Ei 'thunar|xfdesktop'

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2021-05-30 13:46:58

rizalmartin
Member
Registered: 2021-05-01
Posts: 15

Re: Thunar crashed when called by DBus

ToZ wrote:

Which distro?

With thunar open, what does the following return:

whoami

...and:

ps -ef | grep -Ei 'thunar|xfdesktop'

I'm using Slackware-built Puppy Linux

whoami: root (Puppy Linux is  always root by default)

here is the terminal output

# ps -ef | grep -Ei 'thunar|xfdesktop'
root      9941  9524  0 21:34 tty1     00:00:00 Thunar --daemon
root      9953  9524  0 21:34 tty1     00:00:01 xfdesktop
root     11908 11751  0 21:44 pts/0    00:00:00 grep -Ei thunar|xfdesktop

Last edited by rizalmartin (2021-05-30 13:48:04)

Offline

#6 2021-05-30 13:55:05

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Thunar crashed when called by DBus

A strange set of circumstances to generate this segfault. Perhaps best to create a new bug report.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#7 2024-01-12 12:16:58

mar232320
Member
Registered: 2024-01-12
Posts: 1

Re: Thunar crashed when called by DBus

I also ran into this issue. My OS is Kali Linux 2021.2, kernel version 5.10.0. I have the same versions of Xfce, xfdesktop and thunar as the author:
Xfce 4.16
xfdesktop 4.16.0
Thunar 4.16.8

The output of

ps -ef | grep -Ei 'thunar|xfdesktop'

mar232320     1040     888  0 12:40 ?        00:00:17 xfdesktop --display :0.0 --sm-client-id 25ac53722-ba37-41e9-9b6b-61beedeb245b
mar232320     3400     860  0 13:05 ?        00:00:00 /usr/bin/Thunar --daemon

I am not running Thunar as root. Every time I open a file on the desktop (image file or zip for example) this alert pops and all thunar instances are shut down.

The requested operation could not be completed
GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying

This didn't happen before, but recently I messed with hidden files in my home directory and probably deleted some directories like .cache or .dbus

Offline

Board footer

Powered by FluxBB