[Pkg-utopia-maintainers] Bug#381297: Bug#381297: dbus: X keyboard interference debuging - small progress

Martin-Éric Racine q-funk at iki.fi
Sat Nov 17 12:51:54 UTC 2007


On 11/17/07, Sjoerd Simons <sjoerd at luon.net> wrote:
> On Wed, Aug 09, 2006 at 07:04:13PM +0300, Martin-Éric Racine wrote:
> > ke, 2006-08-09 kello 18:34 +0300, Martin-Éric Racine kirjoitti:
> > > ke, 2006-08-09 kello 00:31 +0300, Martin-Éric Racine kirjoitti:
> > > > ti, 2006-08-08 kello 22:33 +0200, Sjoerd Simons kirjoitti:
> > > > > On Thu, Aug 03, 2006 at 06:16:29PM +0300, Martin-Éric Racine wrote:
> > > > > > I welcome further step-by-step instructions to perform, towards finding
> > > > > > the source of this keyboard input disruption by dbus-enabled apps in X.
> > > > >
> > > > > I doubt it's dbus (thatis the session bus) itself but instead something on the
> > > > > session bus. Which dies when you kill the session bus.
> > > > >
> > > > > Try looking at the difference between your procress listing before and
> > > > > after killing the session bus. Probably same apps have quit (among which the
> > > > > one guilty for your slugish keyboard)
> > > >
> > > > As mentioned in the original bug report, been there done that. NO SINGLE
> > > > APPLICATION died as the result of killing dbug daemons.
> > >
> > > Hmm.  It seems I forgot to actually mention it.  Anyhow, NO, there is no
> > > other application that dies in the process of killing D-Bus components.
> > >
> > > However, as suggested over IRC, I straced this and it indeed taps into
> > > the keyboard:
> >
> > Here's a shorter one, until the keystroke that I pressed right when
> > infinite scrolling kicked-in:
> >
> > me        2165  0.0  0.2   2648   648 ?        S    18:50   0:00 /usr/bin/dbus-launch --exit-with-session x-session-manager
> > me        2168  0.0  0.1   2052   424 ?        Ss   18:50   0:00 dbus-daemon --fork --print-pid 8 --print-address 6 --session
> > root      3953  0.0  0.1   2052   424 ?        Ss   18:54   0:00 dbus-daemon --fork --print-pid 8 --print-address 6 --session
> > nino:/root# strace -p 2165 60
> > Process 2165 attached - interrupt to quit
> > select(5, [0 4], NULL, [0 4], NULL)     = 1 (in [0])
> > ioctl(4, FIONREAD, [0])                 = 0
> > read(0, "\340H", 512)                   = 2
> > select(5, [0 4], NULL, [0 4], NULL)     = 1 (in [0])
> > ioctl(4, FIONREAD, [0])                 = 0
> > read(0, "\340H", 512)                   = 2
> > select(5, [0 4], NULL, [0 4], NULL)     = 1 (in [0])
> > ioctl(4, FIONREAD, [0])                 = 0
> > read(0, "\340H", 512)                   = 2
> > select(5, [0 4], NULL, [0 4], NULL)     = 1 (in [0])
> > ioctl(4, FIONREAD, [0])                 = 0
> > read(0, "\234", 512)                    = 1
> > select(5, [0 4], NULL, [0 4], NULL
>
> Sorry for not getting back to you earlier. But do you still see this issue with
> recent versions of dbus?

Yes, I do.

-- 
Martin-Éric Racine
http://q-funk.iki.fi


More information about the Pkg-utopia-maintainers mailing list