GNOME Bugzilla – Bug 623811
Crash when starting Empathy with GTK+3
Last modified: 2010-07-08 11:53:21 UTC
I have this crash when starting Empathy with GTK+3; no problem with GTK+2. Gtk-CRITICAL **: gtk_cell_renderer_get_size: assertion `GTK_CELL_RENDERER_GET_CLASS (cell)->get_size != NULL' failed aborting... Program received signal SIGTRAP, Trace/breakpoint trap. 0x00007ffff492e5fe in g_logv (log_domain=0x7ffff24d1f73 "Gtk", log_level=G_LOG_LEVEL_CRITICAL, format=0x7ffff49a7d7d "%s: assertion `%s' failed", args1=0x7fffffffdcd0) at gmessages.c:545 545 G_BREAKPOINT (); (gdb) bt
+ Trace 222737
So what kind of GtkCellRenderer is cell here? Own implementation or a cell renderer provided by GTK+?
That's a good question, I'm wondering the same... We have 3 custom renderer in empathy source code: EmpathyCellRendererActivatable (subclass of GtkCellRendererPixbuf, and does not override get_size), EmpathyCellRendererExpander and EmpathyCellRendererText (both subclass of GtkCellRenderer and does override get_size). So our custom renderer should all be fine, I guess the problem comes from a gtk renderer. Guillaume, could you please print the GType of the instance that does not have that get_size() virtual method? something like g_print ("%s\n", g_type_name((GType) instance)); just before the assert should do the trick.
Seems this crash was actually because of a memory corruption elsewhere. Closing it for now.