Intermittant Gnome-Shell Crash on Unlock

I have a laptop I installed as 16.whatever, then upgrade to 17. The upgrade ran smoothly, and since the upgrade things are mostly working well, but the one point of frustration is ghome-shell will crash. . . after some number of unlocks.

This error gets logged:

[175295.930234] gnome-shell[1331]: segfault at 43c160000000 ip 0000342520c033ad sp 00007ffe01cbb4f0 error 4 likely on CPU 0 (core 0, socket 0)

The lock screen goes away, any running GUI apps are closed, the system appears to go back to a VGA console, while the GUI restarts, bringing me back to a login prompt.

Any suggestions for troubleshooting? I am current on patches.

-CR

That is odd, it's a segmentation fault :thinking:
I don't know your background, so to cut it short, a segmentation fault is essentially when one program access memory that doesn't belong to it

Let's see if anyone else can reproduce the issue :upside_down_face:

Thanks for reading & responding.

I should probably also mention that I'm using Wayland with Intel i915 video. and that it seems to not occur if I use X11 mode.

Hm, in that case, do you have enough internet bandwidth to test another Linux-Based OS with a newer version of the desktop? Just from a USB, no need to install anything

Something like Fedora Workstation comes to mind.

If you cannot replicate it there, it was probably already fixed in an update that Zorin hasn't gotten yet, so they would need to apply the patch and roll it out manually to users.

Mind getting a system report using inxi too?

sudo apt install inxi -y
# get report:
inxi -Fz

I'm happy to try that.

-CR

$ file `which inxi`
/usr/bin/inxi: Perl script text executable

Eww. . .

$ inxi -Fz
System:
  Kernel: 6.5.0-21-generic x86_64 bits: 64 Desktop: GNOME 43.9
    Distro: Zorin OS 17.1
Machine:
  Type: Laptop System: LENOVO product: 20DSS02V00 v: ThinkPad L450
    serial: <superuser required>
  Mobo: LENOVO model: Intel powered classmate PC
    serial: <superuser required> UEFI-[Legacy]: LENOVO v: JDET47WW (1.09 )
    date: 02/04/2015
Battery:
  ID-1: BAT0 charge: 40.3 Wh (96.6%) condition: 41.7/47.5 Wh (87.8%)
CPU:
  Info: dual core model: Intel Core i3-5005U bits: 64 type: MT MCP cache:
    L2: 512 KiB
  Speed (MHz): avg: 500 min/max: 500/2000 cores: 1: 500 2: 500 3: 500
    4: 500
Graphics:
  Device-1: Intel HD Graphics 5500 driver: i915 v: kernel
  Device-2: Chicony Lenovo Integrated Webcam type: USB driver: uvcvideo
  Display: wayland server: X.Org v: 1.22.1.1 with: Xwayland v: 22.1.1
    compositor: gnome-shell driver: X: loaded: modesetting unloaded: fbdev,vesa
    gpu: i915 resolution: 1360x768~60Hz
  OpenGL: renderer: Mesa Intel HD Graphics 5500 (BDW GT2)
    v: 4.6 Mesa 23.2.1-1ubuntu3.1~22.04.2
Audio:
  Device-1: Intel Broadwell-U Audio driver: snd_hda_intel
  Device-2: Intel Wildcat Point-LP High Definition Audio
    driver: snd_hda_intel
  Sound Server-1: ALSA v: k6.5.0-21-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Ethernet I218-V driver: e1000e
  IF: enp0s25 state: down mac: <filter>
  Device-2: Intel Wireless 7265 driver: iwlwifi
  IF: wlp4s0 state: up mac: <filter>
Drives:
  Local Storage: total: 465.76 GiB used: 49.34 GiB (10.6%)
  ID-1: /dev/sda vendor: Western Digital model: WD5000LPVX-08V0TT5
    size: 465.76 GiB
Partition:
  ID-1: / size: 456.88 GiB used: 49.34 GiB (10.8%) fs: ext4 dev: /dev/sda5
  ID-2: /boot/efi size: 511 MiB used: 4 KiB (0.0%) fs: vfat dev: /dev/sda1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 532.4 MiB (26.0%) file: /swapfile
Sensors:
  System Temperatures: cpu: 41.0 C pch: 42.5 C mobo: N/A
  Fan Speeds (RPM): cpu: 0 fan-2: 0
Info:
  Processes: 232 Uptime: 2d 4h 0m Memory: 3.53 GiB used: 2.01 GiB (56.9%)
  Shell: Bash inxi: 3.3.13

Enjoy,
-CR

Hm, well I don't see any hardware that I know doesn't work... that rules out hardware issues for now :upside_down_face:

Which kernels have you currently tried?
If you want to test the 6.7 kernel, you can launch terminal and run

sudo add-apt-repository ppa:tuxinvader/jammy-mainline

