! 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 !
Several XFCE applications appear irresponsible after communicating with a daemon
Status:
RESOLVED: FIXED
Product:
Xfce4-settings
Component:
Xfsettingsd

Comments

Description Alberto Salvia Novella 2014-07-26 18:06:02 CEST
Several programs in Xfce have a daemon mode call gtk_init() before fork()ing.

This is unsafe, and when it goes wrong this will typically manifest as the daemon hanging shortly after forking, and appearing to simply do nothing at all.
Comment 1 Eric Koegel editbugs 2014-07-28 08:12:14 CEST
Created attachment 5567 
Fork before gtk/dbus init

Hey, found another fork bug report. This should fix it in xfsettingsd.
Comment 2 Eric Koegel editbugs 2014-07-28 08:12:46 CEST
Moving to xfsettingsd.
Comment 3 Simon Steinbeiss editbugs 2014-07-28 17:58:40 CEST
Applied to git master.

commit 791f02416560f5ac75250a9a67f4e2a3d0ac6f7c
Author: Eric Koegel <eric.koegel@gmail.com>
Date:   Mon Jul 28 09:03:30 2014 +0300

    Fork before gtk/dbus init (bug #11045)
    
    https://mail.xfce.org/pipermail/xfce4-dev/2014-May/030715.html
    has the rational for the change.
Comment 4 Sean Davis editbugs 2015-01-31 14:43:32 CET
*** Bug 11036 has been marked as a duplicate of this bug. ***

Bug #11045

Reported by:
Alberto Salvia Novella
Reported on: 2014-07-26
Last modified on: 2015-01-31
Duplicates (1):
  • 11036 xfsettingsd unable to daemonize properly when overlay scrollbars are activated

People

Assignee:
Eric Koegel
CC List:
6 users

Version

Version:
unspecified

Attachments

Fork before gtk/dbus init (2.71 KB, patch)
2014-07-28 08:12 CEST , Eric Koegel
no flags

Additional information