elementary / elementary/triage

dbus-daemon segfault with session or system crash

Open
#142 1 comment 0 reactions 0 assignees View on GitHub
Status: Incomplete
Dominant language
No language data
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

### What Happened?

Occasionally, dbus seems to crash on or near user session start, e.g.

```
dbus-daemon[1315]: segfault at 0 ip 00007f489048b0d7 sp 00007ffdeaa764f8 error 6 in libdbus-1.so.3.19.11[7f4890467000+2e000]
[27774.268767] Code: 44 00 00 48 89 d6 e9 58 fe ff ff 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 8b 46 08 48 39 f0 74 43 48 8b 16 48 89 42 08 48 8b 16 <48> 89 10 48 39 37 74 11 48 c7 46 08 00 00 00 00 48 c7 06 00 00 00
```

At this point, accessing filesystem often results in log out of user session, or causes system hard lockup. Often times, however, the system can seem to recover and continue operating fine after the segfault. It may also be related to the bluetooth becoming unusable when two user sessions are active (https://github.com/elementary/switchboard-plug-bluetooth/issues/193)

This is a multi-user system.

### Steps to Reproduce

The bug appears on user session start. I'm not sure if it appears before user session login.

The bug appears to occur more frequently when both users of the system have been active on a boot cycle.

### Expected Behavior

I expect users to be able to switch seamlessly between sessions, and reliable access to disk drives.

### OS Version

6.x (Odin)

### Software Version

Latest release (I have run all updates)

### Log Output

_No response_

### Hardware Info

```
$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
#
PARTUUID=5a8909ee-62d0-49b0-a51f-85d6a1bc5025 /boot/efi vfat umask=0077 0 0
UUID=3da39f5a-1345-4c18-bf16-7b0cc2273d2b / ext4 noatime,errors=remount-ro 0 0
/dev/mapper/cryptswap none swap defaults 0 0
UUID=60b1ff29-322b-476e-8511-8c5fb12d1a84 /home ext4 noatime,errors=remount-ro 0 0
LABEL=Backup_10TB /media/Backup_10TB auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Media_5TB /mnt/Media_5TB auto nosuid,nodev,nofail,noauto,x-gvfs-show 0 0
```

```
$ uname -a
Linux NanoQube 5.13.0-39-generic elementary/releases#44~20.04.1-Ubuntu SMP Thu Mar 24 16:43:35 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.