After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 459181 - GtkTooltips::tip_label/tip_window not created anymore
GtkTooltips::tip_label/tip_window not created anymore
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
2.11.x
Other All
: Normal critical
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2007-07-22 01:51 UTC by Jeremy Messenger
Modified: 2007-08-15 08:18 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Jeremy Messenger 2007-07-22 01:51:37 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
  • #0 IA__g_logv
  • #1 IA__g_log
    at gmessages.c line 517
  • #2 IA__g_return_if_fail_warning
  • #3 IA__gtk_label_set_max_width_chars
    at gtklabel.c line 1735
  • #4 ephy_notebook_init
    at ephy-notebook.c line 498
  • #5 IA__g_type_create_instance
    at gtype.c line 1569
  • #6 g_object_constructor
    at gobject.c line 1046
  • #7 IA__g_object_newv
    at gobject.c line 937
  • #8 IA__g_object_new_valist
    at gobject.c line 986
  • #9 IA__g_object_new
    at gobject.c line 795
  • #10 ephy_window_constructor
    at ephy-window.c line 2579
  • #11 IA__g_object_newv
    at gobject.c line 937
  • #12 IA__g_object_new_valist
    at gobject.c line 1027
  • #13 IA__g_object_new
    at gobject.c line 795
  • #14 ephy_window_new_with_chrome
    at ephy-window.c line 3295
  • #15 ephy_shell_new_tab_full
    at ephy-shell.c line 489
  • #16 session_command_dispatch
    at ephy-session.c line 740
  • #17 g_idle_dispatch
    at gmain.c line 4131
  • #18 IA__g_main_context_dispatch
    at gmain.c line 2061
  • #19 g_main_context_iterate
    at gmain.c line 2694
  • #20 IA__g_main_loop_run
    at gmain.c line 2898
  • #21 IA__gtk_main
    at gtkmain.c line 1144
  • #22 main
    at ephy-main.c line 723
  • #0 IA__g_logv
  • #1 IA__g_log
    at gmessages.c line 517
  • #2 IA__g_return_if_fail_warning
  • #3 IA__gtk_label_set_max_width_chars
    at gtklabel.c line 1735
  • #4 ephy_notebook_init
    at ephy-notebook.c line 498
  • #5 IA__g_type_create_instance
    at gtype.c line 1569
  • #6 g_object_constructor
    at gobject.c line 1046
  • #7 IA__g_object_newv
    at gobject.c line 937
  • #8 IA__g_object_new_valist
    at gobject.c line 986
  • #9 IA__g_object_new
    at gobject.c line 795
  • #10 ephy_window_constructor
    at ephy-window.c line 2579
  • #11 IA__g_object_newv
    at gobject.c line 937
  • #12 IA__g_object_new_valist
    at gobject.c line 1027
  • #13 IA__g_object_new
    at gobject.c line 795
  • #14 ephy_window_new_with_chrome
    at ephy-window.c line 3295
  • #15 ephy_shell_new_tab_full
    at ephy-shell.c line 489
  • #16 session_command_dispatch
    at ephy-session.c line 740
  • #17 g_idle_dispatch
    at gmain.c line 4131
  • #18 IA__g_main_context_dispatch
    at gmain.c line 2061
  • #19 g_main_context_iterate
    at gmain.c line 2694
  • #20 IA__g_main_loop_run
    at gmain.c line 2898
  • #21 IA__gtk_main
    at gtkmain.c line 1144
  • #22 main
    at ephy-main.c line 723
        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.
Comment 1 Matthias Clasen 2007-07-22 05:14:43 UTC
This has aready been fixed in the epiphany svn trunk.
Don't know about nautilus.
Comment 2 Cosimo Cecchi 2007-07-22 09:28:48 UTC
They do not crash on my machine (neither Epiphany nor Nautilus). Using gnome 2.19.5.
Comment 3 Christian Persch 2007-07-22 10:29:43 UTC
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.)
Comment 4 Jeremy Messenger 2007-07-22 19:51:54 UTC
I can confirm about that both nautilus and epiphany have been fixed in SVN. Thanks! Closing this.
Comment 5 Christian Persch 2007-07-23 14:03:26 UTC
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.
Comment 6 Tim Janik 2007-08-14 22:13:32 UTC
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).
Comment 7 Kristian Rietveld 2007-08-15 08:18:52 UTC
Didn't know about this bug, but the fix Tim describes has been in GTK+ trunk since August 7.