[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gEDA: gnetlist ERROR: Stack overflow



Adding the following lines to your ~/.gEDA/.gnetlistrc file should fix that
problem:

(component-library ".")
(source-library ".")

Thanks!

                  Dave

> 
> > > 
> > > Is it possible that you have (for lack of a better term) a recursive
> > > schematic?  As in sheet A calling B calling A?
> > 
> > I can't find any such "recursion".  I've attached a schematic that has 11
> > pages, all identical except for their uref #s.  I get a stack overflow when
> > I try to generate a netlist for delme.sch, but if I remove one of the 11 pages,
> > gnetlist finishes without an error.
> > 
> > I suspect that the stack limit that I'm setting with the tcsh command 
> > limit stacksize 96000
> > does not applying to the guile code or something like that.  I've verified
> > that the limit command does allow me to increase the stack size of a simple
> > c program.
> > 
> > Attached is a 20k tar/gzipped directory with the schematic that crashes 
> > gnetlist when I run it.
> > 
> > tar -xvzf q2.tgz
> > cd q2
> > gnetlist -g pads -o delme.asc delme.sch
> > gEDA/gnetlist version 20010722
> > 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.
> > 
> > Loading schematic [delme.sch]
> > ERROR: Stack overflow
> > 
> > Thanks in advance for any ideas.
> > 
> >                                         Dave
> > 
> > 
> 
> Dave I tried it and get this, unf I cant use gschem at the moment due to
> a Guile problem :-
> 
> tp@gronk:~$ mc -c
> tp@gronk:~/dave_lawrence/q2$ gnetlist -g pads -o delme.asc delme.sch
> gEDA/gnetlist version 20010708
> 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.
> 
> Loading schematic [delme.sch]
> Could not open [l1proc2.sch]
> Could not open [l1proc3.sch]
> Could not open [l1proc4.sch]
> Could not open [l1proc5.sch]
> Could not open [l1proc6.sch]
> Could not open [l1proc7.sch]
> Could not open [l1proc8.sch]
> Could not open [l1proc9.sch]
> Could not open [l1proc10.sch]
> Could not open [l1proc11.sch]
> Could not open [l1proc12.sch]
> 
> From: t_porter@dingoblue.net.au
> 	     
> --------
> 
>