Bug 407074

Summary: KStars crashes when opening FITS
Product: [Applications] kstars Reporter: Jasem Mutlaq <mutlaqja>
Component: generalAssignee: Jasem Mutlaq <mutlaqja>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 3.2.1   
Target Milestone: ---   
Platform: Other   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In: 3.2.2
Sentry Crash Report:

Description Jasem Mutlaq 2019-04-30 05:15:03 UTC
SUMMARY

Several users reported KStars on Windows crashes when opening FITS images captured on a remote SM/RPI3 box.

STEPS TO REPRODUCE
1. Capture remote image
2. 
3. 

OBSERVED RESULT

Crash

EXPECTED RESULT

No crash

SOFTWARE/OS VERSIONS
Windows: 7 and 10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Jasem Mutlaq 2019-05-01 08:28:32 UTC
Git commit 161d65aa7d10bd7f17b6a7006e8f3bde24f2227f by Jasem Mutlaq.
Committed on 01/05/2019 at 08:25.
Pushed by mutlaqja into branch 'master'.

If previous image is not done loading, wait until the future is completed.

This could fix:
Related: bug 406950, bug 407088, bug 407089

FIXED-IN:3.2.2

M  +2    -0    kstars/fitsviewer/fitsview.cpp

https://commits.kde.org/kstars/161d65aa7d10bd7f17b6a7006e8f3bde24f2227f