Bug 476115

Summary: KSTARS crash when connecting to equipment
Product: [Applications] kstars Reporter: Martin Rabanser <martin.rabanser>
Component: generalAssignee: Jasem Mutlaq <mutlaqja>
Status: RESOLVED WORKSFORME    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: attachment-594784-0.txt
2024-01-08 Ethernet Connection..zip

Description Martin Rabanser 2023-10-26 15:32:52 UTC
Application: kstars (3.6.7 Stable)

Qt Version: 5.15.11
Frameworks Version: 5.111.0
Operating System: Linux 6.2.0-35-generic x86_64
Windowing System: X11
Distribution: KDE neon 5.27
DrKonqi: 5.27.9 [KCrashBackend]

-- Information about the crash:
Kstars crash when connecting to equipment. INDI drivers used: Astro-Physics mount V2, Canon DSLR, ZWO ASI 290mm Mini, PegasusAstro PPBA-V2.
As long as only the AP V2 driver was in use, everthing was fine. But selecting the other equipment attached to the second USB port on a MacBook Pro (2014) triggered the crash. Furthermore, even if a network connection to the mount is in theory possible, it will not connect to it, or rather, connect, but afterwards generating all sorts of error messages, being in the end unusable.

Distribution is KDE Neon, latest edition.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KStars (kstars), signal: Segmentation fault

[KCrash Handler]
#4  0x000055b1b8c1dfa4 in ?? ()
#5  0x00007fadb14f8456 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fadb14e9cff in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fadb216c763 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007fadb14bc88a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fadb15150ab in QTimerInfoList::activateTimers() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fadb15159ac in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007fadb06a5d3b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007fadb06fb258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007fadb06a33e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007fadb1515d78 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007fadb14bb1ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007fadb14c3754 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x000055b1b8868cea in ?? ()
#18 0x00007fadb0a29d90 in __libc_start_call_main (main=main@entry=0x55b1b8866bd0, argc=argc@entry=1, argv=argv@entry=0x7fff27246008) at ../sysdeps/nptl/libc_start_call_main.h:58
#19 0x00007fadb0a29e40 in __libc_start_main_impl (main=0x55b1b8866bd0, argc=1, argv=0x7fff27246008, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff27245ff8) at ../csu/libc-start.c:392
#20 0x000055b1b88dfef5 in ?? ()
[Inferior 1 (process 1861) detached]

Reported using DrKonqi
Comment 1 Jasem Mutlaq 2024-01-08 08:23:31 UTC
Thank you for the report. The backtrace is not useful as it appears to be within Qt libs and not KStars code itself. Is this issue still relevant in 3.6.8?
Comment 2 Martin Rabanser 2024-01-08 10:59:11 UTC
Created attachment 164747 [details]
attachment-594784-0.txt

Good morning.

Crash does not seem to recur on version 3.6.8, both on KDE Neon (latest version) and on macOS Big Sur. But the ethernet port is still unusable, on both systems. It will connect but it will be unable to determine the side of pier the mount is on as well as the correct sidereal time.

Will conduct further tests in the near future. A log file for the ethernet connection attempt can be found below.

Thank you.

Martin
Comment 3 Martin Rabanser 2024-01-08 10:59:11 UTC
Created attachment 164748 [details]
2024-01-08 Ethernet Connection..zip