×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Ekos crashing

Replied by Jasem Mutlaq on topic Ekos crashing

gdb would be more useful. Open a console and type in this:
gdb -ex run kstars

When KStars crashes, go to the console and type in bt to get the backtrace and post it here.
4 years 5 days ago #52538

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

  • Posts: 250
  • Thank you received: 3

Replied by Porchet on topic Ekos crashing

hello
as soon as I get home I'll give you the results.
4 years 5 days ago #52540

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

  • Posts: 250
  • Thank you received: 3

Replied by Porchet on topic Ekos crashing

hello Jasem
here's some informations

befor the crash or during launch when it freezes
christophe@MiniPc:~$ gdb -ex run kstars
GNU gdb (Ubuntu 8.3-0ubuntu1) 8.3
Copyright (C) 2019 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 "x86_64-linux-gnu".
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...
Reading symbols from /usr/lib/debug/.build-id/da/5fe805607c04bc7499dd45017c2dbb819573fd.debug...
Starting program: /usr/bin/kstars 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffef27c700 (LWP 2802)]
Gtk-Message: 12:21:40.640: Failed to load module "topmenu-gtk-module"
[New Thread 0x7fffeda51700 (LWP 2803)]
[New Thread 0x7fffed250700 (LWP 2804)]
[New Thread 0x7fffeca4f700 (LWP 2805)]
[New Thread 0x7fffdffff700 (LWP 2806)]
QApplication: invalid style override passed, ignoring it.
    Available styles: gtk2, Windows, Fusion
[New Thread 0x7fffdf25c700 (LWP 2807)]
[New Thread 0x7fffdd7cf700 (LWP 2808)]
[New Thread 0x7fffcbfff700 (LWP 2809)]
[New Thread 0x7fffc3fff700 (LWP 2810)]
[New Thread 0x7fffc1ffe700 (LWP 2811)]
[New Thread 0x7fffc9ffe700 (LWP 2816)]
[New Thread 0x7fffc8dff700 (LWP 2821)]
[New Thread 0x7fffbfffd700 (LWP 2822)]
[New Thread 0x7fffbef76700 (LWP 2823)]
[New Thread 0x7fffbe775700 (LWP 2824)]
[New Thread 0x7fff9ffff700 (LWP 2825)]
[Thread 0x7fff9ffff700 (LWP 2825) exited]
[Thread 0x7fffc8dff700 (LWP 2821) exited]
[Detaching after fork from child process 2851]
[Detaching after fork from child process 2852]
[New Thread 0x7fffc8dff700 (LWP 2853)]
[Thread 0x7fffdffff700 (LWP 2806) exited]
 
Thread 1 "kstars" received signal SIGSEGV, Segmentation fault.
0x00007ffff4b48d8a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0  0x00007ffff4b48d8a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x000055555597185a in QString::fromUtf8 (size=-1, 
    str=0x1f00000000 <error: Cannot access memory at address 0x1f00000000>)
    at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:572
#2  QDebug::operator<< (
    t=0x1f00000000 <error: Cannot access memory at address 0x1f00000000>, 
    this=0x7fffffffd600)
    at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:153
#3  INDIListener::registerProperty (this=0x55555a17d1c0, prop=0x7fffa8032180)
    at ./kstars/indi/indilistener.cpp:234
#4  0x000055555590e8a5 in INDIListener::qt_static_metacall (
    _o=<optimized out>, _c=<optimized out>, _id=<optimized out>, 
    _a=<optimized out>)
    at ./obj-x86_64-linux-gnu/kstars/KStarsLib_autogen/FRI4DANIHA/moc_indilistener.cpp:185
#5  0x00007ffff5a7de4a in QObject::event(QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff658fa86 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x00007ffff6598e00 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007ffff5a51a2a in QCoreApplication::notifyInternal2(QObject*, QEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
--Type <RET> for more, q to quit, c to continue without paging--c
#9  0x00007ffff5a546a8 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007ffff5aaa037 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007ffff455a8bd in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007ffff455ab40 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007ffff455abe3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007ffff5aa9635 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007ffff5a505cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007ffff5a58336 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00005555556a2e0c in main (argc=<optimized out>, argv=<optimized out>) at ./kstars/main.cpp:332
(gdb) c
Continuing.
 
[1]+  Arrêté                gdb -ex run kstars

juste after
christophe@MiniPc:~$ gdb -ex run kstars
GNU gdb (Ubuntu 8.3-0ubuntu1) 8.3
Copyright (C) 2019 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 "x86_64-linux-gnu".
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...
Reading symbols from /usr/lib/debug/.build-id/da/5fe805607c04bc7499dd45017c2dbb819573fd.debug...
Starting program: /usr/bin/kstars 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffef27c700 (LWP 3230)]
Gtk-Message: 12:10:24.928: Failed to load module "topmenu-gtk-module"
[New Thread 0x7fffeda51700 (LWP 3234)]
[New Thread 0x7fffed250700 (LWP 3235)]
[New Thread 0x7fffeca4f700 (LWP 3236)]
[New Thread 0x7fffdffff700 (LWP 3237)]
QApplication: invalid style override passed, ignoring it.
    Available styles: gtk2, Windows, Fusion
