autopilot-gtk crashes gcalctool
Bug #1108155 reported by
Thomi Richards
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autopilot-gtk |
Fix Released
|
Critical
|
Unassigned |
Bug Description
When using ap-gtk to introspect gcalctool, the ap plugin causes a crash inside GtkNode.
See full stack-trace in attached file.
Related branches
lp:~allanlesage/autopilot-gtk/gcalctool-gtktreepath-blacklisting
- PS Jenkins bot: Approve (continuous-integration)
- Thomi Richards (community): Approve
-
Diff: 37 lines (+13/-7)1 file modifiedlib/GtkNode.cpp (+13/-7)
Changed in autopilot-gtk: | |
status: | In Progress → Fix Committed |
Changed in autopilot-gtk: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This is possibly a GTK+ bug.
The backtrace relevant backtrace is:
#0 __memcpy_ssse3_rep () at ../sysdeps/ i386/i686/ multiarch/ memcpy- ssse3-rep. S:1284 i386-linux- gnu/bits/ string3. h:51 buildd/ gtk+3.0- 3.6.4/. /gtk/gtktreemod el.c:907 entry=135789712 , value=value@ entry=0x82548c0 ) buildd/ glib2.0- 2.35.4/ ./gobject/ gtype.c: 4259 type=boxed_ type@entry= 135789712, src_boxed= src_boxed@ entry=0x82548c0 ) buildd/ glib2.0- 2.35.4/ ./gobject/ gboxed. c:352 boxed_internal (need_free=1, need_copy=1, boxed=0x82548c0, value=0xbfffe89c) buildd/ glib2.0- 2.35.4/ ./gobject/ gboxed. c:479 value@entry= 0xbfffe89c, boxed=0x82548c0) buildd/ glib2.0- 2.35.4/ ./gobject/ gboxed. c:496 menu_get_ property (object=0x81c73e8, prop_id=2, value=0xbfffe89c, pspec=0x81c28c8) buildd/ gtk+3.0- 3.6.4/. /gtk/gtktreemen u.c:555
#1 0xb7d6e175 in memcpy (__len=<optimized out>, __src=<optimized out>, __dest=<optimized out>)
at /usr/include/
#2 gtk_tree_path_copy (path=0x82548c0) at /build/
#3 0xb784a151 in _g_type_boxed_copy (type=type@
at /build/
#4 0xb7822394 in g_boxed_copy (boxed_
at /build/
#5 0xb78226e0 in value_set_
at /build/
#6 g_value_set_boxed (value=
at /build/
#7 0xb7d6be6b in gtk_tree_
at /build/
Where GtkTreeMenu is passing a GtkTreeRowReference into a boxed GtkTreePath, and gtype is calling gtk_tree_ path_copy( ) with that GtkTreeRowReference pointer.
GtkTreeRowRef erence *root;
...
g_object_ class_install_ property (object_class,
PROP_ROOT,
g_param_ spec_boxed ("root",
P_ ("TreeMenu root row"),
P_ ("The TreeMenu will display children of the "
"specified root"),
GTK_ TYPE_TREE_ PATH,
GTK_ PARAM_READWRITE ));
...
case PROP_ROOT: value_set_ boxed (value, priv->root);
g_
break;