gEDA-dev: gschem: Crash deleting attributes
Peter Clifton
pcjc2 at cam.ac.uk
Thu Feb 14 15:22:59 EST 2008
Hi all,
It appears the git HEAD code crashes deleting attributes from nets. I'm
can't recall if this is in 1.4.0 or not, but either way it needs fixing.
We shouldn't call o_attrib_slot_update() for non-complex objects.
Its related to slot updates:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1221146960 (LWP 11350)]
0xb7f70de5 in o_attrib_search_slotdef (object=0x85014b0, slotnumber=1) at o_attrib.c:1590
1590 o_current = object->complex->prim_objs;
#0 0xb7f70de5 in o_attrib_search_slotdef (object=0x85014b0, slotnumber=1) at o_attrib.c:1590
#1 0xb7f71d14 in o_attrib_slot_update (toplevel=0x80d74c0, object=0x85014b0) at o_attrib.c:1695
#2 0x08097900 in multiattrib_action_delete_attribute (w_current=0x80cfa78, o_attrib=0x8501638) at x_multiattrib.c:521
#3 0x08097aaa in multiattrib_callback_key_pressed (widget=0x8614100, event=0x82d19a0, user_data=0x817ed68) at x_multiattrib.c:963
(gdb) print object->complex
$2 = (COMPLEX *) 0x0
(It is a net, not a complex!)
--
Peter Clifton
Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA
Tel: +44 (0)7729 980173 - (No signal in the lab!)
More information about the geda-dev
mailing list