https://bugs.kde.org/show_bug.cgi?id=451544

            Bug ID: 451544
           Summary: KStars crash when beginning plate solve
           Product: kstars
           Version: unspecified
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: mutla...@ikarustech.com
          Reporter: jusasi+kdeb...@gmail.com
  Target Milestone: ---

Application: kstars (3.5.7 Stable)

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

-- Information about the crash:
- What I was doing when the application crashed:

Opened KStars, started Ekos, slewed to a star, went to align. With default
solver settings (Internal SEP, Internal Solver, Default profile) I ran the
solve. It ran the exposure, then crashed.

Looking at the stack trace looks like this is where it crashed:
StellarSolver::setIndexFolderPaths

At first I did not have indexes downloaded, so I thought maybe that's why. Then
some indexes were downloaded and I ran it again, same crash. Also tried
changing solver to Watney solver, no effect, still crashes.

The software versions I'm using:
libstellarsolver:amd64/bionic 2.1+202203102136~ubuntu18.04.1
kstars-bleeding:amd64/bionic 6:3.5.7+202203041042~ubuntu18.04.1 
kstars-bleeding-data:all/bionic 6:3.5.7+202203041042~ubuntu18.04.1 
kstars-bleeding-dbg:amd64/bionic 6:3.5.7+202203041042~ubuntu18.04.1

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 0x7f07f5f9ed40 (LWP 7584))]

