ngspice/BUGS

41 lines
1.3 KiB
Plaintext
Raw Normal View History

This file contais a list of known but not yet fixed bugs in ngspice.
2004-09-04 11:58:39 +02:00
===========================================================================
2004-08-29 19:40:07 +02:00
Rework15fixed:
2004-09-04 11:58:39 +02:00
* define/let commands:
the following code causes a segmentation fault:
2004-08-29 19:40:07 +02:00
2004-09-04 11:58:39 +02:00
ngspice 1 -> define max(x,y) ( x gt y ) * x + ( x le y ) * y
ngspice 2 -> let z = max(2,3)
vec_free: Internal Error: not in plot
Segmentation fault (core dumped)
2004-08-29 19:40:07 +02:00
2004-09-04 11:58:39 +02:00
The problem seems caused by the attempt to free an already freed
memory area in free_pnode and free_vec functions.
2004-08-29 19:40:07 +02:00
2004-09-04 11:58:39 +02:00
---------------------------------------------------------------------------
2004-08-29 19:40:07 +02:00
2004-09-04 11:58:39 +02:00
* output redirection:
2004-08-29 19:40:07 +02:00
2004-09-04 11:58:39 +02:00
ngspice 1 -> print v(1) > data.txt
2004-08-29 19:40:07 +02:00
2004-09-04 11:58:39 +02:00
This syntax does not work anymore (it worked in rework-14). If you
want to use output redirection you have to remove spaces around ">":
ngspice 1 -> print v(1)>data.txt
---------------------------------------------------------------------------
* return value:
When ngspice is called in batch mode it returns 1 even if the simulations
are run. The problem arise when there is a .control section but no
.print, .plot or .fourier lines. Ngspice outputs:
Note: No ".plot", ".print", or ".fourier" lines; no simulations run
and exits returning 1.
Workaround: add -r <dummyfile> to the command line to avoid this.