×

INDI Library v1.9.8 Released (29 Sep 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

Kstars crashing

  • Posts: 1014
  • Thank you received: 302
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
TSA-120 + FSQ-85 + ONTC 10"F4 Newton (+ epsilon-160 on Japan trip) | Avalon Linear + M-zero | ASI 1600mm pro + 6200mm pro | KStars/INDI on Raspberry Pi 4/Intel NUC
The following user(s) said Thank You: Bart, Siyu
1 year 5 months ago #72068

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

  • Posts: 13
  • Thank you received: 2

Replied by Siyu on topic Kstars crashing

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

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

  • Posts: 232
  • 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"?

 
WO ZS 61
Esprit 100
Skyliner 200p
Edgehd 8 with Celestron OAG
Stellarmate on RPi 4
iOptron GEM45
294 mc pro
224 planetary cam
174 guide cam
Powerbox Ultimate
Sesto Senso focusser
Arduino focusser
QHY5II-Mono guide camera
EOS6D - not modified

1 year 5 months ago #72162

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

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



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

 
TSA-120 + FSQ-85 + ONTC 10"F4 Newton (+ epsilon-160 on Japan trip) | Avalon Linear + M-zero | ASI 1600mm pro + 6200mm pro | KStars/INDI on Raspberry Pi 4/Intel NUC
The following user(s) said Thank You: Rishi Garrod
Last edit: 1 year 5 months ago by Wolfgang Reissenberger.
1 year 5 months ago #72172
Attachments:

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

  • Posts: 232
  • 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.

 
WO ZS 61
Esprit 100
Skyliner 200p
Edgehd 8 with Celestron OAG
Stellarmate on RPi 4
iOptron GEM45
294 mc pro
224 planetary cam
174 guide cam
Powerbox Ultimate
Sesto Senso focusser
Arduino focusser
QHY5II-Mono guide camera
EOS6D - not modified

Last edit: 1 year 5 months ago by Rishi Garrod.
1 year 5 months ago #72174
Attachments:

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

  • Posts: 232
  • 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.
WO ZS 61
Esprit 100
Skyliner 200p
Edgehd 8 with Celestron OAG
Stellarmate on RPi 4
iOptron GEM45
294 mc pro
224 planetary cam
174 guide cam
Powerbox Ultimate
Sesto Senso focusser
Arduino focusser
QHY5II-Mono guide camera
EOS6D - not modified

Last edit: 1 year 5 months ago by Rishi Garrod.
1 year 5 months ago #72184

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

  • Posts: 28
  • Thank you received: 13

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.
ES ED102 on Losmandy G11G
ASI071MC Pro, QHY5-III 178C
myFP2ESP focuser
Ubuntu 20.04 LTS on MeLE Quieter2Q
1 year 5 months ago #72199

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

  • Posts: 1014
  • Thank you received: 302
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.
TSA-120 + FSQ-85 + ONTC 10"F4 Newton (+ epsilon-160 on Japan trip) | Avalon Linear + M-zero | ASI 1600mm pro + 6200mm pro | KStars/INDI on Raspberry Pi 4/Intel NUC
The following user(s) said Thank You: Hank
1 year 5 months ago #72213

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

  • Posts: 232
  • 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.
WO ZS 61
Esprit 100
Skyliner 200p
Edgehd 8 with Celestron OAG
Stellarmate on RPi 4
iOptron GEM45
294 mc pro
224 planetary cam
174 guide cam
Powerbox Ultimate
Sesto Senso focusser
Arduino focusser
QHY5II-Mono guide camera
EOS6D - not modified

Last edit: 1 year 5 months ago by Rishi Garrod. Reason: Update, 2nd night without a problem
1 year 5 months ago #72221

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

  • Posts: 24
  • 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.
10 months 2 weeks ago #79396

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

  • Posts: 232
  • Thank you received: 56

Replied by Rishi Garrod on topic Kstars crashing

I was having the same issue but with a QHY268C. I used to have this issue with the 294MC Pro but it was sporadic, now its after one or two frames. I first disabled debayering and that helped but that also meant that the image coming into the Stellarmate App was also not debayered. I have now enabled debayering again but disabled the fits viewer. Now I see my debayered image on the App and Kstars does not crash.
WO ZS 61
Esprit 100
Skyliner 200p
Edgehd 8 with Celestron OAG
Stellarmate on RPi 4
iOptron GEM45
294 mc pro
224 planetary cam
174 guide cam
Powerbox Ultimate
Sesto Senso focusser
Arduino focusser
QHY5II-Mono guide camera
EOS6D - not modified

Last edit: 10 months 2 weeks ago by Rishi Garrod.
10 months 2 weeks ago #79398

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

  • Posts: 1014
  • Thank you received: 302
Rishi, Dmitrii, do you use 32bit versions of the OS? If yes, this is the explanation since big camera frames use too much RAM and 32bit has an upper limit of around 3GB, which is too little if all images are kept in memory.
TSA-120 + FSQ-85 + ONTC 10"F4 Newton (+ epsilon-160 on Japan trip) | Avalon Linear + M-zero | ASI 1600mm pro + 6200mm pro | KStars/INDI on Raspberry Pi 4/Intel NUC
10 months 2 weeks ago #79399

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

Time to create page: 0.927 seconds