Fits viewer: hardcrash when taking a frame, fitsviewer opens and crashes the whole kstars This is the backtrace: Thread 1 "kstars" received signal SIGSEGV, Segmentation fault. 0x082b9cd6 in FITSData::getFilename (this=) at /build/kstars-bleeding-97qfta/kstars-bleeding-16.04+r6006.2618~ubuntu16.04.1/kstars/fitsviewer/fitsdata.h:171 171 /build/kstars-bleeding-97qfta/kstars-bleeding-16.04+r6006.2618~ubuntu16.04.1/kstars/fitsviewer/fitsdata.h: No such file or directory. (gdb) backtrace #0 0x082b9cd6 in FITSData::getFilename (this=) at /build/kstars-bleeding-97qfta/kstars-bleeding-16.04+r6006.2618~ubuntu16.04.1/kstars/fitsviewer/fitsdata.h:171 #1 Ekos::DarkLibrary::newFITS (this=0xbc30d70, bp=0xac513c40) at /build/kstars-bleeding-97qfta/kstars-bleeding-16.04+r6006.2618~ubuntu16.04.1/kstars/ekos/darklibrary.cpp:266 #2 0x081a7cb6 in Ekos::DarkLibrary::qt_static_metacall (_o=0xbc30d70, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfffe6d4) at /build/kstars-bleeding-97qfta/kstars-bleeding-16.04+r6006.2618~ubuntu16.04.1/obj-i686-linux-gnu/kstars/moc_darklibrary.cpp:85 #3 0xb5a83611 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #4 0xb5a83b0d in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #5 0x0819f42a in ISD::GDInterface::BLOBUpdated (this=0xb42def8, _t1=0xac513c40) at /build/kstars-bleeding-97qfta/kstars-bleeding-16.04+r6006.2618~ubuntu16.04.1/obj-i686-linux-gnu/kstars/moc_indistd.cpp:373 #6 0x081f6919 in ISD::CCD::processBLOB (this=0xb42def8, bp=0xac513c40) at /build/kstars-bleeding-97qfta/kstars-bleeding-16.04+r6006.2618~ubuntu16.04.1/kstars/indi/indiccd.cpp:1391 #7 0x081ed23b in INDIListener::processBLOB (this=0xabffb50, bp=0xac513c40) at /build/kstars-bleeding-97qfta/kstars-bleeding-16.04+r6006.2618~ubuntu16.04.1/kstars/indi/indilistener.cpp:371 #8 0x081b1afe in INDIListener::qt_static_metacall (_o=0xabffb50, _c=QMetaObject::InvokeMetaMethod, _id=18, _a=0xac517f60) at /build/kstars-bleeding-97qfta/kstars-bleeding-16.04+r6006.2618~ubuntu16.04.1/obj-i686-linux-gnu/kstars/moc_indilistener.cpp:182 #9 0xb5a80420 in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #10 0xb5a84243 in QObject::event(QEvent*) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #11 0xb64b915a in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5 #12 0xb64be81c in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5 #13 0xb5a5381f in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #14 0xb5a55eff in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #15 0xb5a563e7 in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #16 0xb5aab703 in ?? () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #17 0xb4b46ed9 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0 #18 0xb4b47179 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 ---Type to continue, or q to quit--- #19 0xb4b47244 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #20 0xb5aabaf3 in QEventDispatcherGlib::processEvents(QFlags) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #21 0xb1ed6a81 in ?? () from /usr/lib/i386-linux-gnu/libQt5XcbQpa.so.5 #22 0xb5a50953 in QEventLoop::processEvents(QFlags) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #23 0xb5a50daa in QEventLoop::exec(QFlags) () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #24 0xb5a59385 in QCoreApplication::exec() () from /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 #25 0xb5efa931 in QGuiApplication::exec() () from /usr/lib/i386-linux-gnu/sse2/libQt5Gui.so.5 #26 0xb64b5024 in QApplication::exec() () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5 #27 0x0808f466 in main (argc=1, argv=0xbfffefe4) at /build/kstars-bleeding-97qfta/kstars-bleeding-16.04+r6006.2618~ubuntu16.04.1/kstars/main.cpp:242 (gdb) This is what happened in the logs: Fits viewer: logs: cboy@vulpecula:~/.local/share/kstars/logs/2016-09-13$ tail -50 log_21\:24\:54.txt 2016-09-13T21:28:52.341 - DEBG - EQMod Mount : "Setting Eqmod Goto RA=23.7625 DE=49.1537 (target RA=23.7393 DE=43.9889) " 2016-09-13T21:28:52.347 - DEBG - EQMod Mount : "Slewing mount: RA increment = 596308, DE increment = -1045666 " 2016-09-13T21:28:52.529 - DEBG - EQMod Mount : "Slewing to RA: 23:44:21 - DEC: 43:59:20 " 2016-09-13T21:29:04.440 - DEBG - EQMod Mount : "Iterative Goto (1): RA diff = 11.56 arcsecs DE diff = 441.18 arcsecs " 2016-09-13T21:29:04.443 - DEBG - EQMod Mount : "Iterative goto (1): slew mount to RA increment = -1229, DE increment = -3138 " 2016-09-13T21:29:05.673 - DEBG - EQMod Mount : "Iterative Goto (2): RA diff = 1.19 arcsecs DE diff = 0.10 arcsecs " 2016-09-13T21:29:05.777 - DEBG - EQMod Mount : "Telescope slew is complete. Tracking TRACK_SIDEREAL... " 2016-09-13T21:29:12.146 - DEBG - SBIG CCD : "Taking 0s exposure on guide head... " 2016-09-13T21:29:17.871 - DEBG - fits MIN: 7964 - fits MAX: 52094 - pixel range: 44130 - bin width 77.5571 bin count 570 2016-09-13T21:29:17.944 - DEBG - FITHistogram: JMIndex 0.99726 2016-09-13T21:29:18.046 - DEBG - SBIG CCD : "Taking 0s exposure on guide head... " 2016-09-13T21:29:24.200 - DEBG - fits MIN: 7889 - fits MAX: 52054 - pixel range: 44165 - bin width 77.6186 bin count 570 2016-09-13T21:29:24.246 - DEBG - FITHistogram: JMIndex 0.996939 2016-09-13T21:29:24.317 - DEBG - SBIG CCD : "Taking 0s exposure on guide head... " 2016-09-13T21:29:30.465 - DEBG - fits MIN: 7963 - fits MAX: 52167 - pixel range: 44204 - bin width 77.6872 bin count 570 2016-09-13T21:29:30.492 - DEBG - FITHistogram: JMIndex 0.997028 2016-09-13T21:29:30.539 - DEBG - SBIG CCD : "Taking 0s exposure on guide head... " 2016-09-13T21:29:36.661 - DEBG - fits MIN: 7985 - fits MAX: 52098 - pixel range: 44113 - bin width 77.5272 bin count 570 2016-09-13T21:29:36.698 - DEBG - FITHistogram: JMIndex 0.997044 2016-09-13T21:29:43.958 - DEBG - ISD:Telescope: Sending coords RA 23.7162 DEC 51.4874 2016-09-13T21:29:43.994 - DEBG - EQMod Mount : "Starting Goto RA=23.7162 DE=51.4874 (current RA=23.7629 DE=49.1537) " 2016-09-13T21:29:44.022 - DEBG - EQMod Mount : "GOTO ALign Nearest: delta RA = 0.023200, delta DEC = 5.164800 " 2016-09-13T21:29:44.025 - DEBG - EQMod Mount : "Aligned Eqmod Goto RA=23.7394 DE=56.6522 (target RA=23.7162 DE=51.4874) " 2016-09-13T21:29:44.027 - DEBG - EQMod Mount : "Setting Eqmod Goto RA=23.7394 DE=56.6522 (target RA=23.7162 DE=51.4874) " 2016-09-13T21:29:44.030 - DEBG - EQMod Mount : "Slewing mount: RA increment = 9066, DE increment = 191962 " 2016-09-13T21:29:44.204 - DEBG - EQMod Mount : "Slewing to RA: 23:42:58 - DEC: 51:29:15 " 2016-09-13T21:29:47.692 - DEBG - EQMod Mount : "Iterative Goto (1): RA diff = 3.18 arcsecs DE diff = 250.08 arcsecs " 2016-09-13T21:29:47.695 - DEBG - EQMod Mount : "Iterative goto (1): slew mount to RA increment = 344, DE increment = 1778 " 2016-09-13T21:29:48.940 - DEBG - EQMod Mount : "Iterative Goto (2): RA diff = 1.19 arcsecs DE diff = 0.05 arcsecs " 2016-09-13T21:29:48.990 - DEBG - EQMod Mount : "Telescope slew is complete. Tracking TRACK_SIDEREAL... " 2016-09-13T21:29:53.105 - DEBG - SBIG CCD : "Taking 0s exposure on guide head... " 2016-09-13T21:29:58.859 - DEBG - fits MIN: 7951 - fits MAX: 52200 - pixel range: 44249 - bin width 77.7663 bin count 570 2016-09-13T21:29:58.913 - DEBG - FITHistogram: JMIndex 0.997241 2016-09-13T21:29:59.021 - DEBG - SBIG CCD : "Taking 0s exposure on guide head... " 2016-09-13T21:30:05.147 - DEBG - fits MIN: 7984 - fits MAX: 52063 - pixel range: 44079 - bin width 77.4675 bin count 570 2016-09-13T21:30:05.186 - DEBG - FITHistogram: JMIndex 0.997019 2016-09-13T21:30:05.287 - DEBG - SBIG CCD : "Taking 0s exposure on guide head... " 2016-09-13T21:30:11.402 - DEBG - fits MIN: 7980 - fits MAX: 52088 - pixel range: 44108 - bin width 77.5185 bin count 570 2016-09-13T21:30:11.456 - DEBG - FITHistogram: JMIndex 0.997019 2016-09-13T21:30:11.520 - DEBG - SBIG CCD : "Taking 0s exposure on guide head... " 2016-09-13T21:30:11.801 - DEBG - Focus: "Capturing image..." 2016-09-13T21:30:11.803 - DEBG - SBIG CCD : "Taking 0s exposure on main camera... " 2016-09-13T21:30:19.714 - DEBG - fits MIN: 962 - fits MAX: 50934 - pixel range: 49972 - bin width 40.0417 bin count 1249 2016-09-13T21:30:19.843 - DEBG - FITHistogram: JMIndex 0.999995 2016-09-13T21:30:19.935 - DEBG - Focus: "Capturing dark frame..." 2016-09-13T21:30:20.705 - DEBG - SBIG CCD : "Taking 1s exposure on main camera... " 2016-09-13T21:30:20.722 - DEBG - WARNING: Phonon::createPath: Cannot connect Phonon::MediaObject ( no objectName ) to Phonon::AudioOutput ( no objectName ). 2016-09-13T21:30:20.794 - DEBG - fits MIN: 8307 - fits MAX: 52158 - pixel range: 43851 - bin width 77.0668 bin count 570 2016-09-13T21:30:20.840 - DEBG - FITHistogram: JMIndex 0.993826 2016-09-13T21:30:20.861 - DEBG - Focus: "Dark frame received." (the log file ends here, hardcrash occurs)