×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Kstars crashing

  • Posts: 36
  • Thank you received: 16

Replied by Tunafish on topic Kstars crashing

I know you said you had the latest version of Kstars/EKOS/INDI but there was an issue with KStars 3.5.2 where the Fitsviewer would run out of memory and crash KStars after a while. I have the latest Astroberry which is still at 3.5.2 and I know that if I leave FITS viewing on while doing acquisition then KStars will randomly crash at some point in the night. I have seen this directly on occasion where a debayering  error pops up and then KStars crashes. INDI keeps running in the background.

This was supposedly fixed in 3.5.3 ( Fitsviewer crashes when imaging with Altair Hypercam 183c - Kstars 3.5.2 ) so if you do have 3.5.3. then this should not be the issue. If you're on 3.5.2 then turn off the FITS viewer during acquisition and give it a try.
The following user(s) said Thank You: Rishi Garrod
Last edit: 2 years 10 months ago by Tunafish. Reason: Typo
2 years 10 months ago #71883

Please Log in or Create an account to join the conversation.

  • Posts: 245
  • Thank you received: 56

Replied by Rishi Garrod on topic Kstars crashing

I am running 3.5.3 but just to be sure last night I turned off the fits viewer and the whole session ran flawlessly.
2 years 10 months ago #72063

Please Log in or Create an account to join the conversation.

  • Posts: 1185
  • Thank you received: 370
I had the same problem on RPi 4 with Raspbian 10 as 32bit edition. It failed after a while due to problems with memory allocation. Its not a memory leak but it has do do that EKOS holds several images and pixmaps in its memory. Its not only the Fitsviewer, focusing and aligning have their own images that consume memory. In this combination - and depending upon the CCD frame sizes - it reaches memory allocation limits and crashes.

Resolutions:
  1. Turn off the fitsviewer. The latest captured frame is also visible in the Manager, so no urgent need for using the fitsviewer.
  2. Use a 64bit version of your OS. I changed to the 64bit beta version of Raspbian and have no problems since
HTH
Wolfgang
The following user(s) said Thank You: Bart, CYo
2 years 10 months ago #72068

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 2

Replied by CYo on topic Kstars crashing

Same issue here, crashed 2 times in one night, both after one hour or so.
2 years 10 months ago #72135

Please Log in or Create an account to join the conversation.

  • Posts: 245
  • Thank you received: 56

Replied by Rishi Garrod on topic Kstars crashing

I am now switching off the fits viewer when I don't need it. It's is a bit of a pain because I like to be able to see a stretched version of the last sub. Since I have been doing this there have been no more crashes. I do notice that when I stop EKOS in the morning after a session the Kstars always quits (crashes?) too. If I stop EKOS before my session Kstars continues to run. Not really a usability issue but might point to the same problem.

Wolfgang mentioned "The latest captured frame is also visible in the Manager". I don't see the last captured frame anywhere except in the fits viewer. How to I make it visable and what is meant by "the Manager"?

 
2 years 10 months ago #72162

Please Log in or Create an account to join the conversation.

  • Posts: 1185
  • Thank you received: 370
The Manager is the tab where you are starting EKOS from:



You need to select "Summary Screen Preview" in Options -> EKOS -> Capture:

 
The following user(s) said Thank You: Rishi Garrod
Last edit: 2 years 10 months ago by Wolfgang Reissenberger.
2 years 10 months ago #72172
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 245
  • Thank you received: 56

Replied by Rishi Garrod on topic Kstars crashing

Thanks you so much! I never understood why I couldn't see my image on the Manager Screen. Now it all makes sense and once the session is started I can just display the Manager screen.

 
Last edit: 2 years 10 months ago by Rishi Garrod.
2 years 10 months ago #72174
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 245
  • Thank you received: 56

Replied by Rishi Garrod on topic Kstars crashing

Crashed again last night with the fits viewer off. Same as before I find the scope pointing straight up. When I restart Kstars I get the message that a version of Ekos is still running. I am still running 32bit Rasbian so I guess I will try moving to the 64 bit version.

You have to love Linux where changing to a 64 bit kernel requires adding one line to a text file followed by a reboot.
Last edit: 2 years 10 months ago by Rishi Garrod.
2 years 10 months ago #72184

Please Log in or Create an account to join the conversation.

  • Posts: 36
  • Thank you received: 16

Replied by Tunafish on topic Kstars crashing

I found that KStars continued to crash for me if the summary screen preview was enabled. i believe it still needs to do same image processing as the FITS viewer to display in the manager window so continues to eat memory over the night.

Looking forward to hearing how enabling the 64bit kernel works since KStars will continue be a 32bit application unless rebuilt as a 64bit one.
2 years 10 months ago #72199

Please Log in or Create an account to join the conversation.

  • Posts: 1185
  • Thank you received: 370
I personally build the entire INDI / KStars stack on a 64bit Debian 10. With basic Linux knowledge it's not that complicated. It's more or less copy-pasting the instructions available where the code resides.
The following user(s) said Thank You: Hank
2 years 10 months ago #72213

Please Log in or Create an account to join the conversation.

  • Posts: 245
  • Thank you received: 56

Replied by Rishi Garrod on topic Kstars crashing

Last night everything was OK. When I closed down EKOS this morning Kstars did not crash which is a first for me.
Need a few more nights to be sure but maybe using the 64 bit kernel has helped.

Another full night and no problems. Kstars/EKOS working fine in the morning.
Last edit: 2 years 10 months ago by Rishi Garrod. Reason: Update, 2nd night without a problem
2 years 10 months ago #72221

Please Log in or Create an account to join the conversation.

  • Posts: 26
  • Thank you received: 2

Replied by Dmitrii on topic Kstars crashing

Have the same issue: kstars crashes after several subs but indi keeps work. Kstars 3.5.5. on last atroberry rpi4 8gb. CCD QHY600L. There where no chashes with ToupTek IMX571 (same as ZWO ASI2600MC). Power supply is ok as I have 5V10A for rpi4 and dew heaters (2 by 2A each).  I had to disable FITsViewer and Image Preview and it starts work without crashes. There where no other idea to resolve another way.
2 years 3 months ago #79396

Please Log in or Create an account to join the conversation.

Time to create page: 1.164 seconds