×

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

Bi-monthly release with minor bug fixes and improvements

Canon EOS 50 - Segmentation fault

  • Posts: 132
  • Thank you received: 3
I am trying to bring a new to me Canon EOS M50 online for kstars.
The EKOS configuration is: Canon DSLR, telescope simulator
I have filled in sensor settings. Attempts to capture an inage results in:

kstars
qt.qpa.qgnomeplatform.theme: The desktop style for QtQuick Controls 2 applications is not available on the system (qqc2-desktop-style). The application may look broken.
Call to writableLocation without an application-based location.
INDI::BaseClient::connectServer: creating new connection...
Dispatch command error(-1): INDI: Could not find property DRIVER_INFO in Canon DSLR EOS M50
<setTextVector device="Canon DSLR EOS M50" name="DRIVER_INFO" state="Idle" timeout="60" timestamp="2023-11-03T22:29:44">
<oneText name="DRIVER_NAME">
GPhoto CCD
</oneText>
<oneText name="DRIVER_EXEC">
indi_canon_ccd
</oneText>
<oneText name="DRIVER_VERSION">
3.2
</oneText>
<oneText name="DRIVER_INTERFACE">
2
</oneText>
</setTextVector>
No IText 'DRIVER_INTERFACE' in .
No IText 'DRIVER_VERSION' in .
No ISwitch 'FLIP' in Telescope Simulator.ON_COORD_SET
Dispatch command error(-1): INDI: Could not find property CCD_EXPOSURE in Canon DSLR EOS M50
<setNumberVector device="Canon DSLR EOS M50" name="CCD_EXPOSURE" state="Idle" timeout="60" timestamp="2023-11-03T22:29:47">
<oneNumber name="CCD_EXPOSURE_VALUE" min="0.00025" max="3600" step="1">
1
</oneNumber>
</setNumberVector>
: defTextVector with no valid members
INDI::BaseClient::connectServer: creating new connection...
: defTextVector with no valid members
Segmentation fault (core dumped)
5 months 3 weeks ago #96896

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

  • Posts: 132
  • Thank you received: 3
I am using the Canon DSLR drver. Should it be the GPHOTO driver instead?
5 months 3 weeks ago #96902

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

  • Posts: 132
  • Thank you received: 3
Additional information. From a timing perspective the seg-fault appears to occur when the image would be being downloaded. That is the exposure was 1 second. The seg fault occurs about 3 seconds after the take photo button was pressed.
Additionally, I reviewed all the logs and the defTextVector with no valid members error is reported in all of them, even those were no seg fault occured. I do not believe it is pertenant.
5 months 3 weeks ago #96916

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

Canon driver is fine. If on Linux, try to run the driver via Ekos Debugger to get the crash backtrace.
5 months 3 weeks ago #96919

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

  • Posts: 132
  • Thank you received: 3
Thank you. I am running Linux. I enabled the debugger repository and installed ekosdebugger and restarted kstars. I did not see any option to buttons to enable it. Can you point me to the path to enable the debugge?
Thanks Dan
5 months 3 weeks ago #96930

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

  • Posts: 132
  • Thank you received: 3
I found it. It is a separate executible, I am starting it now.
5 months 3 weeks ago #96932

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

  • Posts: 132
  • Thank you received: 3