[New Thread 0x7fffdf25c700 (LWP 3238)]
[New Thread 0x7fffdd7cf700 (LWP 3239)]
[New Thread 0x7fffcbfff700 (LWP 3240)]
[New Thread 0x7fffc3fff700 (LWP 3241)]
[New Thread 0x7fffbbfff700 (LWP 3242)]
[New Thread 0x7fffc9ffe700 (LWP 3247)]
[New Thread 0x7fffc8dff700 (LWP 3252)]
[New Thread 0x7fffc1ffe700 (LWP 3253)]
[New Thread 0x7fffc0f77700 (LWP 3254)]
[New Thread 0x7fffa3fff700 (LWP 3255)]
[New Thread 0x7fffb9ffe700 (LWP 3256)]
[Thread 0x7fffc8dff700 (LWP 3252) exited]
[Thread 0x7fffb9ffe700 (LWP 3256) exited]
[Thread 0x7fffdffff700 (LWP 3237) exited]
[Detaching after fork from child process 3309]
[Detaching after fork from child process 3310]
[New Thread 0x7fffdffff700 (LWP 3316)]
 
Thread 1 "kstars" received signal SIGSEGV, Segmentation fault.
0x00007ffff4b48d8a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0  0x00007ffff4b48d8a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
Backtrace stopped: Cannot access memory at address 0x7fffffffd608
(gdb) Quit
4 years 4 days ago #52562

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

Replied by Jasem Mutlaq on topic Ekos crashing

I'll rebuild KStars soon in an hour or so so let's see with that.
4 years 4 days ago #52570

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

  • Posts: 250
  • Thank you received: 3

Replied by Porchet on topic Ekos crashing

Hello Jasem

So I saw there's an update.

I installed it to see, it doesn't change anything...

I also re-installed the driver, it doesn't change anything.



Do you want the driver to see, but for that you also need an arduino.

Tell me again.

I'll see you soon.
4 years 4 days ago #52607

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

  • Posts: 250
  • Thank you received: 3

Replied by Porchet on topic Ekos crashing

Hello
I have a question, is there a way to install an old version of kstars and the indi library?
It would be to see if it works again with the arduino card.
If yes, how do we do it?
Last edit: 4 years 3 days ago by Porchet.
4 years 3 days ago #52644

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

Replied by Jasem Mutlaq on topic Ekos crashing

I have an Arduino and couldn't get it to crash. Maybe purge config?

I also updated the SQM driver anyway, so some testing would be appreciated.
4 years 3 days ago #52650

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

  • Posts: 250
  • Thank you received: 3

Replied by Porchet on topic Ekos crashing

How do I purge the configuration
4 years 3 days ago #52651

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

Replied by Jasem Mutlaq on topic Ekos crashing

Easiest way is to test by moving the whole directory away:
mv ~/.indi ~/backup_indi_config

Then test away... once done, just do the opposite
mv ~/backup_indi_config ~/.indi

Alternatively, you go to INDI Control Panel --> Options --> Purge Config
4 years 3 days ago #52653

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

  • Posts: 250
  • Thank you received: 3

Replied by Porchet on topic Ekos crashing

Hello Jasem
Then it's for the best, because if I connect an arduino as an arduino switcher, Kstars doesn't crash anymore.
On the other hand, my RollOff driver always crashes kstars, whereas before it worked !
Now you can see why, if you want my driver made by Tom.
4 years 3 days ago #52656

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

  • Posts: 6
  • Thank you received: 0

Replied by François Desvallées on topic Ekos crashing

Hi Jasem:

I also get many crashes recently, always when starting Ekos and connecting devices.
Sometimes I can recover by killing indiserver, sometimes I have to reboot. Also I notice in some cases I am unable to save or restore driver configuration: the keys are just unresponsive.

Thanks to your message I ran with gdb and I attach below the results. Thank you for your advice

François

crash #1

Thread 1 "kstars" received signal SIGSEGV, Segmentation fault.
INDI_E::buildText (this=0x44241e0, itp=0x46efa38)
at /home/pi/AstroRoot/kstars/kstars/indi/indielement.cpp:147
147 if (tp->text[0])

crash #2

[Thread 0x9b1fa090 (LWP 9011) exited]
[Thread 0x9c1fc090 (LWP 9006) exited]

Thread 1 "kstars" received signal SIGSEGV, Segmentation fault.
0x004e2cc0 in QWidget::testAttribute (this=0x0, attribute=Qt::WA_Disabled)
at /usr/include/arm-linux-gnueabihf/qt5/QtWidgets/qwidget.h:867
867 return data->widget_attributes & (1<<attribute);

crash #3

Thread 1 "kstars" received signal SIGSEGV, Segmentation fault.
0x0097bd18 in Ekos::Manager::syncActiveDevices (this=0x3ea20d8)
at /home/pi/AstroRoot/kstars/kstars/ekos/manager.cpp:3508
3508 if (override && *override)
4 years 3 days ago #52684

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

Replied by Jasem Mutlaq on topic Ekos crashing

That usually indicates INDI Library is out of date. Make sure you have the latest.
4 years 3 days ago #52687

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

Time to create page: 0.904 seconds