gnome-shell freezes and then after a minute crashes

I have been having a lot of issues with Ubuntu such as hangs, crashes, refuses to load my account etc. I have eliminated hardware being the issue as I have checked all my hardware. Some of these issues were fixed by trying different combinations of kernel versions and bios versions. But I still have some gnome-shell crashes that I can't fix. Checking my logs reveals a lot of error messages I don't know how many of them or normal. I will attach 2 logs one from gnome-logs google drive to log 1 with only important events showed and another google drive to log 2from journal showing all that plus warnings

I have already said I eliminated hardware being the issue but I am including my specs here

CPU: AMD Ryzen 2700x

Motherboard: Gigabyte Arous GAMING x470

Bios V.: F42A

RAM: XPG Z1 DDR4 3000MHz (PC4 24000) 16GB (2x8GB) Gaming Memory Modules, Silver (AX4U300038G16-DSZ1)

Video Card: Gigabyte GeForce GTX 1080 Windforce OC GV-N1080WF3OC-8GD Graphics Cards)

Power Supply: Corsair TXM Gold 550 W 80+ Gold Certified Semi-modular ATX

DRIVES: M.2 drives 1 Samsung EVO 970(Linux) && 1 Samsung EVO 960 (Windows)
1 SEAGATE 2TB SSHD(games and user files) 1TB SEAGATE Drive HDD (Backups)

here are my gnome extensions I tried removing some extensions I'll add the word del in front of the extensions I removed.

ls -al ~/.local/share/gnome-shell/extensions
total 104
drwxrwxr-x 26 zany130 zany130 4096 Oct 8 14:38 .
drwx------ 3 zany130 zany130 4096 Oct 9 10:19 ..
drwxrwxr-x 4 zany130 zany130 4096 May 4 17:33
**del drwxrwxr-x 6 zany130 zany130 4096 Oct 8 14:38 **
**del drwxrwxr-x 8 zany130 zany130 4096 Sep 5 20:11 **
drwxrwxr-x 4 zany130 zany130 4096 Jan 22 2019
drwxrwxr-x 4 zany130 zany130 4096 Jan 22 2019
drwxrwxr-x 6 zany130 zany130 4096 Jul 23 18:52 cpufreq@konkor
drwxrwxr-x 4 zany130 zany130 4096 Aug 16 16:09 donotdisturb-button@nls1729
drwxrwxr-x 3 zany130 zany130 4096 Oct 3 19:59
**del drwxrwxr-x 2 zany130 zany130 4096 Jan 22 2019 drop-down-terminal@gs-**extensions.zzrough.org
**del drwxrwxr-x 4 zany130 zany130 4096 Oct 3 19:58 **
drwxrwxr-x 7 zany130 zany130 4096 Sep 10 23:49
drwxrwxr-x 4 zany130 zany130 4096 Sep 17 00:33
drwxrwxr-x 5 zany130 zany130 4096 May 4 16:40
**del drwxrwxr-x 4 zany130 zany130 4096 May 24 20:30 nvidiautil@ethanwharris**
**del drwxrwxr-x 4 zany130 zany130 4096 Jan 22 2019 **
drwxrwxr-x 5 zany130 zany130 4096 Sep 21 14:19
**del drwxrwxr-x 3 zany130 zany130 4096 May 24 20:36 **
**del drwxrwxr-x 2 zany130 zany130 4096 Jan 22 2019 **
drwxrwxr-x 4 zany130 zany130 4096 Sep 5 20:11
drwxrwxr-x 5 zany130 zany130 4096 Aug 30 14:54
**del drwxrwxr-x 3 zany130 zany130 4096 May 18 10:44 **
drwxrwxr-x 4 zany130 zany130 4096 May 4 16:36
drwxrwxr-x 3 zany130 zany130 4096 May 4 16:04
drwxrwxr-x 3 zany130 zany130 4096 May 4 16:37 windowIsReady_Remover@ zany130  zany130-X470-AORUS-ULTRA-GAMING  ~  ls -al /usr/share/gnome-shell/extensions
total 32
drwxr-xr-x 8 root root 4096 Aug 16 18:50 .
drwxr-xr-x 6 root root 4096 Oct 3 19:44 ..
drwxr-xr-x 2 root root 4096 Aug 16 15:18
**del drwxr-xr-x 2 root root 4096 Aug 16 15:18 **
**del drwxr-xr-x 2 root root 4096 Aug 16 16:23 **
drwxr-xr-x 3 root root 4096 Aug 5 15:01
drwxr-xr-x 3 root root 4096 Aug 5 15:01
drwxr-xr-x 2 root root 4096 Aug 16 15:18 

On top of the errors in the logs above, I am now getting the fail whale error:

gnome-session-binary: CRITICAL: We failed, but the fail whale is dead. Sorry....

Update: now Ubuntu won't boot at all I just get a black screen with a mouse

Update: okay I got the system to boot but it's a 50/50 chance it will boot from a reboot a full shutdown and then power up seems to work but now all my chrome based browsers won't open websites, Firefox works fine though and another new issue I can't launch steam

Update: ok so I seemed to finally get most things under control no more secureboot related errors. I guess its been a combination of updating to the 5.3.6 kernel and reinstalling my Nvidia drivers and removing some extensions anyway, I found out the gnome-shell freeze is due to a memory leak in gnome as I checked when the freeze happened gnome would be using 5GB of ram. I am also still randomly getting stuck in the Plymouth boot logo maybe I should just uninstall it?

8

2 Answers

Please disable Secure Boot.

Should that not resolve the issue, see the solutions at PKCS Signature error/warnings running dmesg on Ubuntu Mate 18.04 which involve removing all references to NVIDIA drivers, then re-downloading version 367.27 and reinstalling it.

Should all else fails, LWN.NET has patches to resolve the PKCS#7 issue.

5

From the comments...

You've got WAY too many GNOME Shell extensions. As I said in my first comment, one OR MORE are giving you your problems. You also have duplicate extensions in /usr/share/gnome-shell/extensions that shouldn't be there... all by the same author.

The way to troubleshoot this is to temporarily disable ALL extensions at , and remove the dups at /usr/share/gnome-shell/extensions, and run for a few days and see if things stabilize.

After determining a base line, enable one extension at a time, and test some more. Any problems that arise may be due to the last extension that you enabled.

Reduce the total number of GNOME Shell extensions. You really don't need/want them all.

Last thought... if you've overclocked your CPU or RAM, disable that.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like