This bug bit again friday evening.  Same symptoms, was watching video, screen 
froze, mouse can move cursor but cursor shape and window borders do not change 
as they should as the cursor is moved in and out of windows, mouse clicks and 
keystrokes including ctl-alt-F2 and ctl-alt-F3 are ineffective, i logged in via 
ssh, attached to tmux, htop (sorted by TIME+) shows Xorg stuck consuming lots 
of CPU:
0  [||||||||||||||||||||||||||||||            61.9%] Tasks: 54; 2 running
1  [|||||||||||||||||||||||                   45.2%] Load average: 1.27 1.14 
1.11
Mem[||||||||||||||||||||||||||||||||||||1.51G/1.90G] Time: 22:04:23
Swp[|||||                                176M/1.86G]
  PID START USER       VIRT   RES  NI CPU%   TIME+  S Command
 1816 20:53 g         3310M 1050M   0  0.0 49:17.71 S 
/usr/lib/firefox-esr/plugin-container -greomni /usr/
 1713 20:53 g         2507M  405M   0  0.7 27:41.71 S 
/usr/lib/firefox-esr/firefox-esr
 1214 20:53 g          372M 57148   0 93.5 24:07.23 R /usr/lib/xorg/Xorg 
-nolisten tcp :0 vt1 -keeptty -au
 1342 20:53 root      27164  1736   0  0.0  6:26.18 S htop
 1404 20:53 g         1127M 26564 -11  0.7  3:29.47 S /usr/bin/pulseaudio 
--start --log-target=syslog
 1410 20:53 g          679M 22360   0  0.0  2:01.45 S pavucontrol
 1398 20:53 g          833M 26828   0  0.7  1:21.49 S /usr/bin/python3 
/usr/bin/blueman-manager
12728 21:46 root      27020  4224   0  0.7  0:07.77 R htop
 1983 06:41 g           97G 26972   0  0.0  0:07.30 S gthumb /home/greg
 1439 20:53 g         70772   232   0  0.0  0:06.49 S xclock -geometry --1+-4 
-fg green -bg black -update
 1253 20:53 g         86452  1764   0  0.0  0:05.13 S xterm
 1346 20:53 g         30200  2840   0  0.0  0:04.45 S tmux new -d
    1 05:21 root       220M  5236   0  0.0  0:03.61 S /sbin/init
 1426 20:53 g         48512  3860   0  0.0  0:03.08 S vncviewer compresslevel=9 
qualitylevel=9 ZlibLevel=9
 1522 20:53 root      32192  2424   0  0.0  0:01.36 S /bin/bash
 1396 20:53 g         48244   156   0  0.0  0:01.29 S ssh 
-oHostKeyAlgorithms=ssh-rsa -p38134 -e! 209.240.
  601 20:53 root       4632    36   0  0.0  0:01.23 S /usr/sbin/gpm -m 
/dev/input/mice -t exps2
 1287 20:53 g         86660  2140   0  0.0  0:00.77 S xterm -bg black -fg white 
-rightbar -xrm *charClass:
 1220 20:53 g         46332  1644   0  0.0  0:00.67 S x-window-manager
F1Help  F2Setup F3SearchF4FilterF5Tree  F6SortByF7Nice -F8Nice +F9Kill  F10Quit

Via htop i killed (signal 15) pulseaudio, pavucontrol, bluetooth-manager, 
gthumb, xclock, an xterm, vncviewer, ssh(-client), gpm, and the other xterm, 
which all immediately disappeared from htop.  When i killed x-window-manager 
(twm) it remained showing in htop with Z in the S column.  i continued killing, 
bluetooth-applet and rtkit disappeared upon kill, ssh-agent remained with Z, 
timesyncd and resolved respawned, cron, bluetoothd, polkitd, dhclient, sd-pam, 
obexd, and dconf-service all disappeared, i gave signal 9 to x-window-manager 
and it disappeared, and signal 15 to firefox-esr/plugin-container and 
firefox-esr/firefox-esr and they disappeared.  it remained thus all weekend.  
this morning htop (sorted by PID) shows Xorg still consuming cpu:
0  [|                                          0.7%] Tasks: 30; 2 running
1  [|||||||||||||||||||||||||||||||||||||||||100.0%] Load average: 1.07 1.02 
1.00
Mem[|||||||||||||||||||                  164M/1.90G] Time: 07:50:59
Swp[|                                   31.5M/1.86G] 
  PID START USER       VIRT   RES  NI CPU%   TIME+  S Command
    1 Apr27 root       220M  5444   0  0.0  0:04.09 S /sbin/init
  259 Apr27 root      86588 11976  -1  0.0  0:00.41 S 
