Session crash after initial login

Bug #2013071 reported by Sean Davis
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Xubuntu lunar beta 20230328, GNOME Boxes 43.2, "Install third-party software for graphics and Wi-Fi hardware and additional media formats" selected during install.

When logging in for the first time, the session immediately crashes and returns to the login screen.

Attempting to login again without rebooting is successful.
Attempting to login again after rebooting reproduces the issue.

The issue doesn't seem to present itself if "Install third-party software for graphics and Wi-Fi hardware and additional media formats" is not selected during install. Differences in installed packages:
- chromium-codecs-ffmpeg-extra
- gimp-help-common
- gimp-help-en
- gstreamer1.0-plugins-ugly
- gstreamer1.0-vaapi
- hyphen-en-us
- liba52-0.7.4
- libmpeg2-4
- libopencore-amrnb0
- libopencore-amrwb0
- libreoffice-help-common
- libreoffice-help-en-us
- libsidplay1v5
- libva-wayland2
- mythes-en-us
- thunderbird-locale-en
- thunderbird-locale-en-us
- ubuntu-restricted-addons
- wbritish

Since it seems unlikely that the language pack packages are interfering... maybe libva-wayland2 is to blame?

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: xorg 1:7.7+23ubuntu2
ProcVersionSignature: Ubuntu 6.2.0-18.18-generic 6.2.6
Uname: Linux 6.2.0-18-generic x86_64
ApportVersion: 2.26.0-0ubuntu2
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: pass
CompositorRunning: None
CurrentDesktop: XFCE
Date: Tue Mar 28 07:47:04 2023
DistUpgraded: Fresh install
DistroCodename: lunar
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
GraphicsCard:
 Red Hat, Inc. QXL paravirtual graphic card [1b36:0100] (rev 05) (prog-if 00 [VGA controller])
   Subsystem: Red Hat, Inc. QEMU Virtual Machine [1af4:1100]
InstallationDate: Installed on 2023-03-28 (0 days ago)
InstallationMedia: Xubuntu 23.04 "Lunar Lobster" - Alpha amd64 (20230328)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 0627:0001 Adomax Technology Co., Ltd QEMU USB Tablet
 Bus 001 Device 002: ID 08e6:4433 Gemalto (was Gemplus) GemPC433-Swap
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Lsusb-t:
 /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/15p, 5000M
 /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/15p, 480M
     |__ Port 1: Dev 2, If 0, Class=Chip/SmartCard, Driver=, 12M
     |__ Port 2: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 480M
MachineType: QEMU Standard PC (Q35 + ICH9, 2009)
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.2.0-18-generic root=UUID=0a9a1a3f-22b7-4cef-b7d4-a193beb89089 ro quiet splash vt.handoff=7
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/01/2014
dmi.bios.release: 0.0
dmi.bios.vendor: SeaBIOS
dmi.bios.version: 1.16.1-2.fc37
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.version: pc-q35-7.0
dmi.modalias: dmi:bvnSeaBIOS:bvr1.16.1-2.fc37:bd04/01/2014:br0.0:svnQEMU:pnStandardPC(Q35+ICH9,2009):pvrpc-q35-7.0:cvnQEMU:ct1:cvrpc-q35-7.0:sku:
dmi.product.name: Standard PC (Q35 + ICH9, 2009)
dmi.product.version: pc-q35-7.0
dmi.sys.vendor: QEMU
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.114-1
version.libgl1-mesa-dri: libgl1-mesa-dri 22.3.6-1ubuntu2
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core 2:21.1.7-1ubuntu2
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
Sean Davis (bluesabre) wrote :
description: updated
description: updated
Sean Davis (bluesabre)
description: updated
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
https://iso.qa.ubuntu.com/qatracker/reports/bugs/2013071

tags: added: iso-testing
Sean Davis (bluesabre)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xorg (Ubuntu):
status: New → Confirmed
Revision history for this message
Aaron Rainbolt (arraybolt3) wrote :

I notice a blueman-applet crash when I reproduce this.

Revision history for this message
Aaron Rainbolt (arraybolt3) wrote :

Hmm, and now xfce4-power-manager.

Looking at the stacktrace when xfce4-power-manager goes awry, it's GLib's fault. Which means we probably have another slice allocator removal causing problems.

