tasklist: Crash when closing an app window with window grouping enabled
xfce4-panel 4.18.3, not sure yet how to reproduce this, see https://forum.xfce.org/viewtopic.php?pid=71556
Core was generated by `xfce4-panel'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007fd22f737706 in gtk_widget_get_visible (widget=0x2b) at ../gtk/gtk/gtkwidget.c:9126
Downloading source file /usr/src/debug/gtk3/build/../gtk/gtk/gtkwidget.c
9126 g_return_val_if_fail (GTK_IS_WIDGET (widget), FALSE);
[Current thread is 1 (Thread 0x7fd22dac15c0 (LWP 1868))]
(gdb) backtrace
#0 0x00007fd22f737706 in gtk_widget_get_visible (widget=0x2b) at ../gtk/gtk/gtkwidget.c:9126
#1 0x00007fd22daacd36 in xfce_tasklist_group_button_child_visible_changed (group_child=0x561f4413aad0)
at /usr/src/debug/xfce4-panel/xfce4-panel-4.18.3/plugins/tasklist/tasklist-widget.c:4399
#2 0x00007fd22f06f210 in g_closure_invoke
(closure=0x561f43fcd490, return_value=0x0, n_param_values=1, param_values=0x7fff475c1b30, invocation_hint=0x7fff475c1ab0)
at ../glib/gobject/gclosure.c:832
#3 0x00007fd22f09d2f8 in signal_emit_unlocked_R.isra.0
(node=node@entry=0x561f43f99fe0, detail=detail@entry=0, instance=instance@entry=0x561f440d64b0, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fff475c1b30) at ../glib/gobject/gsignal.c:3802
#4 0x00007fd22f08d095 in g_signal_emit_valist
(instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fff475c1cd0)
at ../glib/gobject/gsignal.c:3555
#5 0x00007fd22f08d324 in g_signal_emit (instance=instance@entry=0x561f440d64b0, signal_id=<optimized out>, detail=detail@entry=0)
at ../glib/gobject/gsignal.c:3612
#6 0x00007fd22f73d66e in gtk_widget_dispose (object=0x561f440d64b0) at ../gtk/gtk/gtkwidget.c:12166
#7 0x00007fd22f07d531 in g_object_run_dispose (object=0x561f440d64b0) at ../glib/gobject/gobject.c:1448
#8 0x00007fd22f72d38a in gtk_widget_destroy (widget=<optimized out>) at ../gtk/gtk/gtkwidget.c:4780
#9 0x00007fd22daa8683 in xfce_tasklist_window_removed (screen=<optimized out>, window=0x561f444fddb0, tasklist=0x561f44038290)
at /usr/src/debug/xfce4-panel/xfce4-panel-4.18.3/plugins/tasklist/tasklist-widget.c:1995
#10 0x00007fd22f06dca6 in g_cclosure_marshal_VOID__OBJECTv
(closure=0x561f44042820, return_value=<optimized out>, instance=0x561f4410f0a0, args=<optimized out>, marshal_data=<optimized out>, n_params=<optimized out>, param_types=0x561f4410fde0) at ../glib/gobject/gmarshal.c:1910
#11 0x00007fd22f08d23c in _g_closure_invoke_va
(param_types=0x561f4410fde0, n_params=<optimized out>, args=0x7fff475c2000, instance=0x561f4410f0a0, return_value=0x0, closure=0x561f44042820) at ../glib/gobject/gclosure.c:895
#12 g_signal_emit_valist (instance=0x561f4410f0a0, signal_id=257, detail=<optimized out>, var_args=var_args@entry=0x7fff475c2000)
at ../glib/gobject/gsignal.c:3462
#13 0x00007fd22f08d324 in g_signal_emit (instance=<optimized out>, signal_id=signal_id@entry=257, detail=detail@entry=0)
at ../glib/gobject/gsignal.c:3612
#14 0x00007fd22fd4cb12 in emit_window_closed (window=0x561f444fddb0, screen=0x561f4410f0a0) at ../libwnck/libwnck/screen.c:2218
#15 update_client_list (screen=0x561f4410f0a0) at ../libwnck/libwnck/screen.c:1561
--Type <RET> for more, q to quit, c to continue without paging--c
#16 do_update_now (screen=0x561f4410f0a0) at ../libwnck/libwnck/screen.c:2133
#17 0x00007fd22fd4d888 in update_idle (data=<optimized out>) at ../libwnck/libwnck/screen.c:2156
#18 0x00007fd22ef6a53b in g_main_dispatch (context=0x561f43f78b70) at ../glib/glib/gmain.c:3460
#19 g_main_context_dispatch (context=0x561f43f78b70) at ../glib/glib/gmain.c:4200
#20 0x00007fd22efc7219 in g_main_context_iterate.constprop.0 (context=0x561f43f78b70, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4276
#21 0x00007fd22ef69c7f in g_main_loop_run (loop=0x561f44121080) at ../glib/glib/gmain.c:4479
#22 0x00007fd22f5d8e4f in gtk_main () at ../gtk/gtk/gtkmain.c:1329
#23 0x0000561f427ff3a5 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/xfce4-panel/xfce4-panel-4.18.3/panel/main.c:382