Welcome, Guest
Username: Password: Remember me
08 Apr 2018
INDI development team is happy to announce the release of INDI Library v1.7.0. This new exciting release builds on the maturity of INDI Library and comes with many new supported devices and fixes for existing drivers.
Read More...
  • Page:
  • 1

TOPIC: Indi drivers crashing after updating & upgrading

Indi drivers crashing after updating & upgrading 3 weeks 21 hours ago #26398

  • HelgeMK
  • HelgeMK's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 196
  • Thank you received: 15
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

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

Indi drivers crashing after updating & upgrading 3 weeks 16 hours ago #26399

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

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

Indi drivers crashing after updating & upgrading 2 weeks 5 days ago #26441

  • HelgeMK
  • HelgeMK's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 196
  • Thank you received: 15
So far no further feedbacks, anyone out there to help on this one?

Thanks once again and sorry for impatience...

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

Re:Indi drivers crashing after updating & upgrading 2 weeks 5 days ago #26447

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: knro, HelgeMK

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

Re:Indi drivers crashing after updating & upgrading 2 weeks 4 days ago #26460

  • HelgeMK
  • HelgeMK's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 196
  • Thank you received: 15
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.
Attachments:

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

Re:Indi drivers crashing after updating & upgrading 2 weeks 4 days ago #26461

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.

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

Re:Indi drivers crashing after updating & upgrading 2 weeks 4 days ago #26462

@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

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

Re:Indi drivers crashing after updating & upgrading 2 weeks 4 days ago #26464

  • HelgeMK
  • HelgeMK's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 196
  • Thank you received: 15
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: TallFurryMan

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

Re:Indi drivers crashing after updating & upgrading 2 weeks 4 days ago #26465

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: HelgeMK

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

Re:Indi drivers crashing after updating & upgrading 2 weeks 3 days ago #26481

  • HelgeMK
  • HelgeMK's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 196
  • Thank you received: 15
Issue solved. After updating the BCM library and recompiling the astroberry drivers, it seems to work. ;)

www.airspayce.com/mikem/bcm2835/index.html

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

Re:Indi drivers crashing after updating & upgrading 1 week 3 days ago #26575

  • HelgeMK
  • HelgeMK's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 196
  • Thank you received: 15
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.

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

  • Page:
  • 1
Time to create page: 0.130 seconds

Login



3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!


Gallery

Replica

Why INDI

Replica