×

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

Bi-monthly release with minor bug fixes and improvements

Kstars crashes when Ekos connects to simulators

  • Posts: 12
  • Thank you received: 1
Hello, so after Getting Ekos set up properly on my Rock Pi 4 I’ve got another issue going on.

I have not installed any 3rd party drivers yet to INDI, I am just trying to test the setup with the CCD, Telescope and Focuser simulators. When I connect ekos to the INDI server, the whole kstars application crashes. I know this is not a lot of information to troubleshoot on - is there a log file located somewhere that I could post?

I have verified that INDI is working properly (I think) because when I launch the INDI web manager, the simulators connect to the INDI server just fine. I can connect to the Rock Pi with a INDI client on my laptop and it’s talking to all the Simulator gear OK. I can even use the device manager in kstars tool menu to connect the simulators manually one by one - and system reports they are connected without any issues. It’s only when I launch Ekos and click connect to profile that everything crashes.

Appears to be an issue with my installation of kstars/Ekos - which is maybe not so surprising since I built from source myself.

Anyways, any input appreciated !

Best
Matt
Last edit: 5 years 3 months ago by Matt.
5 years 3 months ago #32262

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

run it via gdb and find out what crashes it.
The following user(s) said Thank You: Matt
5 years 3 months ago #32263

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

  • Posts: 12
  • Thank you received: 1
Thank you Jasem. This is what I have from gdb
linaro@linaro-alip:~$ gdb --ex run --args kstars
GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://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:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from kstars...done.
Starting program: /usr/bin/kstars 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
QXcbConnection: Could not connect to display 
 
Program received signal SIGABRT, Aborted.
0xf503d6f6 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
(gdb) bt
#0  0xf503d6f6 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
#1  0xf504b3cc in raise () from /lib/arm-linux-gnueabihf/libc.so.6
#2  0xf504c0ba in abort () from /lib/arm-linux-gnueabihf/libc.so.6
#3  0xf5c02550 in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5
#4  0xf13f9fd2 in QXcbConnection::QXcbConnection(QXcbNativeInterface*, bool, unsigned int, char const*) ()
   from /usr/lib/arm-linux-gnueabihf/libQt5XcbQpa.so.5
#5  0xf13fc486 in QXcbIntegration::QXcbIntegration(QStringList const&, int&, char**) ()
   from /usr/lib/arm-linux-gnueabihf/libQt5XcbQpa.so.5
#6  0xf77b3e90 in ?? () from /usr/lib/arm-linux-gnueabihf/qt5/plugins/platforms/libqxcb.so
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)

And here are some more details about my installation:
INDI Library: 1.7.6
Kstars/Ekos version = latest (built from source today)
INDI source = compiled
Kernel architecture = aarch64

Thanks!

Matt
5 years 3 months ago #32271

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

  • Posts: 12
  • Thank you received: 1
In case it is related, I should also mention that the buttons inside Ekos have no icons. See the attached screen shot.

Thanks
Matt
Last edit: 5 years 3 months ago by Matt.
5 years 3 months ago #32272
Attachments:

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

  • Posts: 1067
  • Thank you received: 140
Also,the one button that is showing is incorrect.... :( very odd indeed...
Last edit: 5 years 3 months ago by AstroNerd.
5 years 3 months ago #32273

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

  • Posts: 12
  • Thank you received: 1
Hi Jasem

I'm not sure if I'm running gdb correctly. The output above I launched kstars manually, then ran gdb, made kstars crash, and copy/pasted the output.

If I try and let gdb launch kstars using
gdb --ex run --args kstars

Then the instance of kstars launched does not display anything. See the attached screenshot - it's just the kstars menu bar and nothing else.
5 years 3 months ago #32287
Attachments:

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

Time to create page: 0.278 seconds