wotalota replied to the topic 'Crash when taking image' in the forum. 2 years ago

Computer: Intel NUC i5-11, 32GB, M.2 drive.
KStars 3.6.0 stable. INDI 1.9.7
KStars crashes along with the ZWO CCD when taking an image. The other drivers are left running.

Everything is running local on the same machine. Suspecting a corrupted system but purging and reinstalling has not resolved the issue.

Test is to just take 10 images without accessing any Ekos tab except the camera.
Stripped down peripherals to just mount, 2 cameras and images can be taken.
Added back in the following and it continued to work: DeepSkyDad AF3, ASI EFW, Rolloffino, Weather Safety Proxy, Watchdog, Astrometry.
Added DeepSkyDad FP1, and it went back to crashing.
Removed the FP1 and added back in Pegasus PPBA, and it worked
Added back in the FP1 and KStars crashed including the CCD driver.
tg 20962 1 0 12:17 tty2 00:00:00 /usr/bin/indiserver -v -p 7624 -m 1024 -r 0 -f /tmp/indififo0fd45962
tg 20963 20962 0 12:17 tty2 00:00:00 indi_lx200ap_v2
tg 20964 20962 0 12:17 tty2 00:00:02 indi_asi_ccd
tg 20965 20962 0 12:17 tty2 00:00:00 indi_asi_wheel
tg 20966 20962 0 12:17 tty2 00:00:00 indi_deepskydad_af3_focus
tg 20967 20962 0 12:17 tty2 00:00:00 indi_rolloffino
tg 20968 20962 0 12:17 tty2 00:00:00 indi_weather_safety_proxy
tg 20971 20962 0 12:17 tty2 00:00:00 indi_watchdog
tg 20972 20962 0 12:17 tty2 00:00:00 indi_pegasus_ppba
tg 20973 20962 0 12:17 tty2 00:00:00 indi_deepskydad_fp1
tg 20974 20962 0 12:17 tty2 00:00:00 indi_astrometry

Go back to mount & 2 cameras plus FP1. Can take images.
Added DeepSkyDad AF3, ASI EFW, Rolloffino. Crashed during Ekos start leaving just some of the drivers running.

tg@astro:~$ ps -ef|grep indi
tg 21837 1 0 12:39 tty2 00:00:00 /usr/bin/indiserver -v -p 7624 -m 1024 -r 0 -f /tmp/indififod02de891
tg 21838 21837 0 12:39 tty2 00:00:00 indi_lx200ap_v2
tg 21839 21837 3 12:39 tty2 00:00:01 indi_asi_ccd
tg 21840 21837 0 12:39 tty2 00:00:00 indi_asi_wheel
tg 21841 21837 0 12:39 tty2 00:00:00 indi_deepskydad_af3_focus
tg 21842 21837 0 12:39 tty2 00:00:00 indi_rolloffino
tg 21843 21837 0 12:39 tty2 00:00:00 indi_deepskydad_fp1
tg 21928 21094 0 12:40 pts/2 00:00:00 grep --color=auto indi

This starup issue is not new this time it took 5 tries before Ekos could finds its way through the startup.
After getting through startup, running the test KStars & CCD driver crash.

Go back to all drivers except FP1 run 100 images worked okay.
Add in FP1 run 10 image test original problem KStars & CCD driver crashed. Changed FP1 polling to 10 seconds no difference. Tried to run the test with the FP1 disconnected but the CCD tab just hung indicating preparing. FP1 was reconnected during the hang and KStars crashed.

Observations:
Although it is always KStars and the CCD driver that crashes it does not appear to be a problem with ASI libraries or the driver. During this testing FP1 was always involved but seems to need some help from its friends. It is odd that a unused dust cover would be a factor. Lacking a resolution I might put a Raspberry Pi in the obs to run the drivers to get them off the Ekos machine and see if it improves stability.

Read More...