Thread 14 (Thread 0x7f0776ffd700 (LWP 7636)):
#0  0x00007f07eb877423 in g_private_get () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f07eb859790 in g_thread_self () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f07eb8317ed in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f07ef6bb87b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f07ef6608da in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f07ef47f23a in QThread::exec() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f07ef48417d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f07f1baa6db in start_thread (arg=0x7f0776ffd700) at
pthread_create.c:463
#8  0x00007f07ee1a561f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7f0783da5700 (LWP 7620)):
#0  0x00007f07ee198bb9 in __GI___poll (fds=0x7f0778012480, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f07eb8316e9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f07eb8317fc in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f07ef6bb87b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f07ef6608da in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f07ef47f23a in QThread::exec() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f07f416f6f5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f07ef48417d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f07f1baa6db in start_thread (arg=0x7f0783da5700) at
pthread_create.c:463
#9  0x00007f07ee1a561f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7f079f7fe700 (LWP 7599)):
#0  0x00007f07ee198bb9 in __GI___poll (fds=0x7f0784004a10, nfds=1, timeout=986)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f07eb8316e9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f07eb8317fc in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f07ef6bb87b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f07ef6608da in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f07ef47f23a in QThread::exec() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f07ef48417d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f07f1baa6db in start_thread (arg=0x7f079f7fe700) at
pthread_create.c:463
#8  0x00007f07ee1a561f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7f07bdcf6700 (LWP 7594)):
#0  0x00007f07f1bb0ad3 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55db932359e0) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55db93235990,
cond=0x55db932359b8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55db932359b8, mutex=0x55db93235990) at
pthread_cond_wait.c:655
#3  0x00007f07c7405068 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#4  0x00007f07c7404fe7 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#5  0x00007f07f1baa6db in start_thread (arg=0x7f07bdcf6700) at
pthread_create.c:463
#6  0x00007f07ee1a561f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f07be4f7700 (LWP 7593)):
#0  0x00007f07f1bb0ad3 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55db932359e0) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55db93235990,
cond=0x55db932359b8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55db932359b8, mutex=0x55db93235990) at
pthread_cond_wait.c:655
#3  0x00007f07c7405068 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#4  0x00007f07c7404fe7 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#5  0x00007f07f1baa6db in start_thread (arg=0x7f07be4f7700) at
pthread_create.c:463
#6  0x00007f07ee1a561f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f07becf8700 (LWP 7592)):
#0  0x00007f07f1bb0ad3 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55db932359e0) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55db93235990,
cond=0x55db932359b8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55db932359b8, mutex=0x55db93235990) at
pthread_cond_wait.c:655
#3  0x00007f07c7405068 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#4  0x00007f07c7404fe7 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#5  0x00007f07f1baa6db in start_thread (arg=0x7f07becf8700) at
pthread_create.c:463
#6  0x00007f07ee1a561f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f07bf4f9700 (LWP 7591)):
#0  0x00007f07f1bb0ad3 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55db932359e0) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55db93235990,
cond=0x55db932359b8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55db932359b8, mutex=0x55db93235990) at
pthread_cond_wait.c:655
#3  0x00007f07c7405068 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#4  0x00007f07c7404fe7 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#5  0x00007f07f1baa6db in start_thread (arg=0x7f07bf4f9700) at
pthread_create.c:463
#6  0x00007f07ee1a561f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f07bfcfa700 (LWP 7590)):
#0  0x00007f07f1bb0ad3 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55db9322af18) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55db9322aec8,
cond=0x55db9322aef0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55db9322aef0, mutex=0x55db9322aec8) at
pthread_cond_wait.c:655
#3  0x00007f07c740793b in ?? () from
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#4  0x00007f07c74077b7 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#5  0x00007f07f1baa6db in start_thread (arg=0x7f07bfcfa700) at
pthread_create.c:463
#6  0x00007f07ee1a561f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f07c04fb700 (LWP 7589)):
#0  0x00007f07f1bb0ad3 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55db9322adb8) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55db9322ad68,
cond=0x55db9322ad90) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55db9322ad90, mutex=0x55db9322ad68) at
pthread_cond_wait.c:655
#3  0x00007f07c740793b in ?? () from
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#4  0x00007f07c74077b7 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#5  0x00007f07f1baa6db in start_thread (arg=0x7f07c04fb700) at
pthread_create.c:463
#6  0x00007f07ee1a561f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f07c0cfc700 (LWP 7588)):
#0  0x00007f07f1bb0ad3 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55db9322ac58) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55db9322ac08,
cond=0x55db9322ac30) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55db9322ac30, mutex=0x55db9322ac08) at
pthread_cond_wait.c:655
#3  0x00007f07c740793b in ?? () from
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#4  0x00007f07c74077b7 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#5  0x00007f07f1baa6db in start_thread (arg=0x7f07c0cfc700) at
pthread_create.c:463
#6  0x00007f07ee1a561f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f07c14fd700 (LWP 7587)):
#0  0x00007f07f1bb0ad3 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55db9322aaf8) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55db9322aaa8,
cond=0x55db9322aad0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55db9322aad0, mutex=0x55db9322aaa8) at
pthread_cond_wait.c:655
#3  0x00007f07c740793b in ?? () from
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#4  0x00007f07c74077b7 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#5  0x00007f07f1baa6db in start_thread (arg=0x7f07c14fd700) at
pthread_create.c:463
#6  0x00007f07ee1a561f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f07d2a3f700 (LWP 7586)):
#0  0x00007f07ee198bb9 in __GI___poll (fds=0x7f07cc019c20, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f07eb8316e9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f07eb8317fc in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f07ef6bb87b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f07ef6608da in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f07ef47f23a in QThread::exec() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f07f1dd7d45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f07ef48417d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f07f1baa6db in start_thread (arg=0x7f07d2a3f700) at
pthread_create.c:463
#9  0x00007f07ee1a561f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f07d9a3e700 (LWP 7585)):
#0  0x00007f07ee198bb9 in __GI___poll (fds=0x7f07d9a3dbe8, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f07e8374747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f07e837636a in xcb_wait_for_event () from
/usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f07dce135e9 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f07ef48417d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f07f1baa6db in start_thread (arg=0x7f07d9a3e700) at
pthread_create.c:463
#6  0x00007f07ee1a561f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f07f5f9ed40 (LWP 7584)):
[KCrash Handler]
#6  std::__atomic_base<int>::load (__m=std::memory_order_relaxed,
this=0x91700000000) 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=0x91700000000) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qbasicatomic.h:102
#9  QtPrivate::RefCount::deref (this=0x91700000000) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qrefcount.h:66
#10 QList<QString>::~QList (this=0x7fff70ed86a8, __in_chrg=<optimized out>) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:826
#11 0x000055db91b263af in QList<QString>::operator= (l=...,
this=0x55db9661f9c0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:503
#12 QStringList::operator= (this=0x55db9661f9c0) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstringlist.h:101
#13 StellarSolver::setIndexFolderPaths (indexPaths=..., this=0x55db9661f930) at
/usr/include/libstellarsolver/stellarsolver.h:250
#14 Ekos::Align::startSolving (this=0x55db9818e8a0) at
./kstars/ekos/align/align.cpp:1915
#15 0x000055db91b27b78 in Ekos::Align::processData (this=0x55db9818e8a0,
data=...) at ./kstars/ekos/align/align.cpp:1777
#16 0x00007f07ef69163f in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x000055db91899745 in ISD::CCD::newImage (this=this@entry=0x55db96c3e050,
_t1=...) at
./obj-x86_64-linux-gnu/kstars/KStarsLib_autogen/FRI4DANIHA/moc_indiccd.cpp:411
#18 0x000055db9193a89b in ISD::CCD::handleImage
(this=this@entry=0x55db96c3e050, targetChip=targetChip@entry=0x55db98678f40,
filename=..., bp=bp@entry=0x7f076c00b0a0, data=...) at
./kstars/indi/indiccd.cpp:1719
#19 0x000055db9193e3ed in ISD::CCD::processBLOB (this=0x55db96c3e050,
bp=0x7f076c00b0a0) at ./kstars/indi/indiccd.cpp:1638
#20 0x00007f07ef69163f in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x000055db91898e02 in ClientManager::newINDIBLOB (this=<optimized out>,
_t1=<optimized out>) at
./obj-x86_64-linux-gnu/kstars/KStarsLib_autogen/FRI4DANIHA/moc_clientmanager.cpp:364
#22 0x00007f07ef692092 in QObject::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f07f03e083c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007f07f03e8104 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007f07ef6628a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f07ef66501d in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f07ef6bc233 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007f07eb831537 in g_main_context_dispatch () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f07eb831770 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f07eb8317fc in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f07ef6bb85f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007f07ef6608da in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007f07ef669984 in QCoreApplication::exec() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x000055db9164c612 in main (argc=<optimized out>, argv=<optimized out>) at
./kstars/main.cpp:382

Possible duplicates by query: bug 451366, bug 435992, bug 434725.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to