SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE 1. start ekos; focusing works properly; 2. start capture and solve; exposure does not finish; crash 3. asi 1600mm/ EFW/ 174mini/ Celestron CGX OBSERVED RESULT The same crash occurs on a Linux Mint machine. EXPECTED RESULT SOFTWARE/OS VERSIONS Ubuntu Mate, 20.04.4 LTS Linux (x86_64) release 5.4.0-104-generic ADDITIONAL INFORMATION Kstars: --- stack trace --- #0 std::__atomic_base<int>::load(std::memory_order) const (__m=std::memory_order_relaxed, this=0x91700000000) at /usr/include/c++/9/bits/atomic_base.h:413 count = <optimized out> #1 QAtomicOps<int>::load<int>(std::atomic<int> const&) (_q_value=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic_cxx11.h:227 count = <optimized out> #2 QBasicAtomicInteger<int>::load() const (this=0x91700000000) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qbasicatomic.h:103 count = <optimized out> #3 QtPrivate::RefCount::deref() (this=0x91700000000) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qrefcount.h:66 count = <optimized out> #4 QList<QString>::~QList() (this=0x7ffe5d3cf9f0, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:829 #5 0x0000565104fd7dc3 in QList<QString>::operator=(QList<QString> const&) (l=..., this=0x56510a873b20) at /usr/include/c++/9/bits/move.h:182 tmp = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x91700000000}, d = 0x91700000000}} type = <optimized out> useImageScale = <optimized out> useImagePostion = <optimized out> astrometryDataDirs = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x565109e82f10}, d = 0x565109e82f10}}, <No data fields>} #6 QList<QString>::operator=(QList<QString> const&) (l=..., this=0x56510a873b20) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:503 type = <optimized out> useImageScale = <optimized out> useImagePostion = <optimized out> astrometryDataDirs = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x565109e82f10}, d = 0x565109e82f10}}, <No data fields>} #7 QStringList::operator=(QStringList const&) (this=0x56510a873b20) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringlist.h:99 type = <optimized out> useImageScale = <optimized out> useImagePostion = <optimized out> astrometryDataDirs = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x565109e82f10}, d = 0x565109e82f10}}, <No data fields>} #8 StellarSolver::setIndexFolderPaths(QStringList) (indexPaths=..., this=0x56510a873a90) at /usr/include/libstellarsolver/stellarsolver.h:250 type = <optimized out> useImageScale = <optimized out> useImagePostion = <optimized out> astrometryDataDirs = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x565109e82f10}, d = 0x565109e82f10}}, <No data fields>} #9 Ekos::Align::startSolving() (this=<optimized out>) at ./kstars/ekos/align/align.cpp:1915 type = <optimized out> useImageScale = <optimized out> useImagePostion = <optimized out> astrometryDataDirs = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x565109e82f10}, d = 0x565109e82f10}}, <No data fields>} #10 0x0000565104fd9b08 in Ekos::Align::processData(QSharedPointer<FITSData> const&) (this=0x56510a96e490, data=...) at ./kstars/ekos/align/align.cpp:1801 #11 0x00007f6107600328 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #12 0x0000565104cf4039 in ISD::CCD::newImage(QSharedPointer<FITSData> const&) (this=this@entry=0x565109e7caa0, _t1=...) at ./obj-x86_64-linux-gnu/kstars/KStarsLib_autogen/FRI4DANIHA/moc_indiccd.cpp:415 _a = {0x0, 0x7ffe5d3cfe30} #13 0x0000565104da616f in ISD::CCD::handleImage(ISD::CCDChip*, QString const&, _IBLOB*, QSharedPointer<FITSData>) (this=0x565109e7caa0, targetChip=0x565109a5a350, filename=..., bp=0x7f60ac00f680, data=...) at ./kstars/indi/indiccd.cpp:1719 captureMode = <optimized out> #14 0x0000565104daa0a1 in ISD::CCD::processBLOB(_IBLOB*) (this=0x565109e7caa0, bp=<optimized out>) at /usr/include/c++/9/bits/atomic_base.h:318 format = {static null = {<No data fields>}, d = 0x56510a85fce0} shortFormat = {static null = {<No data fields>}, d = 0x56510cd47000} targetChip = <optimized out> filename = {static null = {<No data fields>}, d = 0x56510947b270} blob_data = {value = <optimized out>, d = 0x56510cd47270} buffer = {d = 0x56510bc99710} #15 0x00007f6107600328 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #16 0x0000565104cf3636 in ClientManager::newINDIBLOB(_IBLOB*) (this=<optimized out>, _t1=<optimized out>) at ./obj-x86_64-linux-gnu/kstars/KStarsLib_autogen/FRI4DANIHA/moc_clientmanager.cpp:368 _a = {0x0, 0x7ffe5d3cff98} #17 0x00007f6107600c2a in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #18 0x00007f6107feea66 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #19 0x00007f6107ff80f0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #20 0x00007f61075d480a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #21 0x00007f61075d7488 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #22 0x00007f610762ce37 in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #23 0x00007f61066a417d in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #24 0x00007f61066a4400 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #25 0x00007f61066a44a3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #26 0x00007f610762c435 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #27 0x00007f61075d33ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #28 0x00007f61075db116 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #29 0x0000565104a89df4 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./kstars/main.cpp:382 app = <incomplete type> writableDir = {d_ptr = {d = 0x5651073eea20}} versionString = {static null = {<No data fields>}, d = 0x5651074059b0} aboutData = {static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7f61090b73c0, data = 0x7f61090b72c0, static_metacall = 0x7f61090554c0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x565107385c90} parser = {d = 0x5651073112a0} datestring = {static null = {<No data fields>}, d = 0x7f61076b5680 <QArrayData::shared_null>} urls = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f61076b7760 <QListData::shared_null>}, d = 0x7f61076b7760 <QListData::shared_null>}}, <No data fields>} Marco: --- stack trace --- #0 std::__atomic_base<int>::load(std::memory_order) const (__m=std::memory_order_relaxed, this=0x91700000000) at /usr/include/c++/9/bits/atomic_base.h:413 count = <optimized out> #1 QAtomicOps<int>::load<int>(std::atomic<int> const&) (_q_value=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic_cxx11.h:227 count = <optimized out> #2 QBasicAtomicInteger<int>::load() const (this=0x91700000000) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qbasicatomic.h:103 count = <optimized out> #3 QtPrivate::RefCount::deref() (this=0x91700000000) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qrefcount.h:66 count = <optimized out> #4 QList<QString>::~QList() (this=0x7ffe5d3cf9f0, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:829 #5 0x0000565104fd7dc3 in QList<QString>::operator=(QList<QString> const&) (l=..., this=0x56510a873b20) at /usr/include/c++/9/bits/move.h:182 tmp = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x91700000000}, d = 0x91700000000}} type = <optimized out> useImageScale = <optimized out> useImagePostion = <optimized out> astrometryDataDirs = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x565109e82f10}, d = 0x565109e82f10}}, <No data fields>} #6 QList<QString>::operator=(QList<QString> const&) (l=..., this=0x56510a873b20) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:503 type = <optimized out> useImageScale = <optimized out> useImagePostion = <optimized out> astrometryDataDirs = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x565109e82f10}, d = 0x565109e82f10}}, <No data fields>} #7 QStringList::operator=(QStringList const&) (this=0x56510a873b20) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringlist.h:99 type = <optimized out> useImageScale = <optimized out> useImagePostion = <optimized out> astrometryDataDirs = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x565109e82f10}, d = 0x565109e82f10}}, <No data fields>} #8 StellarSolver::setIndexFolderPaths(QStringList) (indexPaths=..., this=0x56510a873a90) at /usr/include/libstellarsolver/stellarsolver.h:250 type = <optimized out> useImageScale = <optimized out> useImagePostion = <optimized out> astrometryDataDirs = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x565109e82f10}, d = 0x565109e82f10}}, <No data fields>} #9 Ekos::Align::startSolving() (this=<optimized out>) at ./kstars/ekos/align/align.cpp:1915 type = <optimized out> useImageScale = <optimized out> useImagePostion = <optimized out> astrometryDataDirs = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x565109e82f10}, d = 0x565109e82f10}}, <No data fields>} #10 0x0000565104fd9b08 in Ekos::Align::processData(QSharedPointer<FITSData> const&) (this=0x56510a96e490, data=...) at ./kstars/ekos/align/align.cpp:1801 #11 0x00007f6107600328 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #12 0x0000565104cf4039 in ISD::CCD::newImage(QSharedPointer<FITSData> const&) (this=this@entry=0x565109e7caa0, _t1=...) at ./obj-x86_64-linux-gnu/kstars/KStarsLib_autogen/FRI4DANIHA/moc_indiccd.cpp:415 _a = {0x0, 0x7ffe5d3cfe30} #13 0x0000565104da616f in ISD::CCD::handleImage(ISD::CCDChip*, QString const&, _IBLOB*, QSharedPointer<FITSData>) (this=0x565109e7caa0, targetChip=0x565109a5a350, filename=..., bp=0x7f60ac00f680, data=...) at ./kstars/indi/indiccd.cpp:1719 captureMode = <optimized out> #14 0x0000565104daa0a1 in ISD::CCD::processBLOB(_IBLOB*) (this=0x565109e7caa0, bp=<optimized out>) at /usr/include/c++/9/bits/atomic_base.h:318 format = {static null = {<No data fields>}, d = 0x56510a85fce0} shortFormat = {static null = {<No data fields>}, d = 0x56510cd47000} targetChip = <optimized out> filename = {static null = {<No data fields>}, d = 0x56510947b270} blob_data = {value = <optimized out>, d = 0x56510cd47270} buffer = {d = 0x56510bc99710} #15 0x00007f6107600328 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #16 0x0000565104cf3636 in ClientManager::newINDIBLOB(_IBLOB*) (this=<optimized out>, _t1=<optimized out>) at ./obj-x86_64-linux-gnu/kstars/KStarsLib_autogen/FRI4DANIHA/moc_clientmanager.cpp:368 _a = {0x0, 0x7ffe5d3cff98} #17 0x00007f6107600c2a in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #18 0x00007f6107feea66 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #19 0x00007f6107ff80f0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #20 0x00007f61075d480a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #21 0x00007f61075d7488 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #22 0x00007f610762ce37 in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #23 0x00007f61066a417d in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #24 0x00007f61066a4400 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #25 0x00007f61066a44a3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #26 0x00007f610762c435 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #27 0x00007f61075d33ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #28 0x00007f61075db116 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #29 0x0000565104a89df4 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./kstars/main.cpp:382 app = <incomplete type> writableDir = {d_ptr = {d = 0x5651073eea20}} versionString = {static null = {<No data fields>}, d = 0x5651074059b0} aboutData = {static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7f61090b73c0, data = 0x7f61090b72c0, static_metacall = 0x7f61090554c0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x565107385c90} parser = {d = 0x5651073112a0} datestring = {static null = {<No data fields>}, d = 0x7f61076b5680 <QArrayData::shared_null>} urls = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f61076b7760 <QListData::shared_null>}, d = 0x7f61076b7760 <QListData::shared_null>}}, <No data fields>} tw@craig ~ $ ^C tw@craig ~ $ apport-retrace --stdout /var/crash/_usr_bin_marco.1000.crash --- stack trace --- #0 0x00007fc1f93c6295 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #1 0x00007fc1f93c8c7c in g_log_writer_default () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fc1f93c6ed7 in g_log_structured_array () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fc1f93c7904 in g_log_structured_standard () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007fc1f87d1cda in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 #5 0x00007fc1f87ded03 in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 #6 0x00007fc1f7fc528b in _XError () at /usr/lib/x86_64-linux-gnu/libX11.so.6 #7 0x00007fc1f7fc1ff7 in () at /usr/lib/x86_64-linux-gnu/libX11.so.6 #8 0x00007fc1f7fc2095 in () at /usr/lib/x86_64-linux-gnu/libX11.so.6 #9 0x00007fc1f7fc2b11 in _XReadEvents () at /usr/lib/x86_64-linux-gnu/libX11.so.6 #10 0x00007fc1f7fc1071 in XWindowEvent () at /usr/lib/x86_64-linux-gnu/libX11.so.6 #11 0x00007fc1f92f35ae in meta_display_get_current_time_roundtrip () at /usr/lib/x86_64-linux-gnu/libmarco-private.so.2 #12 0x00007fc1f92f369e in () at /usr/lib/x86_64-linux-gnu/libmarco-private.so.2 #13 0x00007fc1f92f65a0 in meta_display_focus_the_no_focus_window () at /usr/lib/x86_64-linux-gnu/libmarco-private.so.2 #14 0x00007fc1f9320ef6 in () at /usr/lib/x86_64-linux-gnu/libmarco-private.so.2 #15 0x00007fc1f931a6f5 in meta_window_free () at /usr/lib/x86_64-linux-gnu/libmarco-private.so.2 #16 0x00007fc1f92f5e3a in meta_display_unmanage_windows_for_screen () at /usr/lib/x86_64-linux-gnu/libmarco-private.so.2 #17 0x00007fc1f93093d4 in meta_screen_free () at /usr/lib/x86_64-linux-gnu/libmarco-private.so.2 #18 0x00007fc1f92f630b in meta_display_close () at /usr/lib/x86_64-linux-gnu/libmarco-private.so.2 #19 0x0000555e2c96a247 in main ()
*** Bug 451544 has been marked as a duplicate of this bug. ***
Interestingly; by building the latest KStars and StellarSolver from source, this bug was suddenly gone. So this may be already fixed, but the current kstars-bleeding build (202203041042) still has it.
Hi there, can you verify if this issue still exists now that I made StellarSolver 2.2 and that we released KStars 3.5.8? I worked hard to address crashing issues like this one, so hopefully these changes will fix it. I am sorry that the upgrade in StellarSolver affected the Stable version of KStars 3.5.7. The new version of StellarSolver should have just been used by 3.5.8 and not 3.5.7 since the APIs were incompatible, but then when it got updated to the PPA, many people's systems used the new StellarSolver with the old KStars, which wasn't good.. We did update the PPA with a patch to try to fix 3.5.7 to work with StellarSolver 2, but it wasn't really designed for it. The new KStars 3.5.8 and the new StellarSolver 2.2 should be pretty good together.
Oops, I posted this before I read the post at the bottom, so it has been fixed?
(In reply to Rob from comment #4) > Oops, I posted this before I read the post at the bottom, so it has been > fixed? Ok, so I just upgraded my installed kstars-bleeding package to the latest, and I can confirm that this problem is fixed with the package version 3.5.7+202203171029~ubuntu18.04.1
Ok very good!