gnome-shell crashed in mutter:ERROR:x11/iconcache.c:303:standard_pict_format_for_depth: code should not be reached
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mutter (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
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-
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.
Apr 25 09:59:41 rbb-ubu1710-3 org.gnome.
Apr 25 09:59:41 rbb-ubu1710-3 org.gnome.
Apr 25 09:59:41 rbb-ubu1710-3 dbus-daemon[690]: [system] Successfully activated service 'org.freedeskto
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[
Apr 25 09:59:42 rbb-ubu1710-3 gnome-session[
Apr 25 09:59:42 rbb-ubu1710-3 gnome-session[
Apr 25 09:59:42 rbb-ubu1710-3 gnome-session-
Apr 25 09:59:42 rbb-ubu1710-3 gnome-session-
Apr 25 09:59:42 rbb-ubu1710-3 gnome-session-
Apr 25 09:59:42 rbb-ubu1710-3 gnome-session-
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: gnome-shell 3.28.1-0ubuntu2
ProcVersionSign
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.
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)
Changed in mutter (Fedora): | |
importance: | Unknown → Undecided |
status: | Unknown → Won't Fix |
Changed in gnome-shell (Ubuntu): | |
status: | Incomplete → Invalid |
Changed in mutter (Ubuntu): | |
status: | Incomplete → Invalid |
summary: |
- gnome-shell crashed in standard_pict_format_for_depth() + gnome-shell crashed in + mutter:ERROR:x11/iconcache.c:303:standard_pict_format_for_depth: code + should not be reached |
1. Install xterm
2. Write a file at /etc/X11/ xorg.conf. d/20-bit16. conf containing:
Section "Screen"
Identifier "Screen0"
DefaultDepth 16
EndSection
3. Log in with GNOME desktop
4. Go to Activities, type 'xt' and see the xterm icon appear
5. Click on the xterm icon
6. Boom
This was originally encountered by installing tigervnc- server- module
which comes with a config file specifying DefaultDepth 16 but clearly
the vnc server itself is not required.
gnome-shell outputs the following message before crashing:
mutter: ERROR:x11/ iconcache. c:301:standard_ pict_format_ for_depth: code should not be reached
Analysis of this function shows that it doesn't believe that 16-bit
pixmaps exist.