×

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

Bi-monthly release with minor bug fixes and improvements

Issue with indi_sx_ccd driver

  • Posts: 106
  • Thank you received: 12
hi, I have issues with the driver of my lodestar. To make matters worse, I'm on vacation in the middle of nowhere (but with a beautiful sky) with a very very slow internet connection ... The time I download the indi and kstars debug files (at 12kb / s) what can I do to fix the bug? I have the latest version of the ppa (ubuntu 16.04 64 bits)
Thanks !
KStars detected INDI driver indi_sx_ccd crashed. Please check INDI server log in the Device Manager.
7 years 8 months ago #9756

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

  • Posts: 106
  • Thank you received: 12
I asked for help too quickly. Downloading debug files seem to have solved the problem! Although I do not understand the simple fact of having downloaded could solve the bug ...
7 years 8 months ago #9757

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

  • Posts: 106
  • Thank you received: 12
I have talked too fast again... :oops: indi_sx_ccd crashed again !
7 years 8 months ago #9758

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

  • Posts: 106
  • Thank you received: 12
Ok, here's some infos:
INDI Library: 1.2.0
kstars version : 5:16.04+r5944.2604~ubuntu16.04.1 from ppa
I run a session with mount simulator, ccd simulator and sx ccd, popup message : KStars detected INDI driver indi_sx_ccd crashed. Please check INDI server log in the Device Manager.
In indi manager :
2016-08-24T12:31:23: Session log file /tmp/indi_sx_ccd_2016-08-24T12:31:13.log 
2016-08-24T12:31:18: Debug is enabled.
indi_sx_ccd_2016-08-24T12:31:13.log :
INFO	10.430339 sec	: Session log file /tmp/indi_sx_ccd_2016-08-24T12:31:13.log
In the terminal, I have this :
Dispatch command error(-1): INDI: Could not find property CCD_EXPOSURE in SX CCD LodeStar
<setNumberVector device="SX CCD LodeStar" name="CCD_EXPOSURE" state="Idle" timeout="60" timestamp="2016-08-24T12:36:25">
    <oneNumber name="CCD_EXPOSURE_VALUE" min="0.0001" max="3600" step="0.0001">
1
    </oneNumber>
</setNumberVector>
Last edit: 7 years 8 months ago by Eric Magnien.
7 years 8 months ago #9759

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

  • Posts: 106
  • Thank you received: 12
very weird behavior : immediately after the popup message ("KStars detected INDI driver indi_sx_ccd crashed..."), I disconnect, stop indi, re-run and connect quickly : lodestar is working... but if later I restart a session, the bug is back...
Last edit: 7 years 8 months ago by Eric Magnien.
7 years 8 months ago #9761

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

  • Posts: 106
  • Thank you received: 12
I come back to give some news of my problem. I still have much trouble starting my lodestar. A picture is worth a thousand words (especially with my poor English), here's a video that shows the bug:

Also, here's a log file:

File Attachment:

File Name: log_22:45:27.txt
File Size:29 KB


I'm still on ubuntu 16.04, with the latest version of KStars (2.7.0) from the ppa

Where does the problem come from ? Thank you in advance !
Last edit: 7 years 5 months ago by Eric Magnien.
7 years 5 months ago #11391
Attachments:

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

Looks like there is problem in the installation of the INDI SX driver somewhere. Please run this and post the output of each command:
which indi_sx_ccd
ldd /usr/bin/indi_sx_ccd

Then debug it:
gdb --eval-command="set follow-fork-mode child" --args indiserver -v indi_sx_ccd indi_ccd_simulator indi_simulator_telescope

Then edit your Ekos SX profile and set it to remote and leave it to localhost. Then connect. If there is crash GDB should catch it, type in bt to send in backtrace. Make sure to have all debug packages installed.
sudo apt-get install indi-dbg indi-sx-dbg
Last edit: 7 years 5 months ago by Jasem Mutlaq.
7 years 5 months ago #11400

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

  • Posts: 106
  • Thank you received: 12
Hi Jasem !
which indi_sx_ccd
/usr/bin/indi_sx_ccd
ldd /usr/bin/indi_sx_ccd
	linux-vdso.so.1 =>  (0x00007fffccbf2000)
	libindidriver.so.1 => /usr/lib/x86_64-linux-gnu/libindidriver.so.1 (0x00007f4679fb9000)
	libusb-1.0.so.0 => /lib/x86_64-linux-gnu/libusb-1.0.so.0 (0x00007f4679da1000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f4679a1e000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f4679808000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f467943f000)
	libnova-0.14.so.0 => /usr/lib/x86_64-linux-gnu/libnova-0.14.so.0 (0x00007f4678eb7000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f4678c9a000)
	libcfitsio.so.2 => /usr/lib/x86_64-linux-gnu/libcfitsio.so.2 (0x00007f46788d0000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f46786b5000)
	libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007f467845c000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f4678153000)
	libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f4678132000)
	/lib64/ld-linux-x86-64.so.2 (0x0000562a76363000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f4677f2a000)

Done
I'll have to run indiserver on command line ? (sorry i'm a noob too... ;) )Where do I type in bt ? I don't know how to use gdb...All debug packages installed !
it might be easier if I let you debug indi and sx driver on my computer with teamviewer. But I would not bother you in your work :oops:
7 years 5 months ago #11427

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

Time to create page: 0.580 seconds