# Crash when taking image

**URL:** <https://forum.indilib.org/t/crash-when-taking-image/10612>\
**Category:** Cameras\
**Created:** [September 8, 2022, 10:39pm UTC](https://forum.indilib.org/t/crash-when-taking-image/10612 "2022-09-08T22:39:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![wotalota](https://forum.indilib.org/letter_avatar_proxy/v4/letter/w/d26b3c/32.png) [@wotalota](https://forum.indilib.org/u/wotalota)\
**Post date:** [September 8, 2022, 10:39pm UTC](https://forum.indilib.org/t/crash-when-taking-image/10612/1 "2022-09-08T22:39:32Z")

</div>

NUC 86\_64 Ubuntu 22.04 KStars 3.6, INDI 1.9.7 with latest updates. Redcat and ASI294MM. The ASI290 guide camera also crashes. It is a new configuration had only got to the point of setting the focus, but think it was working.  
No local builds on this computer. I tried to use libASICamera2.so.1.22 but it appeared to be incompatible unless I got the way to do that wrong. Was trying different binning and other settings until realizing the ASI290mm was also failing. Ekos debugger log attached if it can give any clues what might be going on.

lrwxrwxrwx 1 root root 18 Aug 11 03:43 /usr/lib/x86\_64-linux-gnu/libASICamera2.so → libASICamera2.so.1  
lrwxrwxrwx 1 root root 21 Aug 11 03:43 /usr/lib/x86\_64-linux-gnu/libASICamera2.so.1 → libASICamera2.so.1.26  
-rw-r–r-- 1 root root 2721856 Aug 11 03:43 /usr/lib/x86\_64-linux-gnu/libASICamera2.so.1.26

[kstars\_debug\_log\_2022-09-08T18-00-57.txt](https://forum.indilib.org/uploads/short-url/2jI51txaPiFSBhlifhT1j1WwOqj.txt) (6.14 KB)

[log\_18-00-57.txt](https://forum.indilib.org/uploads/short-url/ybubaA2dx182GHbnxu8FkHlj1iS.txt) (106 KB)

---

<div class="post-metadata">

**Author:** ![wotalota](https://forum.indilib.org/letter_avatar_proxy/v4/letter/w/d26b3c/32.png) [@wotalota](https://forum.indilib.org/u/wotalota)\
**Post date:** [September 17, 2022, 6:21pm UTC](https://forum.indilib.org/t/crash-when-taking-image/10612/2 "2022-09-17T18:21:44Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![knro](https://forum.indilib.org/user_avatar/forum.indilib.org/knro/32/64_2.png) [@knro](https://forum.indilib.org/u/knro)\
**Post date:** [September 18, 2022, 10:20am UTC](https://forum.indilib.org/t/crash-when-taking-image/10612/3 "2022-09-18T10:20:23Z")

</div>

Is INDI also the latest on this system? not from GIT I presume?

---

<div class="post-metadata">

**Author:** ![wotalota](https://forum.indilib.org/letter_avatar_proxy/v4/letter/w/d26b3c/32.png) [@wotalota](https://forum.indilib.org/u/wotalota)\
**Post date:** [September 18, 2022, 1:54pm UTC](https://forum.indilib.org/t/crash-when-taking-image/10612/4 "2022-09-18T13:54:07Z")

</div>

Yes the latest install of 1.9.7 was yesterday, only ppa installs. The machine is relatively new, has been out there about a month with a fresh install of 22.04 so should be pretty clean.

---

<div class="post-metadata">

**Author:** ![knro](https://forum.indilib.org/user_avatar/forum.indilib.org/knro/32/64_2.png) [@knro](https://forum.indilib.org/u/knro)\
**Post date:** [September 18, 2022, 5:50pm UTC](https://forum.indilib.org/t/crash-when-taking-image/10612/5 "2022-09-18T17:50:42Z")

</div>

Can you run Ekos Debugger to debug it and post the output?

---

<div class="post-metadata">

**Author:** ![wotalota](https://forum.indilib.org/letter_avatar_proxy/v4/letter/w/d26b3c/32.png) [@wotalota](https://forum.indilib.org/u/wotalota)\
**Post date:** [September 19, 2022, 4:07pm UTC](https://forum.indilib.org/t/crash-when-taking-image/10612/6 "2022-09-19T16:07:40Z")

</div>

Run with all devices listed in the Ekos profile..  
The 11-37-17 logs: On startup it indicated indi drivers were already running, Selected the restart them option.  
Auto connect worked except for the FP1 flipflat. Pushed its INDI connect button and that is when it crashed.

The 11-53-28 logs: Manually killed the still running drivers and ran the test again.  
All devices connected. Went to the Ekos camera tab. Add a 3 second exposure and a count of 5, then run.  
Seemed to complete one image then crash. The drivers left running shown below include the fp1, a ccd driver is missing.

tg@astro:temp$ ps -ef|grep indi  
tg 40951 1 0 11:53 pts/0 00:00:00 /usr/bin/indiserver -v -p 7624 -m 1024 -r 0 -f /tmp/indififoa1974ea0  
tg 40952 40951 0 11:53 pts/0 00:00:00 indi\_lx200ap\_v2  
tg 40953 40951 0 11:53 pts/0 00:00:02 indi\_asi\_ccd  
tg 40954 40951 0 11:53 pts/0 00:00:00 indi\_asi\_wheel  
tg 40955 40951 0 11:53 pts/0 00:00:00 indi\_deepskydad\_af3\_focus  
tg 40956 40951 0 11:53 pts/0 00:00:00 indi\_rolloffino  
tg 40957 40951 0 11:53 pts/0 00:00:00 indi\_weather\_safety\_proxy  
tg 40958 40951 0 11:53 pts/0 00:00:00 indi\_watchdog  
tg 40961 40951 0 11:53 pts/0 00:00:00 indi\_pegasus\_ppba  
tg 40963 40951 0 11:53 pts/0 00:00:00 indi\_deepskydad\_fp1  
tg 40964 40951 0 11:53 pts/0 00:00:00 indi\_astrometry  
tg 41249 21094 0 12:00 pts/2 00:00:00 grep --color=auto indi  
tg@astro:temp$

[kstars\_logs\_2022-09-19T11-37-17.zip](https://forum.indilib.org/uploads/short-url/WYv42VZBIiCxOYvTVk9CzFQt0N.zip) (10.7 KB)

[kstars\_logs\_2022-09-19T11-53-28.zip](https://forum.indilib.org/uploads/short-url/twi72utwoAf186AMTTT2po4IDp6.zip) (11.4 KB)
