gnome-shell crashes on cogl_object_unref
Happens with some frequency in Ubuntu and after a theme change. Backtrace is:
#0 cogl_object_unref (obj=0x0) at cogl-object.c:112
unref_func = <error reading variable unref_func (Cannot access memory at address 0x0)>
#1 0x00007ff295379a94 in iter_remove_or_steal (ri=ri@entry=0x7fffe3a34020, notify=notify@entry=1) at ../../../../glib/ghash.c:851
__func__ = "iter_remove_or_steal"
#2 0x00007ff29537a68a in g_hash_table_iter_remove (iter=iter@entry=0x7fffe3a34020) at ../../../../glib/ghash.c:887
No locals.
#3 0x00007ff292ddf878 in st_texture_cache_evict_icons (cache=0x55f5fbc73d60) at ../src/st/st-texture-cache.c:125
cache_key = <optimized out>
iter = {dummy1 = 0x55f5fbd6f700, dummy2 = 0x7fffe3a340c0, dummy3 = 0x2f0a, dummy4 = 0, dummy5 = 32767, dummy6 = 0x55f500000025}
key = 0x7ff27001e0b0
value = 0x0
iter = <optimized out>
key = <optimized out>
value = <optimized out>
cache_key = <optimized out>
#4 on_icon_theme_changed (icon_theme=<optimized out>, cache=0x55f5fbc73d60) at ../src/st/st-texture-cache.c:133
No locals.
#5 0x00007ff295665f6d in g_closure_invoke (closure=0x55f5fbd69ef0, return_value=0x0, n_param_values=1, param_values=0x7fffe3a34240, invocation_hint=0x7fffe3a341c0) at ../../../../gobject/gclosure.c:804
marshal = 0x7ff295667e60 <g_cclosure_marshal_VOID__VOID>
marshal_data = 0x0
in_marshal = 0
real_closure = 0x55f5fbd69ed0
__func__ = "g_closure_invoke"
#6 0x00007ff295678d3e in signal_emit_unlocked_R (node=node@entry=0x55f5fbb9bf10, detail=detail@entry=0, instance=instance@entry=0x55f5fbb72c90, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fffe3a34240) at ../../../../gobject/gsignal.c:3635
tmp = <optimized out>
handler = 0x55f5fc0fc400
accumulator = 0x0
emission = {next = 0x0, instance = 0x55f5fbb72c90, ihint = {signal_id = 271, detail = 0, run_type = G_SIGNAL_RUN_FIRST}, state = EMISSION_RUN, chain_type = 4}
class_closure = <optimized out>
hlist = <optimized out>
handler_list = 0x55f5fc0fc400
return_accu = 0x0
accu = {g_type = 0, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
signal_id = 271
max_sequential_handler_number = 12042
return_value_altered = 0
#7 0x00007ff2956813f5 in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fffe3a34400) at ../../../../gobject/gsignal.c:3391
instance_and_params = 0x7fffe3a34240
signal_return_type = <optimized out>
param_values = 0x7fffe3a34258
node = <optimized out>
i = <optimized out>
n_params = <optimized out>
__func__ = "g_signal_emit_valist"
#8 0x00007ff295681e0f in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=detail@entry=0) at ../../../../gobject/gsignal.c:3447
var_args = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7fffe3a344e0, reg_save_area = 0x7fffe3a34420}}
#9 0x00007ff294c30f44 in theme_changed_idle (user_data=<optimized out>) at ../../../../gtk/gtkicontheme.c:774
icon_theme = <optimized out>
priv = 0x55f5fbb72c20
See https://errors.ubuntu.com/problem/990288ee13e03a048791700aa0af1ccfaecd49bc