On Fri, 2008-02-01 at 13:28 +0200, Bernd Jendrissek wrote:
> Hi,

> 4. Open examples/random_circuits/common-emitter.sch and follow
>    the instructions on the schematic.  Also open
> symbols/transistor/2N3904-heavy.sym
>    and edit the slots it has (e + shift-T, or Edit > Edit Slots); double click
>    on the single row and add heavy attributes.

gschem crashes with the following backtrace when invoking the slot
chooser (e + shift s):

160       fprintf(stderr, "s_slot_compatible(o = %s, slot = %s (in %s))\n",
161               o->name, slot_object->slot->name, 
slot_object->slot->owner->name);

print slot_object->slot->owner
$6 = (OBJECT *) 0x0


#0  0xb7f2867e in s_slot_compatible (o=0x880cc18, slot_object=0x88185f0)
    at s_slot.c:160
#1  0x08080e1e in slot_chooser_slots_visitor (key=0x8818c60,
value=0x88185f0, 
    context=0xbfce3fdc) at x_dialog.c:2379
#2  0xb7af8e96 in IA__g_hash_table_foreach (hash_table=0x86d4760, 
    func=0x8080e00 <slot_chooser_slots_visitor>, user_data=0xbfce3fdc)
    at /build/buildd/glib2.0-2.14.1/glib/ghash.c:680
#3  0x08080df4 in slot_chooser_visitor (o_current=0x8817eb0, 
    context=0xbfce3fdc) at x_dialog.c:2485
#4  0xb7f20f8b in s_visit (object=0x8817eb0, 
    fn=0x8080cc0 <slot_chooser_visitor>, context=0xbfce3fdc, 
    order=VISIT_UNORDERED, depth=1) at s_basic.c:598
#5  0xb7f21088 in s_visit_page (page=0x87e0100, 
    fn=0x8080cc0 <slot_chooser_visitor>, context=0xbfce3fdc, 
    order=VISIT_UNORDERED, depth=1) at s_basic.c:658
#6  0xb7f210e7 in s_visit_toplevel (toplevel=0x80fea58, 
    fn=0x8080cc0 <slot_chooser_visitor>, context=0xbfce3fdc, 
    order=VISIT_UNORDERED, depth=1) at s_basic.c:672
#7  0x08080aa8 in slot_chooser_dialog (w_current=0x80d2678, 
    o_current=0x880cc18, slotname_attrib=0x8815018 "slotname=?")
    at x_dialog.c:2711
#8  0x08068889 in o_slot_start (w_current=0x80d2678, list=0x880cc18)
    at o_slot.c:91
#9  0x0805cb47 in g_keys_edit_slot (rest=0xb70f5208) at g_keys.c:241
#10 0xb7e591b9 in deval (x=<value optimized out>, env=0xb70f51b0)
    at eval.c:4122

... (GTK gives a surprisingly deep backtrace for some simple tasks!)

-- 
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!)



_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to