/lib/systemd/systemd-journald
  288 Apr27 root      46272  1880   0  0.0  0:00.31 S /lib/systemd/systemd-udevd
  570 Apr27 messagebu 50188   948   0  0.0  0:00.14 S /usr/bin/dbus-daemon 
--system --address=systemd: --n
  572 Apr27 root      70580  1968   0  0.0  0:00.21 S 
/lib/systemd/systemd-logind
  575 Apr27 syslog     252M   660   0  0.0  0:00.03 S /usr/sbin/rsyslogd -n
  702 Apr27 root      76688    20   0  0.0  0:00.02 S /bin/login -p --
  703 Apr27 root      72296  5732   0  0.0  0:00.01 S /usr/sbin/sshd -D
 1176 Apr27 g         76756  2312   0  0.0  0:00.03 S /lib/systemd/systemd 
--user
 1187 Apr27 g         22516     0   0  0.0  0:00.03 S -bash
 1191 Apr27 g          4628     4   0  0.0  0:00.00 S /bin/sh /usr/bin/startx
 1213 Apr27 g         22628   112   0  0.0  0:00.00 S xinit 
/etc/X11/xinit/xinitrc -- /etc/X11/xinit/xserv
 1214 Apr27 g          372M 75892   0 88.1 30h15:12 R /usr/lib/xorg/Xorg 
-nolisten tcp :0 vt1 -keeptty -au
 1241 Apr27 g         45704     4   0  0.0  0:00.00 S /usr/bin/dbus-launch 
--exit-with-session --sh-syntax
 1242 Apr27 g         50028  1408   0  0.0  0:00.05 S /usr/bin/dbus-daemon 
--syslog --fork --print-pid 5 -
 1346 Apr27 g         30200  3012   0  0.7  0:36.11 S tmux new -d
 1347 Apr27 g         29904  4648   0  0.0  0:00.27 S -bash
 1373 Apr27 g         28724  2756   0  0.0  0:00.08 S -bash
 1499 Apr27 root      61440    20   0  0.0  0:00.08 S sudo -H -uG -s
 1522 Apr27 root      32192  2992   0  0.0  0:01.36 S /bin/bash
12741 Apr27 g         55456  9008   0  0.0  0:00.28 S vim
12775 Apr27 systemd-t  138M  3088   0  0.0  0:00.15 S 
/lib/systemd/systemd-timesyncd
12779 Apr27 systemd-r 70608  5196   0  0.0  0:00.13 S 
/lib/systemd/systemd-resolved
14014 19:31 root      74672  6356   0  0.0  0:00.01 S sshd: g [priv]
14016 19:31 g         74672  3388   0  0.7  0:00.43 S sshd: g@pts/0
14017 19:31 g         28656  6920   0  0.0  0:00.07 S -bash
14053 19:31 g         21220  3456   0  0.0  0:00.00 S tmux set status 0; set 
visual-b on; set display-t 99
14054 19:32 g         48136  5768   0  0.0  0:00.08 S ssh 
-oHostKeyAlgorithms=ssh-rsa -p38134 -e! 209.240.
14105 20:44 g         28724  7076   0  0.0  0:00.10 S -bash
14930 07:19 root      26700  3924   0  0.0  0:07.49 R htop
F1Help  F2Setup F3SearchF4FilterF5Tree  F6SortByF7Nice -F8Nice +F9Kill  F10Quit

of course there's nothing in /var/crash because it hasn't crashed, it's
hung.  how might i invoke apport or xdiagnose or ubuntu-bug to capture
useful information from a hang?  i went searching but didn't find an
answer.  i did find bug #1575878 which looks likely to be a duplicate of
this issue.

so i checked again thst ctl-alt-F2 and ctl-alt-F3 still didn't work,
sent Xorg signals 15, 2, 1, and 3, it finally disappeared, ctl-alt-F2
and ctl-alt-F3 work now, and i find
/var/crash/_usr_lib_xorg_Xorg.444.crash, attached.

does that contain anything useful?

do please let me know if there's a way to gether more useful information
the next time this bug bites.

** Attachment added: "/var/crash/_usr_lib_xorg_Xorg.444.crash"
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1757299/+attachment/5131194/+files/_usr_lib_xorg_Xorg.444.crash

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1757299

Title:
  [Dell OptiPlex 755] Intermittently GUI hangs with high xorg CPU% after
  launching applications

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

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to