gnome-control-center crashed with SIGSEGV in _g_utf8_normalize_wc()

Bug #1873378 reported by z_killemall on 2020-04-17
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-control-center (Ubuntu)

Bug Description

* Impact

The user panel hits a segfault sometimes

* Test case

Check that reports stop on

* Regression potential

The change is in the user panel's user initial avatar generation, check that the default image for profiles without an avatar is still generated


Description: Ubuntu Focal Fossa (development branch)
Release: 20.04

Package version: 1:3.36.1-1ubuntu4

The application was running in the background, with only Chrome running at the same time.
It's a mid-2014 MacBook Pro, so some drivers are not very stable and can cause this kind of issues.

ProblemType: Crash
DistroRelease: Ubuntu 20.04
Package: gnome-control-center 1:3.36.1-1ubuntu4
ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27
Uname: Linux 5.4.0-21-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.11-0ubuntu26
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Thu Apr 16 23:41:09 2020
ExecutablePath: /usr/bin/gnome-control-center
InstallationDate: Installed on 2019-08-10 (250 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
ProcCmdline: gnome-control-center
 Segfault happened at: 0x7f303176e6e4: movzbl (%r14),%r15d
 PC (0x7f303176e6e4) ok
 source "(%r14)" (0x00000000) not located in a known VMA region (needed readable region)!
 destination "%r15d" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: gnome-control-center
 ?? () from /lib/x86_64-linux-gnu/
 g_utf8_normalize () from /lib/x86_64-linux-gnu/
 generate_default_avatar ()
 ?? ()
 ?? ()
Title: gnome-control-center crashed with SIGSEGV in g_utf8_normalize()
UpgradeStatus: Upgraded to focal on 2020-04-09 (7 days ago)
UserGroups: adm cdrom dip docker input lpadmin plugdev sambashare sudo

z_killemall (z-killemall) wrote :

 _g_utf8_normalize_wc () from /tmp/apport_sandbox_jrwbcehw/usr/lib/x86_64-linux-gnu/
 g_utf8_normalize () from /tmp/apport_sandbox_jrwbcehw/usr/lib/x86_64-linux-gnu/
 extract_initials_from_name (name=0x0) at ../panels/user-accounts/user-utils.c:596
 generate_user_picture (size=96, name=0x0) at ../panels/user-accounts/user-utils.c:675
 generate_default_avatar (user=user@entry=0x5566a53d4540, size=size@entry=96) at ../panels/user-accounts/user-utils.c:754

Changed in gnome-control-center (Ubuntu):
importance: Undecided → Medium
summary: - gnome-control-center crashed with SIGSEGV in g_utf8_normalize()
+ gnome-control-center crashed with SIGSEGV in _g_utf8_normalize_wc()
tags: removed: need-amd64-retrace
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. The segfault is in the user panels and it had an empty name on refresh. Where you adding or removing users from a command line or another interface when the issue happened?

information type: Private → Public
Changed in gnome-control-center (Ubuntu):
status: New → Incomplete
Daniel van Vugt (vanvugt) wrote :
description: updated
tags: added: eoan
Changed in gnome-control-center (Ubuntu):
status: Incomplete → Triaged
description: updated

Hello z_killemall, or anyone else affected,

Accepted gnome-control-center into focal-proposed. The package will build now and be available at in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in gnome-control-center (Ubuntu Focal):
status: New → Fix Committed
tags: added: verification-needed verification-needed-focal
Changed in gnome-control-center (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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