Various programs crashed with SIGSEGV in g_str_hash() from g_hash_table_lookup() from update_user()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
accountsservice |
Fix Released
|
Unknown
|
|||
accountsservice (Debian) |
Fix Released
|
Unknown
|
|||
accountsservice (Ubuntu) |
Fix Released
|
High
|
Iain Lane | ||
Focal |
Fix Released
|
High
|
Iain Lane |
Bug Description
[ Description ]
When accountsservice's daemon is restarted - particularly when there is a user configured for auto login - it can cause code using its library to crash. This is bad because gnome-shell is one of those users which crashes.
[ QA ]
Configure a user for automatic login in gnome-shell.
Update to this SRU, and then *restart your system*. The crash is in the library part, and so you will still see it if programs loaded the buggy version. Restarting is the easiest way to make sure you're not on it.
Restart accounts-
See that it crashes if you don't have this SRU, and doesn't if you do have it.
---
Test that fast user switching still works properly.
---
Take a look at the error reports listed below and hopefully see them not occurring (barring the usual noise) with the SRU.
[ Regression potential ]
We think this is safe - it tells clients that the daemon is away when it quits, and is back when it comes back. They should get appropriate signals to indicate this. Nevertheless, these signals are sent when they weren't before now, so that could cause problems. Watch out for errors creeping up with this SRU.
We wondered upstream whether some more protections might be needed. I'm thinking that those should be *additional* safety rails around this fix, but it could actually be that more is needed and this fix isn't complete.
[ Original report ]
https:/
https:/
https:/
ProblemType: Crash
DistroRelease: Ubuntu 19.10
Package: gnome-shell 3.34.0-1ubuntu1
ProcVersionSign
Uname: Linux 5.3.0-10-generic x86_64
ApportVersion: 2.20.11-0ubuntu7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sat Sep 14 10:29:16 2019
DisplayManager: gdm3
ExecutablePath: /usr/bin/
InstallationDate: Installed on 2019-05-24 (112 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Alpha amd64 (20190523)
ProcCmdline: /usr/bin/
ProcEnviron:
LANG=nb_NO.UTF-8
LANGUAGE=
PATH=(custom, no user)
SHELL=/bin/bash
XDG_RUNTIME_
RelatedPackageV
Signal: 11
SourcePackage: gnome-shell
StacktraceTop:
g_str_hash () from /lib/x86_
g_hash_
?? () from /lib/x86_
g_closure_invoke () from /lib/x86_
?? () from /lib/x86_
Title: gnome-shell crashed with SIGSEGV in g_str_hash()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
separator:
information type: | Private → Public |
summary: |
- gnome-shell crashed with SIGSEGV in g_str_hash() + Various programs crashed with SIGSEGV in g_str_hash() from + g_hash_table_lookup() from update_user() |
Changed in accountsservice: | |
status: | Unknown → New |
Changed in accountsservice (Debian): | |
status: | Unknown → Confirmed |
tags: | added: focal |
tags: | added: champagne |
tags: | added: rls-ff-incoming |
Changed in accountsservice (Ubuntu): | |
assignee: | nobody → Iain Lane (laney) |
Changed in accountsservice (Ubuntu Focal): | |
milestone: | none → ubuntu-20.04.1 |
tags: | removed: rls-ff-incoming |
tags: | removed: champagne |
description: | updated |
Changed in accountsservice: | |
status: | New → Fix Released |
Changed in accountsservice (Debian): | |
status: | Confirmed → Fix Released |
StacktraceTop: sandbox_ 0rx60qvd/ usr/lib/ x86_64- linux-gnu/ libglib- 2.0.so. 0.6200. 0 table_lookup () from /tmp/apport_ sandbox_ 0rx60qvd/ usr/lib/ x86_64- linux-gnu/ libglib- 2.0.so. 0.6200. 0 9d840, manager= 0x55f6311ff8d0) at ../src/ libaccountsserv ice/act- user-manager. c:1020 0x55f6311ff8d0, user=0x55f631b9 d840) at ../src/ libaccountsserv ice/act- user-manager. c:664 9d840, manager= 0x55f6311ff8d0) at ../src/ libaccountsserv ice/act- user-manager. c:650
g_str_hash () from /tmp/apport_
g_hash_
update_user (user=0x55f631b
on_user_changed (manager=
on_user_changed (user=0x55f631b