Re: [gnome-flashback] Debug-ability; getting gnome-panel 3.8 out




On 29/09/13 14:34, Philipp Kaluza wrote:
Hi Lanoxx,
Hi Philipp,
wow, that is a weird one. Looking at the backtrace you provided, we see:

Am 28.09.2013 18:24, schrieb Lanoxx:
On 28/09/13 17:42, Lanoxx wrote:
(gdb) backtrace
#0  0x00007ffff56e167c in g_type_check_instance_is_a () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#1  0x00007ffff56c5386 in g_object_unref () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#2  0x000000000042f2c9 in panel_find_icon (size=24,
icon_name=<optimized out>, icon_theme=<optimized out>) at
panel-util.c:290
#3  panel_find_icon (icon_theme=<optimized out>, icon_name=<optimized
out>, size=24) at panel-util.c:253
panel_find_icon basically does the following:

        info = gtk_icon_theme_lookup_icon (icon_theme, icon_no_extension,
                                           size, 0);

        if (info) {
                retval = g_strdup (gtk_icon_info_get_filename (info));
                g_object_unref (info);
        }

and the g_object_unref segfaults, _after_ gtk_icon_info_get_filename
(info) succesfully ran ?!?
Exactly.
I just build gnome-3.6.2 from git and it works. So the reason must be
that some libary is out of date, even though configure did not
complain about my system. I am building from Ubuntu 13.04 which only
has the gnome 3.6.2 stack.
First, to make sure: Did you build gobject or gtk+ yourself and install
to /usr/lib ? If not, then it's a bug in the code somewhere.
What icon theme are you using ?
What version of GTK+ are you using ?
I did not build gtk+ myself. So far I have only build gnome-panel. My systems gtk+ version is 3.6.4.
OK, that part of the code was touched by a cleanup patch since the 3.6.2
release. If you still are on GTK+ 3.4 or 3.6, this might make sense -
this would mean we've unwittingly gained a dependency on GTK+ 3.8. Could
you try with the attached patch ?
Yep, removing g_object_unref and replacing it with the old gtk_icon_info_free makes the panel work. :)
If this is the cause, either we need to apply this partial revert, or
bump our GTK+ dependency.
Personally I think commit dde999b0 should be reverted. Unless we have any other serious reason to bump the dependency to 3.8 or 3.10 I would vote to leave it on 3.6. Debian stable for example still ships 3.4.2.
Alberts, what do you think ?

Cheers
  Philipp
Cheers
Sebastian

    



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]