[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-user: bom2 fails with stack overflow
Backend bom2 fails on my fairly complex hierarchical design with errors.
The backend bom works ok on the same set of schematics. The partslist
backends fail to add the subsheet prefix to the refdeses.
I put a tarball the offending set of schematics temporarily on my
webspace: http://lilalaser.de/tmp/lasertreiber.tgz
Is there anything wrong with this hierarchical design?
Output on the command line is:
$ gnetlist -g bom2 -o lasertreiber.bom lasertreiber_0_master.sch
gEDA/gnetlist version 1.5.0.20080706
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/Projekte/Lasertreiber/lasertreiber_0_master.sch]
Backtrace:
In /usr/local/geda/share/gEDA/scheme/gnet-bom2.scm:
105: 702* [bom2:components # #]
102: 703 (if (null? ls) (quote ()) ...)
104: 704 (let ((package #) (bomlist #) (attribs #)) (if (not #) bomlist ...))
105: 705* [bom2:components # #]
102: 706 (if (null? ls) (quote ()) ...)
104: 707 (let ((package #) (bomlist #) (attribs #)) (if (not #) bomlist ...))
105: 708* [bom2:components # #]
102: 709 (if (null? ls) (quote ()) ...)
104: 710 (let ((package #) (bomlist #) (attribs #)) (if (not #) bomlist ...))
105: 711* [bom2:components ("2C16" "2C15") ("value" "footprint" "description")]
102: 712 (if (null? ls) (quote ()) ...)
104: 713 (let ((package #) (bomlist #) (attribs #)) (if (not #) bomlist ...))
105: 714* [bom2:components ("2C15") ("value" "footprint" "description")]
102: 715 (if (null? ls) (quote ()) ...)
104: 716 (let ((package #) (bomlist #) (attribs #)) (if (not #) bomlist ...))
106: 717* [bom2:find-attribs "2C15" ("value" "footprint" "description")]
113: 718 (if (null? attriblist) (quote ()) ...)
115: 719 [cons ...
115: 720* [gnetlist:get-package-attribute "2C15" ...
115: 721* (car attriblist)
/usr/local/geda/share/gEDA/scheme/gnet-bom2.scm:115:55: In expression (car attriblist):
/usr/local/geda/share/gEDA/scheme/gnet-bom2.scm:115:55: Stack overflow
--
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-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user