×

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

Bi-monthly release with minor bug fixes and improvements

Kstars crashing

  • 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.

  • Posts: 245
  • 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.
Last edit: 2 years 3 months ago by Rishi Garrod.
2 years 3 months ago #79398

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

  • Posts: 1185
  • Thank you received: 370
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.
2 years 3 months ago #79399

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 using the 64 bit kernel (arm_64bit=1 in config.txt) but not a full blown 64 bit distro.

As someone else mentioned on the recent crashes I did see it was crashing during debayering.
2 years 3 months ago #79400

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

  • Posts: 1185
  • Thank you received: 370
Do you have a core dump?
2 years 3 months ago #79402

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

Does it automatically dump the core when Kstars crashes or would I need to set it up first.

My Pi only has 4GB so I guess having the 64bit kernel doesn't really help?
2 years 3 months ago #79403

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

  • Posts: 1185
  • Thank you received: 370
Typically, the core dump limit is 0, i.e. cores cannot be dumped. To enable it, call
ulimit -c unlimited

A 4GB Pi should be sufficient. The problem is that for large cameras you need 2.5-3GB of memory, but not more. A single frame from a large CCD uses ~100MB as FITS plus ~200MB as pixmap. If you have both FITSViewer and the viewer on the summary page, you already need 600MB. Plus focusing, aligning, debayering, ..., I measured the values mentioned before. But there is no (major) memory leak that causes the crashes.
2 years 3 months ago #79405

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

Time to create page: 0.961 seconds