Bug 394725 - crash while shooting flats
Summary: crash while shooting flats
Status: RESOLVED FIXED
Alias: None
Product: kstars
Classification: Applications
Component: general (show other bugs)
Version: 2.9.5
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: Jasem Mutlaq
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-05-26 19:22 UTC by Wolfgang Reissenberger
Modified: 2018-08-08 06:58 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfgang Reissenberger 2018-05-26 19:22:19 UTC
Application: kstars (2.9.5)

Qt Version: 5.7.1
Frameworks Version: 5.28.0
Operating System: Linux 4.9.0-6-amd64 x86_64
Distribution: Debian GNU/Linux 9.4 (stretch)

-- Information about the crash:
- What I was doing when the application crashed:
I launched a preview of the first sequence. After this was fine, I wanted to start the flat sequence. Surprisingly, the last entry had already started and it was not able to interrupt normally (button did not show running). After several clicks, it stopped. I deleted the last two entries and as I added a new one, kstars crashed (at least that's how I remember it).

The crash does not seem to be reproducible.

-- 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 0x7f0877040e00 (LWP 609))]

Thread 6 (Thread 0x7f0834d52700 (LWP 1591)):
#0  0x00007f08674ba7d2 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-10.0.so
#1  0x00007f08674babb9 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-10.0.so
#2  0x00007f08674bb43a in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-10.0.so
#3  0x00007f0869f8274c in pa_mainloop_dispatch () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007f0869f82b4c in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007f0869f82bf0 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007f0869f90bd9 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#7  0x00007f08674cb2c8 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-10.0.so
#8  0x00007f0870a9e494 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#9  0x00007f086f3abacf in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 5 (Thread 0x7f0837fff700 (LWP 694)):
#0  0x00007f086f3a267d in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f086b5a49f6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f086b5a4b0c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0871a0206b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f08719ab9ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f08717d90f3 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f08751bd6a5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f08717ddda8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f0870a9e494 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#9  0x00007f086f3abacf in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 4 (Thread 0x7f0849f23700 (LWP 628)):
#0  0x00007f086f3a267d in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f086b5a49f6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f086b5a4b0c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0871a0206b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f08719ab9ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f08717d90f3 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f08717ddda8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f0870a9e494 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#8  0x00007f086f3abacf in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 3 (Thread 0x7f084bfff700 (LWP 623)):
#0  0x00007f086f3a267d in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f086b5a49f6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f086b5a4b0c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0871a0206b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f08719ab9ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f08717d90f3 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f08717ddda8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f0870a9e494 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#8  0x00007f086f3abacf in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 2 (Thread 0x7f085bfff700 (LWP 611)):
#0  0x00007f086f3a267d in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f086b5a49f6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f086b5a4b0c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0871a0206b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f08719ab9ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f08717d90f3 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f0871c136d5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f08717ddda8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f0870a9e494 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#9  0x00007f086f3abacf in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7f0877040e00 (LWP 609)):
[KCrash Handler]
#6  0x0000000000000018 in ?? ()
#7  0x000055e811a665db in Ekos::Capture::removeJob (this=0x55e816f68690) at /home/wolfgang/sterne-jaeger/git/kstars/kstars/ekos/capture/capture.cpp:2040
#8  0x000055e811924754 in Ekos::Capture::qt_static_metacall (_o=0x55e816f68690, _c=QMetaObject::InvokeMetaMethod, _id=24, _a=0x7ffc0a4356c0) at /home/wolfgang/sterne-jaeger/build/kstars/kstars/KStarsLib_automoc.dir/moc_capture_T2SJTRLSJYTFFF.cpp:514
#9  0x00007f08719d95e9 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f0872883422 in QAbstractButton::clicked(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f0872883674 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f0872884a67 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f0872884c44 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f08727e2278 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f087279ab8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f08727a31fd in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f08719ad9e0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f08727a18ad in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f08727fc906 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007f08727ff313 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007f087279ab8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007f08727a2341 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007f08719ad9e0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f0871fdfb03 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#25 0x00007f0871fe1685 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#26 0x00007f0871fbf61b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#27 0x00007f0863c584c0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#28 0x00007f086b5a47f7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f086b5a4a60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f086b5a4b0c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f0871a0204f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007f08719ab9ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007f08719b413c in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x000055e81172ec08 in main (argc=1, argv=0x7ffc0a4366a8) at /home/wolfgang/sterne-jaeger/git/kstars/kstars/main.cpp:323

Reported using DrKonqi
Comment 1 Jasem Mutlaq 2018-06-12 12:45:48 UTC
Is this reproducible? Can't reproduce it here.
Comment 2 Wolfgang Reissenberger 2018-07-21 20:27:12 UTC
I have resolved it meanwhile. Please see my patch here: https://phabricator.kde.org/D14149