indicator-sound-service crashed with SIGSEGV in g_variant_is_trusted()

Bug #1428711 reported by Scott Sweeny
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
indicator-sound (Ubuntu)
Fix Released
High
Ted Gould

Bug Description

Crash seemed to happen when I opened both rhythmbox and banshee at the same time.

ProblemType: Crash
DistroRelease: Ubuntu 15.04
Package: indicator-sound 12.10.2+15.04.20150227.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.19.0-7.7-generic 3.19.0
Uname: Linux 3.19.0-7-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.16.2-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Mar 5 10:50:51 2015
ExecutablePath: /usr/lib/x86_64-linux-gnu/indicator-sound/indicator-sound-service
InstallationDate: Installed on 2011-07-08 (1336 days ago)
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
ProcCmdline: /usr/lib/x86_64-linux-gnu/indicator-sound/indicator-sound-service
ProcEnviron:
 PATH=(custom, user)
 SHELL=/bin/bash
 LANG=en_US.UTF-8
 LANGUAGE=en_US
 XDG_RUNTIME_DIR=<set>
SegvAnalysis:
 Segfault happened at: 0x7f072b0e3b80: mov 0x20(%rdi),%eax
 PC (0x7f072b0e3b80) ok
 source "0x20(%rdi)" (0x00000020) not located in a known VMA region (needed readable region)!
 destination "%eax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: indicator-sound
StacktraceTop:
 ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 g_variant_builder_add_value () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 ?? ()
 accounts_service_user_set_player ()
 _start ()
Title: indicator-sound-service crashed with SIGSEGV in g_variant_builder_add_value()
UpgradeStatus: Upgraded to vivid on 2015-01-19 (45 days ago)
UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare sbuild vboxusers

Related branches

Revision history for this message
Scott Sweeny (ssweeny) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 g_variant_is_trusted (value=value@entry=0x0) at /build/buildd/glib2.0-2.43.91/./glib/gvariant-core.c:607
 g_variant_builder_add_value (builder=builder@entry=0x7fff1b3f2310, value=0x0) at /build/buildd/glib2.0-2.43.91/./glib/gvariant.c:3432
 accounts_service_sound_settings_dbus_proxy_set_state (self=0x1358ad0, value=0x0) at /build/buildd/indicator-sound-12.10.2+15.04.20150227.1/obj-x86_64-linux-gnu/src/accounts-service-sound-settings.c:503
 accounts_service_user_set_player (self=0x12a6ec0, value=value@entry=0x13248f0) at /build/buildd/indicator-sound-12.10.2+15.04.20150227.1/obj-x86_64-linux-gnu/src/accounts-service-user.c:962
 indicator_sound_service_update_player_actions (self=0x12c8970) at /build/buildd/indicator-sound-12.10.2+15.04.20150227.1/obj-x86_64-linux-gnu/src/service.c:2399

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 indicator-sound (Ubuntu):
importance: Undecided → Medium
summary: - indicator-sound-service crashed with SIGSEGV in
- g_variant_builder_add_value()
+ indicator-sound-service crashed with SIGSEGV in g_variant_is_trusted()
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 indicator-sound (Ubuntu):
status: New → Confirmed
Revision history for this message
Charles Kerr (charlesk) wrote :

Yep, it looks like we're getting a player with a NULL state somehow, which is crashing when we try to convert that into a variant for sending over the bus. (1) we should sanitize our inputs better, ie modify the state property setter to disallow NULLs. More importantly, (2) we need to figure out where this NULL state is coming from.

information type: Private → Public
Revision history for this message
Sebastien Bacher (seb128) wrote :

Just hit this one, I don't think I did anything out of closing the sound settings panel on unity7

Changed in indicator-sound (Ubuntu):
importance: Medium → High
Revision history for this message
Sebastien Bacher (seb128) wrote :

e.u.c report on https://errors.ubuntu.com/problem/211ca5ba4f25a9348c05e13d92a40d62e2e39657

just got it again when opening totem yesterday

Ted Gould (ted)
Changed in indicator-sound (Ubuntu):
assignee: nobody → Ted Gould (ted)
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package indicator-sound - 12.10.2+15.04.20150403-0ubuntu1

---------------
indicator-sound (12.10.2+15.04.20150403-0ubuntu1) vivid; urgency=medium

  [ Ted Gould ]
  * Handle Vala incorrectly returning null for a non-null type (LP:
    #1428711)
 -- CI Train Bot <email address hidden> Fri, 03 Apr 2015 14:52:02 +0000

Changed in indicator-sound (Ubuntu):
status: In Progress → 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.