segv in indi gui

Robert Lancaster rlancaste at gmail.com
Thu Sep 9 20:51:18 BST 2021


I believe that the crash on disconnecting INDI Hy is referencing has been around for a long time.  I’ve seen that intermittently for ages.  The crash I have been investigating is a problem I hadn’t seen before this week on starting INDI.  It may or may not have been around for awhile.  I just hadn’t seen it before.

> On Sep 7, 2021, at 1:44 AM, Jasem Mutlaq <mutlaqja at ikarustech.com> wrote:
> 
> Hello Hy,
> 
> I think I submitted a refactor of the INDI Control Panel in KStars
> that should fix such crash-on-disconnection issues. This commit has
> the fix: 678c5e360c7651060c65133ed97b074c0b24bc40
> 
> However, we must thoroughly test KStars now for stability issues.
> Robert reported crashes on the MacOS client with INDI, so this needs
> to be investigated. The due date for 3.5.5 was planned for September
> 6th (Yesterday) but I really think we should delay perhaps for a few
> days until we ensure stability issues are addressed. Hopefully more
> users would try the beta to report back. Keep using KStars with *real*
> equipment under real conditions to catch some of these elusive bugs.
> 
> --
> Best Regards,
> Jasem Mutlaq
> 
> On Tue, Sep 7, 2021 at 1:19 AM Hy Murveit <murveit at gmail.com> wrote:
>> 
>> Thread 1 "kstars" received signal SIGSEGV, Segmentation fault.
>> 
>> 0x0000aaaaaae88bb8 in INDI_E::syncSwitch (this=0xaaaab0179940)
>>    at /home/hy/Projects/kstars/kstars/indi/indielement.cpp:225
>> 225                if (sp->svp->p == IP_RO)
>> (gdb)
>> (gdb) bt
>> #0  0x0000aaaaaae88bb8 in INDI_E::syncSwitch() (this=0xaaaab0179940)
>>    at /home/hy/Projects/kstars/kstars/indi/indielement.cpp:225
>> #1  0x0000aaaaaae82448 in INDI_D::updateSwitchGUI(_ISwitchVectorProperty*)
>>    (this=<optimized out>, svp=<optimized out>)
>>    at /home/hy/Projects/kstars/kstars/indi/indidevice.cpp:186
>> #2  0x0000fffff52ef6d4 in QObject::event(QEvent*) ()
>>    at /lib/aarch64-linux-gnu/libQt5Core.so.5
>> #3  0x0000fffff5d369b0 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
>>    () at /lib/aarch64-linux-gnu/libQt5Widgets.so.5
>> #4  0x0000fffff52bdb60 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
>>    () at /lib/aarch64-linux-gnu/libQt5Core.so.5
>> #5  0x0000fffff52c0f48 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib/aarch64-linux-gnu/libQt5Core.so.5
>> #6  0x0000fffff531e9e8 in  () at /lib/aarch64-linux-gnu/libQt5Core.so.5
>> #7  0x0000fffff4257578 in g_main_context_dispatch ()
>>    at /lib/aarch64-linux-gnu/libglib-2.0.so.0
>> #8  0x0000fffff42ad188 in  () at /lib/aarch64-linux-gnu/libglib-2.0.so.0
>> #9  0x0000fffff4254ac4 in g_main_context_iteration ()
>>    at /lib/aarch64-linux-gnu/libglib-2.0.so.0
>> #10 0x0000fffff531de94 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/aarch64-linux-gnu/libQt5Core.so.5
>> #11 0x0000fffff52bc04c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/aarch64-linux-gnu/libQt5Core.so.5
>> #12 0x0000fffff52c514c in QCoreApplication::exec() ()
>>    at /lib/aarch64-linux-gnu/libQt5Core.so.5
>> #13 0x0000aaaaaab917cc in main(int, char**)
>>    (argc=<optimized out>, argv=<optimized out>)
>>    at /home/hy/Projects/kstars/kstars/main.cpp:39
>> 
>> 



More information about the Kstars-devel mailing list