After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 741964 - crash while trying to use A2DP bluetooth profile and headset
crash while trying to use A2DP bluetooth profile and headset
Status: RESOLVED DUPLICATE of bug 738869
Product: gnome-control-center
Classification: Core
Component: Sound
3.12.x
Other Linux
: High critical
: ---
Assigned To: Control center sound maintainer(s)
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-12-25 16:10 UTC by Niklas Keller
Modified: 2015-04-01 12:00 UTC
See Also:
GNOME target: ---
GNOME version: 3.11/3.12



Description Niklas Keller 2014-12-25 16:10:31 UTC
Steps to reproduce:

0. connect bluetooth headset to your device
1. open terminal
2. type gnome-control-panel
3. click sound
4. click on your headset in the output tab
5. change profile from HSP/HFP to A2DP
6. switch to input tab
7. select headset as input source → this will duplicate that entry
8. clicking an duplicate entry results in segmentation fault

output on step 3:

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

output on step 8:
Segmentation fault (core dumped)
Comment 1 Bastien Nocera 2015-01-05 23:36:21 UTC
Thanks for taking the time to report this bug.
Without a stack trace from the crash it's very hard to determine what caused it.
Can you get us a stack trace? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
Comment 2 Niklas Keller 2015-01-06 00:52:33 UTC
Currently, I can't, because I can't find the core dump file (there's no core* in /tmp) and gdb doesn't work because

$ gdb gnome-control-center

results in:

"/usr/bin/gnome-control-center": not in executable format: File format not recognized
Comment 3 Bastien Nocera 2015-01-06 09:32:07 UTC
(In reply to comment #2)
> Currently, I can't, because I can't find the core dump file (there's no core*
> in /tmp) and gdb doesn't work because
> 
> $ gdb gnome-control-center
> 
> results in:
> 
> "/usr/bin/gnome-control-center": not in executable format: File format not
> recognized

What's the output of "file /usr/bin/gnome-control-center"? And what distribution and versions of gnome-control-center are you using?
Comment 4 Niklas Keller 2015-01-06 10:41:50 UTC
Thanks, there is this hack for Unity control panel in Ubuntu.
Executable is called gnome-control-center.real

Stacktrace can be found here, but there are still some debug symbols missing (after installing gnome-control-center-dev):

> Reading symbols from /usr/bin/gnome-control-center.real...(no debugging symbols found)...done.

http://pastebin.com/raw.php?i=U8nXyRhv

Affected versions are both: 3.14 and probably 3.12 which I used before (Ubuntu doesn't always ship with packages within the same release cycle).
Comment 5 Bastien Nocera 2015-01-06 10:45:20 UTC
You'll need to install the debugging packages, the backtrace isn't useful.
Comment 6 Niklas Keller 2015-01-06 10:50:41 UTC
I'm totally aware of that, but it's hard to find out which packages are needed.
Comment 7 David Henningsson 2015-01-07 07:30:00 UTC
See https://wiki.ubuntu.com/DebuggingProgramCrash for how to get better stack traces on Ubuntu. From a quick look, in your case it looks like installing libglib2.0-0-dbg and the gnome-control-center-dbgsym packages would be a good start.
Comment 8 Niklas Keller 2015-01-07 12:03:42 UTC
Thanks David, only one single ?? left: http://pastebin.com/raw.php?i=MCWkz3r2

Found the dbgsym package here: https://launchpad.net/~gnome3-team/+archive/ubuntu/gnome3-staging/+build/6418834
Comment 9 Henning Knut Skoglund 2015-02-08 10:00:16 UTC
I have a similar/related? bug creating duplicate entries in the sound sources when reconnecting the same android phone over bluetooth. Then clicking on an entry gives SIGBUS error.

Sound panel:
https://drive.google.com/file/d/0B45ATdu5qGEbWkoteUUzVGU2THM/view?usp=sharing

Gdb console/after clicking on a duplicate entry:

https://drive.google.com/file/d/0B45ATdu5qGEbd0pWRktxYk9vSUU/view?usp=sharing

I am on; Fedora 21 Linux 3.18.5, GNOME 3.14.2, Gallium 0.4 on ATI RV515
Comment 10 Henning Knut Skoglund 2015-02-08 15:13:52 UTC
I tried yet again to use gdb when reconnecting from android phone over bluetooth; and got some more info;

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

(gnome-control-center:20695): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GObject'

(gnome-control-center:20695): GLib-GObject-CRITICAL **: g_object_get_data: assertion 'G_IS_OBJECT (object)' failed

(gnome-control-center:20695): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

(gnome-control-center:20695): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GvcChannelBar'

(gnome-control-center:20695): sound-cc-panel-CRITICAL **: gvc_channel_bar_get_adjustment: assertion 'GVC_IS_CHANNEL_BAR (bar)' failed

(gnome-control-center:20695): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gnome-control-center:20695): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(gnome-control-center:20695): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GObject'

(gnome-control-center:20695): GLib-GObject-CRITICAL **: g_object_set_data: assertion 'G_IS_OBJECT (object)' failed

(gnome-control-center:20695): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GObject'

(gnome-control-center:20695): GLib-GObject-CRITICAL **: g_object_set_data: assertion 'G_IS_OBJECT (object)' failed

(gnome-control-center:20695): GLib-GObject-CRITICAL **: g_object_set_data: assertion 'G_IS_OBJECT (object)' failed

(gnome-control-center:20695): GLib-GObject-CRITICAL **: g_object_set_data: assertion 'G_IS_OBJECT (object)' failed

(gnome-control-center:20695): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GvcChannelBar'

(gnome-control-center:20695): sound-cc-panel-CRITICAL **: gvc_channel_bar_set_is_muted: assertion 'GVC_IS_CHANNEL_BAR (bar)' failed

(gnome-control-center:20695): Gtk-CRITICAL **: gtk_adjustment_set_value: assertion 'GTK_IS_ADJUSTMENT (adjustment)' failed

(gnome-control-center:20695): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gnome-control-center:20695): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(gnome-control-center:20695): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GvcChannelBar'

(gnome-control-center:20695): sound-cc-panel-CRITICAL **: gvc_channel_bar_set_base_volume: assertion 'GVC_IS_CHANNEL_BAR (bar)' failed

(gnome-control-center:20695): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GvcChannelBar'

(gnome-control-center:20695): sound-cc-panel-CRITICAL **: gvc_channel_bar_set_is_amplified: assertion 'GVC_IS_CHANNEL_BAR (bar)' failed

(gnome-control-center:20695): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GvcChannelBar'

(gnome-control-center:20695): sound-cc-panel-CRITICAL **: gvc_channel_bar_get_adjustment: assertion 'GVC_IS_CHANNEL_BAR (bar)' failed

(gnome-control-center:20695): Gtk-CRITICAL **: gtk_adjustment_set_value: assertion 'GTK_IS_ADJUSTMENT (adjustment)' failed

After some time;

Program received signal SIGBUS, Bus error.
0x00007fffef84060e in _IO_vfprintf_internal (s=s@entry=0x7fffff7ff390, 
    format=format@entry=0x7ffff1bbda4b "%d", ap=ap@entry=0x7fffff7ff500)
    at vfprintf.c:257
257	  int save_errno = errno;
Missing separate debuginfos, use: debuginfo-i

(gdb) backtrace
  • #0 _IO_vfprintf_internal
    at vfprintf.c line 257
  • #1 ___vsnprintf_chk
    at vsnprintf_chk.c line 63
  • #2 g_snprintf
    at gprintf.c line 164
  • #3 gtk_tree_path_to_string
    at gtktreemodel.c line 745
  • #4 gtk_cell_area_real_apply_attributes
    at gtkcellarea.c line 1291
  • #5 gtk_cell_area_box_apply_attributes
    at gtkcellareabox.c line 1311
  • #6 _gtk_marshal_VOID__OBJECT_BOXED_BOOLEAN_BOOLEANv
    at gtkmarshalers.c line 5040
  • #7 _g_closure_invoke_va
    at gclosure.c line 831
  • #8 g_signal_emit_valist
    at gsignal.c line 3218
  • #9 g_signal_emit
    at gsignal.c line 3365
  • #10 gtk_cell_area_apply_attributes
    at gtkcellarea.c line 2375
  • #11 gtk_tree_view_column_cell_set_cell_data
    at gtktreeviewcolumn.c line 2843
  • #12 set_cell_data
    at a11y/gtktreeviewaccessible.c line 336
  • #13 _gtk_tree_view_accessible_changed
    at a11y/gtktreeviewaccessible.c line 1707
  • #14 gtk_tree_view_row_changed
    at gtktreeview.c line 8962
  • #18 <emit signal ??? on instance 0xf6db60 [GtkListStore]>
    at gsignal.c line 3365

Comment 11 Bastien Nocera 2015-04-01 12:00:14 UTC
Thanks for taking the time to report this.
This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 738869 ***