Bug 428565 - KStars Crash When Solving Plate with StellarSplver
Summary: KStars Crash When Solving Plate with StellarSplver
Status: RESOLVED WORKSFORME
Alias: None
Product: kstars
Classification: Applications
Component: general (other bugs)
Version First Reported In: git
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Jasem Mutlaq
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-11-01 15:09 UTC by vtalaie
Modified: 2022-11-09 05:12 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vtalaie 2020-11-01 15:09:05 UTC
Application: kstars (3.5.0 Beta)

Qt Version: 5.9.5
Frameworks Version: 5.44.0
Operating System: Linux 5.4.0-52-generic x86_64
Distribution: Ubuntu 18.04.5 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Acquired an image and asked StellarSolver to solve the plate.

The crash can be reproduced every time.

-- Backtrace:
Application: KStars (kstars), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb304b33880 (LWP 4999))]

Thread 5 (Thread 0x7fb2bedea700 (LWP 5023)):
#0  0x00007fb2f779f629 in g_mutex_lock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fb2f7758470 in g_main_context_acquire () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb2f7759485 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb2f77596dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb2fefb58ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fb2fef5a90a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fb2fed7923a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fb302d0a6f5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007fb2fed7e17d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fb2fe04a6db in start_thread (arg=0x7fb2bedea700) at pthread_create.c:463
#10 0x00007fb2fc563a3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fb2cf48f700 (LWP 5005)):
#0  0x00007ffc26dde95f in clock_gettime ()
#1  0x00007fb2fc573056 in __GI___clock_gettime (clock_id=1, tp=0x7fb2cf48ea90) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007fb2fefb51c1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fb2fefb39f9 in QTimerInfoList::updateCurrentTime() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fb2fefb3fd5 in QTimerInfoList::timerWait(timespec&) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fb2fefb561e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fb2f7758b28 in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fb2f77594fb in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fb2f77596dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fb2fefb58ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fb2fef5a90a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007fb2fed7923a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fb2fed7e17d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007fb2fe04a6db in start_thread (arg=0x7fb2cf48f700) at pthread_create.c:463
#14 0x00007fb2fc563a3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fb2e5a47700 (LWP 5002)):
#0  0x00007fb2fc556cf9 in __GI___poll (fds=0x7fb2d801a0f0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fb2f77595c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb2f77596dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb2fefb58ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fb2fef5a90a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fb2fed7923a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fb2ff432d45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fb2fed7e17d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fb2fe04a6db in start_thread (arg=0x7fb2e5a47700) at pthread_create.c:463
#9  0x00007fb2fc563a3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fb2e89a9700 (LWP 5001)):
#0  0x00007fb2fc556cf9 in __GI___poll (fds=0x7fb2e89a8c28, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fb2f6974747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fb2f697636a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fb2eb7565e9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fb2fed7e17d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fb2fe04a6db in start_thread (arg=0x7fb2e89a9700) at pthread_create.c:463
#6  0x00007fb2fc563a3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fb304b33880 (LWP 4999)):
[KCrash Handler]
#6  std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0x40155d5d02a7208c) at /usr/include/c++/7/bits/atomic_base.h:396
#7  QAtomicOps<int>::load<int> (_q_value=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic_cxx11.h:227
#8  QBasicAtomicInteger<int>::load (this=0x40155d5d02a7208c) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qbasicatomic.h:102
#9  QtPrivate::RefCount::ref (this=0x40155d5d02a7208c) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qrefcount.h:55
#10 0x000055c311908c58 in QString::QString (other=..., this=0x7ffc26d6cb80) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:907
#11 FITSImage::Solution::Solution (this=0x7ffc26d6cb50) at /usr/include/libstellarsolver/structuredefinitions.h:79
#12 Ekos::Align::solverComplete (this=0x55c316fa31b0) at ./kstars/ekos/align/align.cpp:3437
#13 0x00007fb2fef8b66f in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007fb2fdd71a32 in StellarSolver::processFinished (this=0x55c316a66800, code=<optimized out>) at /home/kubuntu/stellarsolver/stellarsolver/stellarsolver.cpp:388
#15 0x00007fb2fef8c0c2 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007fb3003e183c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007fb3003e9104 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007fb2fef5c8d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007fb2fef5f04d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007fb2fefb6263 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007fb2f7759417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fb2f7759650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fb2f77596dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fb2fefb588f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007fb2fef5a90a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007fb2fef639b4 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x000055c3114cef23 in main (argc=<optimized out>, argv=<optimized out>) at ./kstars/main.cpp:348

Possible duplicates by query: bug 427021, bug 417542, bug 414147, bug 413706, bug 413706.

Reported using DrKonqi
Comment 1 Jasem Mutlaq 2022-10-10 06:10:28 UTC
Please check against KStars 3.6.1 and report back.
Comment 2 Bug Janitor Service 2022-10-25 05:00:57 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2022-11-09 05:12:20 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!