×

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

Bi-monthly release with minor bug fixes and improvements

Resolved: InDI_gpsd and indi_qhy crash

  • Posts: 389
  • Thank you received: 15
Hello,

Both of these INDI devices are crashing. Here are their errors.

2020-08-17T00:49:37: Driver indi_gpsd: indi_gpsd: symbol lookup error: indi_gpsd: undefined symbol: _ZN4INDI13DefaultDeviceD2Ev


2020-08-17T00:54:27: Driver indi_qhy_ccd: indi_qhy_ccd: symbol lookup error: indi_qhy_ccd: undefined symbol: _ZN4INDI7CCDChip8setFrameEiiii

A clear night and an INDI update two days ago come crashing down. Looks like a bad update.
Last edit: 3 years 8 months ago by John Robison.
3 years 8 months ago #58411

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

  • Posts: 389
  • Thank you received: 15
Hello,

I have been reviewing comments like “undefined”. Many hits are identified. All are related to Ubuntu. Under Ubuntu, a promised update resolved this issue. To me, Libinidriver1 has changed. I suspect that this update is the cause. Something is not initializing this value. It is either missing or disabled.

I isolated the GPSD service with EKOS. INDI_GPSD instantly fails. INDI is broken. GPSMON works fine. CGPS works fine. INDI_GPSD is missing a key value being defined. INDI_QHY_CCD is also missing a key value defined. The udevadm rules are working correctly.

I am requesting assistance. Moving to INDI Library 1.85 is the root cause. Something in it for Raspbian is missing or disabled.
Last edit: 3 years 8 months ago by John Robison.
3 years 8 months ago #58429

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

  • Posts: 389
  • Thank you received: 15
Hello

After fixing log permissions (root had many folders locked), I now have INDI chattering. Here is INDI logging.


[2020-08-20T10:41:45.880 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2020-08-20T10:41:45.893 EDT DEBG ][ org.kde.kstars.indi] - Telescope Simulator : "[SCOPE] mountToApparentRaDec 90.000000, 90.000000 to ha 90.000000, ra 15.221154, 90.000000 "
[2020-08-20T10:41:45.893 EDT DEBG ][ org.kde.kstars.indi] - Telescope Simulator : "[SCOPE] Current RA: 1:00:53 Current DEC: 90:00:00 "
[2020-08-20T10:41:46.131 EDT DEBG ][ org.kde.kstars.indi] - Telescope Simulator : "[SCOPE] mountToApparentRaDec 90.000000, 90.000000 to ha 90.000000, ra 15.222200, 90.000000 "
[2020-08-20T10:41:46.131 EDT DEBG ][ org.kde.kstars.indi] - Telescope Simulator : "[SCOPE] Current RA: 1:00:53 Current DEC: 90:00:00 "
[2020-08-20T10:41:46.382 EDT DEBG ][ org.kde.kstars.indi] - Telescope Simulator : "[SCOPE] mountToApparentRaDec 90.000000, 90.000000 to ha 90.000000, ra 15.223247, 90.000000 "
[2020-08-20T10:41:46.382 EDT DEBG ][ org.kde.kstars.indi] - Telescope Simulator : "[SCOPE] Current RA: 1:00:54 Current DEC: 90:00:00 "
[2020-08-20T10:41:46.632 EDT DEBG ][ org.kde.kstars.indi] - Telescope Simulator : "[SCOPE] mountToApparentRaDec 90.000000, 90.000000 to ha 90.000000, ra 15.224293, 90.000000 "
[2020-08-20T10:41:46.633 EDT DEBG ][ org.kde.kstars.indi] - Telescope Simulator : "[SCOPE] Current RA: 1:00:54 Current DEC: 90:00:00 "
[2020-08-20T10:41:46.875 EDT DEBG ][ org.kde.kstars.indi] - Adding managed driver "GPSD"
[2020-08-20T10:41:46.876 EDT DEBG ][ org.kde.kstars.indi] - Starting INDI Driver "indi_gpsd"
[2020-08-20T10:41:46.877 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: "FIFO: start indi_gpsd -n \"GPSD\""
[2020-08-20T10:41:46.877 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: "With name: GPSD"
[2020-08-20T10:41:46.877 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: "FIFO: Starting driver indi_gpsd"
[2020-08-20T10:41:46.878 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: ""

[2020-08-20T10:41:46.878 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-20T14:41:46: Driver indi_gpsd: pid=1269 rfd=12 wfd=16 efd=17"
[2020-08-20T10:41:46.879 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2020-08-20T10:41:46.883 EDT DEBG ][ org.kde.kstars.indi] - Telescope Simulator : "[SCOPE] mountToApparentRaDec 90.000000, 90.000000 to ha 90.000000, ra 15.225340, 90.000000 "
[2020-08-20T10:41:46.883 EDT DEBG ][ org.kde.kstars.indi] - Telescope Simulator : "[SCOPE] Current RA: 1:00:54 Current DEC: 90:00:00 "
[2020-08-20T10:41:46.948 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-20T14:41:46: Driver indi_gpsd: indi_gpsd: symbol lookup error: indi_gpsd: undefined symbol: _ZN4INDI13DefaultDeviceD2Ev"
[2020-08-20T10:41:46.948 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2020-08-20T10:41:46.949 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-20T14:41:46: Driver indi_gpsd: stderr EOF"
[2020-08-20T10:41:46.949 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-08-20T14:41:46: Driver indi_gpsd: Terminated after #0 restarts."
[2020-08-20T10:41:46.950 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2020-08-20T10:41:46.950 EDT CRIT ][ org.kde.kstars.indi] - INDI driver "indi_gpsd" crashed!
[2020-08-20T10:41:46.962 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: "Child process 1269 died"
[2020-08-20T10:41:46.962 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: ""
Last edit: 3 years 8 months ago by John Robison.
3 years 8 months ago #58437

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

  • Posts: 389
  • Thank you received: 15
Hello,

Using LDD and NM, I found the reason. Libindidriver.so.1.8.6 does not contain the INDI messages. The EOF is that the symbol is not found. I am filing a bug.

No other of the pieces which build both drivers use these symbols. INDI is querying the drivers and libindidriver.so.1.8.6 can’t answer. INDI throws the error.

As I type, this suggest that both drivers cannot answer INDI. Maybe libindidriver is supposed to point to indi_gpsd or indi_qhyccd for the answers. But, neither driver’s cpp, h, or make files define the INDI need.
Last edit: 3 years 8 months ago by John Robison.
3 years 8 months ago #58712

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

  • Posts: 389
  • Thank you received: 15
Hello,

Why this discussion and finding? Because drivers require insight into the workings of the big operation.

Use: ldd
Use: nm

Are tools which help peek into what it used to build a driver. A driver is dependent on being told everything about its parent’s use. And, the driver’s talk to the parent is strictly controlled.

These drivers, indi_gpsd and indi_ghy_ccd are dependent on libindidriver. Libinidriver is the strict communication list to the parent. This limits useless chatter.

I did create a bug. I will investigate if using a different libindidriver has a difference.
Last edit: 3 years 8 months ago by John Robison.
3 years 8 months ago #58853

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

  • Posts: 389
  • Thank you received: 15
Hello,

Thank you Radek and Jasem for being a part of the larger team building KSTARS, ECHOS, and INDI. This morning, an update was pushed to AstroBerry. The immediate crashes are fixed. Operational readiness is on the horizon for the next clear night. Good Job!
3 years 8 months ago #58916

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

Moderators: Radek Kaczorek
Time to create page: 0.710 seconds