Bug 434608

Summary: Kstars crash on opening fits files stacked in ASTAP
Product: [Applications] kstars Reporter: luzik
Component: generalAssignee: Jasem Mutlaq <mutlaqja>
Status: RESOLVED WAITINGFORINFO    
Severity: crash    
Priority: NOR    
Version First Reported In: 3.5.2   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description luzik 2021-03-19 06:30:21 UTC
SUMMARY
Kstars crash on opening fits files stacked in ASTAP.
I can provide that file (~100MB) but it is essentially any file generated in ASTAP.
Same file can be opened in GIMP and in CCDCIEL


STEPS TO REPRODUCE
1. Stack fits from kstars in ASTAP
2. Try to open that file in kstars

OBSERVED RESULT
Kstars silently crash

SOFTWARE/OS VERSIONS
macOS: BigSur
KDE Frameworks 5.77.0
Qt 5.15.1 (built against 5.15.1)
The cocoa windowing system

ADDITIONAL INFORMATION
Thread 7 Crashed:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff204e0462 __pthread_kill + 10
1   libsystem_pthread.dylib       	0x00007fff2050e610 pthread_kill + 263
2   libsystem_c.dylib             	0x00007fff204617ba __abort + 139
3   libsystem_c.dylib             	0x00007fff2043b8eb __stack_chk_fail + 100
4                                 	0x000000010fb23d03 0x10f1f5000 + 9628931
5                                 	0x000000010f6f557e 0x10f1f5000 + 5244286
6   org.qt-project.QtCore         	0x0000000112c80e5d 0x112c59000 + 163421
7   org.qt-project.QtCore         	0x0000000112c7cb79 0x112c59000 + 146297
8   libsystem_pthread.dylib       	0x00007fff2050e950 _pthread_start + 224
9   libsystem_pthread.dylib       	0x00007fff2050a47b thread_start + 15
Comment 1 Jasem Mutlaq 2021-03-19 10:06:09 UTC
Post a link to the FITS file that causes the crash.
Comment 3 Jasem Mutlaq 2022-10-10 06:13:05 UTC
Please check against KStars 3.6.1 and report back.