×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Kstars/Ekos freezing on large image sequences (Astroberry)

  • Posts: 61
  • Thank you received: 8
I experience Kstars/Ekos freezing on large image sequences. I am using the latest INDI Kstars/Ekos available on Astroberry as of today (2021-11-12).
My camera is a ZWO ASI294mc pro. For testing puposes I defined an imaging sequence of 500 frames (1s exposure). At frame 480 the sequence number does not get increased anymore and the frame "test_Light_480.fits" gets overwritten until the 500 frames are finished (can be seen by the timestamp of the file). When this starts, the following messages start appearing:
Found one coordinate representation.
Found one coordinate representation.
Found one coordinate representation.
 
(kstars:3450): GStreamer-CRITICAL **: 11:14:17.334: gst_poll_get_read_gpollfd: assertion 'set != NULL' failed
 
(kstars:3450): GStreamer-CRITICAL **: 11:14:17.334: gst_poll_get_read_gpollfd: assertion 'set != NULL' failed
Found one coordinate representation.
 
(kstars:3450): GStreamer-CRITICAL **: 11:14:25.592: gst_poll_get_read_gpollfd: assertion 'set != NULL' failed
 
(kstars:3450): GStreamer-CRITICAL **: 11:14:25.595: gst_poll_get_read_gpollfd: assertion 'set != NULL' failed
 
(kstars:3450): GStreamer-CRITICAL **: 11:14:25.596: gst_poll_get_read_gpollfd: assertion 'set != NULL' failed
Found one coordinate representation.

The "Found one ..." appears with every frame, but now GStreamer starts complaining. How does gstreamer fit into this? I thought the INDI driver would be talking to the ZWO library and the INDI protocol to Ekos.

Finally, when I close the FITS Viewer after the sequence has finished and I trigger another image capture, the same GStreamer messages will appear, the FITS Viewer window will pop up, but freeze and stay white. The whole Kstars/Ekos needs to be killed now.

This does not happen when using a camera with a smaller sensor (ASI 224mc, 1Mpix instead of 11). And I can also not reproduce this on my Laptop (Ubuntu 20.04 LTS, x64). It looks a bit like a memory issue, but Kstars uses 15% according to top (on a Pi4 with 4GB) and the filesystem also had plenty of space left.

I managed to compile Kstars from GIT yesterday (3.5.6 stable) and it shows exactly the same behavior.

Any suggestions on what to test to narrow down the issue?

Regards + CS
Guido
2 years 4 months ago #77518

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

  • Posts: 61
  • Thank you received: 8
OK, I found the following in the log files. Kstars/Ekos seems to run out of file handles:
[2021-11-13T17:06:21.665 CET INFO ][   org.kde.kstars.ekos.capture] - "Capturing 1.000-second  image..."
[2021-11-13T17:06:21.798 CET DEBG ][           org.kde.kstars.indi] - ZWO CCD ASI294MC Pro : "[DEBUG] StartExposure->setexp : 1.000s "
[2021-11-13T17:06:25.223 CET DEBG ][           org.kde.kstars.indi] - ZWO CCD ASI294MC Pro : "[DEBUG] Uploading file. Ext: fits, Size: 23397120, sendImage? Yes, saveImage? No "
[2021-11-13T17:06:25.648 CET DEBG ][           org.kde.kstars.indi] - ZWO CCD ASI294MC Pro : "[DEBUG] BLOB transfer took 0.310453 seconds "
[2021-11-13T17:06:25.649 CET DEBG ][           org.kde.kstars.indi] - ZWO CCD ASI294MC Pro : "[DEBUG] Upload complete "
[2021-11-13T17:06:25.915 CET DEBG ][           org.kde.kstars.indi] - Image received. Mode: "Normal" Size: 23397120
[2021-11-13T17:06:26.060 CET INFO ][           org.kde.kstars.indi] - "FITS" file saved to "/home/astroberry/Ekos/Light/test_Light_473.fits"
[2021-11-13T17:06:26.060 CET DEBG ][           org.kde.kstars.fits] - Reading file buffer ( "22.3 MiB" )
[2021-11-13T17:06:28.304 CET INFO ][   org.kde.kstars.ekos.capture] - "Download Time: 2.65 s, New Download Time Estimate: 2.65 s."
[2021-11-13T17:06:28.319 CET INFO ][   org.kde.kstars.ekos.capture] - "Received image 473 out of 500."
[2021-11-13T17:06:28.334 CET INFO ][   org.kde.kstars.ekos.capture] - "Captured /home/astroberry/Ekos/Light/test_Light_473.fits"
[2021-11-13T17:06:29.908 CET DEBG ][           org.kde.kstars.fits] - FITHistogram: JMIndex  1
[2021-11-13T17:06:30.183 CET DEBG ][                       default] - WARNING: Phonon::createPath: Cannot connect  Phonon::MediaObject ( no objectName ) to  Phonon::AudioOutput ( no objectName ).
[2021-11-13T17:06:33.738 CET DEBG ][           org.kde.kstars.indi] - ZWO CCD ASI294MC Pro : "[DEBUG] Uploading file. Ext: fits, Size: 23397120, sendImage? Yes, saveImage? No "
[2021-11-13T17:06:34.166 CET DEBG ][           org.kde.kstars.indi] - ZWO CCD ASI294MC Pro : "[DEBUG] BLOB transfer took 0.313525 seconds "
[2021-11-13T17:06:34.167 CET DEBG ][           org.kde.kstars.indi] - ZWO CCD ASI294MC Pro : "[DEBUG] Upload complete "
[2021-11-13T17:06:34.415 CET DEBG ][           org.kde.kstars.indi] - Image received. Mode: "Normal" Size: 23397120
[2021-11-13T17:06:34.549 CET INFO ][           org.kde.kstars.indi] - "FITS" file saved to "/home/astroberry/Ekos/Light/test_Light_473.fits"
[2021-11-13T17:06:34.551 CET DEBG ][           org.kde.kstars.fits] - Reading file buffer ( "22.3 MiB" )
[2021-11-13T17:06:36.773 CET INFO ][   org.kde.kstars.ekos.capture] - "Download Time: 2.60 s, New Download Time Estimate: 2.65 s."
[2021-11-13T17:06:36.787 CET INFO ][   org.kde.kstars.ekos.capture] - "Received image 474 out of 500."
[2021-11-13T17:06:36.801 CET INFO ][   org.kde.kstars.ekos.capture] - "Captured /home/astroberry/Ekos/Light/test_Light_473.fits"
[2021-11-13T17:06:36.840 CET WARN ][                       default] - QProcessPrivate::createPipe: Cannot create pipe 0x977e3bc: Too many open files
[2021-11-13T17:06:38.420 CET DEBG ][           org.kde.kstars.fits] - FITHistogram: JMIndex  1

"Too many open files": So there seems to be some kind of resource leak. Any ideas?

Regards + CS
Guido
2 years 4 months ago #77529

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

This is a known issue: bugs.kde.org/show_bug.cgi?id=444407

For now, Settings --> Configure Notifications --> Turn off ALL sounds.

Maybe help but comments on the bug above or adding more info, I just linked to this topic.
The following user(s) said Thank You: Odiug
2 years 4 months ago #77545

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

  • Posts: 61
  • Thank you received: 8
Hi Jasem,

Thanks a lot! That indeed solves my issue. As I am using Astroberry exclusively remote, I wasn't even aware that there is sound. :-)

Regards + CS
Guido
2 years 4 months ago #77547

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

  • Posts: 104
  • Thank you received: 21
2 years 4 months ago #77994

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

Time to create page: 0.594 seconds