Obviously the “workaround” is to have all models defined correctly, but there is no good reason that the application should crash if a model is missing. Instead it should give a message like “the simulation cannot be run because symbol(s) XYZ do not have SPICE models defined”.
If it is a known issue, do you know if there is an issue about it in gitlab?
The ones that could be remotely related that I found in gitlab were:
#9756 - here a general isolation of the KiCad process from the ngspice process is suggested, to protect the former from crashing if the later one crashes. This has not been implemented yet and the issue is open.
Closed issues:
#7180 - here ngspice was fixed in version 34 to not crash on a heatsink symbol
#7901 - same issue as #7180 with heatsink etc. and fixed by upgrading to ngspice 34
#8224 - also fixed by updating to ngspice 34
#8336 - fixed by packaging ngspice 34 on MacOS
I’m on ngspice 39, so this seems to be a different issue than the closed ones.
I anticipate that #9756 would solve it at least partly, and have upvoted the issue. But it seems they don’t have a crash report attached to that since ngspice 34, and here I do have a crash…