It's not broken, it's gone.

You have:

+#ifndef GTK_DISABLE_DEPRECATED
GList *gtk_cell_view_get_cell_renderers (GtkCellView *cell_view);
+#endif

in gtkcellview.h (and of course GTK_DISABLE_DEPREATED is enabled during 
compilation).
The code is still there so the there is no linking error but now every use of 
the function as a
return type of int. (the default type for functions in C) instead of GList*. I 
guess the segfaults
only occur on amd64 since on this arch sizeof(void*) is 8 and sizeof(int) is 4, 
so the higher 4 bytes
of the pointer gets truncated. This would explain why the segfaults do not 
occur 100% of the time
(when the old function returns an address which fits on 4 bytes then everything 
is fine).

Anyway, these functions are not used upstream anymore by gtk itself but other 
libs might still use them
(and thus compile without GTK_DISABLE_DEPRECATED) so there really isn't 
anything to report upstream.

-- 
Applications segfault with gtk+ version 2.17.2 when selecting listbox values
https://bugs.launchpad.net/bugs/391398
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to