[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-bug: [ geda-Bugs-1547138 ] Segfault on adding toplevel slot attribute to symbol



Bugs item #1547138, was opened at 2006-08-26 13:38
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=818426&aid=1547138&group_id=161080

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: gschem
Group: CVS
Status: Open
Resolution: None
Priority: 5
Submitted By: Peter Brett (peter-b)
Assigned to: Nobody/Anonymous (nobody)
Summary: Segfault on adding toplevel slot attribute to symbol

Initial Comment:
Steps to reproduce:

1. Start gschem

2. Add attribute, name 'slot', value '1'

3. Segfault



Present in latest CVS geda.

Relevant backtrace:

#0  0x00002aaaaaadbc71 in o_attrib_search_numslots 
(object=0x799d70, 
    return_found=0x0) at o_attrib.c:1918
#1  0x000000000041f69e in o_slot_end 
(w_current=0x6061e0, 
    string=0x7851f0 "slot=1", len=Variable "len" is 
not available.
) at o_slot.c:135
#2  0x000000000041ac85 in o_attrib_add_attrib 
(w_current=0x6061e0, 
    text_string=0x7851f0 "slot=1", visibility=1, 
show_name_value=0, object=0x0)
    at o_attrib.c:482
#3  0x0000000000445953 in attrib_edit_dialog_ok 
(w=Variable "w" is not available.
) at x_attribedit.c:238



Segfault appears to be occurring because 
object->complex == NULL in o_attrib_search_numslots() 
in libgeda's o_attrib.c

Similar segfaults are seen whenever handling 'slot' 
attributes, even on instantiated symbols in 
schematics.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=818426&aid=1547138&group_id=161080


_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug