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

Re: gEDA-user: bom2 fails with stack overflow



Hi Kai-Martin,
I bet there is nothing wrong with your schematics. See:
http://www.geda.seul.org/wiki/geda:faq-gnetlist#some_gnetlist_backends_overflow_the_stack._how_do_i_solve_this

Regards,

Carlos

El mar, 21-10-2008 a las 15:47 +0000, Kai-Martin Knaak escribió:
> 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
> 
> 
> 



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