Bug 405188

Summary: Crash when trying to connect to an eqmod mount
Product: [Applications] kstars Reporter: Torsten Crass <torsten.crass>
Component: generalAssignee: Jasem Mutlaq <mutlaqja>
Status: RESOLVED FIXED    
Severity: crash CC: torsten.crass
Priority: NOR    
Version: git   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:

Description Torsten Crass 2019-03-07 18:15:59 UTC
SUMMARY

Crash when trying to connect to an eqmod mount

STEPS TO REPRODUCE
0. Hook up your eqmod mount
1. Create an EKOS profile encompassing an eqmod mount
2. Start the profile
3. In the "EQMod mount" tab, click on "Connect"

OBSERVED RESULT

KStars crashes with the following console output:

org.kde.kstars.indi: EQMod Mount :  "[INFO] Successfully connected to EQMod Mount. "
org.kde.kstars.indi: EQMod Mount :  "[INFO] EQMod Mount is online. "
org.kde.kstars.ekos: "EQMod Mount is online."
qrc:/qml/mount/mountbox.qml:327:17: "Label.leftPadding" is not available due to component versioning.
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kstars path = /usr/local/bin pid = 6365
KCrash: Arguments: /usr/local/bin/kstars 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 18 and type 'Read', disabling...
QSocketNotifier: Invalid socket 13 and type 'Read', disabling...
INDI server localhost/7624 disconnected.
INDI server localhost/7624 disconnected.
Job 3, “kstars” has stopped

EXPECTED RESULT

KStars obviously shouldn't crash when connecting to an eqmod mount (didn't with a version some two weeks ago)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian GNU/Linux 9 
(available in About System)
KDE Plasma Version: 5.8.6
KDE Frameworks Version: 5.28.0
Qt Version: 5.7.1
Comment 1 Jasem Mutlaq 2019-03-07 20:01:05 UTC
Git commit f250da377730b5228dbf68e06382ed1a1f2dd049 by Jasem Mutlaq.
Committed on 07/03/2019 at 20:00.
Pushed by mutlaqja into branch 'master'.

Remove unrequired attributes.

Does this fix your issue?

M  +0    -2    kstars/data/qml/mount/mountbox.qml

https://commits.kde.org/kstars/f250da377730b5228dbf68e06382ed1a1f2dd049