gdm3 crashes with SIGTRAP on startup

Bug #2006590 reported by Yosha872
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gdm3 (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Suddenly this week, my GUI (ubuntu 22.10) does not open, stuck on the console text.
I tried to free some space (by uninstall a app), then to check/update the paquets (dkpg).

ProblemType: Bug
DistroRelease: Ubuntu 22.10
Package: xorg 1:7.7+23ubuntu2
ProcVersionSignature: Ubuntu 5.19.0-29.30-generic 5.19.17
Uname: Linux 5.19.0-29-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
.proc.driver.nvidia.capabilities.gpu0: Error: path was not a regular file.
.proc.driver.nvidia.capabilities.mig: Error: path was not a regular file.
.proc.driver.nvidia.gpus.0000.01.00.0: Error: path was not a regular file.
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.suspend: suspend hibernate resume
.proc.driver.nvidia.suspend_depth: default modeset uvm
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 515.86.01 Wed Oct 26 09:12:38 UTC 2022
 GCC version:
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
Date: Wed Feb 8 12:13:40 2023
DistUpgraded: Fresh install
DistroCodename: kinetic
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
GpuHangFrequency: Continuously
GpuHangReproducibility: Yes, I can easily reproduce it
GpuHangStarted: Within the last few days
GraphicsCard:
 Intel Corporation HD Graphics 620 [8086:5916] (rev 02) (prog-if 00 [VGA controller])
   Subsystem: Acer Incorporated [ALI] Aspire E5-575G [1025:1094]
   Subsystem: Acer Incorporated [ALI] GM107M [GeForce GTX 950M] [1025:1094]
InstallationDate: Installed on 2022-05-03 (280 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 004: ID 04f2:b573 Chicony Electronics Co., Ltd HD WebCam
 Bus 001 Device 003: ID 04ca:3015 Lite-On Technology Corp. Qualcomm Atheros QCA9377 Bluetooth
 Bus 001 Device 002: ID 25a7:fa23 Areson Technology Corp 2.4G Receiver
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Acer Aspire E5-575G
ProcEnviron:
 TERM=linux
 PATH=(custom, no user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.19.0-29-generic root=UUID=98c8e2f8-38e3-44ff-a926-d1bd59527ca5 ro recovery nomodeset dis_ucode_ldr
SourcePackage: xorg
Symptom: display
Title: Xorg freeze
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/24/2017
dmi.bios.release: 0.0
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: V1.32
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: Ironman_SK
dmi.board.vendor: Acer
dmi.board.version: V1.32
dmi.chassis.type: 10
dmi.chassis.vendor: Chassis Manufacturer
dmi.chassis.version: Chassis Version
dmi.ec.firmware.release: 2.30
dmi.modalias: dmi:bvnInsydeCorp.:bvrV1.32:bd10/24/2017:br0.0:efr2.30:svnAcer:pnAspireE5-575G:pvrV1.32:rvnAcer:rnIronman_SK:rvrV1.32:cvnChassisManufacturer:ct10:cvrChassisVersion:skuAspireE5-575G_115F_1.32:
dmi.product.family: KBL
dmi.product.name: Aspire E5-575G
dmi.product.sku: Aspire E5-575G_115F_1.32
dmi.product.version: V1.32
dmi.sys.vendor: Acer
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.113-2
version.libgl1-mesa-dri: libgl1-mesa-dri 22.2.5-0ubuntu0.1
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
version.xserver-xorg-core: xserver-xorg-core 2:21.1.4-2ubuntu1.4
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-3
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1

Revision history for this message
Yosha872 (yosha) wrote :
affects: ubuntu → xorg (Ubuntu)
Yosha872 (yosha)
summary: - Xorg freeze
+ Xorg freeze after rebooting
Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: Xorg freeze after rebooting

Thanks for the bug report.

Your system is stuck in recovery mode so you will need to access the grub menu (tap escape before Ubuntu starts just after the BIOS) and select the regular kernel to fix it.

When done, your /proc/cmdline should not mention either "nomodeset" or "recovery".

affects: xorg (Ubuntu) → ubuntu
Changed in ubuntu:
status: New → Incomplete
Revision history for this message
Yosha872 (yosha) wrote :

Doh! I did the 'ubuntu-bug' process from recovery because I can not access the terminal on my computer in normal mode (CTRL+ALT+F1 and F2 does not open a new login).
I attach the screenshot of the only screen output I get.

Note: When I press CTRL+ALT+DEL I see the usual graphic Ubuntu screen (with logo), but that's all I can do from keyboard.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

No problem.

Please:

1. Reproduce the bug again.

2. Reboot into recovery mode.

3. Run:

   journalctl -b-1 > prevboot.txt

4. Attach the resulting text file here.

Revision history for this message
Yosha872 (yosha) wrote :

prevboot.txt file attached.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks. That shows it is gdm3 crashing, so please:

1. Look in /var/crash for crash files and if found run:
    ubuntu-bug YOURFILE.crash
Then tell us the ID of the newly-created bug.

2. If step 1 failed then look at https://errors.ubuntu.com/user/ID where ID is the content of file /var/lib/whoopsie/whoopsie-id on the machine. Do you find any links to recent problems on that page? If so then please send the links to us.

Please take care to avoid attaching .crash files to bugs as we are unable to process them as file attachments. It would also be a security risk for yourself.

summary: - Xorg freeze after rebooting
+ gdm3 crashes with SIGTRAP on startup
affects: ubuntu → gdm3 (Ubuntu)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Nevermind, I can tell which crash this is from the log:

  Gdm: GdmSession: no session desktop files installed, aborting...

So this is bug 1717878

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I suspect when you "tried to free some space (by uninstall a app)" you might have removed a core part of the Ubuntu Desktop and accidentally triggered the removal of other desktop components. I know because I've made the same mistake myself.

Try this:

  sudo apt install --reinstall ubuntu-session

Revision history for this message
Yosha872 (yosha) wrote :

Thank you, the command (sudo apt install --reinstall ubuntu-session) has fixed the issue. Now I can reach my Ubutup desktop :)

Revision history for this message
Allen (allen-s) wrote :

  sudo apt install --reinstall ubuntu-session

worked for me as well

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.