gnome-control-center crashed with SIGSEGV in strstr(NULL, "ubuntu") from cc_sound_panel_init

Bug #1892486 reported by Daniel van Vugt
26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gnome-control-center (Ubuntu)
Fix Released
Low
Gunnar Hjalmarsson

Bug Description

https://errors.ubuntu.com/problem/504c7e1b5a27636a5f560077df098c1a64b7c170

---

Not sure yet. Wait for the retrace.

ProblemType: Crash
DistroRelease: Ubuntu 20.10
Package: gnome-control-center 1:3.37.90-1ubuntu1
ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44
Uname: Linux 5.4.0-42-generic x86_64
ApportVersion: 2.20.11-0ubuntu44
Architecture: amd64
CasperMD5CheckResult: skip
Date: Fri Aug 21 18:19:17 2020
ExecutablePath: /usr/bin/gnome-control-center
InstallationDate: Installed on 2020-07-16 (36 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Alpha amd64 (20200507)
ProcCmdline: gnome-control-center
SegvAnalysis:
 Segfault happened at: 0x7f8657e0f611 <__strstr_sse2_unaligned+81>: movdqu (%rdi),%xmm3
 PC (0x7f8657e0f611) ok
 source "(%rdi)" (0x00000000) not located in a known VMA region (needed readable region)!
 destination "%xmm3" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: gnome-control-center
StacktraceTop:
 ()
 g_type_create_instance () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
 () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
 g_object_new_valist () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
 g_object_new () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
Title: gnome-control-center crashed with SIGSEGV
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
separator:

Revision history for this message
Daniel van Vugt (vanvugt) wrote :
tags: removed: need-amd64-retrace
Changed in gnome-control-center (Ubuntu):
status: New → Incomplete
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

The crash has stopped happening. If it returns I'll open a new bug with debug symbols next time.

Changed in gnome-control-center (Ubuntu):
status: Incomplete → Invalid
tags: added: need-amd64-retrace
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 cc_sound_panel_init (self=0x56206557c830) at ../panels/sound/cc-sound-panel.c:266
 g_type_check_class_cast () from /srv/vms/apport-sandbox-dir/Ubuntu 20.10/amd64/report-sandbox/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6600.0
 ?? ()

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
+ gnome-control-center crashed with SIGSEGV in strstr(NULL, "ubuntu") from
+ cc_sound_panel_init
Changed in gnome-control-center (Ubuntu):
status: Invalid → New
information type: Private → Public
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-control-center (Ubuntu):
status: New → Confirmed
description: updated
tags: removed: need-amd64-retrace
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

It appears the crash originates from 0007-sound-Allow-volume-to-be-set-above-100.patch

@@ -276,12 +285,23 @@ cc_sound_panel_init (CcSoundPanel *self)
                            G_CONNECT_SWAPPED);
   allow_amplified_changed_cb (self);

+ if (strstr (g_getenv("XDG_CURRENT_DESKTOP"), "ubuntu") != NULL) {
+ gtk_widget_set_visible(self->ubuntu_output_frame, TRUE);
+ gtk_widget_set_visible(GTK_WIDGET (self->output_volume_slider), FALSE);
+ g_settings_bind (self->sound_settings, "allow-volume-above-100-percent",

Changed in gnome-control-center (Ubuntu):
status: Confirmed → Triaged
tags: added: focal rls-ff-incoming
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Looks like the crash won't ever happen in a normal Ubuntu session so dropped severity.

Changed in gnome-control-center (Ubuntu):
importance: Medium → Low
Revision history for this message
Sebastien Bacher (seb128) wrote :

@Daniel, we use the rls-nn-incoming tag for issues we beliece are important enough to be rls targetted, as you said that one is low priority and not going to impact a normal session so doesn't qualify, tagging rls-ff-notfixing

tags: added: rls-ff-notfixing
removed: rls-ff-incoming
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I know and I agree. Comments #8 and #9 were hours apart and I just forgot to remove the tag.

tags: removed: groovy
Changed in gnome-control-center (Ubuntu):
assignee: nobody → Gunnar Hjalmarsson (gunnarhj)
status: Triaged → Fix Committed
tags: added: jammy
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (4.4 KiB)

This bug was fixed in the package gnome-control-center - 1:44~rc-1ubuntu1

---------------
gnome-control-center (1:44~rc-1ubuntu1) lunar; urgency=medium

  [ Jeremy Bicha ]
  * Merge with Debian. Remaining changes:
    + Add gnome-control-center-faces package to share with unity-control-center
    + Install apport hook
    + debian/control.in:
      - Build-Depend on libwhoopsie-preferences-dev
      - Depend on language-selector-gnome, system-config-printer &
        whoopsie-preferences
      - Don't depend on desktop-base
      - Recommend ibus
      - Suggest instead of recommend gnome-user-share & realmd
      - Don't recommend malcontent-gui or system-config-printer-common
      - Don't recommend or suggest pulseaudio (or even pipewire) stuff
      - Don't recommend libnss-myhostname since we use systemd-resolved
    + debian/gnome-control-center-data.install:
      - Don't install gnome-control-center.pkla since we use
        policykit-desktop-privileges instead
      - Install additional assets used by unity-control-center
    * debian/ubuntu-logo-icon.png, debian/source/include-binaries,
      debian/gnome-control-center-data.install: Include an Ubuntu logo
    * debian/gnome-control-center-data.links:
      - Link audio-speaker-center* to audio-speaker-mono* so that an
        icon is shown in the test speaker panel. (LP: #1704002)
    + debian/rules: Enable whoospie integration
    + Add patches:
      - keyboard-For-xkb-options-have-Layout-default-toggle-and-N.patch
      - keyboard-Avoid-modifying-xkb-options-when-user-changes-n.patch
      - u/keyboard-Add-launch-terminal-shortcut.patch
      - u/sound-Allow-volume-to-be-set-above-100.patch
      - u/Allow-tweaking-some-settings-for-Ubuntu-Dock.patch
      - u/background-Allow-configuring-the-ubuntu-accent-color.patch
      - u/multitasking-panel-Sync-workspace-and-monitor-isolation-d.patch
      - u/Modify-Mulitasking-assets-for-accent-colors.patch
      - u/lock-Add-Lock-Screen-on-Suspend-option.patch
      - u/region-Add-Language-Selector-button.patch
      - u/Adapts-the-region-capplet-and-the-language-chooser-in-the.patch
      - u/printers-Temporarily-add-an-additional-advanced-printer-b.patch
      - u/notifications-Handle-.desktop-files-that-got-renamed.patch
      - u/shell-Change-the-default-height-so-all-category-are-on-sc.patch
      - u/connectivity-add-network-connectivity-checking-toggle.patch
      - u/diagnostics-Add-Whoopsie-support.patch
      - u/online-accounts-Hide-window-after-adding-an-online-accoun.patch
      - u/display-Support-UI-scaled-logical-monitor-mode.patch
      - u/Disable-non-working-camera-microphones-panels.patch
      - u/info-overview-Show-updates-in-software-propeties-instead-.patch
      - u/sound-Add-a-button-to-select-the-default-theme.patch
      - u/applications-Launch-snap-store-if-it-is-installed.patch
      - u/display-Allow-fractional-scaling-to-be-enabled.patch
  * d/p/keyboard-For-xkb-options-have-Layout-default-toggle-and-N.patch:
    + Add nodefault_option after the main option, not before
      (LP: #2000423)
    + Get back the "Use layout default" switch_row title
  * Temporarily disable the Sound theme patch until it can...

Read more...

Changed in gnome-control-center (Ubuntu):
status: Fix Committed → 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.