This is the trace:
This GDB supports auto-downloading debuginfo from the following URLs:
<debuginfod.fedoraproject.org/>
Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal]
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffe24a66c0 (LWP 1796888)]
[New Thread 0x7fffe1ca56c0 (LWP 1796889)]
[New Thread 0x7fffdbe6f6c0 (LWP 1796891)]
[New Thread 0x7fffdb66e6c0 (LWP 1796892)]
[New Thread 0x7fffdadea6c0 (LWP 1796893)]
[Thread 0x7fffdadea6c0 (LWP 1796893) exited]
[New Thread 0x7fffc7fff6c0 (LWP 1796895)]
[New Thread 0x7fffc5ffe6c0 (LWP 1796896)]
[New Thread 0x7fffc3ffd6c0 (LWP 1796897)]
[New Thread 0x7fffbbfff6c0 (LWP 1796898)]
[New Thread 0x7fffdadea6c0 (LWP 1796899)]
[New Thread 0x7fffc1ffc6c0 (LWP 1796900)]
[New Thread 0x7fffc17fb6c0 (LWP 1796901)]
[New Thread 0x7fffc0ffa6c0 (LWP 1796902)]
[New Thread 0x7fffb9ffe6c0 (LWP 1796903)]
[New Thread 0x7fffb97fd6c0 (LWP 1796904)]
[New Thread 0x7fffb8ffc6c0 (LWP 1796905)]
[Thread 0x7fffb97fd6c0 (LWP 1796904) exited]
[Thread 0x7fffc1ffc6c0 (LWP 1796900) exited]
[Thread 0x7fffb9ffe6c0 (LWP 1796903) exited]
[Thread 0x7fffb8ffc6c0 (LWP 1796905) exited]
[Thread 0x7fffc0ffa6c0 (LWP 1796902) exited]
[Detaching after fork from child process 1797713]
[Detaching after fork from child process 1797714]
[Detaching after fork from child process 1797715]
[New Thread 0x7fffc0ffa6c0 (LWP 1797718)]
[New Thread 0x7fffb8ffc6c0 (LWP 1797728)]
[New Thread 0x7fffb9ffe6c0 (LWP 1797729)]
[New Thread 0x7fffc1ffc6c0 (LWP 1797730)]
[New Thread 0x7fffa73ff6c0 (LWP 1797731)]
[New Thread 0x7fffa6bfe6c0 (LWP 1797732)]
[New Thread 0x7fffa63fd6c0 (LWP 1797733)]
[New Thread 0x7fffa5bfc6c0 (LWP 1797734)]
[New Thread 0x7fffa53fb6c0 (LWP 1797735)]
[New Thread 0x7fffa4bfa6c0 (LWP 1797736)]
[New Thread 0x7fff77fff6c0 (LWP 1797737)]
[New Thread 0x7fff76fbe6c0 (LWP 1797739)]
Thread 1 "kstars" received signal SIGSEGV, Segmentation fault.
0x0000555555b27c33 in ISD::CameraChip::getISOList() const ()
#0 0x0000555555b27c33 in ISD::CameraChip::getISOList() const ()
#1 0x0000555555ccda04 in Ekos::SequenceJob::setISO(int) ()
#2 0x0000555555c71be4 in Ekos::Capture::updateJobFromUI(Ekos::SequenceJob*, Ekos::Capture::FilenamePreviewType) ()
#3 0x0000555555c85324 in Ekos::Capture::createJob(Ekos::SequenceJob::SequenceJobType, Ekos::Capture::FilenamePreviewType) ()
#4 0x0000555555c854be in QtPrivate::QFunctorSlotObject<Ekos::Capture::Capture()::{lambda(Ekos::SequenceJob::SequenceJobType)#35}, 1, QtPrivate::List<Ekos::SequenceJob::SequenceJobType>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) ()
#5 0x00007ffff4cd0e16 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt5Core.so.5
#6 0x0000555555a48c85 in Ekos::CaptureProcess::createJob(Ekos::SequenceJob::SequenceJobType) ()
#7 0x0000555555c65b3f in Ekos::Capture::capturePreview() ()
#8 0x00007ffff4cd0e16 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt5Core.so.5
#9 0x00007ffff5aa3566 in QAbstractButton::clicked(bool) () at /lib64/libQt5Widgets.so.5
#10 0x00007ffff5aa37de in QAbstractButtonPrivate::emitClicked() () at /lib64/libQt5Widgets.so.5
#11 0x00007ffff5aa541c in QAbstractButtonPrivate::click() () at /lib64/libQt5Widgets.so.5
#12 0x00007ffff5aa563b in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#13 0x00007ffff59f1948 in QWidget::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#14 0x00007ffff59aed72 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#15 0x00007ffff59b73e2 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#16 0x00007ffff4c9da58 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#17 0x00007ffff59b54e2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /lib64/libQt5Widgets.so.5
#18 0x00007ffff5a0acb2 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#19 0x00007ffff5a0e180 in QWidgetWindow::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#20 0x00007ffff59aed72 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#21 0x00007ffff4c9da58 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#22 0x00007ffff516b5ed in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /lib64/libQt5Gui.so.5
#23 0x00007ffff514a28c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Gui.so.5
#24 0x00007fffe2517bde in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5XcbQpa.so.5
#25 0x00007ffff3b7bc7f in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#26 0x00007ffff3bd2178 in g_main_context_iterate.constprop () at /lib64/libglib-2.0.so.0
#27 0x00007ffff3b78f00 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#28 0x00007ffff4cee56a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#29 0x00007ffff4c9c4aa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#30 0x00007ffff4ca4572 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#31 0x0000555555701f23 in main ()
5 months 3 weeks ago #96933

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

In the INDI control panel, do you see ISO list in image settings? It looks as if they're missing which shouldn't happen in any GPhoto based driver.
5 months 3 weeks ago #96938

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

  • Posts: 132
  • Thank you received: 3
No. The ISO box is in the INDI Image window. It is a drop down. I have tried setting ti to both auto and 800. Conversly that button does not appear to be onnected to the EKOS camera window. In that window the ISO box is null and the gain window active. There appears to be a disconnect between INDI and EDOS.
Additionally in the EKOS camera window:
The camera field is null and cannot be modidied
The Format field is null and cannot be modified.
The Size Width and Height fields are limited to 2 charactors, i.e. values of 99 or less.
In the Sequence Queue at the bottom the left Capture box is active and the middle Repeat box active. However the Live box is crossed out and inactive.
Additionally in Indy in the Camera section there appears to be a disconnect between the General Info screen and the other screen. In the General Info screen the driver is GPhoto CCD an din the other field the 'camera' is a Canon EOS M50.
Thanks again, Dan
5 months 3 weeks ago #96950

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

  • Posts: 132
  • Thank you received: 3
Additional Information:
Just for comparison I disconnected the M50 and reconnected the Rebel 1300D. It came up and populated normally and worked normally. All the fields above were populated correctly.
5 months 3 weeks ago #96951

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

What is most likely happening is that the gphoto driver is not detecting required widgets in the camera. Is it in Manual/BULB mode?
5 months 3 weeks ago #96975

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

  • Posts: 132
  • Thank you received: 3
Good morning. Yes the camera is in manual bulb mode.
Additionally there seems to be a cross reaction between the camera and the mount. Substituting the 1300D everything works as expected. However the M50 config interacts with the mount. The mount is 'idle' and nothing I can do removes it from idle. I have 2 configs, one is EQMOD_1300D and the other EQMOD_M50.
As a note INDI recognizes the M50, pulls the serial number, etc. There is nothing in INDI that indicates the M50 in not being recognized. Is there a way to directly cause INDI to capture an image?
5 months 3 weeks ago #96979

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

Time to create page: 1.141 seconds