gnome-control-center crashes in "Users" panel after taking photo and swap panels for serval times
gnome-control-center version: 3.26.2
Step to reproduce:
- Open gnome-control-center
- Open "Users" panel
- Click the "profile photo", then click "Take a photo", then click "Cancel"
- Open "Date & Time" panel (or other panel)
- Open "Users" panel again
- Open "Date & Time" panel (or other panel) again
- Repeat Step 5 to Step 6 if not crash.
- Click "Users" panel and gnome-control-center will crash.
Terminal output:
(gnome-control-center:6540): Gtk-WARNING **: Negative content width -157 (allocation 40, extents 177x20) while allocating gadget (node box, owner GtkBox)
(gnome-control-center:6540): Gdk-WARNING **: Native Windows taller than 65535 pixels are not supported
(gnome-control-center:6540): GStreamer-CRITICAL **: Trying to stop a GstDeviceProvider v4l2deviceprovider0 which is already stopped
(gnome-control-center:6540): GStreamer-CRITICAL **: Trying to stop a GstDeviceProvider v4l2deviceprovider0 which is already stopped
**
ERROR:gstv4l2deviceprovider.c:425:gst_v4l2_device_provider_start: assertion failed: (self->context == NULL)
Aborted (core dumped)
Part of backtrace:
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007f8c1224c6c1 in __GI_abort () at abort.c:79
#2 0x00007f8c128619cd in g_assertion_message (domain=domain@entry=0x0, file=file@entry=0x7f8bdb64bcff "gstv4l2deviceprovider.c",
line=line@entry=425, func=func@entry=0x7f8bdb64c060 <__func__.25319> "gst_v4l2_device_provider_start",
message=message@entry=0x5561e0f92490 "assertion failed: (self->context == NULL)") at gtestutils.c:2430
#3 0x00007f8c12861a5a in g_assertion_message_expr (domain=domain@entry=0x0, file=file@entry=0x7f8bdb64bcff "gstv4l2deviceprovider.c",
line=line@entry=425, func=func@entry=0x7f8bdb64c060 <__func__.25319> "gst_v4l2_device_provider_start",
expr=expr@entry=0x7f8bdb64bce9 "self->context == NULL") at gtestutils.c:2453
#4 0x00007f8bdb62a7ce in gst_v4l2_device_provider_start (provider=0x5561e0bd0110) at gstv4l2deviceprovider.c:425
#5 0x00007f8c0a09e8ea in gst_device_provider_start (provider=provider@entry=0x5561e0bd0110) at gstdeviceprovider.c:429
#6 0x00007f8c0a09d87d in gst_device_monitor_start (monitor=0x5561e0ad3290) at gstdevicemonitor.c:506
#7 0x00007f8c12b384f5 in g_type_create_instance (type=<optimized out>) at gtype.c:1866
#8 0x00007f8c12b19258 in g_object_new_internal (class=class@entry=0x5561e0b008f0, params=params@entry=0x0, n_params=n_params@entry=0)
at gobject.c:1797
#9 0x00007f8c12b1aa5d in g_object_new_with_properties (object_type=93878869821440, n_properties=0, names=names@entry=0x0,
values=values@entry=0x0) at gobject.c:1965
#10 0x00007f8c12b1b521 in g_object_new (object_type=<optimized out>, first_property_name=<optimized out>) at gobject.c:1637
#11 0x00005561deb4b6b8 in setup_photo_popup (um=0x5561e0ac41c0) at um-photo-dialog.c:478
#12 um_photo_dialog_new (button=0x5561e0906430) at um-photo-dialog.c:576
#13 0x00005561deb34d18 in cc_user_panel_init (self=0x5561e0909a40) at um-user-panel.c:1479
This bug does not happen on my machine with gnome-control-center 3.36, but it changed a lot and I am not sure which commit fixed this.