disabling makes freeze duration much shorter but you lose your desktop session every time. DATA LOSS inevitable.
sudo perl -p -i -n -e "s/enabled=1/enabled=0/" /etc/default/apport sudo systemctl disable apport sudo service apport stop If I remove apport and whoopsie, then the duration of the freeze is reduced to 5 seconds under light load and desktop is not lost. This uninstalls ubuntu-bug as well. sudo apt-get purche apport whoopsie The system still freezes and under load it could be much worse. Gnome- shell is apparently still crashing but it isn't compounded by apport delays. If I reinstall apport but not whoopsie, I still have the long delay. cat /proc/sys/kernel/core_pattern |/usr/share/apport/apport %p %s %c %d %P %E If I change it to coredump, gnome-shell still crashes the whole desktop sudo bash -c 'echo "core" >/proc/sys/kernel/core_pattern' If I change it back and then purge apport, it changes the pattern to: !/usr/share/apport/apport %p %s %c %d %P %E And gnome-shell crashes somewhat gracefully, allowing you to keep your desktop. What happens under system load remains to be seen. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/1916005 Title: gnome-shell hangs window decorations and dialogs Status in gnome-shell package in Ubuntu: New Bug description: Desktop hangs frequently, sometimes more than once per day and can result in loss of work. Today I found a way to easily reproduce. - sudo apt-get install key-mon - start new session with nothing but gnome-terminal running. Unnecssary to reproduce, you can have dozens of programs running. - key-mon & - right click on key-mon window and open settings - enable meta key (may not be necessary) - switch to misc tab - Check window decoration with nothing else checked - attempt to uncheck window decoration. Fails. Trying multiple times won't help and may make things worse. - Desktop is now frozen and will remain this way for an indeterminate time but may eventually come back within a minute. If you actually had stuff running on your machine, chances of coming back aren't great. Symptoms include: - psensor graph continues to update - cannot make terminal respond. - cannot drag windows - cannot focus windows When it came back, one of 3 gnome shell processes previously detected using psgrep was missing and has been replaced. This is consistent with the screen being redrawn when it comes back. When desktop didn't come back recently, I was able to CTRL-ALT-F3 to a console and kill okular, freecad, gimp, key-mon, firefox, freecad-daily,openscad, file-roller, psensor, and gnome-terminal, in that order, until there was nothing left and still did not regain control of system. Ctrl-Alt-Del ESC also failed (though I think I did end up causing system to reboot). System pressure after killing okular and freecad was: ===memory some avg10=0.00 avg60=0.00 avg300=0.00 total=0 full avg10=0.00 avg60=0.00 avg300=0.00 total=0 ===cpu some avg10=0.01 avg60=0.02 avg300=0.00 total=9348303 ===io some avg10=18.81 avg60=30.25 avg300=34.80 total=852281032 full avg10=17.43 avg60=28.42 avg300=32.91 total=795530186 I was able to reproduce this many times by turning window decorations on and off in key-mon. In the past, desktop freezes were frequently caused by dialog boxes popping up including the wait of force quit dialog. I installed the extension to disable wait-or-force quit. System still becomes severely non-responsive when programs like firefox eat up a lot of RAM and I have to use onetab firefox extension regularly. System information ================== Linux cervantes 5.4.0-65-generic #73~18.04.1-Ubuntu SMP Tue Jan 19 09:02:24 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.5 LTS Release: 18.04 Codename: bionic System: Host: cervantes Kernel: 5.4.0-65-generic x86_64 bits: 64 Desktop: Gnome 3.28.4 Distro: Ubuntu 18.04.5 LTS Machine: Device: desktop Mobo: ASUSTeK model: Crosshair IV Formula v: Rev 1.xx serial: N/A BIOS: American Megatrends v: 3029 date: 10/09/2012 CPU: 6 core AMD Phenom II X6 1090T (-MCP-) cache: 3072 KB clock speeds: max: 3200 MHz 1: 2976 MHz 2: 1979 MHz 3: 1708 MHz 4: 1736 MHz 5: 2420 MHz 6: 2666 MHz Graphics: Card: Advanced Micro Devices [AMD/ATI] Cayman PRO [Radeon HD 6950] Display Server: x11 (X.Org 1.20.8 ) driver: radeon Resolution: 3840x2160@30.00hz OpenGL: renderer: AMD CAYMAN (DRM 2.50.0 / 5.4.0-65-generic, LLVM 9.0.0) version: 4Linux cervantes 5.4.0-65-generic #73~18.04.1-Ubuntu SMP Tue Jan 19 09:02:24 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.5 LTS Release: 18.04 Codename: bionic .3 Mesa 19.2.8 Audio: Card-1 Advanced Micro Devices [AMD/ATI] SBx00 Azalia (Intel HDA) driver: snd_hda_intel Card-2 Advanced Micro Devices [AMD/ATI] Cayman/Antilles HDMI Audio [Radeon HD 6930/6950/6970/6990] driver: snd_hda_intel Card-3 Logitech HD Webcam C910 driver: USB Audio Sound: Advanced Linux Sound Architecture v: k5.4.0-65-generic Network: Card: Marvell Yukon Optima 88E8059 [PCIe Gigabit Ethernet Controller with AVB] driver: sky2 IF: enp4s0 state: up speed: 100 Mbps duplex: full mac: f4:6d:04:2c:08:12 Drives: HDD Total Size: 4002.8GB (5.7% used) ID-1: /dev/sda model: WDC_WD40EFRX size: 4000.8GB ID-2: USB /dev/sdg model: USB_Flash_Memory size: 2.0GB Partition: ID-1: / size: 3.5T used: 192G (6%) fs: ext4 dev: /dev/sda6 ID-2: /boot size: 1.9G used: 295M (17%) fs: ext4 dev: /dev/sda3 ID-3: swap-1 size: 24.58GB used: 0.00GB (0%) fs: swap dev: /dev/sda2 RAID: No RAID devices: /proc/mdstat, md_mod kernel module present Sensors: System Temperatures: cpu: 38.0C mobo: 36.0C gpu: 62.5 Fan Speeds (in rpm): cpu: N/A Info: Processes: 464 Uptime: 45 min Memory: 5668.0/16011.9MB Client: Shell (bash) inxi: 2.3.56 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-============-============-================================= ii gnome-shell 3.28.4-0ubun amd64 graphical shell for the GNOME des ii xwayland 2:1.19.6-1ub amd64 Xwayland X server Disable force-quit or wait button. ii kwayland-data 4:5.44.0-0ubuntu1 all Qt library wrapper for Wayland libraries - data files ii kwayland-integration:amd64 4:5.12.4-0ubuntu1 amd64 kwayland runtime integration plugins ii libkf5waylandclient5:amd64 4:5.44.0-0ubuntu1 amd64 Qt library wrapper for Wayland libraries ii libqt5waylandclient5:amd64 5.9.5-0ubuntu1 amd64 QtWayland client library ii libqt5waylandcompositor5:amd64 5.9.5-0ubuntu1 amd64 QtWayland compositor library ii libva-wayland2:amd64 2.1.0-3 amd64 Video Acceleration (VA) API for Linux -- Wayland runtime ii libwayland-bin 1.16.0-1ubuntu1.1~18.04.3 amd64 wayland compositor infrastructure - binary utilities ii libwayland-client0:amd64 1.16.0-1ubuntu1.1~18.04.3 amd64 wayland compositor infrastructure - client library ii libwayland-client0:i386 1.16.0-1ubuntu1.1~18.04.3 i386 wayland compositor infrastructure - client library ii libwayland-cursor0:amd64 1.16.0-1ubuntu1.1~18.04.3 amd64 wayland compositor infrastructure - cursor library ii libwayland-cursor0:i386 1.16.0-1ubuntu1.1~18.04.3 i386 wayland compositor infrastructure - cursor library ii libwayland-dev:amd64 1.16.0-1ubuntu1.1~18.04.3 amd64 wayland compositor infrastructure - development files ii libwayland-doc 1.16.0-1ubuntu1.1~18.04.3 all wayland compositor infrastructure - documentation files ii libwayland-egl1:amd64 1.16.0-1ubuntu1.1~18.04.3 amd64 wayland compositor infrastructure - EGL library ii libwayland-egl1:i386 1.16.0-1ubuntu1.1~18.04.3 i386 wayland compositor infrastructure - EGL library ii libwayland-egl1-mesa:amd64 20.0.8-0ubuntu1~18.04.1 amd64 transitional dummy package ii libwayland-server0:amd64 1.16.0-1ubuntu1.1~18.04.3 amd64 wayland compositor infrastructure - server library ii libwayland-server0:i386 1.16.0-1ubuntu1.1~18.04.3 i386 wayland compositor infrastructure - server library ii qtwayland5:amd64 5.9.5-0ubuntu1 amd64 QtWayland platform plugin ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: gnome-shell 3.28.4-0ubuntu18.04.3 ProcVersionSignature: Ubuntu 5.4.0-65.73~18.04.1-generic 5.4.78 Uname: Linux 5.4.0-65-generic x86_64 ApportVersion: 2.20.9-0ubuntu7.23 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Thu Feb 18 00:52:44 2021 DisplayManager: gdm3 InstallationDate: Installed on 2019-05-02 (657 days ago) InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210) ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gnome-shell UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1916005/+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