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

Re: gEDA-bug: gsch2pcb generates syntax errors



Update:
I modified gsch2pcb to keep the gnet-gsch2pcb-tmp.scm file, and ran the gnetlist command directly

gnetlist -g gsch2pcb -o board.pcb -m gnet-gsch2pcb-tmp.scm scope.sch

Problem still there, so now I'm looking into gnetlist.

Matthew

Matthew Lai wrote:
Attached is the minimum schematic that generates the syntax error.

Just a bunch of identical capacitors (except refdes) and 2 chips.

Removing ANY one of those components make the error go away, so it's most likely memory corruption issue.

The .sch file looks right to me, so I'm leaning towards gsch2pcb. However, valgrind doesn't report any memory access problems, and the code is a pain to read (unusual indentation style...). I'll keep looking.

Attached are the sch and corresponding pcb. I don't see any error in the .sch, but the pcb file is clearly corrupted near the very end.

Matthew

Matthew Lai wrote:
I didn't get to load the netlist, so I'm assuming it's unrelated to gnetlist output?

My design uses mostly m4 footprints, so I'm trying to avoid having to replace them all if possible.

Thanks

kai-martin knaak wrote:
Matthew Lai wrote:

None of my footprint files have "-" (dash) in their file name.

It has been suggested, that space " " in footprint names may confuse gnetlist, too. Did you try the option "--skip-m4" to not use the m4 library at all?

--<)kaimartin(>---



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

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



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



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