Crash when setting key focus for shell calendar grab
Managed to crash mutter when opening the shell calendar popup, seems like the stage->priv->key_focused_actor
pointer was invalid.
Backtrace:
#0 0x00007ff9038747ae in clutter_actor_contains (self=self@entry=0x445c470,
descendant=descendant@entry=0x4304b60)
at ../../../../jhbuild/checkout/mutter/clutter/clutter/clutter-actor.c:12110
#1 0x00007ff9038cd71c in clutter_stage_notify_grab_on_key_focus (old_grab_actor=0x146cbe0,
grab_actor=0x445c470, stage=0x726cb0)
at ../../../../jhbuild/checkout/mutter/clutter/clutter/clutter-stage.c:3701
#2 clutter_stage_notify_grab (stage=stage@entry=0x726cb0, cur=cur@entry=0x2c50300,
old=<optimized out>)
at ../../../../jhbuild/checkout/mutter/clutter/clutter/clutter-stage.c:3752
#3 0x00007ff9038d23d1 in clutter_stage_grab (stage=0x726cb0, actor=actor@entry=0x445c470)
at ../../../../jhbuild/checkout/mutter/clutter/clutter/clutter-stage.c:3822
#4 0x00007ff903315050 in st_button_button_press (actor=actor@entry=0x445c470,
event=event@entry=0x43e74e0)
at ../../../../jhbuild/checkout/gnome-shell/src/st/st-button.c:200
#5 0x00007ff903865788 in _clutter_marshal_BOOLEAN__BOXEDv (closure=0x72f410,
return_value=0x7fff8887afb0, instance=<optimized out>, args=<optimized out>,
marshal_data=<optimized out>, n_params=<optimized out>, param_types=0x6fe210)
at clutter/clutter/clutter-marshal.c:130
#6 0x00007ff904411c18 in _g_closure_invoke_va (closure=closure@entry=0x72f410,
return_value=return_value@entry=0x7fff8887afb0, instance=instance@entry=0x445c470,
args=args@entry=0x7fff8887b0a8, n_params=1, param_types=0x6fe210)
at ../../../../jhbuild/checkout/glib/gobject/gclosure.c:893
#7 0x00007ff904429a3b in g_signal_emit_valist (instance=0x445c470, signal_id=89,
detail=<optimized out>, var_args=var_args@entry=0x7fff8887b0a8)
at ../../../../jhbuild/checkout/glib/gobject/gsignal.c:3406
#8 0x00007ff90442a8fd in g_signal_emit (instance=instance@entry=0x445c470,
signal_id=<optimized out>, detail=detail@entry=0)
at ../../../../jhbuild/checkout/glib/gobject/gsignal.c:3553
#9 0x00007ff903874a69 in clutter_actor_event (actor=0x445c470, event=event@entry=0x43e74e0,
capture=capture@entry=0)
at ../../../../jhbuild/checkout/mutter/clutter/clutter/clutter-actor.c:12409
#10 0x00007ff90387b72d in _clutter_actor_handle_event (self=<optimized out>, root=0x146cbe0,
event=event@entry=0x43e74e0)
at ../../../../jhbuild/checkout/mutter/clutter/clutter/clutter-actor.c:19078
#11 0x00007ff9038b32d6 in emit_event_chain (event=<optimized out>)
at ../../../../jhbuild/checkout/mutter/clutter/clutter/clutter-main.c:686
#12 emit_event (event=<optimized out>)
at ../../../../jhbuild/checkout/mutter/clutter/clutter/clutter-main.c:703
#13 _clutter_process_event_details (context=0x5baf60, event=0x43e74e0, stage=<optimized out>)
at ../../../../jhbuild/checkout/mutter/clutter/clutter/clutter-main.c:966
#14 _clutter_process_event (event=event@entry=0x43e74e0)
at ../../../../jhbuild/checkout/mutter/clutter/clutter/clutter-main.c:1055
#15 0x00007ff9038d0b88 in _clutter_stage_queue_event (stage=0x726cb0, event=0x43e74e0,
copy_event=1) at ../../../../jhbuild/checkout/mutter/clutter/clutter/clutter-stage.c:615
#16 0x00007ff9038b26b3 in clutter_do_event (event=<optimized out>)
at ../../../../jhbuild/checkout/mutter/clutter/clutter/clutter-main.c:825
#17 0x00007ff903630596 in clutter_source_dispatch (source=source@entry=0x717f90,
callback=<optimized out>, user_data=<optimized out>)
at ../../../../jhbuild/checkout/mutter/src/backends/meta-backend.c:1091
#18 0x00007ff90431eb71 in g_main_dispatch (context=0x481f50)
at ../../../../jhbuild/checkout/glib/glib/gmain.c:3417
#19 g_main_context_dispatch (context=0x481f50)
at ../../../../jhbuild/checkout/glib/glib/gmain.c:4135
#20 0x00007ff90431edf8 in g_main_context_iterate (context=0x481f50, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>)
at ../../../../jhbuild/checkout/glib/glib/gmain.c:4211
#21 0x00007ff90431f0e3 in g_main_loop_run (loop=0x16c8cc0)
at ../../../../jhbuild/checkout/glib/glib/gmain.c:4409
#22 0x00007ff903697dc6 in meta_context_start (context=0x6c3410, error=0x2)
at ../../../../jhbuild/checkout/mutter/src/core/meta-context.c:397
#23 0x00000000004028c8 in main (argc=<optimized out>, argv=<optimized out>)
at ../../../../jhbuild/checkout/gnome-shell/src/main.c:566