Bug 389583

Summary: Kstars crash when re-starting INDI server (reproducable)
Product: [Applications] kstars Reporter: schwim <schwim>
Component: generalAssignee: Jasem Mutlaq <mutlaqja>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version First Reported In: 2.9.2   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: backtrace

Description schwim 2018-01-29 03:43:17 UTC
Created attachment 110196 [details]
backtrace

Versions 2.8.9 - 2.9.2 from the PPA as well as 2.9.2. built from the git repository. Both systems running Mint Xenial. 

To reproduce:

Open kstars
Open Ekos
Start INDI (automatic connect)
Disconnect from devices
Stop INDI
Restart INDI

This results in a crash. A backtrace is attached, however the backtrace tool says it is not useful info.
Comment 1 schwim 2018-01-29 03:43:49 UTC
This happens when connecting to an external/remote indi proces as well.
Comment 2 Jasem Mutlaq 2018-01-29 12:35:15 UTC
Git commit 982e9ce3687e9d98ad2e81da82d42b7e76842ae3 by Jasem Mutlaq.
Committed on 29/01/2018 at 12:33.
Pushed by mutlaqja into branch 'master'.

Fix crashing on older Qt systems when reloading QML sources by deleting context.

M  +2    -1    kstars/ekos/mount/mount.cpp

https://commits.kde.org/kstars/982e9ce3687e9d98ad2e81da82d42b7e76842ae3
Comment 3 schwim 2018-01-29 21:12:34 UTC
Pulled and built the latest. Fix appears to have solved the problem. Thanks!