×

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 may have a clue. I have 2 Canon DSLRs, a 1300D and an M50. I loaded kstars into a fresh system and tested the M50. It all seemed to work. I believe there may be an issue with the 2 similar devices.
Is there a way to configure the second DSLR?
If not is there a way to remove the 1300D? Or at least edit out so the M50 is primary?
5 months 2 weeks ago #97027

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

Each one would have a unique name and therefore their own config file, so I don't think the reason is that there is a conflict.
5 months 2 weeks ago #97044

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

  • Posts: 132
  • Thank you received: 3
I removed both Canon cameras and then reconfigured the M50 entry from scratch. This works.
My take away is the camera update window may not update all the full camera configuration. This was an intermediate step before removing and reinstalling kstars.
5 months 2 weeks ago #97061

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

  • Posts: 9
  • Thank you received: 0
I ran into the exact same crash from the ekosdebugger but with a different configuration on a clean install of Build 202311-11T03:03:56Z Version 3.6.8 Beta.
(I will post output that I captured in the next posting...)
A common item is seen early in his first posting:
Dan had:
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">

I get the identical message except with "ZWO CCD ASI290MM Mini".
5 months 2 weeks ago #97108

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

  • Posts: 9
  • Thank you received: 0
(continued from previous post from the RPI 4)

So the suspicious issue: in my .indi directory there are 2 different devices:
-rw-r--r-- 1 astro astro 13 Nov 11 13:10 'ZWO ASI290MM Mini_config.xml'
-rw-r--r-- 1 astro astro 5855 Nov 11 12:50 'ZWO ASI290MM Mini_config.xml.default'
-rw-r--r-- 1 astro astro 6649 Nov 11 13:35 'ZWO CCD ASI290MM Mini_config.xml'
-rw-r--r-- 1 astro astro 6060 Nov 11 10:31 'ZWO CCD ASI290MM Mini_config.xml.default'

Notice the short file length on the first one listed - I believe that is what was being used in the crashing scenario.

I was able to get past the crash by removing the 290MM camera from the config, and then adding it back in as a ZWO CCD device. (instead of ZWO Camera_1)

Included at the end of this post is the gdb output of the crash (captured before I isolated the issue to the ZWO device) that seems to show the same issue that Dan was running into..
(BTW: I have now installed the ekosdebugger application, so if I run into the issue again I will capture data by using it...)
(gdb) run
Starting program: /usr/bin/kstars
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
[New Thread 0x7feda7ec00 (LWP 1645)]
[New Thread 0x7fe7ffec00 (LWP 1646)]
[Thread 0x7fe7ffec00 (LWP 1646) exited]
[New Thread 0x7fe7ffec00 (LWP 1647)]
[New Thread 0x7fe77eec00 (LWP 1648)]
[Thread 0x7fe7ffec00 (LWP 1647) exited]
[Thread 0x7fe77eec00 (LWP 1648) exited]
[New Thread 0x7fe77eec00 (LWP 1649)]
[New Thread 0x7fe7ffec00 (LWP 1650)]
[Thread 0x7fe77eec00 (LWP 1649) exited]
[Thread 0x7fe7ffec00 (LWP 1650) exited]
[New Thread 0x7fe7ffec00 (LWP 1651)]
[New Thread 0x7fe77eec00 (LWP 1652)]
[Thread 0x7fe7ffec00 (LWP 1651) exited]
[Thread 0x7fe77eec00 (LWP 1652) exited]
Call to writableLocation without an application-based location.
[New Thread 0x7fe77eec00 (LWP 1653)]
[New Thread 0x7fe6f31c00 (LWP 1654)]
[New Thread 0x7fdfffec00 (LWP 1655)]
[New Thread 0x7fcfffec00 (LWP 1656)]
[New Thread 0x7fd7ffec00 (LWP 1657)]
[New Thread 0x7fe7ffec00 (LWP 1658)]
[New Thread 0x7fcdfeec00 (LWP 1659)]
[New Thread 0x7fcd7dec00 (LWP 1660)]
[New Thread 0x7fccfcec00 (LWP 1661)]
[New Thread 0x7fb94eec00 (LWP 1662)]
[New Thread 0x7fb8cdec00 (LWP 1663)]
[New Thread 0x7fa3ffec00 (LWP 1664)]
[New Thread 0x7fa37eec00 (LWP 1665)]
[New Thread 0x7fa2fdec00 (LWP 1666)]
[Thread 0x7fb94eec00 (LWP 1662) exited]
[Thread 0x7fa37eec00 (LWP 1665) exited]
[Thread 0x7fa3ffec00 (LWP 1664) exited]
[Thread 0x7fa2fdec00 (LWP 1666) exited]
[Thread 0x7fb8cdec00 (LWP 1663) exited]
[Detaching after fork from child process 1685]
[Detaching after fork from child process 1686]
INDI::BaseClient::connectServer: creating new connection...
[New Thread 0x7fb8cdec00 (LWP 1694)]
Dispatch command error(-1): INDI: Could not find property DRIVER_INFO in ZWO CCD ASI290MM Mini
<setTextVector device="ZWO CCD ASI290MM Mini" name="DRIVER_INFO" state="Idle" timeout="60" timestamp="2023-11-11T18:36:09">
<oneText name="DRIVER_NAME">
ZWO CCD
</oneText>
<oneText name="DRIVER_EXEC">
indi_asi_ccd
</oneText>
<oneText name="DRIVER_VERSION">
2.3
</oneText>
<oneText name="DRIVER_INTERFACE">
6
</oneText>
</setTextVector>
No ISwitch 'FLIP' in iOptron CEM70.ON_COORD_SET
CCD_CAPTURE_FORMAT: defSwitchVector with no valid members
Dispatch command error(-1): INDI: Could not find property CCD_TEMPERATURE in ZWO CCD ASI290MM Mini
<setNumberVector device="ZWO CCD ASI290MM Mini" name="CCD_TEMPERATURE" state="Idle" timeout="60" timestamp="2023-11-11T18:36:10">
<oneNumber name="CCD_TEMPERATURE_VALUE">
19.300000000000000711
</oneNumber>
</setNumberVector>
Dispatch command error(-1): INDI: Could not find property CCD_CAPTURE_FORMAT in ZWO CCD ASI290MM Mini
<setSwitchVector device="ZWO CCD ASI290MM Mini" name="CCD_CAPTURE_FORMAT" state="Idle" timeout="60" timestamp="2023-11-11T18:36:10">
<oneSwitch name="ASI_IMG_RAW8">
Off
</oneSwitch>
<oneSwitch name="ASI_IMG_RAW16">
On
</oneSwitch>
</setSwitchVector>
[New Thread 0x7fa2fdec00 (LWP 1704)]
INDI::BaseClient::connectServer: creating new connection...
[New Thread 0x7fa3ffec00 (LWP 1705)]

Thread 1 "kstars" received signal SIGSEGV, Segmentation fault.
0x0000005555ae4f30 in ISD::CameraChip::getISOList (this=0x0) at /home/astro/kstars/kstars/indi/indicamerachip.cpp:514
514 auto isoProp = m_Camera->getSwitch("CCD_ISO");
(gdb)
5 months 2 weeks ago #97109

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

  • Posts: 9
  • Thank you received: 0
a couple more tidbits of info:
only way I ave found to avoid the crash is to disable auto connect in the profile, and start the devices one at a time.

runnung on fresh RPI4, 4Gb bookworm,

- Mike
Last edit: 5 months 2 weeks ago by Michael Kutzke.
5 months 2 weeks ago #97110

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

Time to create page: 0.729 seconds