Revision history for this message
Aaron Rainbolt (arraybolt3) wrote (last edit ):

And there's more random crashes. (xiccd being the next one to go kaput) All of this in a pure QEMU VM.

My guess is xfce4-power-manager crashes thanks to GLib and that takes down other stuff at random. Not sure how that would be triggered by the third-party software option, but that's what I'm seeing here.

Revision history for this message
Aaron Rainbolt (arraybolt3) wrote :
Download full text (8.0 KiB)

Interestingly, I'm not getting any XFCE-related crashes when I use gnome-boxes rather than QEMU. The process that is crashing is actually X.

I got a backtrace from it:

(gdb) bt -full
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>)
    at ./nptl/pthread_kill.c:44
        tid = <optimized out>
        ret = 0
        pd = <optimized out>
        old_mask = {__val = {0}}
        ret = <optimized out>
        pd = <optimized out>
        old_mask = <optimized out>
        ret = <optimized out>
        tid = <optimized out>
        ret = <optimized out>
        resultvar = <optimized out>
        resultvar = <optimized out>
        __arg3 = <optimized out>
        __arg2 = <optimized out>
        __arg1 = <optimized out>
        _a3 = <optimized out>
        _a2 = <optimized out>
        _a1 = <optimized out>
        __futex = <optimized out>
        resultvar = <optimized out>
        __arg3 = <optimized out>
        __arg2 = <optimized out>
        __arg1 = <optimized out>
        _a3 = <optimized out>
        _a2 = <optimized out>
        _a1 = <optimized out>
        __futex = <optimized out>
        __private = <optimized out>
        __oldval = <optimized out>
#1 __pthread_kill_internal (signo=6, threadid=<optimized out>)
    at ./nptl/pthread_kill.c:78
No locals.
#2 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6)
    at ./nptl/pthread_kill.c:89
No locals.
#3 0x00007f39b123c406 in __GI_raise (sig=sig@entry=6)
    at ../sysdeps/posix/raise.c:26
        ret = <optimized out>
#4 0x00007f39b122287c in __GI_abort () at ./stdlib/abort.c:79
        save_stage = 1
        act = {__sigaction_handler = {sa_handler = 0x20, sa_sigaction = 0x20},
          sa_mask = {__val = {0 <repeats 16 times>}}, sa_flags = 67108868,
          sa_restorer = 0x7f39b123c4b0 <__restore_rt>}
#5 0x0000558075c86b60 in OsAbort () at ../../../../os/utils.c:1352
No locals.
#6 0x0000558075c8c319 in AbortServer () at ../../../../os/log.c:879
No locals.
#7 0x0000558075c8d359 in FatalError (
    f=f@entry=0x558075cbee90 "Caught signal %d (%s). Server aborting\n")
    at ../../../../os/log.c:1017
        args = {{gp_offset = 24, fp_offset = 48,
            overflow_arg_area = 0x7ffd9edeb5a0,
            reg_save_area = 0x7ffd9edeb4d0}}
        args2 = {{gp_offset = 8, fp_offset = 48,
            overflow_arg_area = 0x7ffd9edeb5a0,
            reg_save_area = 0x7ffd9edeb4d0}}
        beenhere = 1
#8 0x0000558075c83ddc in OsSigHandler (unused=<optimized out>,
    sip=<optimized out>, signo=6) at ../../../../os/osinit.c:156
No locals.
#9 OsSigHandler (signo=6, sip=<optimized out>, unused=<optimized out>)
    at ../../../../os/osinit.c:110
No locals.
#10 <signal handler called>
No locals.
#11 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>)
    at ./nptl/pthread_kill.c:44
        tid = <optimized out>
        ret = 0
        pd = <optimized out>
        old_mask = {__val = {139885759425152}}
        ret = <optimized out>
        pd = <optimized out>
        old_mask = <optimized out>
        ret = <optimized out>
        tid = <optimized out>
        ret = <optimized out>
        resultvar ...

Read more...

Revision history for this message
Aaron Rainbolt (arraybolt3) wrote :

I can't reproduce this on Ubuntu MATE (though I can make other things crash sadly).

Revision history for this message
Aaron Rainbolt (arraybolt3) wrote :

Looks like Sean was right - removing libva-wayland2 and then rebooting resolved the issue.

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

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 1861609, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

tags: added: qxl
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.