Just got my third kill and was heading back to the planet and got a crash (((
Uhhh...I've never seen anything like this! I was not even aware that there are assertions in - it's strange as for c++ (which this isn't!) assertions are only in debug builds.
Can you post the log (if you did start again, the one from the previous run is renamed, so you have always the current and previous logs) and does stderr reveal anything? For the devs it will also be important to know which version of Oolite you are running (that info is in the log, if you don't have it anymore, at least that info could help), as that file does change, thus someone would have to look at the exact revision that was used to compile your program in order to know which line is meant.
I think that happened somewhere around updateTargeting - did you just attempt to target something?
aww sorry already loaded and saved etc a few times since then
If it happens again I will save the entire Dir as not sure which files are important
Hmmm. Since you said that you just have made a kill prior to the crash (the laser heat looks like it's more than a few seconds since the kill), I do wonder if this is related to something which recently came up.
Would be interesting to know the following:
1) which oxp's do you use (listed in the beginning of the log)
2) which equipment you have in your ship
3) is Data Execution Prevention switched on for all applications on your computer?
#if WORMHOLE_SCANNER
// If our primary target is a wormhole, check to see if we have additional
// information
if ([[self primaryTarget] isWormhole])
{
WormholeEntity *wh = [self primaryTarget];
switch ([wh scanInfo])
{
case [code]WH_SCANINFO_NONE
Looking at the various code paths; that should not be possible to happen hence the assert.
The only way that assert could be triggered is if a wormhole is added to the player's targeted entities list without invoking [PlayerEntity addTarget:] as that invokes [PlayerEntity addScannedWormhole:], which in turn sets the WH_SCAN_INFO for that wormhole. No exceptions.
In fact, holding that thought, I just checked the Scripting interface, but that is restricted to only assigning ship entities as targets - wormholes are not ships. And even then, it eventually calls addTarget: as well.. so I'm stumped.
David, could you please give as much information as possible about what occurred immediately before the crash? Which Equipment do you have? Do you have any OXPs installed? Anything interesting in the log file (if you still have that log)?