×

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

Bi-monthly release with minor bug fixes and improvements

PPBA Error

  • Posts: 7
  • Thank you received: 1

PPBA Error was created by JC Idaho

I'm using Arch Linux. I can't connect my PBBA via Ekos, in the logs I see this:

2022-06-25T20:51:08: Driver indi_pegasus_ppba: restart #4
2022-06-25T20:51:08: Driver indi_pegasus_ppba: pid=1440 rfd=4 wfd=13 efd=14
2022-06-25T20:51:10: Driver indi_pegasus_ppba: /usr/include/c++/12.1.0/bits/stl_vector.h:1123: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >; reference = std::__cxx11::basic_string<char>&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.
2022-06-25T20:51:10: Driver indi_pegasus_ppba: stderr EOF
<delProperty device="Pegasus PPBA"Child process 1440 died
/>
1 year 9 months ago #83809

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

  • Posts: 7
  • Thank you received: 1

Replied by JC Idaho on topic PPBA Error

I think this is a dup/related-to indilib.org/forum/general/11376-crash-wi...asus-ppba-genv2.html. When I run KStars locally and fire up the indiserver, it crashes KStars, as the poster mentions in this thread.
1 year 9 months ago #83815

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

  • Posts: 137
  • Thank you received: 96

Replied by Mattia on topic PPBA Error

Hi, I messed a lot with kstars/ekos on ArchLinux and I think I know why these errors happen (I opened the thread you linked).
These errors seem to come from the c++ code itself, archlinux uses by default a lot of flags to compile packages with optimization, if you drop most of them the package will compile without causing Kstars to crash.

Also, if this of any interest to you github.com/devDucks/astroarch

I mantain some astropackages in a repo I made, those should work with no issue
1 year 9 months ago #83824

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

  • Posts: 7
  • Thank you received: 1

Replied by JC Idaho on topic PPBA Error

Thanks @Mattia. Glad you've got to the bottom of it. One question, does this mean that the official Arch libindi package is broken? Would it make sense for me to raise a bug report against this package?
1 year 9 months ago #83828

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

  • Posts: 137
  • Thank you received: 96

Replied by Mattia on topic PPBA Error

there unfortunately it's a bit more complicated. I have seen sometimes things working and then breaking after some update to the main stream so possibly builds are not equal to each other.
Now, to my knowledge this issue relates only to the Pegasus driver hence my doubts - possibly this is very hard to catch since very few users use arch for kstars and probably only me and you use the ppba.
I think raising an issue may be a starting point tho, if you do so can you share the link? Thanks!
1 year 9 months ago #83830

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

  • Posts: 7
  • Thank you received: 1

Replied by JC Idaho on topic PPBA Error

Hey. I figured that since libindi is an official package, that I may as well raise a bug/issue. Here it is bugs.archlinux.org/task/75167.

I'm happy if you want me to edit it.
The following user(s) said Thank You: Mattia
1 year 9 months ago #83831

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

  • Posts: 137
  • Thank you received: 96

Replied by Mattia on topic PPBA Error

Thanks! Let's see what mantainers say
1 year 9 months ago #83832

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

  • Posts: 7
  • Thank you received: 1

Replied by JC Idaho on topic PPBA Error

Looks like they want us to go further upstream :-) bugs.archlinux.org/task/75167#comment209159
1 year 9 months ago #83836

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

  • Posts: 137
  • Thank you received: 96

Replied by Mattia on topic PPBA Error

Yeah makes sense and they shipped a fix in the meanwhile so should work now
1 year 9 months ago #83844

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

  • Posts: 7
  • Thank you received: 1

Replied by JC Idaho on topic PPBA Error

Got a link to the fix?
1 year 9 months ago #83846

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

  • Posts: 137
  • Thank you received: 96

Replied by Mattia on topic PPBA Error

The following user(s) said Thank You: JC Idaho
1 year 9 months ago #83847

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

Time to create page: 1.268 seconds