Thanks Jasem, once again we are indebted to you for your indefatigable input!
That makes sense. I also seem to be able to open older files saved, that reported the error, after a reboot. It's only when trying to open a file just saved causes the system crash (segmentation fault).
Yes I noticed the file was being saved even though the error was being reported. However when I try to open the file, using KStars Open image, I get message: Error opening fits file. This then usually results in Kstars crashing out.
I have just updated to the latest KStars/Ekos/INDI software. For some reason I am unable to save a FITS file. The error I get is:
Image save error: No world coordinate system found
I only get this error when I choose to save the image from the KStars FITS Viewer. Auto saving from Ekos CCD dialog sequence is okay.
My KStars configuration for FITS has limited resources checked (i.e. no Auto WCS). I have also tried to disable WCS in INDI Control Panel for the camera.
I am using ASI cameras that support a 12-bit ADC. When I use the default Ekos/INDI settings I notice that the INDI Control Panel shows that the 8-bit Raw Format is selected. This then results in my captured images being saved as only 8-bit FITS files i.e. stats show a maximum value of 255. Reading the docs, I picked up that 8 and 16 bit FITS are supported and to recover the extra 4 bits I will need to use the 16-bit format. When I then view the FITS stats, am I correct in saying that the 12-bit values are scaled up to fit a 16 bit values i.e. 0-4096 -> 0-65535? Also, when I exit and re-run the software the Format always defaults back to 8-bits. Is there a way to force the setting to stay at 16-bit?