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 393813 - Segfault in gtk_text_view_set_border_window_size()
Segfault in gtk_text_view_set_border_window_size()
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkTextView
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
: 396296 396826 400566 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-01-07 07:15 UTC by Yevgen Muntyan
Modified: 2007-04-13 16:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (966 bytes, patch)
2007-01-07 07:16 UTC, Yevgen Muntyan
none Details | Review

Description Yevgen Muntyan 2007-01-07 07:15:54 UTC
The commit below changed text_window_realize() signature but didn't change all occurences of it, so gtk_text_view_set_border_window_size() crashes if textview is realized and border window doesn't exist yet.

Revision 16983
2006-12-30  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkentry.c:
        * gtk/gtklabel.c:
        * gtk/gtkpaned.c:
        * gtk/gtkstatusbar.c:
        * gtk/gtktextview.c: Don't install cursors on insensitive
        widgets.  (#358864, Jan Schampera)
Comment 1 Yevgen Muntyan 2007-01-07 07:16:24 UTC
Created attachment 79609 [details] [review]
patch
Comment 2 Matthias Clasen 2007-01-07 07:22:17 UTC
2007-01-07  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktextview.c (gtk_text_view_set_border_window_size):
        Call text_window_realize() with the correct parameters.
        (#393813, Yevgen Muntyan)

Comment 3 Sebastien Bacher 2007-01-15 16:34:22 UTC
*** Bug 396826 has been marked as a duplicate of this bug. ***
Comment 4 Paolo Maggi 2007-03-24 10:34:49 UTC
*** Bug 396296 has been marked as a duplicate of this bug. ***
Comment 5 palfrey 2007-04-13 16:34:50 UTC
*** Bug 400566 has been marked as a duplicate of this bug. ***