On Fri, Mar 7, 2008 at 7:13 PM, Kai-Martin Knaak <
kmk@xxxxxxxxxxxxxxx> wrote:
An attempt to do a gnetlist -g drc on my current project yields a stack
overflow error:
/-------------------------------------
kmk@kwak:~/geda/DL-strom$ gnetlist -g drc2 strom_0_master.sch -o drc_output.txt
gEDA/gnetlist version 1.5.0.20080127
gEDA/gnetlist comes with ABSOLUTELY NO WARRANTY; see COPYING for more details.
This is free software, and you are welcome to redistribute it under certain
conditions; please see the COPYING file for more details.
Remember to check that your schematic has no errors using the drc2 backend.
You can do it running 'gnetlist -g drc2 your_schematic.sch -o drc_output.txt'
and seeing the contents of the file drc_output.txt.
Loading schematic [/home/kmk/lilalaser/geda/DL-strom/strom_0_master.sch]
WARNING: Trying to rename something twice:
+Ub and +Ub
are both a src and dest name
This warning is okay if you have multiple levels of hierarchy!
WARNING: Trying to rename something twice:
-Ub and -Ub
are both a src and dest name
This warning is okay if you have multiple levels of hierarchy!
Backtrace:
In /usr/local/geda/share/gEDA/scheme/gnet-drc2.scm:
518: 883 (if (null? list) 0 (let ((comparison #)) (if comparison (+ 1 #) (+ 0 #))))
...
525: 884 [+ 0 ...
525: 885* [drc2:count-reference-in-list "H1" ("1C101" "1U105" "1U104" ...)]
518: 886 (if (null? list) 0 ...)
...
525: 887 [+ 0 ...
525: 888* [drc2:count-reference-in-list "H1" ("1U105" "1U104" "1R120" ...)]
518: 889 (if (null? list) 0 ...)
...
525: 890 [+ 0 ...
525: 891* [drc2:count-reference-in-list "H1" ("1U104" "1R120" "1R117" "1C108")]
518: 892 (if (null? list) 0 ...)
...
525: 893 [+ 0 ...
525: 894* [drc2:count-reference-in-list "H1" ("1R120" "1R117" "1C108")]
518: 895 (if (null? list) 0 ...)
...
525: 896 [+ 0 ...
525: 897* [drc2:count-reference-in-list "H1" ("1R117" "1C108")]
518: 898 (if (null? list) 0 ...)
520: 899 (let ((comparison #)) (if comparison (+ 1 #) (+ 0 #)))
520: 900* (if (defined? #) (string-ci=? refdes #) (string=? refdes #))
520: 901* [defined? ...
520: 902* (quote case_insensitive)
/usr/local/geda/share/gEDA/scheme/gnet-drc2.scm:520:58: In _expression_ (quote case_insensitive):
/usr/local/geda/share/gEDA/scheme/gnet-drc2.scm:520:58: Stack overflow
\--------------------------------
A run of gsch2pcb on the same schematic is successful. So I suspect
it is a bug in gnetlist rather than in my schematic. Anything I can
do to help diagnose this illness?
---<(kaimartin)>---
--
Kai-Martin Knaak
http://lilalaser.de/blog
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user