sudo apt update && sudo apt install linux-generic-6.07

Reboot into the 6.7 kernel and test...

I'm just running, what I assume is the default kernel for Zorin 17.1:

Linux spare 6.5.0-21-generic #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb  9 13:32:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

PRETTY_NAME="Zorin OS 17.1"
NAME="Zorin OS"
VERSION_ID="17"
VERSION="17.1"
VERSION_CODENAME=jammy
ID=zorin
ID_LIKE="ubuntu debian"
HOME_URL="https://zorin.com/os/"
SUPPORT_URL="https://help.zorin.com/"
BUG_REPORT_URL="https://zorin.com/os/feedback/"
PRIVACY_POLICY_URL="https://zorin.com/legal/privacy/"
UBUNTU_CODENAME=jammy

I'm not against trying the kernel upgrade you provided, is that a worthwhile thing to try?

-CR

Yes, the kernel is the base for the hardware drivers on your system; so it is worth trying a different kernel build if your hardware is not working correctly.

A Gnome Shell crash can be caused by a lot of different things and checking the kernel is a way of looking at the graphics hardware to see if it is the fault.

Ran into an issue trying the upgrade. The first couple steps completed successfully, but then:

$ sudo apt install linux-generic-6.07
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 linux-generic-6.07 : Depends: linux-headers-6.7.5-060705-generic but it is not installable
                      Depends: linux-image-unsigned-6.7.5-060705-generic but it is not installable
                      Depends: linux-modules-6.7.5-060705-generic but it is not installable
E: Unable to correct problems, you have held broken packages.

That is odd...
Try

sudo apt --fix-broken install

sudo apt --fix-missing

sudo apt update && sudo apt full-upgrade && sudo apt install linux-generic-6.07

Hello, @crtxreavr

I've been suffering from the same issue.

My GPU is "UHD Graphics 605", kernel version is "6.5.0-25-generic" (ZorinOS 7.1 and updates).

I noticed that if I press Windows + L (aka Super + L) combination, GUI apps are closed, when I run

xdg-screensaver lock

or

dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock

the same thing happens, but when I click on Menu and Lock button:

image

screen is locked without issues.

I was wondering which command is executed when I click "Lock" button? If I knew it, I would put a shortcut and assigned a key combination to it.

I am having the same issue on zorin 17.1 pro

gnome-shell[1594]: segfault at 4544c0000000 ip 00002827f4b32e8d sp 00007ffcdd0d2380 error 4 likely on CPU 7 (core 3, socket 0)
uname -a
Linux kenhen-laptop-z 6.5.0-25-generic #25~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Feb 20 16:09:15 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
inxi -Fz
System:
  Kernel: 6.5.0-25-generic x86_64 bits: 64 Desktop: GNOME 43.9
    Distro: Zorin OS 17.1
Machine:
  Type: Convertible System: HP
    product: HP Pavilion x360 Convertible 14-cd2xxx v: Type1ProductConfigId
    serial: <filter>
  Mobo: HP model: 86EC v: 72.86 serial: <filter> UEFI: Insyde v: F.02
    date: 10/08/2019
Battery:
  ID-1: BAT0 charge: 38.3 Wh (100.0%) condition: 38.3/38.3 Wh (100.0%)
CPU:
  Info: quad core model: Intel Core i5-10210U bits: 64 type: MT MCP cache:
    L2: 1024 KiB
  Speed (MHz): avg: 665 min/max: 400/4200 cores: 1: 901 2: 400 3: 817
    4: 800 5: 400 6: 400 7: 400 8: 1202
Graphics:
  Device-1: Intel CometLake-U GT2 [UHD Graphics] driver: i915 v: kernel
  Device-2: EMEET HD Webcam C960 type: USB driver: snd-usb-audio,uvcvideo
  Device-3: Chicony HP Wide Vision HD Camera type: USB driver: uvcvideo
  Display: server: X.Org v: 1.22.1.1 driver: X: loaded: modesetting
    unloaded: fbdev,vesa gpu: i915 resolution: 3440x1440~50Hz
  OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2)
    v: 4.6 Mesa 23.2.1-1ubuntu3.1~22.04.2
Audio:
  Device-1: Intel Comet Lake PCH-LP cAVS driver: snd_hda_intel
  Device-2: EMEET HD Webcam C960 type: USB driver: snd-usb-audio,uvcvideo
  Sound Server-1: ALSA v: k6.5.0-25-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Comet Lake PCH-LP CNVi WiFi driver: iwlwifi
  IF: wlo1 state: down mac: <filter>
  Device-2: Realtek RTL8153 Gigabit Ethernet Adapter type: USB
    driver: r8152
  IF: enx00249b206ea5 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb
  Report: hciconfig ID: hci0 state: up address: <filter> bt-v: 3.0
RAID:
  Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci
Drives:
  Local Storage: total: 931.51 GiB used: 58.36 GiB (6.3%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO 1TB
    size: 931.51 GiB
Partition:
  ID-1: / size: 482.64 GiB used: 58.31 GiB (12.1%) fs: ext4
    dev: /dev/nvme0n1p5
  ID-2: /boot/efi size: 96 MiB used: 55 MiB (57.3%) fs: vfat
    dev: /dev/nvme0n1p3
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 50.0 C pch: 44.0 C mobo: 37.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 326 Uptime: 1d 43m Memory: 15.31 GiB used: 4.26 GiB (27.8%)
  Shell: Bash inxi: 3.3.13
apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

I'm assuming you meant sudo apt-get --fix-missing since apt --fix-missing isn't a valid command.

Still running into problems though:

crtxreavr@spare:~$ sudo apt-get --fix-missing
apt 2.4.11 (amd64)
Usage: apt-get [options] command
       apt-get [options] install|remove pkg1 [pkg2 ...]
       apt-get [options] source pkg1 [pkg2 ...]

apt-get is a command line interface for retrieval of packages
and information about them from authenticated sources and
for installation, upgrade and removal of packages together
with their dependencies.

Most used commands:
  update - Retrieve new lists of packages
  upgrade - Perform an upgrade
  install - Install new packages (pkg is libc6 not libc6.deb)
  reinstall - Reinstall packages (pkg is libc6 not libc6.deb)
  remove - Remove packages
  purge - Remove packages and config files
  autoremove - Remove automatically all unused packages
  dist-upgrade - Distribution upgrade, see apt-get(8)
  dselect-upgrade - Follow dselect selections
  build-dep - Configure build-dependencies for source packages
  satisfy - Satisfy dependency strings
  clean - Erase downloaded archive files
  autoclean - Erase old downloaded archive files
  check - Verify that there are no broken dependencies
  source - Download source archives
  download - Download the binary package into the current directory
  changelog - Download and display the changelog for the given package

See apt-get(8) for more information about the available commands.
Configuration options and syntax is detailed in apt.conf(5).
Information about how to configure sources can be found in sources.list(5).
Package and version choices can be expressed via apt_preferences(5).
Security details are available in apt-secure(8).
                                        This APT has Super Cow Powers.
crtxreavr@spare:~$ sudo apt update && sudo apt full-upgrade && sudo apt install linux-generic-6.07
Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease              
Hit:3 http://security.ubuntu.com/ubuntu jammy-security InRelease               
Hit:4 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease            
Hit:5 http://ppa.launchpad.net/zorinos/apps/ubuntu jammy InRelease             
Hit:6 https://packages.zorinos.com/stable jammy InRelease                      
Hit:7 http://ppa.launchpad.net/zorinos/drivers/ubuntu jammy InRelease          
Hit:8 https://packages.zorinos.com/patches jammy InRelease          
Hit:9 http://ppa.launchpad.net/zorinos/patches/ubuntu jammy InRelease
Hit:10 https://packages.zorinos.com/apps jammy InRelease
Hit:11 https://ppa.launchpadcontent.net/tuxinvader/jammy-mainline/ubuntu jammy InRelease
Hit:12 http://ppa.launchpad.net/zorinos/stable/ubuntu jammy InRelease
Hit:13 https://packages.zorinos.com/drivers jammy InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 linux-generic-6.07 : Depends: linux-headers-6.7.5-060705-generic but it is not installable
                      Depends: linux-image-unsigned-6.7.5-060705-generic but it is not installable
                      Depends: linux-modules-6.7.5-060705-generic but it is not installable
E: Unable to correct problems, you have held broken packages.
crtxreavr@spare:~$ 

-CR

Please check your sources:

As this thread shows; some users of the Upgrader have run into issues that the Sources did not fully transition to Jammy:

Sorry, my mistake - apt (without using apt-get) requires update at the tail of the command:

sudo apt --fix-missing update

Thanks for clearing up that syntax.

The relevant output has gotten pretty long, so I put in on this paste site: View paste I77A

The TL;DR version is:

The following packages have unmet dependencies:
 linux-generic-6.07 : Depends: linux-headers-6.7.5-060705-generic but it is not installable
                      Depends: linux-image-unsigned-6.7.5-060705-generic but it is not installable
                      Depends: linux-modules-6.7.5-060705-generic but it is not installable
E: Unable to correct problems, you have held broken packages.

-CR

The errors you are getting suggest that your sources need fixing.
Please see this thread here:

Followed that process, but the same issue remains with the install of install linux-generic-6.07

-CR

How strange.

Well... If this was me on my machine, I would abandon the 6.7 kernel attempt as it may be an issue with the repository package (unusual, but possible) and test the 6.6 kernel from the same repository:

sudo apt --fix-broken install

Or

sudo apt remove linux-generic-6.07

sudo apt install linux-generic-6.06