×

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

Bi-monthly release with minor bug fixes and improvements

[FIXED] Driver indi_duino: Impossible IPState

  • Posts: 2247
  • Thank you received: 223
So what I've done using GDB::


I then used Ekos Device Manager to connect to it, and clicked on connect.
We can clearly see that the board is indeed working correctly as the data is being read.


highlighted in bold before and after connection, values go from 0 to x


This is shortly followed by the child process dying:


I have also got a log, but that contains next to nothing important
4 years 6 months ago #43896

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

  • Posts: 2247
  • Thank you received: 223
some strace
4 years 6 months ago #43897

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

  • Posts: 2247
  • Thank you received: 223
Better log file as I did forget to capture the "driver debug" ...
4 years 6 months ago #43899

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

  • Posts: 2247
  • Thank you received: 223
Some better GDB output...

4 years 6 months ago #43900

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

  • Posts: 2247
  • Thank you received: 223
Trying different GDB...


What is this ?
Last edit: 4 years 6 months ago by Gonzothegreat.
4 years 6 months ago #43901

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

  • Posts: 2247
  • Thank you received: 223
This is the right GDB output !!!

4 years 6 months ago #43905

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

  • Posts: 2247
  • Thank you received: 223
With the help of Jasem, he found out that the IPState error was due to the xml file being incorrect, it has now been corrected in github.com/indilib/indi-3rdparty/commit/...0a2b04e5ee7e90c66d92

However, I'm still having another issue, driver indi_duino crashes but we cannot figure this one out yet...
4 years 6 months ago #43907

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

  • Posts: 2247
  • Thank you received: 223
this is what's need more debugging
4 years 6 months ago #43908

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

  • Posts: 2247
  • Thank you received: 223
a little bit more progress...


after adding above and below github.com/indilib/indi-3rdparty/blob/83...o/indiduino.cpp#L146

LOG_INFO("##### 1 #####")
sf->OnIdle();
LOG_INFO("##### 2 #####")
4 years 6 months ago #43910

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

  • Posts: 2247
  • Thank you received: 223
From the driver debug log generated by Ekos:
4 years 6 months ago #43911

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

  • Posts: 2247
  • Thank you received: 223
Jasem,

I have git cloned 1.8.0 compiled it and tried, all working fine.
I have git cloned 1.8.1 commit e1ee8df compiled and it's not working

git clone -n github.com/indilib/indi.git
git checkout 7297e36 (1.8.0 compiled / working)
git checkout e1ee8df (1.8.1 compiled / not working)

I've done a git bisect...

root@heidenrod-obs:/home/heidenrod/indi-drivers/indi# git bisect start
root@heidenrod-obs:/home/heidenrod/indi-drivers/indi# git bisect good 7297e36
root@heidenrod-obs:/home/heidenrod/indi-drivers/indi# git bisect bad e1ee8df
Bisecting: 65 revisions left to test after this (roughly 6 steps)
[558ce1c08bf542bfc52a7966214150632db5ceca] send newRaDec _after_ setting all the TrackState changes so that the EQNp property state is reflected in INDI::Telescope::newRaDec function
root@heidenrod-obs:/home/heidenrod/indi-drivers/indi#
4 years 5 months ago #44034

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

  • Posts: 2247
  • Thank you received: 223
Just realised I tried e1ee8df which is the latest commit ... I need to try from 0e47ba6 ... back to the drawing board...
The following user(s) said Thank You: Jasem Mutlaq
4 years 5 months ago #44035

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

Time to create page: 0.354 seconds