another occurrence, same symptoms, last evening, was watching a youtube
video.

i logged in via ssh, attached to tmux, launched htop, and started
killing as you requested, in the following order, usually signal 15 but
sometimes 9 if so noted below, if the name is postfixed with -- that
means the process did not disappear from htop, --Z means the "S" column
in htop then showed a Z, ++ means it was immediately respawned:

pulseaudio
pavucontrol
bluetooth-manager
xclock
xterm (this one did disappear)
vncviewer
x-window-manager-- (ie twm)
accounts-daemon
bluman-applet
xterm--Z
firefox-esr
ssh
rtkit-daemon
systemd-udev++
systemd-logind++
ssh-agent--
systemd-timesyncd++
systemd-resolved++
cron
bluetoothd
systemd --user
polkitd
login -p

at this point the console blanked and presented a login prompt.  ctl-
alt-Fn still would not function, however i was able to login at the
console and attach to tmux.  xorg remained on the process list still
consuming cpu as evident in the htop display at this point:

0  [|                                          0.7%] Tasks: 37; 2 running
1  [|||||||||||||||||||||||||||||||||||||||||100.0%] Load average: 1.18 1.09 
1.18
Mem[|||||||||                            147M/1.90G] Time: 23:11:18
Swp[||                                  76.8M/1.86G]
  PID START USER       VIRT   RES  NI CPU%   TIME+  S Command
 1310 22:42 g          366M 35076   0 88.0 38:14.58 R /usr/lib/xorg/Xorg 
-nolisten tcp :0 vt1 -keeptty -a
 4761 22:43 root      26844  4248   0  0.0  0:07.73 R htop
    1 08:36 root       219M  5388   0  0.0  0:04.58 S /sbin/init
 4922 23:04 root      27516  4688   0  1.3  0:01.89 S htop
 1371 22:42 g         30084  3112   0  0.0  0:01.20 S tmux new -d
 1316 22:42 g         48492  1596   0  0.0  0:00.68 S x-window-manager
 1490 22:42 g             0     0   0  0.0  0:00.50 Z xterm -bg black -fg white 
-rightbar -xrm *charClass
 4683 22:42 g          105M  4484   0  0.0  0:00.34 S sshd: g@pts/5
  257 22:42 root      78440  8432   0  0.0  0:00.27 S 
/lib/systemd/systemd-journald
  539 22:42 messagebu 50208  2084   0  0.0  0:00.13 S /usr/bin/dbus-daemon 
--system --address=systemd: --
 1372 22:42 root      61440  4136   0  0.0  0:00.12 S sudo -H -uG -s
 1338 22:42 g         50012  1312   0  0.0  0:00.11 S /usr/bin/dbus-daemon 
--syslog --fork --print-pid 5
 4684 22:42 g         29312  7552   0  0.0  0:00.10 S -bash
 1400 22:42 g         29324  2440   0  0.0  0:00.10 S -bash
 4850 23:04 g         61440  4180   0  0.0  0:00.10 S sudo -H -uG -s
 1251 22:42 g         29280   228   0  0.0  0:00.09 S -bash
 1971 22:42 g         29336  1040   0  0.0  0:00.09 S -bash
 4924 23:09 g         29312  7600   0  0.0  0:00.09 S -bash
 1347 22:42 g             0     0   0  0.0  0:00.08 Z /usr/bin/ssh-agent 
x-window-manager
 4727 22:43 root      28128  6480   0  0.0  0:00.06 S /bin/bash
 4887 23:04 root      28092  6472   0  0.0  0:00.06 S /bin/bash
  534 22:42 syslog     252M  1004   0  0.0  0:00.03 S /usr/sbin/rsyslogd -n
 4803 22:59 systemd-r 70592  5292   0  0.0  0:00.03 S 
/lib/systemd/systemd-resolved
 4814 22:59 systemd-t  138M  3200   0  0.0  0:00.03 S 
/lib/systemd/systemd-timesyncd
 4651 22:42 root       105M  7004   0  0.0  0:00.02 S sshd: g [priv]
 4779 22:54 root      45484  4024   0  0.0  0:00.02 S /lib/systemd/systemd-udevd
 4780 22:54 root      70564  6112   0  0.0  0:00.02 S 
/lib/systemd/systemd-logind
 4818 23:03 root      76688  3696   0  0.0  0:00.01 S /bin/login -p ---p -- \u 
--noclear tty1 linux
  681 22:42 root      25600     4   0  0.0  0:00.00 S /sbin/dhclient -1 -4 -v 
-pf /run/dhclient.eth0.pid
  712 22:42 root      72280   356   0  0.0  0:00.00 S /usr/sbin/sshd -D
 1287 22:42 g          4632   168   0  0.0  0:00.00 S /bin/sh /usr/bin/startx
 1309 22:42 g         22628   408   0  0.0  0:00.00 S xinit 
/etc/X11/xinit/xinitrc -- /etc/X11/xinit/xser
 1337 22:42 g         45688    72   0  0.0  0:00.00 S /usr/bin/dbus-launch 
--exit-with-session --sh-synta
 1519 22:42 g         82724   812   0  0.0  0:00.00 S /usr/lib/bluetooth/obexd
 2354 22:42 g          183M   368   0  0.0  0:00.00 S 
/usr/lib/dconf/dconf-service
 4723 22:42 g         21220  3556   0  0.0  0:00.00 S tmux set status 0; set 
visual-b on; set display-t 9
F1Help  F2Setup F3SearchF4FilterF5Tree  F6SortByF7Nice -F8Nice +F9Kill  F10Quit

i resumed killing:

9: x-window-manager--Z
dbus-daemon --system --address=systemd: --nofork
dbus-daemon --syslog
sshd
dhclient
sshd -D
dbus-launch --exit-with-sess
dbus-daemon --nofork
(sd-pam)
xinit--
startx--
9: xinit

occasionally during the above batch of kills i checked whether ctl-alt-
Fn might work yet, and they didn't, however at this point now they *do
work* (xinit and startx both disappeared now tho xorg still present and
consuming ~90% cpu).  resuming kills:

xorg--
9: xorg

xorg finally gone now.

tried to re-launch xorg, failed.
tried apport-collect 1757299, failed, needed python3-launchpadlib.
installed python3-launchpadlib.
tried apport-collect 1757299, failed to launch a browser to authorize with 
launchpad.
left box running and grabbed some sleep and breakfast.
observed /var/crash contains only .lock with same date&time as 
/var/log/apport.log from last evening.
installed gpm, w3m, and links2.
apport-collect 1757299 succeeded.
submitted this comment.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded 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/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to