Crash problem with missing models


To ng-spice-devel@ieee.ing.uniroma1.it
From Steven Borley <sjb@salix.demon.co.uk>
Date Mon, 4 Jun 2001 08:44:06 +0100
Delivered-To mailing list ng-spice-devel@ieee.ing.uniroma1.it
In-Reply-To <Pine.LNX.3.96.1010526154216.25325A-100000@ieee.ing.uniroma1.it >
Mailing-List contact ng-spice-devel-help@ieee.ing.uniroma1.it; run by ezmlm
References <Pine.LNX.3.96.1010526154216.25325A-100000@ieee.ing.uniroma1.it >
Reply-To ng-spice-devel@ieee.ing.uniroma1.it

Before I spend too much time investigating, could someone comfirm 
that the following  simple circuit with a missing model causes 
ng-spice-rework-14pre3 to crash.  For me this only happens when 
'notprovide' is unresolved. (This does not happen when I use 
spice3f5).

I think it is due to memory being freed when there is no memory allocation.

Bug example
vin   1  0  0 ac
rin   1  2  1k
xamp  2  0  notprovided

.control
* this fails gracefully
*dc vin 0 10 1

* this fails with internal error -- segmentation violation
ac dec 10 1k 9.9Meg

.endc
.end

Regards,
Steven



Partial thread listing: