Intermittant Gnome-Shell Crash on Unlock

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

Linux spare 6.6.5-060605-generic #202312091251-Ubuntu SMP PREEMPT_DYNAMIC Sat Dec 9 14:02:34 UTC x86_64 x86_64 x86_64 GNU/Linux

Okay, so that got me onto 6.6. I guess stay tuned on whether or not that makes a difference with Gnome-Shell.

-CR

1 Like

[280834.954951] gnome-shell[1516]: segfault at 417c20000000 ip 000025737e8dd97d sp 00007fff4f200080 error 4 likely on CPU 2 (core 1, socket 0)
Still happening with 6.6.

-CR

Have you run the option at boot for memtest86 yet?

Okay, so apparently the RAM on this laptop I've been playing with is sh|t.

-CR

Just hope the RAM is exchangeable, i.e. not soldered in.

Just thinking. How old is the laptop battery? I had one that indicated as fit and well, but laptop was suffereing all sorts of random disk and other H/W issues till I replaced it with a new one. This even when running plugged into mains power.

To answer the original question:

After system upgrade at least week ago, lock screen seems to work fine so far.

1 Like