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 394406 - Crash caused by incomplete text_window_realize change
Crash caused by incomplete text_window_realize change
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkTextView
2.10.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2007-01-08 21:30 UTC by Erik Harrison
Modified: 2007-01-08 21:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Erik Harrison 2007-01-08 21:30:06 UTC
Internal API text_window_realize in gtk/gtktextview.c was changed from 

static void
text_window_realize (GtkTextWindow *win,
                     GdkWindow     *parent)

in gtk 2.10.6 to 

static void
text_window_realize (GtkTextWindow *win,
                     GtkWidget     *widget)

However, calls to text_window_realize in set_window_width and set_window_height (also in gtktextview.c) seem unconverted to the new API. This causes a crash in my text editor, Mousepad.

You can see the backtrace reported by my users here:
http://bugzilla.xfce.org/show_bug.cgi?id=2718

I unfortunately can't provide a test app, as I cannot currently upgrade my machine to this version of Gtk+, and I'm not entirely sure at what point set_window_width is being invoked. However, looking at the Gtk+ source, the bug seems pretty clear to my eyes.
Comment 1 Matthias Clasen 2007-01-08 21:36:17 UTC
Already fixed in svn