Re: [ng-spice-bugs] ngspice in Redhat 6.1 crashing on all .OPTIONS or SET (fwd)
Another bug of ngspice:
---------- Forwarded message ----------
Date: Thu, 11 Jan 2001 22:45:37 -0500
From: "Mark C. Johnson" <mcjohnso@gte.net>
To: Paolo Nenzi <pnenzi@ieee.ing.uniroma1.it>
Subject: Re: [ng-spice-bugs] ngspice in Redhat 6.1 crashing on all .OPTIONS
or SET
Hi Paolo,
Something else interesting. I find that eliminating the segfault in
variable.c doesn't fix very much. Even though ngspice doesn't crash anymore,
it also seems to pay no attention at all to any of the simulator variables
that I try to set. I have tried setting ridiculously large and ridiculously
small values for ABSTOL, RELTOL, CHGTOL, and VNTOL, but when I use Rusage to
report things like the number of transient timesteps and transient
iterations, there is absolutely no change. I also tried setting some of the
iteration limits to values that should cause the simulation to fail, but
again no effect.
Regards,
Mark
Paolo Nenzi wrote:
> On Tue, 9 Jan 2001, Mark C. Johnson wrote:
>
> > I would like to report a problem I'm running into with ngspice. Any and
> > every .OPTION command I put in a netlist or SET command issue in
> > ngspice (even without a circuit read it) causes ngspice to report a
> > segmentation fault. I compiled it and am running it under Red Hat 6.1.
> > The compilation and installation process seemed to run without any error
> > messages and no unusual warnings. Have you heard of this problem or any
> > solutions?
>
> Yes, some users have experienced similar segfaults, they seems related to
> erroneous memory allocation/deallocation. Can you send a test netlist ?
>
> Thanks,
> Paolo
Partial thread listing: