kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #34757
Re: critical bug in Spice simulator - feedback from OSX devs needed
Hi Tom-
Relevant discussion here:
https://lists.launchpad.net/kicad-developers/msg25762.html
FWIW, I don't think there's a technical reason why.
-S
2018-03-06 9:44 GMT-08:00 Tomasz Wlostowski <tomasz.wlostowski@xxxxxxx>:
> Hi,
>
> I've been trying to fix [1] without success: ngspice will not load
> another circuit if the current one contains fatal errors. Under some
> circumstances, this segfaults KiCad.
>
> The only solution I see is to bring back dynamic
> (dlopen()/wxDynamicLibrary) loading of ngspice DLL every time the
> simulator is launched, since unloading and reloading again resets
> ngspice's internal state and releases all allocated resources. The early
> versions of the simulator had worked like this but later it was changed
> to traditional linking reportedly due to some issues on OSX with dynamic
> library loading. I can't find any trace of information about these
> DLL-related issues - so I'm calling our Mac devs here to reply if
> anybody remembers why this change was done.
>
> If no one gives a solid reason to stay with a hard-linked ngspice DLL,
> I'll revert the ngspice plugin to use wxDynamicLibrary.
>
> Tom
>
> [1] https://bugs.launchpad.net/kicad/+bug/1753092
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
>
References