[Gtkradiant] [Bug 1076] GTK+ error : `GTK_WIDGET_REALIZED (tree_view)' failed

bugzilla-daemon at zerowing.idsoftware.com bugzilla-daemon at zerowing.idsoftware.com
Tue Mar 14 11:47:49 CST 2006


http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=1076


mpjung at terreon.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpjung at terreon.de
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




------- Additional Comments From mpjung at terreon.de  2006-03-14 11:47 -------
I tried build 03-02 and the latest sources from SVN and both have the problem
described by mym. I tried running GtkRadiant in GDB and got two stacktraces that
show where the problem comes from:


#0  error_redirect (domain=0xb7ceb5b7 "Gtk", log_level=G_LOG_LEVEL_CRITICAL,
    message=0x89bd318 "gtk_tree_view_get_cell_area: assertion
`GTK_WIDGET_REALIZED (tree_view)' failed", user_data=0x0)
    at radiant/main.cpp:187
#1  0xb7eda578 in g_logv () from /usr/lib/libglib-2.0.so.0
#2  0xb7eda828 in g_log () from /usr/lib/libglib-2.0.so.0
#3  0xb7eda964 in g_return_if_fail_warning () from /usr/lib/libglib-2.0.so.0
#4  0xb7cb4d9f in gtk_tree_view_get_cell_area () from /usr/lib/libgtk-x11-2.0.so.0
#5  0xb7cb51fa in gtk_tree_view_scroll_to_cell () from /usr/lib/libgtk-x11-2.0.so.0
#6  0x081062cf in EntityClassList_selectEntityClass (eclass=0x8389a28) at
radiant/entityinspector.cpp:1013
#7  0x0810827b in EntityInspector_setEntityClass (eclass=0x8389a28) at
radiant/entityinspector.cpp:1079
#8  0x081086b8 in EntityInspector_updateKeyValues () at
radiant/entityinspector.cpp:1152
#9  0x0810ff49 in FreeCaller<&(EntityInspector_updateKeyValues())>::thunk () at
callback.h:471
#10 0x08065571 in Callback::operator() (this=0x8262648) at callback.h:60
#11 0x0810a7c2 in IdleDraw::draw (data=0x8262648) at idledraw.h:35
#12 0xb7ed3750 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#13 0xb7ed14ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#14 0xb7ed44f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#15 0xb7ed47e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#16 0xb7beae65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#17 0x08127bc6 in main (argc=1, argv=0xbfdd92d4) at radiant/main.cpp:595


#0  error_redirect (domain=0xb7cef5b7 "Gtk", log_level=G_LOG_LEVEL_CRITICAL,
    message=0x8328a10 "gtk_tree_view_scroll_to_point: assertion
`GTK_WIDGET_REALIZED (tree_view)' failed", user_data=0x0) at radiant/main.cpp:187
#1  0xb7ede578 in g_logv () from /usr/lib/libglib-2.0.so.0
#2  0xb7ede828 in g_log () from /usr/lib/libglib-2.0.so.0
#3  0xb7ede964 in g_return_if_fail_warning () from /usr/lib/libglib-2.0.so.0
#4  0xb7cb6e5d in gtk_tree_view_scroll_to_point () from /usr/lib/libgtk-x11-2.0.so.0
#5  0xb7cb92f6 in gtk_tree_view_scroll_to_cell () from /usr/lib/libgtk-x11-2.0.so.0
#6  0x081062cf in EntityClassList_selectEntityClass (eclass=0x8389e68) at
radiant/entityinspector.cpp:1013
#7  0x0810827b in EntityInspector_setEntityClass (eclass=0x8389e68) at
radiant/entityinspector.cpp:1079
#8  0x081086b8 in EntityInspector_updateKeyValues () at
radiant/entityinspector.cpp:1152
#9  0x0810ff49 in FreeCaller<&(EntityInspector_updateKeyValues())>::thunk () at
callback.h:471
#10 0x08065571 in Callback::operator() (this=0x8262648) at callback.h:60
#11 0x0810a7c2 in IdleDraw::draw (data=0x8262648) at idledraw.h:35
#12 0xb7ed7750 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#13 0xb7ed54ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#14 0xb7ed84f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#15 0xb7ed87e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#16 0xb7beee65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#17 0x08127bc6 in main (argc=1, argv=0xbfcdcfd4) at radiant/main.cpp:595


Line 1013 in radiant/entityinspector.cpp is causing the Problems, which does a
simple gtk_tree_view_scroll_to_cell call. I'm not a GTK+ expert, so I just fixed
my local copy by commenthing out that line as it does nothing critical but
scrolling the tree view of the entity inspector.

-- 
Configure bugmail: http://zerowing.idsoftware.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Gtkradiant mailing list