×

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

Bi-monthly release with minor bug fixes and improvements

Indi drivers crashing after updating & upgrading

  • Posts: 281
  • Thank you received: 29
After running updates of indi drivers, asi-driver and KStars, KStars crashes after starting the indi drivers, I cannot even generate a log file (the Pi needs to be rebooted, but no log file saved).

First, it has been the ASI drivers crashing, after sudo apt-get dist-upgrade and sudo apt-get -f install, it was no longer the ASI drivers but the indi-rpifocus drivers crashing. The rpifocus-driver is part of the Astroberry-diy drivers, which never caused any problems.

Would anyone happen to know what can be done to resolve?

Many thanks, Helge
5 years 9 months ago #26398

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

  • Posts: 47
  • Thank you received: 2
Similar experience here, especially w.r.t. the sx_ccd and asi_ccd drivers,
although I did get up and running (after a couple of reboots) by removing
the SX Lodestar as a device from Ekos, and using PHD2, which also uses
the INDI driver (although that could be a red herring).

I am (now) running KStars/INDI versions 2.9.6/1.7.0 on Ubuntu 18.04.
The previous versions did not evidence these problems, as far as I recall.

Also, if anyone can provide a clear and easy way to go back to the
previous versions of KStars/Ekos and INDI (short of re-building from
source), that would help.

Greg
5 years 9 months ago #26399

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

  • Posts: 281
  • Thank you received: 29
So far no further feedbacks, anyone out there to help on this one?

Thanks once again and sorry for impatience...
5 years 9 months ago #26441

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

  • Posts: 1029
  • Thank you received: 301
I don't have this setup, but I suppose you could try to launch kstars as an argument to gdb? "gdb /path/to/kstars", and then "r" to start running. Capture everything until crash and report? Throwing ideas in the dark, sorry...

-Eric
The following user(s) said Thank You: Jasem Mutlaq, Helge
5 years 9 months ago #26447

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

  • Posts: 281
  • Thank you received: 29
Hi Eric,

thanks a lot, tried to start KStars with "gdb kstars", followed by "r", this resulted in the following message:

astroberry@astroberry:~$ gdb kstars
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from kstars...Reading symbols from /usr/lib/debug//usr/bin/kstars...done.
done.
(gdb) r
Starting program: /usr/bin/kstars

Program received signal SIGSEGV, Segmentation fault.
0x76fd9dde in ?? () from /lib/ld-linux-armhf.so.3

Then, with the telescope and ccd driver set to the respective simulator, and only assigning the Astroberry Focuser, I eventually managed to generate a log file, see attachment.

[2018-06-06T20:36:45.655 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2018-06-06T18:36:45: Driver indi_rpifocus: : symbol lookup error: undefined symbol: _ZN4INDI16FocuserInterface20SetFocuserCapabilityEj"
[2018-06-06T20:36:45.656 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "Child process 1995 died"
[2018-06-06T20:36:45.656 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2018-06-06T18:36:45: Driver indi_rpifocus: stderr EOF"
[2018-06-06T20:36:45.656 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2018-06-06T18:36:45: Driver indi_rpifocus: restart #1"
[2018-06-06T20:36:45.656 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2018-06-06T18:36:45: Driver indi_rpifocus: pid=1996 rfd=6 wfd=16 efd=18"
[2018-06-06T20:36:45.656 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2018-06-06T20:36:45.657 CEST CRIT ][ org.kde.kstars.indi] - INDI driver "indi_rpifocus" crashed!

Many thanks in advance for any support!

Btw: Minor bug unrelated bug noted - for Munich , Germany there are two cities listed in the geographic settings. One of them, i.e. "munich" has wrong coordinates assigned.
5 years 9 months ago #26460
Attachments:

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

  • Posts: 421
  • Thank you received: 102
Are you running the latest Astroberry stuff? I saw in the Astroberry AMH thread that he had to make changes to make it compatible with the latest INDI.
5 years 9 months ago #26461

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

  • Posts: 1029
  • Thank you received: 301
@HelgeMK just to conclude on the gdb stuff, if you have a prompt after SIGSEGV, developers will be interested in a copy-paste of the result of the command "bt", for "backtrace". This will output a list of function calls in the program, probably opaque for users indeed.

-Eric
5 years 9 months ago #26462

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

  • Posts: 281
  • Thank you received: 29
Hi Eric,

tried as suggested - but looks like in this case no further information can be gathered, or did you mean anything else?

thanks anyway, always good to learn someting new!

astroberry@astroberry:~$ gdb kstars
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from kstars...Reading symbols from /usr/lib/debug//usr/bin/kstars...done.
done.
(gdb) r
Starting program: /usr/bin/kstars

Program received signal SIGSEGV, Segmentation fault.
0x76fd9dde in ?? () from /lib/ld-linux-armhf.so.3
(gdb) bt
#0 0x76fd9dde in ?? () from /lib/ld-linux-armhf.so.3
#1 0x76fd9df6 in ?? () from /lib/ld-linux-armhf.so.3
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)
The following user(s) said Thank You: Eric
5 years 9 months ago #26464

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

  • Posts: 421
  • Thank you received: 102
Looks like @Kaczorek needs to make the same change to astroberry-diy that he made to astroberry-amh. Same problem. Looks like the astroberry-diy hasn't been updated in a while.
The following user(s) said Thank You: Helge
5 years 9 months ago #26465

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

  • Posts: 281
  • Thank you received: 29
Issue solved. After updating the BCM library and recompiling the astroberry drivers, it seems to work. ;)

www.airspayce.com/mikem/bcm2835/index.html
5 years 9 months ago #26481

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

  • Posts: 281
  • Thank you received: 29
I have to add the following:

For the Astroberry driver „rpi_focus.cpp“, line 212 needs to be commented out (adding // upfront)

SetFocuserCapability(FOCUSER_CAN_ABS_MOVE | FOCUSER_CAN_REL_MOVE);

(Similar to the fix that can be found on github for astroberry-amh)

What I have not really figured out is how to force updating of dependencies, to make a.m. fix effective.
5 years 9 months ago #26575

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

Time to create page: 1.128 seconds