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 Desktop
Packages, 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

Status in xorg package in Ubuntu:
  New

Bug description:
  The problem is that after launching a few applications, the GUI may
  become unresponsive, although this is not consistently reproducible.
  When the GUI is unresponsive, it is correlated to high CPU utilization
  of xorg.

  An example reproduction scenario is launch the following in order, and 
quickly:
  startx
  xterm via twm
  another xterm via the first xterm
  tmux
  firefox-esr
  bluetooth-manager
  pavucontrol

  While the above are launching, maximize the xterm running tmux, and
  the GUI immediately becomes unresponsive. For example, Ctrl+Alt+Fn
  don't respond.

  After this, I logged in via ssh, attached to tmux, launched htop,
  copied htop output, which shows xorg at 94.6 CPU%.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: xserver-xorg 1:7.7+19ubuntu4
  ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3
  Uname: Linux 4.15.0-10-generic x86_64
  ApportVersion: 2.20.8-0ubuntu10
  Architecture: amd64
  BootLog:
   Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
    * Starting AppArmor profiles       
  [ OK ]
    * Restoring resolver state...       
  [ OK ]
  CompositorRunning: None
  Date: Tue Mar 20 17:15:16 2018
  DistUpgraded: Fresh install
  DistroCodename: bionic
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Intel Corporation 82Q35 Express Integrated Graphics Controller [8086:29b2] 
(rev 02) (prog-if 00 [VGA controller])
     Subsystem: Dell OptiPlex 755 [1028:0211]
     Subsystem: Dell OptiPlex 755 [1028:0211]
  JournalErrors:
   -- Logs begin at Fri 2018-02-23 08:59:47 CST, end at Tue 2018-03-20 17:14:39 
CDT. --
   Mar 20 17:01:37 hostname pulseaudio[1099]: [pulseaudio] module-alsa-card.c: 
Failed to find a working profile.
   Mar 20 17:01:37 hostname pulseaudio[1099]: [pulseaudio] module.c: Failed to 
load module "module-alsa-card" (argument: "device_id="0" 
name="pci-0000_00_1b.0" card_name="alsa_card.pci-0000_00_1b.0" 
namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no 
deferred_volume=yes use_ucm=yes 
card_properties="module-udev-detect.discovered=1""): initialization failed.
   Mar 20 17:01:37 hostname pulseaudio[1099]: [pulseaudio] backend-ofono.c: 
Failed to register as a handsfree audio agent with ofono: 
org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided 
by any .service files
   Mar 20 17:01:37 hostname pulseaudio[1109]: [pulseaudio] pid.c: Daemon 
already running.
  MachineType: Dell Inc. OptiPlex 755
  ProcEnviron:
   LC_TIME=en_DK.utf8
   TERM=screen
   PATH=(custom, no user)
   LANG=en_US.utf8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz ro 
root=UUID=22e7c84a-a416-43e9-ae9d-ee0119fc3894 panic=30
  SourcePackage: xorg
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 04/30/2008
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A10
  dmi.board.name: 0PU052
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 15
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA10:bd04/30/2008:svnDellInc.:pnOptiPlex755:pvr:rvnDellInc.:rn0PU052:rvr:cvnDellInc.:ct15:cvr:
  dmi.product.name: OptiPlex 755
  dmi.sys.vendor: Dell Inc.
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.90-1
  version.libgl1-mesa-dri: libgl1-mesa-dri 17.3.3-0ubuntu1
  version.libgl1-mesa-glx: libgl1-mesa-glx 17.3.3-0ubuntu1
  version.xserver-xorg-core: xserver-xorg-core 2:1.19.6-1ubuntu1
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.10.0-1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20171229-1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-2
  --- 
  ApportVersion: 2.20.8-0ubuntu10
  Architecture: amd64
  BootLog:
   Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
    * Starting AppArmor profiles        
[ OK ]
    * Restoring resolver state...        
[ OK ]
  DistUpgraded: Fresh install
  DistroCodename: bionic
  DistroRelease: Ubuntu 18.04
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Intel Corporation 82Q35 Express Integrated Graphics Controller [8086:29b2] 
(rev 02) (prog-if 00 [VGA controller])
     Subsystem: Dell OptiPlex 755 [1028:0211]
     Subsystem: Dell OptiPlex 755 [1028:0211]
  MachineType: Dell Inc. OptiPlex 755
  Package: xorg (not installed)
  ProcEnviron:
   LC_TIME=en_DK.utf8
   TERM=screen
   PATH=(custom, no user)
   LANG=en_US.utf8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz ro 
root=UUID=22e7c84a-a416-43e9-ae9d-ee0119fc3894 panic=30
  ProcVersionSignature: Ubuntu 4.15.0-12.13-generic 4.15.7
  Tags:  bionic ubuntu
  Uname: Linux 4.15.0-12-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:
   
  _MarkForUpload: True
  dmi.bios.date: 04/30/2008
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A10
  dmi.board.name: 0PU052
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 15
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA10:bd04/30/2008:svnDellInc.:pnOptiPlex755:pvr:rvnDellInc.:rn0PU052:rvr:cvnDellInc.:ct15:cvr:
  dmi.product.name: OptiPlex 755
  dmi.sys.vendor: Dell Inc.
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.91-2
  version.libgl1-mesa-dri: libgl1-mesa-dri 18.0.0~rc5-1ubuntu1
  version.libgl1-mesa-glx: libgl1-mesa-glx 18.0.0~rc5-1ubuntu1
  version.xserver-xorg-core: xserver-xorg-core 2:1.19.6-1ubuntu3
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:18.0.1-1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20171229-1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-2
  xserver.bootTime: Sat Feb 24 05:53:57 2018
  xserver.configfile: default
  xserver.devices:
   input        Power Button         KEYBOARD, id 6
   input        Power Button         KEYBOARD, id 7
   input        Logitech Logitech USB Optical Mouse MOUSE, id 8
   input        AT Translated Set 2 keyboard KEYBOARD, id 9
  xserver.errors:
   
  xserver.logfile: /var/log/Xorg.0.log
  xserver.outputs:
   product id                               16421 
   vendor                                     DEL
  xserver.version: 2:1.19.6-1ubuntu1

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

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

Reply via email to