Bug 416182 - kstars crashing when platesolving
Summary: kstars crashing when platesolving
Status: RESOLVED WORKSFORME
Alias: None
Product: kstars
Classification: Applications
Component: general (other bugs)
Version First Reported In: 3.3.9
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Jasem Mutlaq
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-01-12 18:09 UTC by Flavius
Modified: 2020-08-25 04:33 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 Flavius 2020-01-12 18:09:04 UTC
Application: kstars (3.3.9)

Qt Version: 5.9.5
Frameworks Version: 5.44.0
Operating System: Linux 5.0.0-37-generic x86_64
Distribution: Ubuntu 18.04.3 LTS

-- Information about the crash:
- What I was doing when the application crashed:
doing platesolving for target acquisition and platesolving for legacy polar alignment

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 0x7f9e50aa3440 (LWP 2842))]

Thread 10 (Thread 0x7f9e1a756700 (LWP 2883)):
#0  0x00007f9e48d62bf9 in __GI___poll (fds=0x7f9e000036e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f9e463fb5c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9e463fb6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9e4af1e99b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f9e4aec39fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f9e4ace223a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f9e4ec766f5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f9e4ace717d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f9e49fb36db in start_thread (arg=0x7f9e1a756700) at pthread_create.c:463
#9  0x00007f9e48d6f88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f9dff475700 (LWP 2857)):
[KCrash Handler]
#6  0x000055b406f66878 in FITSData::loadWCS (this=0x7f9da00af090) at ./kstars/fitsviewer/fitsdata.cpp:2444
#7  0x000055b406f3f1c2 in QtConcurrent::StoredMemberFunctionPointerCall0<bool, FITSData>::runFunctor (this=0x7f9e10070bf0) at /usr/include/x86_64-linux-gnu/qt5/QtConcurrent/qtconcurrentstoredfunctioncall.h:189
#8  0x000055b406e038e5 in QtConcurrent::RunFunctionTask<bool>::run (this=0x7f9e10070bf0) at /usr/include/x86_64-linux-gnu/qt5/QtConcurrent/qtconcurrentrunbase.h:108
#9  0x00007f9e4ace42b2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f9e4ace717d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f9e49fb36db in start_thread (arg=0x7f9dff475700) at pthread_create.c:463
#12 0x00007f9e48d6f88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f9e1b7fe700 (LWP 2851)):
#0  0x00007f9e48d62bf9 in __GI___poll (fds=0x7f9e0c004a10, nfds=1, timeout=9652) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f9e463fb5c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9e463fb6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9e4af1e99b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f9e4aec39fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f9e4ace223a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f9e4ace717d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f9e49fb36db in start_thread (arg=0x7f9e1b7fe700) at pthread_create.c:463
#8  0x00007f9e48d6f88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f9e1bfff700 (LWP 2849)):
#0  0x00007f9e49fb9ed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7f9e1bffebc0, expected=0, futex_word=0x55b4084e4be0) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7f9e1bffec80, mutex=0x55b4084e4b90, cond=0x55b4084e4bb8) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x55b4084e4bb8, mutex=0x55b4084e4b90, abstime=0x7f9e1bffec80) at pthread_cond_wait.c:667
#3  0x00007f9e4ace8468 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f9e4ace453d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f9e4ace717d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f9e49fb36db in start_thread (arg=0x7f9e1bfff700) at pthread_create.c:463
#7  0x00007f9e48d6f88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f9e20d2b700 (LWP 2848)):
#0  0x00007f9e49fb9ed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7f9e20d2abc0, expected=0, futex_word=0x55b4084dfa40) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7f9e20d2ac80, mutex=0x55b4084df9f0, cond=0x55b4084dfa18) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x55b4084dfa18, mutex=0x55b4084df9f0, abstime=0x7f9e20d2ac80) at pthread_cond_wait.c:667
#3  0x00007f9e4ace8468 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f9e4ace453d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f9e4ace717d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f9e49fb36db in start_thread (arg=0x7f9e20d2b700) at pthread_create.c:463
#7  0x00007f9e48d6f88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f9e2152c700 (LWP 2847)):
#0  0x00007f9e49fb9ed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7f9e2152bbc0, expected=0, futex_word=0x55b4084efec0) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7f9e2152bc80, mutex=0x55b4084efe70, cond=0x55b4084efe98) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x55b4084efe98, mutex=0x55b4084efe70, abstime=0x7f9e2152bc80) at pthread_cond_wait.c:667
#3  0x00007f9e4ace8468 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f9e4ace453d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f9e4ace717d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f9e49fb36db in start_thread (arg=0x7f9e2152c700) at pthread_create.c:463
#7  0x00007f9e48d6f88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f9e21ff9700 (LWP 2845)):
#0  0x00007f9e49fb99f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55b4081975d8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55b408197588, cond=0x55b4081975b0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55b4081975b0, mutex=0x55b408197588) at pthread_cond_wait.c:655
#3  0x00007f9e230b22cb in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f9e230b1ff7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f9e49fb36db in start_thread (arg=0x7f9e21ff9700) at pthread_create.c:463
#6  0x00007f9e48d6f88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f9e2e0c8700 (LWP 2844)):
#0  0x00007f9e49fbd384 in __libc_read (fd=7, buf=0x7f9e2e0c7ae0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f9e464402d0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9e463fb0b7 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9e463fb570 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9e463fb6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9e4af1e99b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f9e4aec39fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f9e4ace223a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f9e4b39bd45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007f9e4ace717d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f9e49fb36db in start_thread (arg=0x7f9e2e0c8700) at pthread_create.c:463
#11 0x00007f9e48d6f88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f9e35036700 (LWP 2843)):
#0  0x00007f9e48d62bf9 in __GI___poll (fds=0x7f9e35035c28, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f9e43181747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f9e4318336a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f9e37de35e9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f9e4ace717d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f9e49fb36db in start_thread (arg=0x7f9e35036700) at pthread_create.c:463
#6  0x00007f9e48d6f88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f9e50aa3440 (LWP 2842)):
#0  0x00007f9e49fb99f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55b40e4d7d00) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55b40e4d7cb0, cond=0x55b40e4d7cd8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55b40e4d7cd8, mutex=0x55b40e4d7cb0) at pthread_cond_wait.c:655
#3  0x00007f9e4ace85ab in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f9e4acdb0e0 in QFutureInterfaceBase::waitForFinished() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x000055b406f4ad72 in FITSView::loadFITSFromData (this=this@entry=0x55b40c9810d0, data=data@entry=0x55b40b1ebdc0, inFilename=...) at ./kstars/fitsviewer/fitsview.cpp:309
#6  0x000055b40705bf75 in ISD::CCD::loadImageInView (this=this@entry=0x55b40a01ca90, bp=bp@entry=0x7f9dec015bf0, targetChip=targetChip@entry=0x55b40d0620a0, data=data@entry=0x55b40b1ebdc0) at ./kstars/indi/indiccd.cpp:1767
#7  0x000055b407061ff1 in ISD::CCD::processBLOB (this=0x55b40a01ca90, bp=0x7f9dec015bf0) at ./kstars/indi/indiccd.cpp:1749
#8  0x000055b40704f656 in INDIListener::processBLOB (this=<optimized out>, bp=0x7f9dec015bf0) at ./kstars/indi/indilistener.cpp:435
#9  0x000055b406ffa1d4 in INDIListener::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./obj-x86_64-linux-gnu/kstars/KStarsLib_autogen/FRI4DANIHA/moc_indilistener.cpp:189
#10 0x00007f9e4aef4645 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x000055b406fc79a2 in ClientManager::newINDIBLOB (this=<optimized out>, _t1=<optimized out>) at ./obj-x86_64-linux-gnu/kstars/KStarsLib_autogen/FRI4DANIHA/moc_clientmanager.cpp:363
#12 0x00007f9e4aef51b2 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f9e4c34a83c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f9e4c352104 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f9e4aec59c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f9e4aec813d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f9e4af1f353 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f9e463fb417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f9e463fb650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f9e463fb6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f9e4af1e97f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f9e4aec39fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f9e4aeccaa4 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x000055b406db9412 in main (argc=<optimized out>, argv=<optimized out>) at ./kstars/main.cpp:333

Reported using DrKonqi
Comment 1 Jasem Mutlaq 2020-07-26 18:27:35 UTC
Please test on 3.4.3 and report back.
Comment 2 Bug Janitor Service 2020-08-10 04:33:09 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 2020-08-25 04:33:09 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!