Gnome-shell seg fault constantly

I did a fresh install of zorin 17 and then upgraded to zorin 17.1. I am constantly getting a fresh new desktop when I log back into the computer after leaving my laptop for a while. I check dmesg and see the seg fault.

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.

Can you install debsums, then run it to check if there are any SHA mismatches in installed pacakges?

sudo apt install debsums

sudo debsums

OK I did that and all were OK

Have you tested on Zorin Desktop on X rather than Wayland?

No how would I configure to use zorin desktop on x?

You can log in on Wayland or Xorg (X11) from the login screen.

Instead of entering your password and logging in, click the gear icon and select Zorin Desktop on X
Then proceed to login.
If you do not see the gear icon, then click as if to log in as another user, then the gear should appear - after setting your desktop, then login as yourself as normal.

This sounds very familiar. I'm having pretty much an identical issue. [Aravisian has me experimenting with the 6.6 kernel to see if it helps.

-CR

1 Like

How do I install kernel 6.6?

You can install with Secure Boot diabled in BIOS Settings, then launch Zorin OS and open terminal, add the TuxInvader repository

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

Install the 6.6 kernel:

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

1 Like

Thanks I add the new kernel and restarted. I also switch desktops to Zorin on X and so far I have add any issue...

1 Like

@AvtarSingh My screen timeout is not working now. My screen will go blank (black) after 1 minute even though I have set it to 4 minutes. Any idea why? I didn't have this issue until I moved to new kernel and Zorin on X

I am getting some odd behavior where I log in and the desktop looks a little different and then it freezes for a a few seconds and it takes me back to the login screen but when I login all of my windows are still open

To clarify;
You seemed to stop having the issue on the newer kernel, but developed a new issue where timeout is not working?
This happens on Wayland and Xorg both?

If the above is accurate, this sounds like an issue with the Gnome Shell, not display.

I switched back to the Wayland desktop and no timeout issue but then I had the log out issue again. It seems with the new kernel I don't have the same logout issue on Xorg (though sometimes I have to login twice) but I have this timout issue. The screen goes black in like 30 seconds.

I checked the gnome screen timeout via command line

gsettings get org.gnome.desktop.session idle-delay
uint32 300

There have been quite a few threads covering the Gnome Desktop not respecting screen timeout and the screen blanking after a minute - or thirty seconds...

In itself, I have not been able to narrow this down to Gnome 43- it seems to affect users on many different distros and across Gnome versions:

In spite of there being multiple threads on this specific issue - I have yet to find a decent solution.

Your login issue sounds a bit like a Gnome-Shell crash. If you can please clarify this so we can separate the issues out.
So far, it does not sound like a Wayland issue, nor an Xorg issue.

This was why the debsums suggestion above... Even though that did not reveal any corrupted files...
Let's try

sudo apt install --reinstall zorin-os-desktop

and see if a reinstall of the Gnome Desktop provides any relief.

OK I re-installed. Do I need to restart?

Yes its a gnome shell crash

gnome-shell[159935]: segfault at 42a1e0000000 ip 0000214410971acd sp 00007fff5ee41a20 error 4 likely on CPU 7 (core 3, socket 0)

Yes, reboot after reinstalling the shell. We can only wait and allow you to observe if it keeps crashing the same way...

I setup xscreensaver and that might have solved the timeout issue. I did do the reinstall but have not restarted yet

OK i finally restarted and I am still having that login issue.

The screen saver is working but if I enable power management the screen goes blank again quickly.