-
Couldn't load subscription status.
- Fork 12
Description
Hi,
I’m new here — my name is José Miguel. I’m developing a custom GUI with PyIndi to control my old telescope. The setup consists of a mount driven by two stepper motors (controlled via Arduino) and two cameras: a guiding camera (for guiding corrections) and a main imaging camera.
The issue I’m facing is that when I use the getblobdata() method on a BLOB in PyIndi, I occasionally encounter segmentation faults that crash the entire Python process (no Python traceback, just Segmentation fault).
My environment:
Python 3.11
INDI server running with ZWO cameras
Most of the time it works fine, but sometimes the crash occurs right after the exposure completes, when reading getblobdata().
I will be happy to prepare a standalone script if you wish.
With faulthandler enabled, I see the following fatal Python error:
Segmentation fault Current thread 0x00007fff15acf180 (most recent call first): <no Python frame> Thread 0x00007fff31f34700 (most recent call first): File "/home/astropi/TelescopeControllerSourceCode/.venv/lib/python3.11/site-packages/PyIndi.py", line 575 in getblobdata File "/home/astropi/TelescopeControllerSourceCode/controllers/controller_camera.py", line 389 in capture File "/home/astropi/TelescopeControllerSourceCode/controllers/controller_camera.py", line 586 in <module> Extension modules: _PyIndi, numpy._core._multiarray_umath, numpy.linalg._umath_linalg, PyQt5.QtCore, PyQt5.QtGui, PyQt5.QtWidgets, astropy.io.fits._utils, astropy.io.fits.hdu.compressed._compression, numcodecs.compat_ext, numcodecs.blosc, numcodecs.zstd, numcodecs.lz4, numcodecs._shuffle, numcodecs.jenkins, crc32c._crc32c, numcodecs.vlen, numcodecs.fletcher32, PIL._imaging, kiwisolver._cext (total: 19)