×

INDI Library v1.9.2 Released (14 Sep 2021)

Bimonthly Stable INDI Library release introduces new drivers and fixes for existing ones.

Kstars Crash - EXC_CRASH (SIGABRT)

  • Posts: 31
  • Thank you received: 1
Oh, that's very good news. Is the fix...
1. to stop Kstars crashing if it's disconnected from INDI server. This would leave open why it got disconnected in the first place of course. Or,
2. to stop INDI server from disconnecting and the subsequent Kstars crash then that would take care of everything.
1 month 1 week ago #75293

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

  • Posts: 857
  • Thank you received: 257
I'm afraid that didn't fix it. It seems a problem inside of KStars, not on the INDI side:

Thread 1 "kstars" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffedfa5c00 (LWP 20762)]
0x00007fff9c073160 in ?? ()
(gdb) bt
#0  0x00007fff9c073160 in  ()
#1  0x00005555556826c5 in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release() (this=0x7fff9c03ec80)
    at /usr/include/c++/8/bits/shared_ptr_base.h:155
#2  0x000055555567e0f8 in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() (this=0x7fffffffd3b8, __in_chrg=<optimized out>)
    at /usr/include/c++/8/bits/shared_ptr_base.h:728
#3  0x0000555556450b0a in std::__shared_ptr<INDI::PropertiesPrivate, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr()
    (this=0x7fffffffd3b0, __in_chrg=<optimized out>)
    at /usr/include/c++/8/bits/shared_ptr_base.h:1167
#4  0x0000555556450b26 in std::shared_ptr<INDI::PropertiesPrivate>::~shared_ptr() (this=0x7fffffffd3b0, __in_chrg=<optimized out>)
    at /usr/include/c++/8/bits/shared_ptr.h:103
#5  0x000055555644fc2c in INDI::Properties::~Properties()
    (this=0x7fffffffd3b0, __in_chrg=<optimized out>)
    at /home/wolfgang/sterne-jaeger/git/indi/libs/indibase/property/indiproperties.cpp:34
#6  0x000055555643cc6d in INDI::BaseDevice::getProperty(char const*, INDI_PROPERTY_TYPE) const
    (this=0x7fff9c01bbc0, name=0x555556637d4f "EQUATORIAL_EOD_COORD", type=INDI_NUMBER)
    at /home/wolfgang/sterne-jaeger/git/indi/libs/indibase/basedevice.cpp:137
#7  0x000055555643ca85 in INDI::BaseDevice::getRawProperty(char const*, INDI_PROPERTY_TYPE) const
    (this=0x7fff9c01bbc0, name=0x555556637d4f "EQUATORIAL_EOD_COORD", type=INDI_NUMBER)
    at /home/wolfgang/sterne-jaeger/git/indi/libs/indibase/basedevice.cpp:128
#8  0x000055555643c7bc in INDI::BaseDevice::getNumber(char const*) const
    (this=0x7fff9c01bbc0, name=0x555556637d4f "EQUATORIAL_EOD_COORD")
    at /home/wolfgang/sterne-jaeger/git/indi/libs/indibase/basedevice.cpp:85
#9  0x0000555555a4b6e8 in ISD::Telescope::getEqCoords(double*, double*)
    (this=0x7fffbc0873b0, ra=0x7fffffffd4f8, dec=0x7fffffffd500)
    at /home/wolfgang/sterne-jaeger/git/kstars/kstars/indi/inditelescope.cpp:1022
#10 0x0000555555da9a07 in Ekos::Mount::updateTelescopeCoords()
    (this=0x55555a4a4310)
    at /home/wolfgang/sterne-jaeger/git/kstars/kstars/ekos/mount/mount.cpp:487
#11 0x0000555555b212a2 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (Ekos::Mount::*)()>::call(void (Ekos::Mount::*)(), Ekos::Mount*, void**)
    (f=(void (Ekos::Mount::*)(Ekos::Mount * const)) 0x555555da990c <Ekos::Mount::updateTelescopeCoords()>, o=0x55555a4a4310, arg=0x7fffffffd8e0)
    at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:134
#12 0x0000555555b1c784 in QtPrivate::FunctionPointer<void (Ekos::Mount::*)()>::call<QtPrivate::List<>, void>(void (Ekos::Mount::*)(), Ekos::Mount*, void**)
    (f=(void (Ekos::Mount::*)(Ekos::Mount * const)) 0x555555da990c <Ekos::Mount::updateTelescopeCoords()>, o=0x55555a4a4310, arg=0x7fffffffd8e0)
    at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:167
#13 0x0000555555b167d0 in QtPrivate::QSlotObject<void (Ekos::Mount::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*)
    (which=1, this_=0x55555a7724b0, r=0x55555a4a4310, a=0x7fffffffd8e0, ret=0x0)
    at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:396
#14 0x00007ffff4ce2933 in QMetaObject::activate(QObject*, int, int, void**) ()
    at /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007ffff4cee387 in QTimer::timeout(QTimer::QPrivateSignal) ()
    at /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007ffff4ce302b in QObject::event(QEvent*) ()
    at /lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007ffff56344c1 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007ffff563b970 in QApplication::notify(QObject*, QEvent*) ()
    at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007ffff4cb9489 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
    () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007ffff4d09b38 in QTimerInfoList::activateTimers() ()
    at /lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007ffff4d0a394 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007ffff382afee in g_main_context_dispatch ()
    at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007ffff382b288 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007ffff382b31c in g_main_context_iteration ()
    at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007ffff4d0a727 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007fffed5b1491 in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#27 0x00007ffff4cb815b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007ffff4cc0132 in QCoreApplication::exec() ()
    at /lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x0000555555645955 in main(int, char**) (argc=1, argv=0x7fffffffe1d8)
    at /home/wolfgang/sterne-jaeger/git/kstars/kstars/main.cpp:393
 
TSA-120 + FSQ-85 + GSO 150/750 | Avalon Linear + M-zero | ASI 1600mm pro + 6200mm pro | KStars/INDI on Raspberry Pi 4/Intel NUC
1 month 1 week ago #75295

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

Just to double check, INDI from git was compiled and installed. and KStars from GIT was compiled and installed afterwards?
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
1 month 1 week ago #75297

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

  • Posts: 857
  • Thank you received: 257
I'm on the latest master for KStars (eb137327fb2fc9b76577eb56f78a233ba7f2258e). But did you change there anything? I thought you changed only the INDI side
TSA-120 + FSQ-85 + GSO 150/750 | Avalon Linear + M-zero | ASI 1600mm pro + 6200mm pro | KStars/INDI on Raspberry Pi 4/Intel NUC
1 month 1 week ago #75298

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

Never mind, I am still working on it.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
1 month 1 week ago #75299

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

I submitted an MR, please test and check it out: invent.kde.org/education/kstars/-/merge_requests/422

You also need to update INDI from GIT again.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
1 month 1 week ago #75302

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

Time to create page: 0.313 seconds