systemd randomly crashes

Bug #1952542 reported by Leo Wandersleb
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

When screensaver is on, I often can't wake the system back up again. Screen comes, up, clock shows but frozen and login does nothing.

I have a file `/var/crash/_usr_lib_systemd_systemd.0.crash` from around the incident time, so I guess it's systemd itself that's crashing.

Trying to dig into the crash report, this is how far I get:

```
$ gdb `cat ExecutablePath` CoreDump
GNU gdb (Ubuntu 11.1-0ubuntu2) 11.1
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/lib/systemd/systemd...
(No debugging symbols found in /usr/lib/systemd/systemd)
[New LWP 2241488]
[New LWP 1]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/sbin/init recovery dis_ucode_ldr'.
Program terminated with signal SIGABRT, Aborted.
#0 0x00007effcc99175b in kill () at ../sysdeps/unix/syscall-template.S:120
120 ../sysdeps/unix/syscall-template.S: No such file or directory.
[Current thread is 1 (LWP 2241488)]
(gdb) bt
#0 0x00007effcc99175b in kill () at ../sysdeps/unix/syscall-template.S:120
#1 0x0000561ece72cb5c in ?? ()
#2 <signal handler called>
#3 __pthread_kill_implementation (no_tid=0, signo=6, threadid=139637107291648) at pthread_kill.c:44
#4 __pthread_kill_internal (signo=6, threadid=139637107291648) at pthread_kill.c:80
#5 __GI___pthread_kill (threadid=139637107291648, signo=signo@entry=6) at pthread_kill.c:91
#6 0x00007effcc991476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#7 0x00007effcc9777b7 in __GI_abort () at abort.c:79
#8 0x00007effccced6fe in ?? () from /lib/systemd/libsystemd-shared-248.so
#9 0x0000561ece7758c4 in ?? ()
#10 0x0000561ece77a7aa in ?? ()
#11 0x0000561ece72b8a7 in ?? ()
#12 0x00007effcc978fd0 in __libc_start_call_main (main=main@entry=0x561ece729330, argc=argc@entry=3, argv=argv@entry=0x7ffc9cbad768) at ../sysdeps/nptl/libc_start_call_main.h:58
#13 0x00007effcc97907d in __libc_start_main_impl (main=0x561ece729330, argc=3, argv=0x7ffc9cbad768, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc9cbad758)
    at ../csu/libc-start.c:409
#14 0x0000561ece72c6f5 in ?? ()
(gdb)
#0 0x00007effcc99175b in kill () at ../sysdeps/unix/syscall-template.S:120
#1 0x0000561ece72cb5c in ?? ()
#2 <signal handler called>
#3 __pthread_kill_implementation (no_tid=0, signo=6, threadid=139637107291648) at pthread_kill.c:44
#4 __pthread_kill_internal (signo=6, threadid=139637107291648) at pthread_kill.c:80
#5 __GI___pthread_kill (threadid=139637107291648, signo=signo@entry=6) at pthread_kill.c:91
#6 0x00007effcc991476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#7 0x00007effcc9777b7 in __GI_abort () at abort.c:79
#8 0x00007effccced6fe in ?? () from /lib/systemd/libsystemd-shared-248.so
#9 0x0000561ece7758c4 in ?? ()
#10 0x0000561ece77a7aa in ?? ()
#11 0x0000561ece72b8a7 in ?? ()
#12 0x00007effcc978fd0 in __libc_start_call_main (main=main@entry=0x561ece729330, argc=argc@entry=3, argv=argv@entry=0x7ffc9cbad768) at ../sysdeps/nptl/libc_start_call_main.h:58
#13 0x00007effcc97907d in __libc_start_main_impl (main=0x561ece729330, argc=3, argv=0x7ffc9cbad768, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc9cbad758)
    at ../csu/libc-start.c:409
#14 0x0000561ece72c6f5 in ?? ()
quit)
```
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: GNOME
DistroRelease: Ubuntu 21.10
InstallationDate: Installed on 2016-12-28 (1795 days ago)
InstallationMedia: Ubuntu-GNOME 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160720)
MachineType: System manufacturer System Product Name
NonfreeKernelModules: wl nvidia_modeset nvidia
Package: systemd 248.3-1ubuntu8
PackageArchitecture: amd64
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.13.0-21-generic root=/dev/mapper/ubuntu--gnome--vg-root ro recovery nomodeset dis_ucode_ldr
ProcVersionSignature: Ubuntu 5.13.0-21.21-generic 5.13.18
Tags: impish
Uname: Linux 5.13.0-21-generic x86_64
UpgradeStatus: Upgraded to impish on 2021-11-18 (10 days ago)
UserGroups: adm cdrom dialout dip docker kvm lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 06/15/2021
dmi.bios.release: 5.17
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 4002
dmi.board.asset.tag: Default string
dmi.board.name: PRIME X570-P
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr4002:bd06/15/2021:br5.17:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnPRIMEX570-P:rvrRevX.0x:cvnDefaultstring:ct3:cvrDefaultstring:skuSKU:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: System Product Name
dmi.product.sku: SKU
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Revision history for this message
Leo Wandersleb (leo-wandersleb) wrote :
Revision history for this message
Leo Wandersleb (leo-wandersleb) wrote :

