GNOME Bugzilla – Bug 459181
GtkTooltips::tip_label/tip_window not created anymore
Last modified: 2007-08-15 08:18:52 UTC
Steps to reproduce: 1. Update gtk from 2.11.5 to 2.11.6. 2. Run Epiphany and it crashes. As for the Nautilus, it will crashing if I go to network area. Stack trace: % /usr/local/bin/gdb66 epiphany (gdb) r Starting program: /usr/local/bin/epiphany Gtk-CRITICAL **: gtk_label_set_max_width_chars: assertion `GTK_IS_LABEL (label)' failed aborting... Program received signal SIGTRAP, Trace/breakpoint trap. IA__g_logv (log_domain=0x28a85ba7 "Gtk", log_level=G_LOG_LEVEL_CRITICAL, format=0x291a33db "%s: assertion `%s' failed", args1=0xbfbfdb7c "¿K¿(8H¿(¿3\032)¿X\031\b¿u\027)dn¿(") at gmessages.c:503 503 gmessages.c: No such file or directory. in gmessages.c (gdb) bt
+ Trace 149702
env = 0x800 <Address 0x800 out of bounds> enable_pango = 135667120 Other information: MD5 (gnome2/gtk+-2.11.6.tar.bz2) = 2b35ce357e138af23c52e4bceb1a63a0 SHA256 (gnome2/gtk+-2.11.6.tar.bz2) = da202af5b91c6243944e6b8c48872de10a4e86ba0e2b87456a4a8fa56ceb6ae8 SIZE (gnome2/gtk+-2.11.6.tar.bz2) = 15428543 I am running GTK+ with CUPS and samba enable (via gnome-vfs module). If I downgrade GTK+ to 2.11.5 and it solves the crash problem.
This has aready been fixed in the epiphany svn trunk. Don't know about nautilus.
They do not crash on my machine (neither Epiphany nor Nautilus). Using gnome 2.19.5.
It's been fixed in epiphany svn, but using a <= 2.19.5 release of epiphany together with gtk+ svn trunk will still crash. (The problem is that previously, after calling gtk_tooltips_force_window() you could be sure that GtkTooltips::tip_window and ::tip_label existed; that's not anymore the case with gtk+ >= 2.11.6.)
I can confirm about that both nautilus and epiphany have been fixed in SVN. Thanks! Closing this.
The question is not whether the programmes have been fixed, but whether ABI stability should dicatate that gtk continues to provide GtkTooltips::tip_label and ::tip_window.
the quick immediate fix is to re-add (dummy) window and label creation in gtk_tooltips_force_window(). the ideal fix is moving all structures into private headers or .c files (Gtk+-3.0).
Didn't know about this bug, but the fix Tim describes has been in GTK+ trunk since August 7.