segv in indi gui

Hy Murveit murveit at gmail.com
Thu Sep 9 18:48:46 BST 2021


I just got another segv, and it happened when I clicked "Disconnect" trying
to disconnect indi.
Here's the backtrace:

(gdb) bt
#0  0x0000aaaaaae8af88 in INDI_E::syncSwitch() (this=0xaaaab3f2ebc0) at
/home/hy/Projects/kstars/kstars/indi/indielement.cpp:209
#1  0x0000aaaaaae84968 in INDI_D::updateSwitchGUI(_ISwitchVectorProperty*)
(this=<optimized out>, svp=<optimized out>)
    at /home/hy/Projects/kstars/kstars/indi/indidevice.cpp:188
#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 0x0000aaaaaab927cc in main(int, char**) (argc=<optimized out>,
argv=<optimized out>)
    at /home/hy/Projects/kstars/kstars/main.cpp:393
(gdb)

I was running from HEAD through and including "use modern
connect" a100fa1664e028460a348303365caf983e06eda3

Hy


On Mon, Sep 6, 2021 at 10:45 PM 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
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kstars-devel/attachments/20210909/637a996a/attachment.htm>


More information about the Kstars-devel mailing list