Ah, that assert is in mutter. $ mkdir ~/xsrc $ cd ~/xsrc $ apt-get source libmutter-2-0 $ cd ~ $ apport-retrace -g _usr_bin_gnome-shell.1000.crash (gdb) bt ... (gdb) frame 7 #7 0x00007f75c6bb5fbe in standard_pict_format_for_depth (depth=<optimized out>) at x11/iconcache.c:303 303 x11/iconcache.c: No such file or directory. (gdb) directory xsrc/mutter-3.28.1/src (gdb) list 291 291 static int 292 standard_pict_format_for_depth (int depth) 293 { 294 switch (depth) 295 { 296 case 1: 297 return PictStandardA1; 298 case 24: 299 return PictStandardRGB24; 300 case 32: 301 return PictStandardARGB32; 302 default: 303 g_assert_not_reached (); 304 }
FWIW, that code was added in https://gitlab.gnome.org/GNOME/mutter/commit/9b903e93e3cd0601b436c55b7cea1fbecf29895f So... uh... maybe some icon on my system is making it unhappy? I gather gtk-update-icon-cache is involved? buildbot@rbb-ubu1804-3:~$ ls -l /usr/share/icons/*/*.cache -rw-r--r-- 1 root root 35776 Apr 24 14:57 /usr/share/icons/Adwaita/icon-theme.cache -rw-r--r-- 1 root root 20312 Apr 25 09:40 /usr/share/icons/hicolor/icon-theme.cache -rw-r--r-- 1 root root 49808 Apr 24 14:39 /usr/share/icons/HighContrast/icon-theme.cache -rw-r--r-- 1 root root 26816 Apr 24 14:57 /usr/share/icons/Humanity-Dark/icon-theme.cache -rw-r--r-- 1 root root 327184 Apr 24 14:57 /usr/share/icons/Humanity/icon-theme.cache -rw-r--r-- 1 root root 628 Apr 24 14:57 /usr/share/icons/LoginIcons/icon-theme.cache -rw-r--r-- 1 root root 54104 Apr 24 14:57 /usr/share/icons/ubuntu-mono-dark/icon-theme.cache -rw-r--r-- 1 root root 55040 Apr 24 14:57 /usr/share/icons/ubuntu-mono-light/icon-theme.cache But now I can't get it to crash anymore. so maybe I accidentally fixed it by installing some package that updated the icon caches...? $ grep hicolor /var/log/dpkg.log ... 2018-04-24 14:42:29 status installed hicolor-icon-theme:all 0.17-2 ... 2018-04-24 15:33:00 status installed hicolor-icon-theme:all 0.17-2 ... 2018-04-25 09:40:43 status installed hicolor-icon-theme:all 0.17-2 Hrmf. My uneducated theory is that an icon cache was corrupt, but is fine now. Who knows? -- 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/1766938 Title: gnome-shell crashes after a few seconds Status in gnome-shell package in Ubuntu: New Bug description: I have a fleet of Dell T7500's, a few Dell 3620's, a Skull Canyon, and a Hades Canyon, and a few other odds and ends, running a mix of ubuntu 16.04 and 17.10. On one of the T7500 ubuntu 17.10 boxes (nvidia 340 package, Quadro K5000 card), I did sudo "do-release-upgrade -d". Went fine, but on reboot, the desktop would come up for about ten seconds, then the system would shut down. Did systemctl set-default multi-user.target then removed all traces of the proprietary driver with sudo apt remove --purge nvidia-340 nvidia-opencl-icd-340 nvidia-settings nvidia-384 nvidia-opencl-icd-384 nvidia-prime libcuda1-340 and rebooted. Logging in to the console and running 'startx' reproduces the problem reliably, and does not shut down the system. Installing lwm, and a .xinitrc that started an xterm, let startx succeed, and the system was stable running firefox, so it's not an obvious graphics problem. /var/log/syslog says Apr 25 09:59:41 rbb-ubu1710-3 org.gnome.Shell.desktop[3936]: ** Apr 25 09:59:41 rbb-ubu1710-3 org.gnome.Shell.desktop[3936]: mutter:ERROR:x11/iconcache.c:303:standard_pict_format_for_depth: code should not be reached Apr 25 09:59:41 rbb-ubu1710-3 org.gnome.Shell.desktop[3936]: == Stack trace for context 0x556d30f3c4c0 == Apr 25 09:59:41 rbb-ubu1710-3 dbus-daemon[690]: [system] Successfully activated service 'org.freedesktop.fwupd' Apr 25 09:59:41 rbb-ubu1710-3 systemd[1]: Started Firmware update daemon. Apr 25 09:59:42 rbb-ubu1710-3 PackageKit: get-updates transaction /2379_acbceaca from uid 1000 finished with success after 1175ms Apr 25 09:59:42 rbb-ubu1710-3 gnome-session[3605]: gnome-session-binary[3605]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 6 Apr 25 09:59:42 rbb-ubu1710-3 gnome-session[3605]: gnome-session-binary[3605]: WARNING: App 'org.gnome.Shell.desktop' respawning too quickly Apr 25 09:59:42 rbb-ubu1710-3 gnome-session[3605]: gnome-session-binary[3605]: CRITICAL: We failed, but the fail whale is dead. Sorry.... Apr 25 09:59:42 rbb-ubu1710-3 gnome-session-binary[3605]: Unrecoverable failure in required component org.gnome.Shell.desktop Apr 25 09:59:42 rbb-ubu1710-3 gnome-session-binary[3605]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 6 Apr 25 09:59:42 rbb-ubu1710-3 gnome-session-binary[3605]: WARNING: App 'org.gnome.Shell.desktop' respawning too quickly Apr 25 09:59:42 rbb-ubu1710-3 gnome-session-binary[3605]: CRITICAL: We failed, but the fail whale is dead. Sorry.... ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: gnome-shell 3.28.1-0ubuntu2 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 Date: Wed Apr 25 10:06:55 2018 DisplayManager: GsettingsChanges: b'org.gnome.desktop.interface' b'gtk-im-module' b"'gtk-im-context-simple'" InstallationDate: Installed on 2018-01-04 (111 days ago) InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170918) SourcePackage: gnome-shell UpgradeStatus: Upgraded to bionic on 2018-04-24 (0 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1766938/+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