×

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

Bi-monthly release with minor bug fixes and improvements

Starting compiled Ekos generates a segfault in Buster

  • Posts: 75
  • Thank you received: 13
Hi,

I just finished compiling indi and kstars in Raspbian Buster. Kstars works fine until I start Ekos, which triggers a segfault. Has anyone experienced the same? This is the log I get in the terminal...

<code>libEGL warning: DRI2: failed to authenticate
org.kde.kstars: Welcome to KStars 3.3.7
org.kde.kstars: Build: 2019-10-13T17:07:12Z
org.kde.kstars: OS: "debian"
org.kde.kstars: API: "arm-little_endian-ilp32-eabi-hardfloat"
org.kde.kstars: Arch: "arm"
org.kde.kstars: Kernel Type: "linux"
org.kde.kstars: Kernel Version: "4.19.73-v7l+"
org.kde.kstars: Qt Version: 5.11.3
org.kde.kstars: Processing "unnamedstars.dat" , HTMesh Level 3
org.kde.kstars: Sky Mesh Size: 512
org.kde.kstars: Loaded DSO catalog file: "unnamedstars.dat"
org.kde.kstars: "Star HD20,794 not found."
org.kde.kstars: "Star HD98,230 not found."
File opened: "/usr/share/kstars/ngcic.dat"
org.kde.kstars: Loading NGC/IC objects
File opened: "/home/pi/.local/share/kstars/comets.dat"
org.kde.kstars: "Object named NGC 6050A not found"
static bool LibSecretKeyring::findPassword(const QString&, const QString&, QKeychain::JobPrivate*)
** Message: 18:49:34.679: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files
glibc >= 2.1 detected. Using GNU extension sincos()
File opened: "/home/pi/.local/share/kstars/comets.dat"
File opened: "/home/pi/.local/share/kstars/asteroids.dat"
org.kde.kstars.ekos: "Starting INDI services..."
org.kde.kstars.ekos: "INDI services started on port 7624."
org.kde.kstars.ekos: Ekos received a new device: Focuser Simulator
org.kde.kstars.ekos: Ekos received a new device: CCD Simulator
org.kde.kstars.ekos: Ekos received a new device: Telescope Simulator
org.kde.kstars.ekos.focus: "Idle."
org.kde.kstars.ekos: "Focuser Simulator focuser is online."
org.kde.kstars.ekos.align: "Idle."
org.kde.kstars.ekos.align: "Detected Astrometry.net version 0.78"
org.kde.kstars.ekos: "CCD Simulator is online."
Segmentation fault
</code>
Last edit: 4 years 5 months ago by Mireia.
4 years 5 months ago #44565

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

  • Posts: 2876
  • Thank you received: 809
I think you are probably missing a dependency. Qt quick maybe?
4 years 5 months ago #44572

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

  • Posts: 75
  • Thank you received: 13
I have the following packages installed.
ii  qml-module-qtquick-controls:armhf    5.11.3-2                        armhf        Qt 5 Quick Controls QML module
ii  qml-module-qtquick-layouts:armhf     5.11.3-4                        armhf        Qt 5 Quick Layouts QML module
ii  qml-module-qtquick-window2:armhf     5.11.3-4                        armhf        Qt 5 window 2 QML module
ii  qml-module-qtquick2:armhf            5.11.3-4                        armhf        Qt 5 Qt Quick 2 QML module
4 years 5 months ago #44589

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

  • Posts: 75
  • Thank you received: 13
I recompiled making sure that there were no missing packages (not even the optional) during compilation, but the segmentation still pops up as soon as the Ekos window is created.
4 years 5 months ago #44597

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

  • Posts: 2876
  • Thank you received: 809
Hmm, I guess it is possible there could be some sort of recent change to the code in either INDI or KStars that is causing an error. I haven't rebuilt KStars in a few days myself.

But you might take a look at my Raspbian build script and see if there is something that I did in my script that might be different on your system.

github.com/rlancaste/AstroPi3

Thanks,

Rob
4 years 5 months ago #44606

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

  • Posts: 75
  • Thank you received: 13
Thank you, I will have a look.

In the meanwhile, gdb prints these last lines
org.kde.kstars.ekos.align: "Idle."
[Detaching after fork from child process 11826]
org.kde.kstars.ekos.align: "Detected Astrometry.net version 0.78"
org.kde.kstars.ekos: "CCD Simulator is online."
 
Thread 19 "kstars" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xa08390d0 (LWP 11822)]
0xb6fc41dc in strlen () from /usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so
(gdb) 

Maybe it is something specific of the RPI Pi4?
4 years 5 months ago #44643

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

  • Posts: 1009
  • Thank you received: 133
Get a backtrace from gdb, typing 'bt' at the prompt after the crash, that should give more detail.
4 years 5 months ago #44680

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

  • Posts: 2876
  • Thank you received: 809
Did the issue get resolved?
4 years 5 months ago #44798

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

  • Posts: 75
  • Thank you received: 13
I'm right now traveling and have no way to test it because I don't have the RPI 4 with me. I will check it in a few weeks.
4 years 5 months ago #44800

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

Time to create page: 0.990 seconds