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

gEDA-user: gschem undo crasher



I've found what I think is an undo bug in gschem.  I'm using the CVS gschem.

Steps to reproduce:
launch gschem: gschem adc.sch
drag-select DQD0+ through DQD7- (the lower right 16 signals)
hit the delete key
press shift-U for undo

This causes gschem to segfault for me.

gdb says:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1218570560 (LWP 15224)]
0xb7bcf1a4 in g_slice_get_config () from /usr/lib/libglib-2.0.so.0

backtrace:
#0  0xb7bcf1a4 in g_slice_get_config () from /usr/lib/libglib-2.0.so.0
#1  0xb7bcf4cd in g_slice_get_config () from /usr/lib/libglib-2.0.so.0
#2  0xb7bcf8ab in g_slice_free_chain_with_offset ()
  from /usr/lib/libglib-2.0.so.0
#3  0xb7bb77ff in g_list_free () from /usr/lib/libglib-2.0.so.0
#4  0xb7f6cbac in s_conn_remove (w_current=0x8143550, to_remove=0x85be4d8)
   at s_conn.c:174
#5  0xb7f68f8c in s_delete (w_current=0x8143550, o_current=0x85be4d8)
   at s_basic.c:349
#6  0xb7f69206 in s_delete_list_fromstart (w_current=0x8143550, start=0x0)
   at s_basic.c:489
#7  0xb7f6b2b2 in s_page_delete (toplevel=0x8143550, page=0x82c1b78)
   at s_page.c:202
#8  0x0807281e in o_undo_callback (w_current=0x8143550, type=0)
   at o_undo.nw:428
#9  0x0805712b in g_keys_edit_undo () at g_keys.nw:189
#10 0xb7ed497c in scm_ceval () from /usr/lib/libguile.so.12
#11 0xb7ed34aa in scm_ceval () from /usr/lib/libguile.so.12
#12 0xb7ecd6f0 in scm_i_eval_x () from /usr/lib/libguile.so.12
#13 0xb7ed305d in scm_primitive_eval_x () from /usr/lib/libguile.so.12
#14 0xb7f0f5bb in scm_read_0str () from /usr/lib/libguile.so.12
#15 0xb7ed7deb in scm_c_with_fluids () from /usr/lib/libguile.so.12
#16 0xb7ed7eec in scm_c_with_fluid () from /usr/lib/libguile.so.12
...

adc.sch is attached.

