! 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 !
Check service name of NameOwnerChanged signals
Status:
RESOLVED: FIXED
Product:
Xfce4-settings
Component:
Xfsettingsd

Comments

Description Lionel Le Folgoc 2012-09-09 10:58:42 CEST
Created attachment 4618 
Proposed patch

Hi,

I'm not really sure whether it's a dbus bug or not, but in some conditions, the dbus spawn of xfconf leads to the shutdown of xfsettingsd because it "thinks" another instance is taking over... After some debugging I found that it receives a NameOwnerChanged signal describing the launch of Xfconf (name=org.xfce.Xfconf, old=, new=:1.11 for example).

The attached patch checks that the received message is valid and that it's actually intended for org.xfce.SettingsDaemon. It fixes this issue here.

Thanks.
Comment 1 Nick Schermer editbugs 2012-09-09 11:51:01 CEST
Pushed in c17fe35.

Bug #9273

Reported by:
Lionel Le Folgoc
Reported on: 2012-09-09
Last modified on: 2012-09-09

People

Assignee:
Nick Schermer
CC List:
2 users

Version

Version:
4.10.0

Attachments

Proposed patch (1.18 KB, patch)
2012-09-09 10:58 CEST , Lionel Le Folgoc
no flags

Additional information