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 746227 - Reproducible crash switching sound output
Reproducible crash switching sound output
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Sound
unspecified
Other Linux
: Normal critical
: ---
Assigned To: Control center sound maintainer(s)
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-03-15 01:07 UTC by Giovanni Campagna
Modified: 2015-03-17 11:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Giovanni Campagna 2015-03-15 01:07:15 UTC
Instruction to reproduce:
1) Open sound panel
2) Click on a different output UI device

(It so happens that on my box it also maps to the same ALSA device. I don't know if it's relevant)

g-c-c version: GNOME_CONTROL_CENTER_3_15_91-26-g81afd90
pulseaudio version: v6.0-38-gb8bcfeb

Backtrace:

  • #0 g_type_check_instance_is_fundamentally_a
    at gtype.c line 4028
  • #1 g_object_get_data
    at gobject.c line 3439
  • #2 bar_set_stream
    at gvc-mixer-dialog.c line 936
  • #3 active_output_update
    at gvc-mixer-dialog.c line 922
  • #4 on_control_active_output_update
    at gvc-mixer-dialog.c line 1258
  • #5 g_cclosure_marshal_VOID__UINTv
    at gmarshal.c line 1274
  • #6 _g_closure_invoke_va
    at gclosure.c line 831
  • #7 g_signal_emit_valist
    at gsignal.c line 3214
  • #8 g_signal_emit
    at gsignal.c line 3361
  • #9 update_sink
    at gvc-mixer-control.c line 1556
  • #10 context_get_sink_info_callback
    at pulse/introspect.c line 261
  • #11 run_action
    at pulsecore/pdispatch.c line 284
  • #12 pa_pdispatch_run
    at pulsecore/pdispatch.c line 337
  • #13 pstream_packet_callback
    at pulse/context.c line 338
  • #14 do_read
    at pulsecore/pstream.c line 870
  • #15 do_pstream_read_write
    at pulsecore/pstream.c line 189
  • #16 srb_callback
    at pulsecore/pstream.c line 225
  • #17 srbchannel_rwloop
    at pulsecore/srbchannel.c line 190
  • #18 dispatch_func
    at pulse/glib-mainloop.c line 584
  • #19 g_main_dispatch
    at gmain.c line 3122
  • #20 g_main_context_dispatch
    at gmain.c line 3737
  • #21 g_main_context_iterate
    at gmain.c line 3808
  • #22 g_main_context_iteration
    at gmain.c line 3869
  • #23 g_application_run
    at gapplication.c line 2308
  • #24 main
    at main.c line 49

Comment 1 Bastien Nocera 2015-03-16 20:41:49 UTC
I can reproduce this, but I cannot get any applications to show in a jhbuilt control-center right now, or get it to switch to the Sound panel.

Might be related to bug 738869. Rui?
Comment 2 Bastien Nocera 2015-03-16 20:44:30 UTC
See also:
https://bugzilla.gnome.org/show_bug.cgi?id=746301
To fix the pixman errors when opening the panel.
Comment 3 Bastien Nocera 2015-03-17 11:22:24 UTC
This regresses bug 738869

commit 2476dde3b5ecffdfeba6b0e48694589081e2af82
Author: Bastien Nocera <hadess@hadess.net>
Date:   Tue Mar 17 12:06:21 2015 +0100

    Revert "sound: Fix the main volume bars to correctly display changes in volume"
    
    This results in crashes when switching inputs or outputs, as other parts
    of the code expect only application bars being added to that hashtable.
    The bar was destroyed when switching outputs (as the stream is removed before
    a new one being added) but with the bar pointing to freed memory.
    
    This reverts commit 22fa7f1292922621ab6099019f810c2b0a621c99.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=746227