Forgot to go through the checklist ...

$ lsb_release -rd
Description: Ubuntu 21.10
Release: 21.10
$ apt-cache policy systemd
systemd:
  Installed: 248.3-1ubuntu8
  Candidate: 248.3-1ubuntu8
  Version table:
 *** 248.3-1ubuntu8 500
        500 http://mirror.uchile.cl/ubuntu impish/main amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Chris Guiver (guiverc) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Please execute the following command only once, as it will automatically gather debugging information, in a terminal:

apport-collect 1952542

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

ie. this bug report should have been filed with
`ubuntu-bug /var/crash/_usr_lib_systemd_systemd.0.crash`
as an uploaded file added as an attachment is less useful than the fields being populated from details from your machine which is done when apport tools are used.

Changed in systemd (Ubuntu):
status: New → Incomplete
Revision history for this message
Leo Wandersleb (leo-wandersleb) wrote : CurrentDmesg.txt

apport information

tags: added: apport-collected impish
description: updated
Revision history for this message
Leo Wandersleb (leo-wandersleb) wrote : Dependencies.txt

apport information

Revision history for this message
Leo Wandersleb (leo-wandersleb) wrote : Lspci.txt

apport information

Revision history for this message
Leo Wandersleb (leo-wandersleb) wrote : Lspci-vt.txt

apport information

Revision history for this message
Leo Wandersleb (leo-wandersleb) wrote : Lsusb.txt

apport information

Revision history for this message
Leo Wandersleb (leo-wandersleb) wrote : Lsusb-t.txt

apport information

Revision history for this message
Leo Wandersleb (leo-wandersleb) wrote : Lsusb-v.txt

apport information

Revision history for this message
Leo Wandersleb (leo-wandersleb) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Leo Wandersleb (leo-wandersleb) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Leo Wandersleb (leo-wandersleb) wrote : ProcEnviron.txt

apport information

Revision history for this message
Leo Wandersleb (leo-wandersleb) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Leo Wandersleb (leo-wandersleb) wrote : ProcModules.txt

apport information

Revision history for this message
Leo Wandersleb (leo-wandersleb) wrote : SystemdDelta.txt

apport information

Revision history for this message
Leo Wandersleb (leo-wandersleb) wrote : SystemdFailedUnits.txt

apport information

Revision history for this message
Leo Wandersleb (leo-wandersleb) wrote : UdevDb.txt

apport information

Revision history for this message
Leo Wandersleb (leo-wandersleb) wrote : acpidump.txt

apport information

Chris Guiver (guiverc)
Changed in systemd (Ubuntu):
status: Incomplete → New
Revision history for this message
Leo Wandersleb (leo-wandersleb) wrote :

Sorry for bumping the issue but how can I help to help resolve the issue as I'm close to abandoning the system as is, having to reboot it about 15 times per day.

I would also offer $300 in bitcoin for a substantial contribution (workaround, insight that helps fix the issue, help to further debug to get it fixed eventually) if it helps resolve my issue by Christmas.

Revision history for this message
Nick Rosbrook (enr0n) wrote :

This was reported against Impish, which is no longer supported. If you experience this problem on a supported release please open a new bug report.

Changed in systemd (Ubuntu):
status: New → Won't Fix
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.