[sharing]: gnome-settings-daemon crashed with SIGSEGV in gsd_sharing_manager_handle_service()

Bug #1630853 reported by shankao
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
GNOME Settings Daemon
Fix Released
Medium
gnome-settings-daemon (Ubuntu)
Fix Released
Medium
Unassigned
Yakkety
Fix Released
Medium
Unassigned
Zesty
Fix Released
Medium
Unassigned

Bug Description

Found the crash right after log in

ProblemType: Crash
DistroRelease: Ubuntu 16.10
Package: gnome-settings-daemon 3.22.0-1ubuntu1
ProcVersionSignature: Ubuntu 4.8.0-19.21-generic 4.8.0-rc8
Uname: Linux 4.8.0-19-generic x86_64
ApportVersion: 2.20.3-0ubuntu7
Architecture: amd64
CurrentDesktop: GNOME
Date: Thu Oct 6 12:26:56 2016
EcryptfsInUse: Yes
ExecutablePath: /usr/lib/gnome-settings-daemon/gnome-settings-daemon
InstallationDate: Installed on 2012-11-25 (1410 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120627)
ProcCmdline: /usr/lib/gnome-settings-daemon/gnome-settings-daemon
ProcEnviron:
 PATH=(custom, no user)
 SHELL=/bin/bash
 LANG=en_SG.UTF-8
 LANGUAGE=en_SG:en
 XDG_RUNTIME_DIR=<set>
SegvAnalysis:
 Segfault happened at: 0x7f5b0d709a84: mov 0x18(%r12),%rax
 PC (0x7f5b0d709a84) ok
 source "0x18(%r12)" (0x00000018) not located in a known VMA region (needed readable region)!
 destination "%rax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: gnome-settings-daemon
StacktraceTop:
 ?? () from /usr/lib/gnome-settings-daemon-3.0/libsharing.so
 ?? () from /usr/lib/gnome-settings-daemon-3.0/libsharing.so
 ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 g_hash_table_unref () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 ?? () from /usr/lib/gnome-settings-daemon-3.0/libsharing.so
Title: [sharing]: gnome-settings-daemon crashed with SIGSEGV in g_hash_table_unref()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dialout dip libvirtd lpadmin plugdev sambashare sudo vboxusers

Revision history for this message
shankao (shankao) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 gsd_sharing_manager_handle_service (manager=0x0, method=0x7f5b0d70b1e2 "StopUnit", service=<optimized out>) at gsd-sharing-manager.c:132
 gsd_sharing_manager_stop_service (manager=<optimized out>, service=<optimized out>) at gsd-sharing-manager.c:165
 service_free (pointer=0x5566c8593830) at gsd-sharing-manager.c:761
 g_hash_table_remove_all_nodes.part () from /tmp/apport_sandbox_D1RR2H/lib/x86_64-linux-gnu/libglib-2.0.so.0
 g_hash_table_unref () from /tmp/apport_sandbox_D1RR2H/lib/x86_64-linux-gnu/libglib-2.0.so.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-settings-daemon (Ubuntu):
importance: Undecided → Medium
summary: [sharing]: gnome-settings-daemon crashed with SIGSEGV in
- g_hash_table_unref()
+ gsd_sharing_manager_handle_service()
tags: removed: need-amd64-retrace
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in gnome-settings-daemon (Ubuntu):
status: New → Confirmed
Jeremy Bícha (jbicha)
information type: Private → Public
Jeremy Bícha (jbicha)
Changed in gnome-settings-daemon (Ubuntu):
status: Confirmed → In Progress
Changed in gnome-settings-daemon:
importance: Unknown → Medium
status: Unknown → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello shankao, or anyone else affected,

Accepted gnome-settings-daemon into yakkety-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-settings-daemon/3.22.1-0ubuntu1 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 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, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in gnome-settings-daemon (Ubuntu Yakkety):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Jeremy Bícha (jbicha) wrote :

I'm going to go ahead and mark this verified since 3.22.1-0ubuntu1 from yakkety-proposed works fine here.

I wasn't able to duplicate the original crash though :(

tags: added: verification-done
removed: verification-needed
Mathew Hodson (mhodson)
Changed in gnome-settings-daemon (Ubuntu Zesty):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-settings-daemon - 3.22.1-0ubuntu1

---------------
gnome-settings-daemon (3.22.1-0ubuntu1) yakkety; urgency=medium

  * New upstream bugfix release (LP: #1632428)
    - Fix crash when sharing plugin exits (LP: #1630853)
    - Make sure screensaver blanking works when locked while screensaver
      is inhibited

 -- Jeremy Bicha <email address hidden> Tue, 11 Oct 2016 14:31:32 -0400

Changed in gnome-settings-daemon (Ubuntu Zesty):
status: New → Fix Released
Changed in gnome-settings-daemon (Ubuntu Yakkety):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote : Update Released

The verification of the Stable Release Update for gnome-settings-daemon has completed successfully and the package has now been 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.

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.