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

Bug #1873378 reported by z_killemall
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-control-center
Fix Released
Unknown
gnome-control-center (Ubuntu)
Fix Released
Medium
Unassigned
Focal
Fix Released
Undecided
Unassigned

Bug Description

* Impact

The user panel hits a segfault sometimes

* Test case

Check that reports stop on
https://errors.ubuntu.com/problem/af55dc0f4cb3abb5f2c5632d1195450e44db98ca

* 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
SegvAnalysis:
 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
StacktraceTop:
 ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 g_utf8_normalize () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 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
separator:

Revision history for this message
z_killemall (z-killemall) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 _g_utf8_normalize_wc () from /tmp/apport_sandbox_jrwbcehw/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.1
 g_utf8_normalize () from /tmp/apport_sandbox_jrwbcehw/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.1
 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

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
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
Revision history for this message
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
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
description: updated
tags: added: eoan
Changed in gnome-control-center (Ubuntu):
status: Incomplete → Triaged
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello z_killemall, or anyone else affected,

Accepted gnome-control-center into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-control-center/1:3.36.4-0ubuntu2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed 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 https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . 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
Revision history for this message
Sebastien Bacher (seb128) wrote :

The update works fine and there is no report for >= 1:3.36.4-0ubuntu2 on e.u.c, marking as verified

tags: added: verification-done verification-done-focal
removed: verification-needed verification-needed-focal
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-control-center - 1:3.36.4-0ubuntu2

---------------
gnome-control-center (1:3.36.4-0ubuntu2) focal; urgency=medium

  * debian/patches/git_useraccount_segfault.patch:
    - don't segfault trying to get the user initials when accountsservice
      is not responding (lp: #1873378)
  * debian/patches/git_row_collide.patch:
    - backport a fix for items of the connection details colliding
      (lp: #1873184)

  [ Hui Wang ]
  * d/p/0033-sound-update-the-profile-list-after-getting-the-sign.patch
    - signal to update profile combo list after the PA changes the
      active profile, this patch fixes the empty profile combo list issue
      after selecting the hdmi/dp audio in the g-c-c. (LP: #1896919)

  [ Marco Trevisan (Treviño) ]
  * d/p/0008-Allow-tweaking-some-settings-for-Ubuntu-Dock.patch:
    - Don't try to fetch monitors if the config manager is not ready yet
    (lp: #1887731)
  * d/p/0019-display-Support-UI-scaled-logical-monitor-mode.patch,
    d/p/0024-display-Allow-fractional-scaling-to-be-enabled.patch:
    - Don't disable fractional scaling immediately on integer changes
    (lp: #1887707)

 -- Sebastien Bacher <email address hidden> Thu, 24 Sep 2020 17:03:01 +0200

Changed in gnome-control-center (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for gnome-control-center has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Changed in gnome-control-center:
status: Unknown → New
Changed in gnome-control-center:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
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.