← Back to team overview

registry team mailing list archive

[Bug 85118] Re: epiphany launch error: Unable to connect to session bus

 

Launchpad has imported 7 comments from the remote bug at
http://bugs.freedesktop.org/show_bug.cgi?id=10929.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2007-05-12T09:16:42+00:00 Marcus-freebsd wrote:

The major details of this problem can be found at
http://bugzilla.gnome.org/show_bug.cgi?id=395488 since this was seen
when gnome-session added internal D-Bus support.  Basically, dbus will
write its PID twice to the PID file handle.  The first time is properly
processed, but the second time causes a SIGPIPE which crashes the
session bus.

I'm not sure what the proper fix is, but I have included a patch that
simply ignores SIGPIPE for both writes.  Perhaps the second write should
be eliminated altogether.  These patches are against dbus-1.0.2.

Reply at: https://bugs.launchpad.net/dbus/+bug/85118/comments/5

------------------------------------------------------------------------
On 2007-05-12T09:18:14+00:00 Marcus-freebsd wrote:

Created an attachment (id=9944)
Ignore SIGPIPE when writing PID

Reply at: https://bugs.launchpad.net/dbus/+bug/85118/comments/6

------------------------------------------------------------------------
On 2007-05-14T15:16:34+00:00 Hp-pobox wrote:

as mentioned on http://bugzilla.gnome.org/show_bug.cgi?id=395488
I think the better fix would be to avoid writing the pid twice.

It looks likely the fix for bug #1720 introduced the problem, though I
have not verified. Need to fix it in such a way that it works both with
and without --fork.

Reply at: https://bugs.launchpad.net/dbus/+bug/85118/comments/7

------------------------------------------------------------------------
On 2008-01-17T07:11:51+00:00 Padraig-obriain wrote:

Created an attachment (id=13764)
Write pid to pipe once

This proposed patch writes to pid to pipe just once.

Reply at: https://bugs.launchpad.net/dbus/+bug/85118/comments/11

------------------------------------------------------------------------
On 2008-01-17T12:05:51+00:00 Johnp-redhat wrote:

patch doesn't apply to git head.  Please repost one that does.  I don't
think this will make 1.2.0.

Reply at: https://bugs.launchpad.net/dbus/+bug/85118/comments/12

------------------------------------------------------------------------
On 2008-01-18T00:13:04+00:00 Padraig-obriain wrote:

Brian Cameron has pointed out to me Havoc's commit of 2007-08-17. to
bus/bus.c and dbus/dbus-sysdeps-util-unix.c.

I think that fixes the problem and this bug can be closed.

Reply at: https://bugs.launchpad.net/dbus/+bug/85118/comments/13

------------------------------------------------------------------------
On 2009-02-25T08:38:54+00:00 Colin Walters wrote:

Sounds like this one is fixed, closing; thanks Padraig.

Reply at: https://bugs.launchpad.net/dbus/+bug/85118/comments/18


** Changed in: dbus
   Importance: Unknown => Medium

-- 
epiphany launch error: Unable to connect to session bus
https://bugs.launchpad.net/bugs/85118
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for D-Bus.