Let me know how I can help from here,
-David Carr
v 20060123 1
C 44800 36600 0 0 0 title-bordered-subD.sym
T 65800 37500 9 10 1 0 0 0 1
DSO-1 - ADC
T 69800 37200 9 10 1 0 0 0 1
V0.1
T 69900 36900 9 10 1 0 0 0 1
(C) David Carr 2006
C 57200 40200 1 0 0 adc08d500.sym
{
T 61928 54740 5 10 1 1 0 0 1
refdes=U?
}
N 62900 54400 64800 54400 4
{
T 64200 54400 5 10 1 1 0 0 1
netname=DCLK+
}
N 62900 54200 64800 54200 4
{
T 64200 54200 5 10 1 1 0 0 1
netname=DCLK-
}
N 62900 54000 64800 54000 4
{
T 64200 54000 5 10 1 1 0 0 1
netname=OR+
}
N 62900 53800 64800 53800 4
{
T 64200 53800 5 10 1 1 0 0 1
netname=OR-
}
N 62900 53600 64800 53600 4
{
T 64200 53600 5 10 1 1 0 0 1
netname=DI0+
}
N 62900 53400 64800 53400 4
{
T 64200 53400 5 10 1 1 0 0 1
netname=DI0-
}
N 62900 53200 64800 53200 4
{
T 64200 53200 5 10 1 1 0 0 1
netname=DI1+
}
N 62900 53000 64800 53000 4
{
T 64200 53000 5 10 1 1 0 0 1
netname=DI1-
}
N 62900 52400 64800 52400 4
{
T 64200 52400 5 10 1 1 0 0 1
netname=DI3+
}
N 62900 52200 64800 52200 4
{
T 64200 52200 5 10 1 1 0 0 1
netname=DI3-
}
N 62900 52800 64800 52800 4
{
T 64200 52800 5 10 1 1 0 0 1
netname=DI2+
}
N 62900 52600 64800 52600 4
{
T 64200 52600 5 10 1 1 0 0 1
netname=DI2-
}
N 62900 50800 64800 50800 4
{
T 64200 50800 5 10 1 1 0 0 1
netname=DI7+
}
N 62900 50600 64800 50600 4
{
T 64200 50600 5 10 1 1 0 0 1
netname=DI7-
}
N 62900 51200 64800 51200 4
{
T 64200 51200 5 10 1 1 0 0 1
netname=DI6+
}
N 62900 51000 64800 51000 4
{
T 64200 51000 5 10 1 1 0 0 1
netname=DI6-
}
N 62900 52000 64800 52000 4
{
T 64200 52000 5 10 1 1 0 0 1
netname=DI4+
}
N 62900 51800 64800 51800 4
{
T 64200 51800 5 10 1 1 0 0 1
netname=DI4-
}
N 62900 51600 64800 51600 4
{
T 64200 51600 5 10 1 1 0 0 1
netname=DI5+
}
N 62900 51400 64800 51400 4
{
T 64200 51400 5 10 1 1 0 0 1
netname=DI5-
}
N 62900 50400 64800 50400 4
{
T 64200 50400 5 10 1 1 0 0 1
netname=DID0+
}
N 62900 50200 64800 50200 4
{
T 64200 50200 5 10 1 1 0 0 1
netname=DID0-
}
N 62900 50000 64800 50000 4
{
T 64200 50000 5 10 1 1 0 0 1
netname=DID1+
}
N 62900 44000 64800 44000 4
{
T 64200 44000 5 10 1 1 0 0 1
netname=DCLK+
}
N 62900 43800 64800 43800 4
{
T 64200 43800 5 10 1 1 0 0 1
netname=DCLK+
}
N 62900 43600 64800 43600 4
{
T 64200 43600 5 10 1 1 0 0 1
netname=DCLK+
}
N 62900 43400 64800 43400 4
{
T 64200 43400 5 10 1 1 0 0 1
netname=DCLK+
}
N 62900 42800 64800 42800 4
{
T 64200 42800 5 10 1 1 0 0 1
netname=DCLK+
}
N 62900 42600 64800 42600 4
{
T 64200 42600 5 10 1 1 0 0 1
netname=DCLK+
}
N 62900 43200 64800 43200 4
{
T 64200 43200 5 10 1 1 0 0 1
netname=DCLK+
}
N 62900 43000 64800 43000 4
{
T 64200 43000 5 10 1 1 0 0 1
netname=DCLK+
}
N 62900 41200 64800 41200 4
{
T 64200 41200 5 10 1 1 0 0 1
netname=DCLK+
}
N 62900 41000 64800 41000 4
{
T 64200 41000 5 10 1 1 0 0 1
netname=DCLK+
}
N 62900 41600 64800 41600 4
{
T 64200 41600 5 10 1 1 0 0 1
netname=DCLK+
}
N 62900 41400 64800 41400 4
{
T 64200 41400 5 10 1 1 0 0 1
netname=DCLK+
}
N 62900 42400 64800 42400 4
{
T 64200 42400 5 10 1 1 0 0 1
netname=DCLK+
}
N 62900 42200 64800 42200 4
{
T 64200 42200 5 10 1 1 0 0 1
netname=DCLK+
}
N 62900 42000 64800 42000 4
{
T 64200 42000 5 10 1 1 0 0 1
netname=DCLK+
}
N 62900 41800 64800 41800 4
{
T 64200 41800 5 10 1 1 0 0 1
netname=DCLK+
}
N 62900 49800 64800 49800 4
{
T 64200 49800 5 10 1 1 0 0 1
netname=DID1-
}
N 62900 49600 64800 49600 4
{
T 64200 49600 5 10 1 1 0 0 1
netname=DID2+
}
N 62900 49400 64800 49400 4
{
T 64200 49400 5 10 1 1 0 0 1
netname=DID2-
}
N 62900 49200 64800 49200 4
{
T 64200 49200 5 10 1 1 0 0 1
netname=DID3+
}
N 62900 49000 64800 49000 4
{
T 64200 49000 5 10 1 1 0 0 1
netname=DID3-
}
N 62900 48800 64800 48800 4
{
T 64200 48800 5 10 1 1 0 0 1
netname=DID4+
}
N 62900 48600 64800 48600 4
{
T 64200 48600 5 10 1 1 0 0 1
netname=DID4-
}
N 62900 48400 64800 48400 4
{
T 64200 48400 5 10 1 1 0 0 1
netname=DID5+
}
N 62900 48200 64800 48200 4
{
T 64200 48200 5 10 1 1 0 0 1
netname=DID5-
}
N 62900 48000 64800 48000 4
{
T 64200 48000 5 10 1 1 0 0 1
netname=DID6+
}
N 62900 47800 64800 47800 4
{
T 64200 47800 5 10 1 1 0 0 1
netname=DID6-
}
N 62900 47600 64800 47600 4
{
T 64200 47600 5 10 1 1 0 0 1
netname=DID7+
}
N 62900 47400 64800 47400 4
{
T 64200 47400 5 10 1 1 0 0 1
netname=DID7-
}
N 62900 47200 64800 47200 4
{
T 64200 47200 5 10 1 1 0 0 1
netname=DQ0+
}
N 62900 47000 64800 47000 4
{
T 64200 47000 5 10 1 1 0 0 1
netname=DQ0-
}
N 62900 46800 64800 46800 4
{
T 64200 46800 5 10 1 1 0 0 1
netname=DQ1+
}
N 62900 46600 64800 46600 4
{
T 64200 46600 5 10 1 1 0 0 1
netname=DQ1-
}
N 62900 46000 64800 46000 4
{
T 64200 46000 5 10 1 1 0 0 1
netname=DQ3+
}
N 62900 45800 64800 45800 4
{
T 64200 45800 5 10 1 1 0 0 1
netname=DQ3-
}
N 62900 46400 64800 46400 4
{
T 64200 46400 5 10 1 1 0 0 1
netname=DQ2+
}
N 62900 46200 64800 46200 4
{
T 64200 46200 5 10 1 1 0 0 1
netname=DQ2-
}
N 62900 44400 64800 44400 4
{
T 64200 44400 5 10 1 1 0 0 1
netname=DQ7+
}
N 62900 44200 64800 44200 4
{
T 64200 44200 5 10 1 1 0 0 1
netname=DQ7-
}
N 62900 44800 64800 44800 4
{
T 64200 44800 5 10 1 1 0 0 1
netname=DQ6+
}
N 62900 44600 64800 44600 4
{
T 64200 44600 5 10 1 1 0 0 1
netname=DQ6-
}
N 62900 45600 64800 45600 4
{
T 64200 45600 5 10 1 1 0 0 1
netname=DQ4+
}
N 62900 45400 64800 45400 4
{
T 64200 45400 5 10 1 1 0 0 1
netname=DQ4-
}
N 62900 45200 64800 45200 4
{
T 64200 45200 5 10 1 1 0 0 1
netname=DQ5+
}
N 62900 45000 64800 45000 4
{
T 64200 45000 5 10 1 1 0 0 1
netname=DQ5-
}