[Bug 812913] [NEW] poor console performance if dbus-launch run with "--exit-with-session"
James Hunt
812913 at bugs.launchpad.net
Tue Jul 19 14:18:02 UTC 2011
Public bug reported:
Running dbus-launch from the console results in very poor performance
(keyboard keys need to be held down for multiple seconds for an echo of
that character to appear on the console).
To recreate:
killall dbus-launch &>/dev/null
eval `dbus-launch --auto-syntax --exit-with-session`
start typing :-)
Note that the problem only occurs with "--exit-with-session": This
invocation is fine:
killall dbus-launch &>/dev/null
eval `dbus-launch --auto-syntax`
Problem appears to be related to function tools/dbus-
launch.c:kill_bus_when_session_ends() which is calling select(2)
followed by read(2) in an infinite loop (until the shell exits) for all
input the user types.
Poor performance observed in oneiric VM (kvm).
** Affects: dbus (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dbus in Ubuntu.
https://bugs.launchpad.net/bugs/812913
Title:
poor console performance if dbus-launch run with "--exit-with-session"
Status in “dbus” package in Ubuntu:
New
Bug description:
Running dbus-launch from the console results in very poor performance
(keyboard keys need to be held down for multiple seconds for an echo
of that character to appear on the console).
To recreate:
killall dbus-launch &>/dev/null
eval `dbus-launch --auto-syntax --exit-with-session`
start typing :-)
Note that the problem only occurs with "--exit-with-session": This
invocation is fine:
killall dbus-launch &>/dev/null
eval `dbus-launch --auto-syntax`
Problem appears to be related to function tools/dbus-
launch.c:kill_bus_when_session_ends() which is calling select(2)
followed by read(2) in an infinite loop (until the shell exits) for
all input the user types.
Poor performance observed in oneiric VM (kvm).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/812913/+subscriptions
More information about the foundations-bugs
mailing list