Hello maybe this is the wrong place for submitting a patch for a bug?
Hello, while trying to simulate a mixed analog-digital (xspice) system, I faced with a ngspice hang. I investigated it, and I found the bug, and so I fixed it. The bug was in EVTcreate function, where there is a chance to reuse a Evt_State_t instance from a free list instead of allocating a new one. Unfortunately, the "next" member of such reused instance was left untouched instead of setting it to a known state (it must be set to NULL in this particular case, since it is the same behavior as the...
Yes Marcel thank you I tried that. --Vito. Il giorno mer 11 dic 2019 alle ore 20:49 marcel hendrix mhx_at_sf@users.sourceforge.net ha scritto: On 2019-12-11 19:48, Vito wrote: [support-requests:#47] https://sourceforge.net/p/ngspice/support-requests/47/ XSpice memory usage (TRAN TSTART effect)* Status: open Group: v1.0 (example) Created: Wed Dec 11, 2019 06:48 PM UTC by Vito Last Updated: Wed Dec 11, 2019 06:48 PM UTC Owner: nobody Hello I am trying to simulate a very large project for a very long...
Thank you very much Holger, I must admit that I managed to compile ngspice in debug mode and I tried to investigate if this could be done with a simple contribution, but I stopped when I found the comment "data is stored for later use by code models" in evtload.c. So I suppose some code models could need some event history for computation, despite the fact that such data is not requested by the user's tran statement. Is this right? --Vito. Il giorno mer 11 dic 2019 alle ore 20:51 Holger Vogt h_vogt@users.sourceforge.net...
XSpice memory usage (TRAN TSTART effect)