Comment 4 for bug 74576

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote : Re: crash after theme change [@gtk_style_realize] [@gtk_style_ref]

I was initially skeptical of the changes that had been made to this bug (the "crash after theme change" when I am certain that I was not changing the theme, a different upstream product (Epiphany) to the one I was seeing the problem in (Firefox)).

The upstream bug has a comment ( http://bugzilla.gnome.org/show_bug.cgi?id=353503#c28 ) saying this:
"#20 0xb79e0a81 in reset_styles_idle (user_data=0x817fa08)
    at gtkicontheme.c:602

This indicates an icon theme change. That could be triggered by a theme change,
but also by a run of gtk-update-icon-cache (by installing a program or updating
with apt-get), or by installing or uninstalling a theme engine, or by a crash
of gnome-settings-daemon."

My backtrace contains a very similar call so yup, it looks like this is the problem. However I have checked my logs and I case where this happened and no packages had been updated, nor any themes installed. This suggests we in fact have two problems:
1. Firefox can't cope with a theme change after showing the totem plugin.
2. Something is crashing gnome-settings-daemon/spuriously sending out icon cache updates when none have happened.

I have 100% reproducible steps for 1 which I will attach.