gnome-control-center crashed with SIGSEGV in g_type_instance_get_private() (device_services_changed)

Bug #805311 reported by Steve Langasek
294
This bug affects 58 people
Affects Status Importance Assigned to Milestone
GNOME Bluetooth
Fix Released
Critical
gnome-bluetooth (Ubuntu)
Fix Released
High
Mathieu Trudel-Lapierre
Oneiric
Fix Released
High
Mathieu Trudel-Lapierre

Bug Description

SRU JUSTIFICATION:
An easy to reproduce crasher when changing settings for bluetooth headsets. It seems to be affecting a lot of people and the patches are not very intrusive.

TEST CASE:
1) Connect a bluetooth headset.
2) Open bluetooth properties, select the added device.
3) Click the Sound Settings button
4) Move to the Hardware tab in the Sound Settings panel; then select the bluetooth headset device.
5) Click Speaker Test; then click the Test button to start a sound test.

* Without the patch and immediately after adding a new bluetooth headset device; you would see a crash of gnome-control-center: the control center application will disappear.
* With the patch, the sound test completes and other sound settings are available.

---

crashed while trying to manage sound preferences for a bluetooth headset.

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: gnome-control-center 1:3.0.2-1ubuntu7
ProcVersionSignature: Ubuntu 3.0-1.2-generic 3.0.0-rc3
Uname: Linux 3.0-1-generic x86_64
Architecture: amd64
CrashCounter: 1
Date: Sun Jul 3 21:54:38 2011
ExecutablePath: /usr/bin/gnome-control-center
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
ProcCmdline: gnome-control-center sound
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_US.UTF-8
 LANGUAGE=en_US:en
SegvAnalysis:
 Segfault happened at: 0x7f69fdb8469a <g_type_instance_get_private+250>: mov (%rbx),%rax
 PC (0x7f69fdb8469a) ok
 source "(%rbx)" (0x4058000000000000) not located in a known VMA region (needed readable region)!
 destination "%rax" ok
SegvReason: reading unknown VMA
Signal: 11
SourcePackage: gnome-control-center
StacktraceTop:
 g_type_instance_get_private () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
 ?? () from /usr/lib/libgnome-bluetooth.so.8
 ?? () from /usr/lib/libdbus-glib-1.so.2
 g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
 ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
Title: gnome-control-center crashed with SIGSEGV in g_type_instance_get_private()
UpgradeStatus: Upgraded to oneiric on 2011-06-27 (6 days ago)
UserGroups: adm admin cdrom dialout libvirtd lpadmin mythtv plugdev sambashare src

Revision history for this message
Steve Langasek (vorlon) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 g_type_instance_get_private (instance=0x7f6a01a28300, private_type=140093265865984) at /build/buildd/glib2.0-2.29.8/./gobject/gtype.c:4503
 device_services_changed (iface=0x7f6a01b691e0, property=0x7f6a01714fb0 "State", value=0x7f6a01807020, user_data=0x7f6a01a28300) at bluetooth-client.c:374
 marshal_dbus_message_to_g_marshaller (closure=0x7f6a01917dd0, return_value=0x0, n_param_values=<value optimized out>, param_values=<value optimized out>, invocation_hint=0x7fffc3962a90, marshal_data=0x0) at dbus-gproxy.c:1733
 g_closure_invoke (closure=0x7f6a01917dd0, return_value=0x0, n_param_values=3, param_values=0x7f6a018ca0a0, invocation_hint=<value optimized out>) at /build/buildd/glib2.0-2.29.8/./gobject/gclosure.c:771
 signal_emit_unlocked_R (node=<value optimized out>, detail=1977, instance=0x7f6a01b691e0, emission_return=0x0, instance_and_params=0x7f6a018ca0a0) at /build/buildd/glib2.0-2.29.8/./gobject/gsignal.c:3256

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in gnome-control-center (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
visibility: private → public
affects: gnome-control-center (Ubuntu) → gnome-bluetooth (Ubuntu)
summary: gnome-control-center crashed with SIGSEGV in
- g_type_instance_get_private()
+ g_type_instance_get_private() (device_services_changed)
Changed in gnome-bluetooth (Ubuntu):
importance: Medium → High
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for your bug report. This bug has been reported to the developers of the software. You can track it and make comments at: https://bugzilla.gnome.org/show_bug.cgi?id=654172

Changed in gnome-bluetooth (Ubuntu):
importance: High → Medium
status: New → Triaged
Changed in gnome-bluetooth:
importance: Undecided → Unknown
status: New → Unknown
Revision history for this message
Sebastien Bacher (seb128) wrote :

it's trivial to get by playing with g-c-c, targetting to oneiric

Changed in gnome-bluetooth (Ubuntu):
importance: Medium → High
Changed in gnome-bluetooth:
importance: Unknown → Critical
status: Unknown → New
Revision history for this message
VladimirCZ (vlabla) wrote :

Perhaps I have a problem that relates to this. I am using Ubuntu 11.10 Alpha 3 64-bit on HP Probook 4510s.

When I choose to browse files on a paired device (via a bluetooth indicator menu) the CPU becomes heavily loaded and no Nautilus window is opened. The same operation can be done on the same notebook with 11.04 64-bit without any problem.

tags: added: rls-mgr-o-tracking
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

I'll take care of this.

Changed in gnome-bluetooth (Ubuntu Oneiric):
assignee: nobody → Mathieu Trudel-Lapierre (mathieu-tl)
Revision history for this message
Sebastien Bacher (seb128) wrote :

Vuntz added a patch to the upstream bug if you want to sru it ;-)

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Yup, and it appears to be working great, I've been fiddling with g-c-c for a while and I've been unable to reproduce the crashes I could easily get before.

description: updated
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello Steve, or anyone else affected,

Accepted gnome-bluetooth into oneiric-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in gnome-bluetooth (Ubuntu Oneiric):
status: Triaged → Fix Committed
tags: added: verification-needed
Revision history for this message
Roman Yepishev (rye) wrote :

Tested gnome-bluetooth 3.2.0-0ubuntu2 - I was able to transfer files and they worked properly.
Earlier file transfers were crashing gnome-bluetooth.

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

This bug was fixed in the package gnome-bluetooth - 3.2.0-0ubuntu2

---------------
gnome-bluetooth (3.2.0-0ubuntu2) oneiric-proposed; urgency=low

  * debian/patches/lp805311_disconnect-signals-from-adapters-and-devices.patch,
    debian/patches/lp805311_do-not-leak-proxies-for-interfaces.patch:
    disconnect signals for adapters and devices, and also avoid leaking DBus
    proxies for interfaces. (LP: #805311)
 -- Mathieu Trudel-Lapierre <email address hidden> Wed, 12 Oct 2011 16:35:26 -0400

Changed in gnome-bluetooth (Ubuntu):
status: Fix Committed → Fix Released
Changed in gnome-bluetooth (Ubuntu Oneiric):
status: Fix Committed → Fix Released
Changed in gnome-bluetooth:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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