GNOME Bugzilla – Bug 726452
Crash due to reference count mismatch in accessible cell relation
Last modified: 2014-03-24 16:02:35 UTC
gtk_cell_accessible_object_finalize() will go through all targets of a relation and will unref all targets that are accessible cells. I have not been able to find a place where these are reffed. It is possible to offset that by reffing in create_cell() the node that would later be unreffed by gtk_cell_accessible_object_finalize(). Weird thing is, reffing _either_ parent_node _or_ cell seems to work, no matter which one is being reffed. I'm not sure why. Example backtrace of a crash (this is from hexchat): Program received signal SIGSEGV, Segmentation fault. g_type_check_instance_cast (type_instance=0x4f69280, iface_type=3665688) at gtype.c:4002 4002 node = lookup_type_node_I (type_instance->g_class->g_type); (gdb) bt
+ Trace 233346
*** This bug has been marked as a duplicate of bug 726838 ***