Comment 6 for bug 944833

Revision history for this message
Charles Kerr (charlesk) wrote :

In 0.5.92-0ubuntu1, libdbusmenu-glib/client.c:1069 is the first line in this paragraph:

> if (priv->menuproxy_cancel != NULL) {
> g_object_unref(priv->menuproxy_cancel);
> priv->menuproxy_cancel = NULL;
> }

Which makes me think "priv" is corrupt... but we know it's not NULL because the
previous few lines are:

> /* If this wasn't cancelled, we should be good */
> DbusmenuClient * client = DBUSMENU_CLIENT(user_data);
> /* But let's check */
> g_return_if_fail(client != NULL);
> DbusmenuClientPrivate * priv = DBUSMENU_CLIENT_GET_PRIVATE(client);
> g_return_if_fail(priv != NULL);

All those safeguards smell like someone else has tried to track down a crash in this section of code before...