Bug#762672: qt-at-spi: when this package is installed, other programs fail to run

2014-11-29 Thread Samuel Thibault
Control: severity -1 important

Hello,

lightdm-gtk-greeter has been fixed, both in Debian with a small hack,
and upstream with proper at-spi termination.  I believe the severity of
this bug can thus be downgraded to important, since it will not show up
in any normal conditions any more.

Samuel


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Processed: Re: Bug#762672: qt-at-spi: when this package is installed, other programs fail to run

2014-11-29 Thread Debian Bug Tracking System
Processing control commands:

 severity -1 important
Bug #762672 [qt-at-spi] qt-at-spi: when this package is installed, other 
programs fail to run
Severity set to 'important' from 'critical'

-- 
762672: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762672
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#762672: qt-at-spi: when this package is installed, other programs fail to run

2014-10-19 Thread Samuel Thibault
pa...@ucw.cz, le Sun 19 Oct 2014 19:19:34 +0200, a écrit :
 In my scenario (MATE + KDE apps), QT programs actually start, but with
 about two minute delay. And the breakage was not due to lightdm (it
 happenned with both gdm3 and lightdm)

I'm very surprised by this happening with gdm3 too, I'd probably need
more details to be able to reproduce it.  In your environment, does

xprop -root | grep SPI

show an AT_SPI_BUS variable?  Are at-spi-bus-launcher and
at-spi2-registryd running under your identity?  I guess the at-spi2-core
package is installed? (you didn't say it got removed).

 But it seems much more reasonable to me to just not make it hang for
 1-2 minutes when no accessibility API can be contacted. :)

I agree.  I'm however wondering how much time it could take me to manage
to understand the Qt code which is blocking like this.

Samuel


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#762672: qt-at-spi: when this package is installed, other programs fail to run

2014-10-19 Thread Samuel Thibault
Samuel Thibault, le Sun 19 Oct 2014 20:12:33 +0200, a écrit :
 pa...@ucw.cz, le Sun 19 Oct 2014 19:19:34 +0200, a écrit :
  But it seems much more reasonable to me to just not make it hang for
  1-2 minutes when no accessibility API can be contacted. :)
 
 I agree.  I'm however wondering how much time it could take me to manage
 to understand the Qt code which is blocking like this.

Could you also try to reduce service_start_timeout in
/etc/at-spi2/accessibility.conf ? I guess the unit is ms, which indeed
makes 12000 two minutes...

Samuel


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#762672: qt-at-spi: when this package is installed, other programs fail to run

2014-10-19 Thread Petr Baudis
  Hi!

On Sun, Oct 19, 2014 at 08:12:33PM +0200, Samuel Thibault wrote:
 pa...@ucw.cz, le Sun 19 Oct 2014 19:19:34 +0200, a écrit :
  In my scenario (MATE + KDE apps), QT programs actually start, but with
  about two minute delay. And the breakage was not due to lightdm (it
  happenned with both gdm3 and lightdm)
 
 I'm very surprised by this happening with gdm3 too, I'd probably need
 more details to be able to reproduce it.  In your environment, does
 
 xprop -root | grep SPI
 
 show an AT_SPI_BUS variable?  Are at-spi-bus-launcher and
 at-spi2-registryd running under your identity?  I guess the at-spi2-core
 package is installed? (you didn't say it got removed).

  my apologies, I won't be able to try again with gdm3 in particular for
some time now.

  However, the picture clearly is more complicated.  Right now, I have
lightdm session without lightdm's at-spi running anymore and since I do
not have gnome-orca and its dependencies installed, clearly qt apps
shouldn't be able to start - but they do.  On the other hand, I'm pretty
sure around the time I uninstalled gnome-orca, konsole starts got
problematic even in gdm3 session I had before...  I'm stumped.  Maybe
I'm just confused and fixing lightdm is good enough.

Petr Baudis


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#762672: qt-at-spi: when this package is installed, other programs fail to run

2014-10-19 Thread Samuel Thibault
Petr Baudis, le Sun 19 Oct 2014 20:24:25 +0200, a écrit :
   However, the picture clearly is more complicated.  Right now, I have
 lightdm session without lightdm's at-spi running anymore and since I do
 not have gnome-orca and its dependencies installed, clearly qt apps
 shouldn't be able to start - but they do.  On the other hand, I'm pretty
 sure around the time I uninstalled gnome-orca, konsole starts got
 problematic even in gdm3 session I had before...  I'm stumped.  Maybe
 I'm just confused and fixing lightdm is good enough.

Could you perhaps try the package I'm currently testing:
http://dept-info.labri.fr/~thibault/tmp/lightdm-gtk-greeter.deb
to make sure it fixes things in your current case?

Samuel


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#762672: qt-at-spi: when this package is installed, other programs fail to run

2014-10-19 Thread Petr Baudis
On Sun, Oct 19, 2014 at 08:46:01PM +0200, Samuel Thibault wrote:
 Petr Baudis, le Sun 19 Oct 2014 20:24:25 +0200, a écrit :
However, the picture clearly is more complicated.  Right now, I have
  lightdm session without lightdm's at-spi running anymore and since I do
  not have gnome-orca and its dependencies installed, clearly qt apps
  shouldn't be able to start - but they do.  On the other hand, I'm pretty
  sure around the time I uninstalled gnome-orca, konsole starts got
  problematic even in gdm3 session I had before...  I'm stumped.  Maybe
  I'm just confused and fixing lightdm is good enough.
 
 Could you perhaps try the package I'm currently testing:
 http://dept-info.labri.fr/~thibault/tmp/lightdm-gtk-greeter.deb
 to make sure it fixes things in your current case?

It does!

Not sure how comes, since at-spi as lightdm is still running, but
a second instance running with my uid comes up fine...

lightdm  19839  0.0  0.0 337708  5536 ?Sl   20:53   0:00 
/usr/lib/at-spi2-core/at-spi-bus-launcher
lightdm  19843  0.0  0.0  42108  3372 ?S20:53   0:00 
/usr/bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork 
--print-address 3
lightdm  19846  0.0  0.0 125188  5300 ?Sl   20:53   0:00 
/usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
pasky20038  0.0  0.0 337768  5652 ?Sl   20:54   0:00 
/usr/lib/at-spi2-core/at-spi-bus-launcher
pasky20042  0.0  0.0  42108  3328 ?S20:54   0:00 
/usr/bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork 
--print-address 3
pasky20045  0.0  0.0 125192  4980 ?Sl   20:54   0:00 
/usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
pasky20238  0.0  0.0  12864  2388 pts/0S+   20:54   0:00 grep 
spi

...and Qt apps like konsole and okular that were timing out before
start just fine now.

Petr Baudis


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#762672: qt-at-spi: when this package is installed, other programs fail to run

2014-10-19 Thread Samuel Thibault
Petr Baudis, le Sun 19 Oct 2014 20:57:26 +0200, a écrit :
 Not sure how comes, since at-spi as lightdm is still running, but
 a second instance running with my uid comes up fine...

That's the idea: managing to shutdown the processes left behind will
probably be not trivial, so my patch just drops the reference to them,
so they can just live on the side without even getting contacted, and
the user session starts its own ones. On logout, all of them get killed
along the way.

Samuel


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org