[Touch-packages] [Bug 1775392] Re: at-spi-bus-launcher makes Xorg crash when resuming from suspend

2019-06-24 Thread Matthijs Kooijman
I'm also running into this bug (or at least something that looks like
it). Typically what happens for me is that I resume from suspend, get an
unlock prompt (the system is locked on suspend) and when I log in, the
unlock prompt stays visible (the password dots disappear, but I cannot
type anything or click any buttons). When I then kill X to recover
(ctrl-alt-backspace), I get a new login prompt. Sometimes, logging in
again no longer works then, seeing such messages in the console:

jun 21 17:01:50 grubby at-spi-bus-launcher[30649]: XIO:  fatal IO error 11 
(Resource temporarily unavailable) on X server ":1024"
jun 21 17:01:50 grubby at-spi-bus-launcher[30649]:   after 21 requests (21 
known processed) with 0 events remaining.
jun 21 17:01:50 grubby gsd-power[30703]: gsd-power: Fatal IO error 11 (Resource 
temporarily unavailable) on X server :1024.
jun 21 17:01:50 grubby gsd-keyboard[30715]: gsd-keyboard: Fatal IO error 11 
(Resource temporarily unavailable) on X server :1024.
jun 21 17:01:50 grubby gsd-xsettings[30696]: gsd-xsettings: Fatal IO error 11 
(Resource temporarily unavailable) on X server :1024.
jun 21 17:01:50 grubby gsd-media-keys[30731]: gsd-media-keys: Fatal IO error 11 
(Resource temporarily unavailable) on X server :1024.
jun 21 17:01:50 grubby systemd-logind[1100]: Session c9 logged out. Waiting for 
processes to exit.
jun 21 17:01:50 grubby gsd-clipboard[30695]: gsd-clipboard: Fatal IO error 11 
(Resource temporarily unavailable) on X server :1024.
jun 21 17:01:50 grubby gsd-color[30713]: gsd-color: Fatal IO error 11 (Resource 
temporarily unavailable) on X server :1024.
jun 21 17:01:50 grubby gnome-shell[30633]: Connection to xwayland lost


>From the messages, I suspect this might be the same problem as the original 
>poster.

However, I'm not entirely sure if at-spi-bus-launcher is actually the
culprit here. Could it be that that the xserver or xwayland (I'm not
sure which - I'm using the GNOME xorg session since the wayland session
doesn't work for me, but the log does talk about xwayland) crashes and
that at-spi-bus-launcher is just the first process to find out (because
it does so many requests maybe?). I've also seen some instances where
at-spi-bus-launcher is not the first one in the log, and I've tried
disabling at-spi-bus-launcher by masking it in systemd (not entirely
sure if that really worked), but then I also think I saw a crash where
at-spi-bus-launcher would not show up in the log at all.

One additional observation: At some point during testing, while login
would not work, I found a logged in session in some virtual terminal.
After logging out that session, logins would work again as normal. I'm
not entirely sure if there's a causal relationship there, nor where that
logged in session came from (but I was testing with two different users
to see if there was something in my homedir that triggered it, so
perhaps it came from one of those tests...). Vague, but I wanted to
mention this just in case it triggers an idea somewhere :-)

As for reporting an upstream issue, that is probably a good idea, though
I'm not entirely sure where the cause is. It's probably safe to say it
is something in gnome, though.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to at-spi2-core in Ubuntu.
https://bugs.launchpad.net/bugs/1775392

Title:
  at-spi-bus-launcher makes Xorg crash when resuming from suspend

Status in at-spi2-core package in Ubuntu:
  Confirmed

Bug description:
  If at-spi2-core is installed, when resuming from suspend messages like
  these are logged in systemd journal:

  at-spi-bus-launcher[31720]: XIO:  fatal IO error 11 (Resource temporarily 
unavailable) on X server ":0.0"
  at-spi-bus-launcher[31720]:   after 8065 requests (8065 known processed) 
with 0 events remaining.

  The number of requests vary, it can reach more than 15000. Depending
  on the number of requests, the Xorg server crashes with SIGBUS.
  Depending on the exact moment Xorg crashes, when lightdm manages to
  recover, it shows a login greeter, or worst case scenario, it can't
  recover, a black screen is shown and the desptop session doesn't
  start.

  It took me a long time to discover the cause. The visible symptom was:
  once in a while when resuming from suspend, I got a login greeter
  instead of an unlock greeter, or a black screen which forced me to
  power down. Investigating, I found out that whenever that happened,
  there was a Xorg core left behind. Looking at the journal messages
  before the crash, there was always that flood of at-spi2-core
  requests. So I uninstalled at-spi2-core and Xorg never crashed
  anymore.

  This is a quite severe bug, which makes it impossible to use at-
  spi2-core.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: at-spi2-core (not installed)
  ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17
  Uname: Linux 4.15.0-22-generic x86_64
  ApportVersion: 

[Touch-packages] [Bug 910736] Re: Add ignore rule for Arduino to udev blacklist

2015-05-03 Thread Matthijs Kooijman
An ignore should probably be added for Arduino.org devices too (there's
two competing Arduino companies now, don't ask):

ATTRS{idVendor}==2a03, ENV{ID_MM_DEVICE_IGNORE}=1

And, while we are here, perhaps also ignore the Pinoccio Scout (arduino-
like device):

ATTRS{idVendor}==1d50, ATTRS{idProduct}==6051,
ENV{ID_MM_DEVICE_IGNORE}=1

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to modemmanager in Ubuntu.
https://bugs.launchpad.net/bugs/910736

Title:
  Add ignore rule for Arduino to udev blacklist

Status in modemmanager package in Ubuntu:
  Fix Released

Bug description:
  When connecting an Arduino or any Arduino-based device (like monome)
  modemmanager immediately starts exchanging data with the device,
  causing problems for software that works with these devices, namely
  serialosc and the Arduino IDE.

  Blacklisting the affected devices currently seems the best way to
  solve the problem, as found by doing a search for simular bugs, e.g.
  bug 842702, bug 807889 and bug 490194.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/910736/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp