Bug 410820 - Crash when closing a document opened with Okteta plugin
Summary: Crash when closing a document opened with Okteta plugin
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 5.4.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-08-11 17:19 UTC by krzysio.kurek
Modified: 2019-08-11 17:39 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description krzysio.kurek 2019-08-11 17:19:08 UTC
Application: kdevelop (5.4.0)

Qt Version: 5.13.0
Frameworks Version: 5.60.0
Operating System: Linux 5.2.5-1-default x86_64
Distribution: "openSUSE Tumbleweed"

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

Closing a tab that has an okteta view open (e.g. with a SPIR-V shader).

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f08b4fe20c0 (LWP 9569))]

Thread 15 (Thread 0x7f0872ffd700 (LWP 9782)):
#0  0x00007f08c36e8e05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f08c61e1fef in QWaitConditionPrivate::wait (deadline=..., this=0x559887f2a610) at thread/qwaitcondition_unix.cpp:146
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x559887f2a6f0, deadline=...) at thread/qwaitcondition_unix.cpp:225
#3  0x00007f08c61e20d9 in QWaitCondition::wait (this=0x559887f08998, mutex=0x559887f2a6f0, time=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#4  0x00007f08c2d306c0 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#5  0x00007f08c2d2ccfa in ?? () from /usr/lib64/libKF5ThreadWeaver.so.5
#6  0x00007f08c2d2d0ae in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#7  0x00007f08c2d2cd51 in ?? () from /usr/lib64/libKF5ThreadWeaver.so.5
#8  0x00007f08c2d2d0ae in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#9  0x00007f08c2d2cd51 in ?? () from /usr/lib64/libKF5ThreadWeaver.so.5
#10 0x00007f08c2d2d0ae in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#11 0x00007f08c2d2cd51 in ?? () from /usr/lib64/libKF5ThreadWeaver.so.5
#12 0x00007f08c2d2d0ae in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#13 0x00007f08c2d2cd51 in ?? () from /usr/lib64/libKF5ThreadWeaver.so.5
#14 0x00007f08c2d2d0ae in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#15 0x00007f08c2d2cd51 in ?? () from /usr/lib64/libKF5ThreadWeaver.so.5
#16 0x00007f08c2d2d0ae in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#17 0x00007f08c2d2cebb in ThreadWeaver::Thread::run() () from /usr/lib64/libKF5ThreadWeaver.so.5
#18 0x00007f08c61dc112 in QThreadPrivate::start (arg=0x7f08640038e0) at thread/qthread_unix.cpp:360
#19 0x00007f08c36e2faa in start_thread () from /lib64/libpthread.so.0
#20 0x00007f08c7cc673f in clone () from /lib64/libc.so.6

Thread 14 (Thread 0x7f08737fe700 (LWP 9781)):
#0  0x00007f08c36e8e05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f08c61e1fef in QWaitConditionPrivate::wait (deadline=..., this=0x559887f2a610) at thread/qwaitcondition_unix.cpp:146
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x559887f2a6f0, deadline=...) at thread/qwaitcondition_unix.cpp:225
#3  0x00007f08c61e20d9 in QWaitCondition::wait (this=0x559887f08998, mutex=0x559887f2a6f0, time=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#4  0x00007f08c2d306c0 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#5  0x00007f08c2d2ccfa in ?? () from /usr/lib64/libKF5ThreadWeaver.so.5
#6  0x00007f08c2d2d0ae in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#7  0x00007f08c2d2cd51 in ?? () from /usr/lib64/libKF5ThreadWeaver.so.5
#8  0x00007f08c2d2d0ae in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#9  0x00007f08c2d2cd51 in ?? () from /usr/lib64/libKF5ThreadWeaver.so.5
#10 0x00007f08c2d2d0ae in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#11 0x00007f08c2d2cebb in ThreadWeaver::Thread::run() () from /usr/lib64/libKF5ThreadWeaver.so.5
#12 0x00007f08c61dc112 in QThreadPrivate::start (arg=0x7f086c0034e0) at thread/qthread_unix.cpp:360
#13 0x00007f08c36e2faa in start_thread () from /lib64/libpthread.so.0
#14 0x00007f08c7cc673f in clone () from /lib64/libc.so.6

Thread 13 (Thread 0x7f0873fff700 (LWP 9780)):
#0  0x00007f08c36e8e05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f08c61e1fef in QWaitConditionPrivate::wait (deadline=..., this=0x559887f2a610) at thread/qwaitcondition_unix.cpp:146
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x559887f2a6f0, deadline=...) at thread/qwaitcondition_unix.cpp:225
#3  0x00007f08c61e20d9 in QWaitCondition::wait (this=0x559887f08998, mutex=0x559887f2a6f0, time=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#4  0x00007f08c2d306c0 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#5  0x00007f08c2d2ccfa in ?? () from /usr/lib64/libKF5ThreadWeaver.so.5
#6  0x00007f08c2d2d0ae in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#7  0x00007f08c2d2cd51 in ?? () from /usr/lib64/libKF5ThreadWeaver.so.5
#8  0x00007f08c2d2d0ae in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#9  0x00007f08c2d2cd51 in ?? () from /usr/lib64/libKF5ThreadWeaver.so.5
#10 0x00007f08c2d2d0ae in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#11 0x00007f08c2d2cd51 in ?? () from /usr/lib64/libKF5ThreadWeaver.so.5
#12 0x00007f08c2d2d0ae in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#13 0x00007f08c2d2cd51 in ?? () from /usr/lib64/libKF5ThreadWeaver.so.5
#14 0x00007f08c2d2d0ae in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#15 0x00007f08c2d2cebb in ThreadWeaver::Thread::run() () from /usr/lib64/libKF5ThreadWeaver.so.5
#16 0x00007f08c61dc112 in QThreadPrivate::start (arg=0x7f0878003ae0) at thread/qthread_unix.cpp:360
#17 0x00007f08c36e2faa in start_thread () from /lib64/libpthread.so.0
#18 0x00007f08c7cc673f in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7f0888abb700 (LWP 9779)):
#0  0x00007f08c36e8e05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f08c61e1fef in QWaitConditionPrivate::wait (deadline=..., this=0x559887f2a610) at thread/qwaitcondition_unix.cpp:146
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x559887f2a6f0, deadline=...) at thread/qwaitcondition_unix.cpp:225
#3  0x00007f08c61e20d9 in QWaitCondition::wait (this=0x559887f08998, mutex=0x559887f2a6f0, time=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#4  0x00007f08c2d306c0 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#5  0x00007f08c2d2ccfa in ?? () from /usr/lib64/libKF5ThreadWeaver.so.5
#6  0x00007f08c2d2d0ae in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#7  0x00007f08c2d2cd51 in ?? () from /usr/lib64/libKF5ThreadWeaver.so.5
#8  0x00007f08c2d2d0ae in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#9  0x00007f08c2d2cebb in ThreadWeaver::Thread::run() () from /usr/lib64/libKF5ThreadWeaver.so.5
#10 0x00007f08c61dc112 in QThreadPrivate::start (arg=0x7f08740038e0) at thread/qthread_unix.cpp:360
#11 0x00007f08c36e2faa in start_thread () from /lib64/libpthread.so.0
#12 0x00007f08c7cc673f in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7f08892bc700 (LWP 9778)):
#0  0x00007f08c36e8e05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f08c61e1fef in QWaitConditionPrivate::wait (deadline=..., this=0x559887f2a610) at thread/qwaitcondition_unix.cpp:146
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x559887f2a6f0, deadline=...) at thread/qwaitcondition_unix.cpp:225
#3  0x00007f08c61e20d9 in QWaitCondition::wait (this=0x559887f08998, mutex=0x559887f2a6f0, time=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#4  0x00007f08c2d306c0 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#5  0x00007f08c2d2ccfa in ?? () from /usr/lib64/libKF5ThreadWeaver.so.5
#6  0x00007f08c2d2d0ae in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#7  0x00007f08c2d2cebb in ThreadWeaver::Thread::run() () from /usr/lib64/libKF5ThreadWeaver.so.5
#8  0x00007f08c61dc112 in QThreadPrivate::start (arg=0x559889529ac0) at thread/qthread_unix.cpp:360
#9  0x00007f08c36e2faa in start_thread () from /lib64/libpthread.so.0
#10 0x00007f08c7cc673f in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7f088a931700 (LWP 9761)):
#0  0x00007f08c36e916c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f08c61e1f68 in QWaitConditionPrivate::wait_relative (this=0x55988b0a93e0, deadline=...) at thread/qwaitcondition_unix.cpp:136
#2  QWaitConditionPrivate::wait (deadline=..., this=0x55988b0a93e0) at thread/qwaitcondition_unix.cpp:144
#3  QWaitCondition::wait (this=<optimized out>, mutex=0x55988aed4d40, deadline=...) at thread/qwaitcondition_unix.cpp:225
#4  0x00007f08c61e20a7 in QWaitCondition::wait (this=this@entry=0x55988aefdcf0, mutex=mutex@entry=0x55988aed4d40, time=<optimized out>) at thread/qwaitcondition_unix.cpp:209
#5  0x00007f08c61df621 in QThreadPoolThread::run (this=0x55988aefdce0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:240
#6  0x00007f08c61dc112 in QThreadPrivate::start (arg=0x55988aefdce0) at thread/qthread_unix.cpp:360
#7  0x00007f08c36e2faa in start_thread () from /lib64/libpthread.so.0
#8  0x00007f08c7cc673f in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f088a130700 (LWP 9673)):
#0  0x00007f08c2d5e1b9 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f08c2dac170 in g_main_context_acquire () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f08c2dac255 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f08c2dac46f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f08c63f99db in QEventDispatcherGlib::processEvents (this=0x7f087c022000, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f08c63a223b in QEventLoop::exec (this=this@entry=0x7f088a12fb00, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007f08c61daf91 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007f08897af385 in ?? () from /usr/lib64/qt5/qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so
#8  0x00007f08c61dc112 in QThreadPrivate::start (arg=0x55988afd8910) at thread/qthread_unix.cpp:360
#9  0x00007f08c36e2faa in start_thread () from /lib64/libpthread.so.0
#10 0x00007f08c7cc673f in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f088bcf7700 (LWP 9635)):
#0  0x00007f08c7cb780c in read () from /lib64/libc.so.6
#1  0x00007f08c2d5e70f in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f08c2daac8e in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f08c2dac342 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f08c2dac46f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f08c63f99db in QEventDispatcherGlib::processEvents (this=0x7f0884000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f08c63a223b in QEventLoop::exec (this=this@entry=0x7f088bcf6a90, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#7  0x00007f08c61daf91 in QThread::exec (this=this@entry=0x5598893e67f0) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#8  0x00007f08c4fd5a4c in KDevelop::CompletionWorkerThread::run (this=0x5598893e67f0) at /usr/src/debug/kdevelop5-5.4.0-1.1.x86_64/kdevplatform/language/codecompletion/codecompletionmodel.cpp:88
#9  0x00007f08c61dc112 in QThreadPrivate::start (arg=0x5598893e67f0) at thread/qthread_unix.cpp:360
#10 0x00007f08c36e2faa in start_thread () from /lib64/libpthread.so.0
#11 0x00007f08c7cc673f in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f089af89700 (LWP 9627)):
#0  0x00007f08c7cb780c in read () from /lib64/libc.so.6
#1  0x00007f08c2d5e70f in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f08c2daac8e in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f08c2dac342 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f08c2dac46f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f08c63f99db in QEventDispatcherGlib::processEvents (this=0x7f088c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f08c63a223b in QEventLoop::exec (this=this@entry=0x7f089af88b20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#7  0x00007f08c61daf91 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#8  0x00007f08c61dc112 in QThreadPrivate::start (arg=0x7f08c2c7bdc8 <KDevelop::(anonymous namespace)::Q_QGS_s_parsingThread::innerFunction()::holder+8>) at thread/qthread_unix.cpp:360
#9  0x00007f08c36e2faa in start_thread () from /lib64/libpthread.so.0
#10 0x00007f08c7cc673f in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f089bfff700 (LWP 9626)):
#0  0x00007f08c2d5e1c0 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f08c2dabc9a in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f08c2dac2cb in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f08c2dac46f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f08c63f99db in QEventDispatcherGlib::processEvents (this=0x7f0894000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f08c63a223b in QEventLoop::exec (this=this@entry=0x7f089bffeb00, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007f08c61daf91 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007f08c3d49595 in ?? () from /usr/lib64/libQt5Qml.so.5
#8  0x00007f08c61dc112 in QThreadPrivate::start (arg=0x559889195210) at thread/qthread_unix.cpp:360
#9  0x00007f08c36e2faa in start_thread () from /lib64/libpthread.so.0
#10 0x00007f08c7cc673f in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f08a9592700 (LWP 9623)):
#0  0x00007f08c2daa8f9 in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f08c2dabbcb in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f08c2dac2cb in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f08c2dac46f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f08c63f99db in QEventDispatcherGlib::processEvents (this=0x7f08a0000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f08c63a223b in QEventLoop::exec (this=this@entry=0x7f08a9591b20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007f08c61daf91 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007f08c61dc112 in QThreadPrivate::start (arg=0x5598890b52f0) at thread/qthread_unix.cpp:360
#8  0x00007f08c36e2faa in start_thread () from /lib64/libpthread.so.0
#9  0x00007f08c7cc673f in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f08a9eeb700 (LWP 9622)):
#0  0x00007f08c7cbbcbf in poll () from /lib64/libc.so.6
#1  0x00007f08c2dac39e in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f08c2dac46f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f08c63f99db in QEventDispatcherGlib::processEvents (this=0x7f089c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f08c63a223b in QEventLoop::exec (this=this@entry=0x7f08a9eeaab0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f08c61daf91 in QThread::exec (this=this@entry=0x559888ea9570) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x00007f08c50a3b1c in KDevelop::DUChainPrivate::CleanupThread::run (this=0x559888ea9570) at /usr/src/debug/kdevelop5-5.4.0-1.1.x86_64/kdevplatform/language/duchain/duchain.cpp:328
#7  0x00007f08c61dc112 in QThreadPrivate::start (arg=0x559888ea9570) at thread/qthread_unix.cpp:360
#8  0x00007f08c36e2faa in start_thread () from /lib64/libpthread.so.0
#9  0x00007f08c7cc673f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f08abe00700 (LWP 9579)):
#0  QListData::isEmpty (this=0x7f08a4004d20) at ../../include/QtCore/../../src/corelib/tools/qlist.h:115
#1  QList<QTimerInfo*>::isEmpty (this=0x7f08a4004d20) at ../../include/QtCore/../../src/corelib/tools/qlist.h:203
#2  timerSourceCheckHelper (src=0x7f08a4004cc0) at kernel/qeventdispatcher_glib.cpp:143
#3  timerSourceCheck (source=0x7f08a4004cc0) at kernel/qeventdispatcher_glib.cpp:174
#4  0x00007f08c2daab79 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f08c2dac342 in ?? () from /usr/lib64/libglib-2.0.so.0
#6  0x00007f08c2dac46f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#7  0x00007f08c63f99db in QEventDispatcherGlib::processEvents (this=0x7f08a4000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#8  0x00007f08c63a223b in QEventLoop::exec (this=this@entry=0x7f08abdffaf0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#9  0x00007f08c61daf91 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#10 0x00007f08c6d514f6 in ?? () from /usr/lib64/libQt5DBus.so.5
#11 0x00007f08c61dc112 in QThreadPrivate::start (arg=0x7f08c6dd3d80) at thread/qthread_unix.cpp:360
#12 0x00007f08c36e2faa in start_thread () from /lib64/libpthread.so.0
#13 0x00007f08c7cc673f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f08b300c700 (LWP 9570)):
#0  0x00007f08c7cbbcbf in poll () from /lib64/libc.so.6
#1  0x00007f08baa1c742 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f08baa1d3fa in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f08b316cf18 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f08c61dc112 in QThreadPrivate::start (arg=0x55988754c6f0) at thread/qthread_unix.cpp:360
#5  0x00007f08c36e2faa in start_thread () from /lib64/libpthread.so.0
#6  0x00007f08c7cc673f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f08b4fe20c0 (LWP 9569)):
[KCrash Handler]
#6  KDevelop::BackgroundParser::documentClosed (this=<optimized out>, document=0x0) at /usr/src/debug/kdevelop5-5.4.0-1.1.x86_64/kdevplatform/language/backgroundparser/backgroundparser.cpp:921
#7  0x00007f08c63ce6a8 in QtPrivate::QSlotObjectBase::call (a=0x7ffcc754c960, r=0x559887f2a330, this=0x559887f2afa0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#8  QMetaObject::activate (sender=0x559887ef5ef0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3787
#9  0x00007f08c79d69e2 in KDevelop::IDocumentController::documentClosed (this=this@entry=0x559887ef5ef0, _t1=<optimized out>, _t1@entry=0x0) at /usr/src/debug/kdevelop5-5.4.0-1.1.x86_64/build/kdevplatform/interfaces/KDevPlatformInterfaces_autogen/EWIEGA46WW/moc_idocumentcontroller.cpp:458
#10 0x00007f08c7b14d6e in KDevelop::DocumentController::notifyDocumentClosed (this=0x559887ef5ef0, doc_=0x55988b0caa30) at /usr/src/debug/kdevelop5-5.4.0-1.1.x86_64/kdevplatform/shell/documentcontroller.cpp:762
#11 0x00007f08c63ce6a8 in QtPrivate::QSlotObjectBase::call (a=0x7ffcc754cb40, r=0x559887ef5ef0, this=0x55988b0785c0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#12 QMetaObject::activate (sender=0x55988b0caa30, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3787
#13 0x00007f08c4ba6ecf in Sublime::Document::aboutToDelete (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kdevelop5-5.4.0-1.1.x86_64/build/kdevplatform/sublime/KDevPlatformSublime_autogen/include/moc_document.cpp:182
#14 0x00007f08c4ba977c in Sublime::DocumentPrivate::removeView (view=<optimized out>, this=0x55988b0869f0) at /usr/src/debug/kdevelop5-5.4.0-1.1.x86_64/kdevplatform/sublime/document.cpp:45
#15 Sublime::Document::<lambda(QObject*)>::operator() (__closure=<optimized out>, obj=<optimized out>) at /usr/src/debug/kdevelop5-5.4.0-1.1.x86_64/kdevplatform/sublime/document.cpp:91
#16 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QObject*>, void, Sublime::Document::createView()::<lambda(QObject*)> >::call (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#17 QtPrivate::Functor<Sublime::Document::createView()::<lambda(QObject*)>, 1>::call<QtPrivate::List<QObject*>, void> (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#18 QtPrivate::QFunctorSlotObject<Sublime::Document::createView()::<lambda(QObject*)>, 1, QtPrivate::List<QObject*>, void>::impl (which=<optimized out>, r=<optimized out>, ret=<optimized out>, a=<optimized out>, this_=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:439
#19 QtPrivate::QFunctorSlotObject<Sublime::Document::createView()::<lambda(QObject*)>, 1, QtPrivate::List<QObject*>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:432
#20 0x00007f08c63ce6a8 in QtPrivate::QSlotObjectBase::call (a=0x7ffcc754cc90, r=0x55988b0caa30, this=0x55988b1108d0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#21 QMetaObject::activate (sender=0x55988b104700, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3787
#22 0x00007f08c63cebcf in QObject::destroyed (this=this@entry=0x55988b104700, _t1=<optimized out>, _t1@entry=0x55988b104700) at .moc/moc_qobject.cpp:219
#23 0x00007f08c63d5fb9 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:911
#24 0x00007f08a899c709 in KDevelop::OktetaView::~OktetaView (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kdevelop5-5.4.0-1.1.x86_64/plugins/okteta/oktetaview.cpp:52
#25 0x00007f08c4bbb36f in Sublime::Area::closeView (this=0x559887b93b90, view=0x55988b104700, silent=<optimized out>) at /usr/src/debug/kdevelop5-5.4.0-1.1.x86_64/kdevplatform/sublime/area.cpp:500
#26 0x00007f08c63cef5a in QObject::event (this=0x559887a9e980, e=<optimized out>) at kernel/qobject.cpp:1260
#27 0x00007f08c6fa2c42 in QApplicationPrivate::notify_helper (this=this@entry=0x559887529860, receiver=receiver@entry=0x559887a9e980, e=e@entry=0x55988b0a20e0) at kernel/qapplication.cpp:3740
#28 0x00007f08c6fabec0 in QApplication::notify (this=0x7ffcc754d540, receiver=0x559887a9e980, e=0x55988b0a20e0) at kernel/qapplication.cpp:3486
#29 0x00007f08c63a35e2 in QCoreApplication::notifyInternal2 (receiver=0x559887a9e980, event=0x55988b0a20e0) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:142
#30 0x00007f08c63a6278 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x559887522e10) at kernel/qcoreapplication.cpp:1810
#31 0x00007f08c63fa383 in postEventSourceDispatch (s=0x5598875e3c90) at kernel/qeventdispatcher_glib.cpp:277
#32 0x00007f08c2daa683 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#33 0x00007f08c2dac430 in ?? () from /usr/lib64/libglib-2.0.so.0
#34 0x00007f08c2dac46f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#35 0x00007f08c63f99c1 in QEventDispatcherGlib::processEvents (this=0x5598875e1a20, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#36 0x00007f08c63a223b in QEventLoop::exec (this=this@entry=0x7ffcc754d3a0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#37 0x00007f08c63a9db2 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#38 0x00005598855f650b in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdevelop5-5.4.0-1.1.x86_64/app/main.cpp:851
[Inferior 1 (process 9569) detached]

Reported using DrKonqi
Comment 1 Friedrich W. H. Kossebau 2019-08-11 17:39:02 UTC
Git commit 4e0b20cd8b36814527331a3e62513377304dd05e by Friedrich W. H. Kossebau.
Committed on 11/08/2019 at 17:38.
Pushed by kossebau into branch '5.4'.

Fix crash: add missing Q_INTERFACES to OktetaDocument for IDocument

Some places rely on this being properly set due to using qobject_cast
for quick cross-casting.
FIXED-IN: 5.4.1

M  +1    -0    plugins/okteta/oktetadocument.h

https://invent.kde.org/kde/kdevelop/commit/4e0b20cd8b36814527331a3e62513377304dd05e