Today, one of my symbols accidently exposed a bug in the way the geda
tools parse symbol files. For some reason gschem, gsch2pcb and gnetlist
all choke on the symbol below. If I feed this symbol to one of the
applications I reliably get this kind of error:
** ERROR **: file o_text_basic.c: line 1121 (o_text_read): assertion
failed: (num_lines && num_lines > 0)
aborting...
Aborted
The offending property seems to be in the last two lines. If they are
removed, everything works like it should. If there is a syntax error, it
would be nice if the tools point to the offending location.
/-----begin-broken-symbol----
v 20080127 1
P 100 700 100 600 1 0 0
{
T 150 650 5 8 0 1 0 0 1
pinnumber=2
T 150 650 5 8 0 1 0 0 1
pinseq=2
T 150 650 5 8 0 1 0 0 1
pinlabel=2
T 150 850 5 8 0 1 0 0 1
pintype=pas
}
P 100 100 100 200 1 0 0
{
T 150 50 5 8 0 1 0 0 1
pinnumber=1
T 150 50 5 8 0 1 0 0 1
pinseq=1
T 150 50 5 8 0 1 0 0 1
pinlabel=1
T 250 50 5 8 0 1 0 0 1
pintype=pas
}
V 100 500 50 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
V 100 300 50 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
B 0 200 200 400 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
T 300 600 8 10 1 1 0 0 1
refdes=J?
T 300 200 8 8 1 1 0 0 1
footprint=JMP_2PIN
L 125 200 200 275 3 0 0 0 -1 -1
T 100 2100 5 8 0 0 0 0 1
description=jumper
T 100 1700 5 8 0 0 0 0 1
author=K-M. Knaak [EMAIL PROTECTED]
T 100 1500 5 8 0 0 0 0 1
dist-license=GPL3, http://www.gnu.org/licenses/gpl-3.0.txt
T 100 1300 5 8 0 0 0 0 1
use-license=free, no restriction
T 100 1100 5 8 0 0 0 0 1
numslots=0
T 100 1900 5 8 0 0 0 0 1
comment=use jumper_default.sym to mark a closed jumper
T 100 1100 5 8 0 0 0 0
value=JMP
\-------end-broken-symbol------------
--<(kaimartin)>---
--
Kai-Martin Knaak tel: +49-511-762-2895
Universität Hannover, Inst. für Quantenoptik fax: +49-511-762-2211
Welfengarten 1, 30167 Hannover http://www.iqo.uni-hannover.de
GPG key: http://pgp.mit.edu:11371/pks/lookup?search=Knaak+kmk&op=get
_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev