Bug 423651 - KDevelop crashed on exit before CTest evaluation finished
Summary: KDevelop crashed on exit before CTest evaluation finished
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: git master
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Igor Kushnir
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-06-29 11:25 UTC by Igor Kushnir
Modified: 2020-10-07 10:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.6.1


Attachments
New crash information added by DrKonqi (19.35 KB, text/plain)
2020-06-30 18:36 UTC, Igor Kushnir
Details
New crash information added by DrKonqi (24.23 KB, text/plain)
2020-07-01 07:31 UTC, Igor Kushnir
Details
New crash information added by DrKonqi (20.85 KB, text/plain)
2020-07-03 10:09 UTC, Igor Kushnir
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Kushnir 2020-06-29 11:25:49 UTC
Application: kdevelop (5.5.40)
 (Compiled from sources)
Qt Version: 5.15.0
Frameworks Version: 5.70.0
Operating System: Linux 5.6.16-1-MANJARO x86_64
Windowing system: X11
Distribution: Manjaro Linux

-- Information about the crash:
- What I was doing when the application crashed:
KDevelop was re-parsing code changed via git revert/reset. The re-parsing process was excruciatingly slow for a single source file (with templates). I decided to quit KDevelop, then start it again as this often speeds the parsing up. However KDevelop crashed during exit with the attached backtrace.

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

Thread 28 (Thread 0x7ffb717dd700 (LWP 12686)):
#0  0x00007ffbcd078158 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ffbcfe56ce8 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007ffbcfe54fd4 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007ffbcfe50e0f in  () at /usr/lib/libQt5Core.so.5
#4  0x00007ffbcd071422 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007ffbcfadcbf3 in clone () at /usr/lib/libc.so.6

Thread 27 (Thread 0x7ffb71fde700 (LWP 12685)):
#0  0x00007ffbcd078158 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ffbcfe56ce8 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007ffbcfe54fd4 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007ffbcfe50e0f in  () at /usr/lib/libQt5Core.so.5
#4  0x00007ffbcd071422 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007ffbcfadcbf3 in clone () at /usr/lib/libc.so.6

Thread 26 (Thread 0x7ffb727df700 (LWP 12684)):
#0  0x00007ffbcd078158 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ffbcfe56ce8 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007ffbcfe54fd4 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007ffbcfe50e0f in  () at /usr/lib/libQt5Core.so.5
#4  0x00007ffbcd071422 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007ffbcfadcbf3 in clone () at /usr/lib/libc.so.6

Thread 25 (Thread 0x7ffb72fe0700 (LWP 12683)):
#0  0x00007ffbcd078158 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ffbcfe56ce8 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007ffbcfe54fd4 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007ffbcfe50e0f in  () at /usr/lib/libQt5Core.so.5
#4  0x00007ffbcd071422 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007ffbcfadcbf3 in clone () at /usr/lib/libc.so.6

Thread 24 (Thread 0x7ffb27fff700 (LWP 12367)):
#0  0x00007ffbcd077e32 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ffbcfe56d64 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007ffbcc5d955e in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () at /usr/lib/libKF5ThreadWeaver.so.5
#3  0x00007ffbcc5ddf81 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#4  0x00007ffbcc5d947e in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#5  0x00007ffbcc5ddd71 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#6  0x00007ffbcc5d947e in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#7  0x00007ffbcc5ddd71 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#8  0x00007ffbcc5d947e in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#9  0x00007ffbcc5ddd71 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#10 0x00007ffbcc5d947e in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#11 0x00007ffbcc5ddd71 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#12 0x00007ffbcc5d947e in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#13 0x00007ffbcc5ddd71 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#14 0x00007ffbcc5d947e in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#15 0x00007ffbcc5ddd71 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#16 0x00007ffbcc5d947e in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#17 0x00007ffbcc5ddd71 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#18 0x00007ffbcc5d947e in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#19 0x00007ffbcc5ddd71 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#20 0x00007ffbcc5d947e in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#21 0x00007ffbcc5dbe5c in ThreadWeaver::Thread::run() () at /usr/lib/libKF5ThreadWeaver.so.5
#22 0x00007ffbcfe50e0f in  () at /usr/lib/libQt5Core.so.5
#23 0x00007ffbcd071422 in start_thread () at /usr/lib/libpthread.so.0
#24 0x00007ffbcfadcbf3 in clone () at /usr/lib/libc.so.6

Thread 23 (Thread 0x7ffb3ce9b700 (LWP 12366)):
#0  0x00007ffbcd077e32 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ffbcfe56d64 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007ffbcc5d955e in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () at /usr/lib/libKF5ThreadWeaver.so.5
#3  0x00007ffbcc5ddf81 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#4  0x00007ffbcc5d947e in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#5  0x00007ffbcc5ddd71 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#6  0x00007ffbcc5d947e in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#7  0x00007ffbcc5ddd71 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#8  0x00007ffbcc5d947e in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#9  0x00007ffbcc5ddd71 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#10 0x00007ffbcc5d947e in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#11 0x00007ffbcc5ddd71 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#12 0x00007ffbcc5d947e in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#13 0x00007ffbcc5dbe5c in ThreadWeaver::Thread::run() () at /usr/lib/libKF5ThreadWeaver.so.5
#14 0x00007ffbcfe50e0f in  () at /usr/lib/libQt5Core.so.5
#15 0x00007ffbcd071422 in start_thread () at /usr/lib/libpthread.so.0
#16 0x00007ffbcfadcbf3 in clone () at /usr/lib/libc.so.6

Thread 22 (Thread 0x7ffb3d69c700 (LWP 12365)):
#0  0x00007ffbcd077e32 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ffbcfe56d64 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007ffbcc5d955e in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () at /usr/lib/libKF5ThreadWeaver.so.5
#3  0x00007ffbcc5ddf81 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#4  0x00007ffbcc5d947e in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#5  0x00007ffbcc5dbe5c in ThreadWeaver::Thread::run() () at /usr/lib/libKF5ThreadWeaver.so.5
#6  0x00007ffbcfe50e0f in  () at /usr/lib/libQt5Core.so.5
#7  0x00007ffbcd071422 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007ffbcfadcbf3 in clone () at /usr/lib/libc.so.6

Thread 21 (Thread 0x7ffb3de9d700 (LWP 12364)):
#0  0x00007ffbcd077e32 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ffbcfe56d64 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007ffbcc5d955e in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () at /usr/lib/libKF5ThreadWeaver.so.5
#3  0x00007ffbcc5ddf81 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#4  0x00007ffbcc5d947e in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#5  0x00007ffbcc5ddd71 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#6  0x00007ffbcc5d947e in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#7  0x00007ffbcc5ddd71 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#8  0x00007ffbcc5d947e in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#9  0x00007ffbcc5dbe5c in ThreadWeaver::Thread::run() () at /usr/lib/libKF5ThreadWeaver.so.5
#10 0x00007ffbcfe50e0f in  () at /usr/lib/libQt5Core.so.5
#11 0x00007ffbcd071422 in start_thread () at /usr/lib/libpthread.so.0
#12 0x00007ffbcfadcbf3 in clone () at /usr/lib/libc.so.6

Thread 20 (Thread 0x7ffb3f7fe700 (LWP 12363)):
#0  0x00007ffbcd077e32 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ffbcfe56d64 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007ffbcc5d955e in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () at /usr/lib/libKF5ThreadWeaver.so.5
#3  0x00007ffbcc5ddf81 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#4  0x00007ffbcc5d947e in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#5  0x00007ffbcc5ddd71 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#6  0x00007ffbcc5d947e in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#7  0x00007ffbcc5ddd71 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#8  0x00007ffbcc5d947e in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#9  0x00007ffbcc5ddd71 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#10 0x00007ffbcc5d947e in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#11 0x00007ffbcc5dbe5c in ThreadWeaver::Thread::run() () at /usr/lib/libKF5ThreadWeaver.so.5
#12 0x00007ffbcfe50e0f in  () at /usr/lib/libQt5Core.so.5
#13 0x00007ffbcd071422 in start_thread () at /usr/lib/libpthread.so.0
#14 0x00007ffbcfadcbf3 in clone () at /usr/lib/libc.so.6

Thread 19 (Thread 0x7ffb5e06d700 (LWP 12219)):
#0  0x00007ffbcc641cf8 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#1  0x00007ffbcc691edb in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007ffbcc643221 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007ffbd008e22c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007ffbd003401c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007ffbcfe4fc32 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007ffbcfe50e0f in  () at /usr/lib/libQt5Core.so.5
#7  0x00007ffbcd071422 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007ffbcfadcbf3 in clone () at /usr/lib/libc.so.6

Thread 18 (Thread 0x7ffb5e9d0700 (LWP 12217)):
#0  0x00007ffbd008e6d2 in  () at /usr/lib/libQt5Core.so.5
#1  0x00007ffbcc641dda in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#2  0x00007ffbcc691edb in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007ffbcc643221 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007ffbd008e22c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007ffbd003401c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007ffbcfe4fc32 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007ffbcfe50e0f in  () at /usr/lib/libQt5Core.so.5
#8  0x00007ffbcd071422 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007ffbcfadcbf3 in clone () at /usr/lib/libc.so.6

Thread 17 (Thread 0x7ffb5ffff700 (LWP 12214)):
#0  0x00007ffbd1a755c4 in __tls_get_addr () at /lib64/ld-linux-x86-64.so.2
#1  0x00007ffbcfe502c7 in  () at /usr/lib/libQt5Core.so.5
#2  0x00007ffbd008e652 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007ffbcc641dda in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#4  0x00007ffbcc691edb in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007ffbcc643221 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#6  0x00007ffbd008e22c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007ffbd003401c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#8  0x00007ffbcfe4fc32 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#9  0x00007ffbcea03722 in KDevelop::DUChainPrivate::CleanupThread::run() (this=0x563f215e1ed0) at /usr/src/debug/kdevelop/kdevplatform/language/duchain/duchain.cpp:331
#10 0x00007ffbcfe50e0f in  () at /usr/lib/libQt5Core.so.5
#11 0x00007ffbcd071422 in start_thread () at /usr/lib/libpthread.so.0
#12 0x00007ffbcfadcbf3 in clone () at /usr/lib/libc.so.6

Thread 16 (Thread 0x7ffb8975a700 (LWP 12208)):
#0  0x00007ffbcfacdaec in read () at /usr/lib/libc.so.6
#1  0x00007ffbcc641f2d in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#2  0x00007ffbcc691edb in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007ffbcc642c03 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#4  0x00007ffbb01fc1a8 in  () at /usr/lib/libgio-2.0.so.0
#5  0x00007ffbcc66c511 in  () at /usr/lib/libglib-2.0.so.0
#6  0x00007ffbcd071422 in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007ffbcfadcbf3 in clone () at /usr/lib/libc.so.6

Thread 15 (Thread 0x7ffb89f5b700 (LWP 12207)):
#0  0x00007ffbcfad205f in poll () at /usr/lib/libc.so.6
#1  0x00007ffbcc691f38 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007ffbcc643221 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007ffbcc643272 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007ffbcc66c511 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007ffbcd071422 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007ffbcfadcbf3 in clone () at /usr/lib/libc.so.6

Thread 14 (Thread 0x7ffb8affd700 (LWP 12205)):
#0  0x00007ffc2a1c4687 in  ()
#1  0x00007ffc2a1c49d7 in clock_gettime ()
#2  0x00007ffbcfaa4455 in clock_gettime@GLIBC_2.2.5 () at /usr/lib/libc.so.6
#3  0x00007ffbd008db12 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007ffbd008c3ba in QTimerInfoList::updateCurrentTime() () at /usr/lib/libQt5Core.so.5
#5  0x00007ffbd008c996 in QTimerInfoList::timerWait(timespec&) () at /usr/lib/libQt5Core.so.5
#6  0x00007ffbd008df6f in  () at /usr/lib/libQt5Core.so.5
#7  0x00007ffbcc642f80 in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#8  0x00007ffbcc691e56 in  () at /usr/lib/libglib-2.0.so.0
#9  0x00007ffbcc643221 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#10 0x00007ffbd008e22c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#11 0x00007ffbd003401c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#12 0x00007ffbcfe4fc32 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#13 0x00007ffbd0abe098 in  () at /usr/lib/libQt5DBus.so.5
#14 0x00007ffbcfe50e0f in  () at /usr/lib/libQt5Core.so.5
#15 0x00007ffbcd071422 in start_thread () at /usr/lib/libpthread.so.0
#16 0x00007ffbcfadcbf3 in clone () at /usr/lib/libc.so.6

Thread 13 (Thread 0x7ffb8b7fe700 (LWP 12204)):
#0  0x00007ffbcd077e32 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ffbb6e6bdec in  () at /usr/lib/dri/radeonsi_dri.so
#2  0x00007ffbb6e6bcf8 in  () at /usr/lib/dri/radeonsi_dri.so
#3  0x00007ffbcd071422 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007ffbcfadcbf3 in clone () at /usr/lib/libc.so.6

Thread 12 (Thread 0x7ffb8bfff700 (LWP 12203)):
#0  0x00007ffbcd077e32 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ffbb6e6bdec in  () at /usr/lib/dri/radeonsi_dri.so
#2  0x00007ffbb6e6bcf8 in  () at /usr/lib/dri/radeonsi_dri.so
#3  0x00007ffbcd071422 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007ffbcfadcbf3 in clone () at /usr/lib/libc.so.6

Thread 11 (Thread 0x7ffba8ff9700 (LWP 12202)):
#0  0x00007ffbcd077e32 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ffbb6e6bdec in  () at /usr/lib/dri/radeonsi_dri.so
#2  0x00007ffbb6e6bcf8 in  () at /usr/lib/dri/radeonsi_dri.so
#3  0x00007ffbcd071422 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007ffbcfadcbf3 in clone () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7ffba97fa700 (LWP 12201)):
#0  0x00007ffbcd077e32 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ffbb6e6bdec in  () at /usr/lib/dri/radeonsi_dri.so
#2  0x00007ffbb6e6bcf8 in  () at /usr/lib/dri/radeonsi_dri.so
#3  0x00007ffbcd071422 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007ffbcfadcbf3 in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7ffba9ffb700 (LWP 12200)):
#0  0x00007ffbcd077e32 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ffbb6e6bdec in  () at /usr/lib/dri/radeonsi_dri.so
#2  0x00007ffbb6e6bcf8 in  () at /usr/lib/dri/radeonsi_dri.so
#3  0x00007ffbcd071422 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007ffbcfadcbf3 in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7ffbaa7fc700 (LWP 12199)):
#0  0x00007ffbcd077e32 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ffbb6e6bdec in  () at /usr/lib/dri/radeonsi_dri.so
#2  0x00007ffbb6e6bcf8 in  () at /usr/lib/dri/radeonsi_dri.so
#3  0x00007ffbcd071422 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007ffbcfadcbf3 in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7ffbaaffd700 (LWP 12198)):
#0  0x00007ffbcd077e32 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ffbb6e6bdec in  () at /usr/lib/dri/radeonsi_dri.so
#2  0x00007ffbb6e6bcf8 in  () at /usr/lib/dri/radeonsi_dri.so
#3  0x00007ffbcd071422 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007ffbcfadcbf3 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7ffbab7fe700 (LWP 12197)):
#0  0x00007ffbcd077e32 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ffbb6e6bdec in  () at /usr/lib/dri/radeonsi_dri.so
#2  0x00007ffbb6e6bcf8 in  () at /usr/lib/dri/radeonsi_dri.so
#3  0x00007ffbcd071422 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007ffbcfadcbf3 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7ffbabfff700 (LWP 12196)):
#0  0x00007ffbcd077e32 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ffbb6e6bdec in  () at /usr/lib/dri/radeonsi_dri.so
#2  0x00007ffbb6e6bcf8 in  () at /usr/lib/dri/radeonsi_dri.so
#3  0x00007ffbcd071422 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007ffbcfadcbf3 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7ffbb0e09700 (LWP 12195)):
#0  0x00007ffbcd077e32 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ffbb6e6bdec in  () at /usr/lib/dri/radeonsi_dri.so
#2  0x00007ffbb6e6bcf8 in  () at /usr/lib/dri/radeonsi_dri.so
#3  0x00007ffbcd071422 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007ffbcfadcbf3 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7ffbb160a700 (LWP 12194)):
#0  0x00007ffbcd077e32 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ffbb6e6bdec in  () at /usr/lib/dri/radeonsi_dri.so
#2  0x00007ffbb6e6bcf8 in  () at /usr/lib/dri/radeonsi_dri.so
#3  0x00007ffbcd071422 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007ffbcfadcbf3 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7ffbbd172700 (LWP 12191)):
#0  0x00007ffbcfad205f in poll () at /usr/lib/libc.so.6
#1  0x00007ffbc4c3763b in  () at /usr/lib/libxcb.so.1
#2  0x00007ffbc4c3937b in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007ffbbd2a6c51 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007ffbcfe50e0f in  () at /usr/lib/libQt5Core.so.5
#5  0x00007ffbcd071422 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007ffbcfadcbf3 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7ffbbd6b2bc0 (LWP 12190)):
[KCrash Handler]
#4  0x00007ffbcea5d0b4 in KDevelop::ParsingEnvironmentFile::indexedTopContext() const (this=this@entry=0x563f23bbff70) at /usr/src/debug/kdevelop/kdevplatform/language/duchain/parsingenvironment.h:210
#5  0x00007ffbcea5d27a in KDevelop::ParsingEnvironmentFile::isProxyContext() const (this=0x563f23bbff70) at /usr/src/debug/kdevelop/kdevplatform/language/duchain/parsingenvironment.cpp:179
#6  0x00007ffbcea717c5 in KDevelop::DUChainUtils::contentContextFromProxyContext(KDevelop::TopDUContext*) (top=0x563f23bc03f0) at /usr/src/debug/kdevelop/kdevplatform/language/duchain/duchainutils.cpp:251
#7  0x00007ffb489a8bfb in CTestSuite::loadDeclarations(KDevelop::IndexedString const&, KDevelop::ReferencedTopDUContext const&) (this=0x7ffb5800de00, document=..., ref=...) at /usr/src/debug/kdevelop/kdevplatform/language/duchain/topducontext.h:70
#8  0x00007ffb489a3bbe in CTestFindJob::updateReady(KDevelop::IndexedString const&, KDevelop::ReferencedTopDUContext const&) (this=0x563f2844f900, document=..., context=...) at /usr/src/debug/kdevelop/plugins/cmake/testing/ctestfindjob.cpp:82
#9  0x00007ffbd00620b2 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#10 0x00007ffbd0cfb702 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#11 0x00007ffbd003569a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#12 0x00007ffbd0038183 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#13 0x00007ffbd008ebd4 in  () at /usr/lib/libQt5Core.so.5
#14 0x00007ffbcc64443c in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#15 0x00007ffbcc691fa9 in  () at /usr/lib/libglib-2.0.so.0
#16 0x00007ffbcc643221 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#17 0x00007ffbd008e211 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#18 0x00007ffbd003401c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#19 0x00007ffbd003c4a4 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#20 0x0000563f1f3d7bc5 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdevelop/app/main.cpp:850
[Inferior 1 (process 12190) detached]

The reporter indicates this bug may be a duplicate of or related to bug 372049.

Possible duplicates by query: bug 372049, bug 352211, bug 351669, bug 239014, bug 202909.

Reported using DrKonqi
Comment 1 Igor Kushnir 2020-06-30 18:36:54 UTC
Created attachment 129798 [details]
New crash information added by DrKonqi

kdevelop (5.5.40) using Qt 5.15.0

- What I was doing when the application crashed:

KDevelop was re-parsing code after I switched from a Release-build-type directory to a Debug-build-type directory and back again. The re-parsing process was excruciatingly slow. I decided to quit KDevelop, then start it again as this often speeds the parsing up. However KDevelop crashed during exit with the attached backtrace.

-- Backtrace (Reduced):
#5  0x00007f3799f3020a in KDevelop::DUContext::findLocalDeclarations(KDevelop::IndexedIdentifier const&, KDevelop::CursorInRevision const&, KDevelop::TopDUContext const*, KDevelop::TypePtr<KDevelop::AbstractType> const&, QFlags<KDevelop::DUContext::SearchFlag>) const (this=this@entry=0x7f36f4e7fb10, identifier=..., position=..., topContext=topContext@entry=0x0, dataType=..., flags=...) at /usr/src/debug/kdevelop/kdevplatform/language/duchain/ducontext.cpp:540
#6  0x00007f3799f3027f in KDevelop::DUContext::findLocalDeclarations(KDevelop::Identifier const&, KDevelop::CursorInRevision const&, KDevelop::TopDUContext const*, KDevelop::TypePtr<KDevelop::AbstractType> const&, QFlags<KDevelop::DUContext::SearchFlag>) const (this=this@entry=0x7f36f4e7fb10, identifier=..., position=..., topContext=topContext@entry=0x0, dataType=..., flags=...) at /usr/src/debug/kdevelop/kdevplatform/language/duchain/ducontext.cpp:549
#7  0x00007f370be54caf in CTestSuite::loadDeclarations(KDevelop::IndexedString const&, KDevelop::ReferencedTopDUContext const&) (this=0x5561bef5dbf0, document=..., ref=...) at /usr/src/debug/kdevelop/kdevplatform/language/editor/cursorinrevision.h:52
#8  0x00007f370be4fbbe in CTestFindJob::updateReady(KDevelop::IndexedString const&, KDevelop::ReferencedTopDUContext const&) (this=0x5561c003cc50, document=..., context=...) at /usr/src/debug/kdevelop/plugins/cmake/testing/ctestfindjob.cpp:82
#9  0x00007f379b58a0b2 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
Comment 2 Igor Kushnir 2020-07-01 07:31:07 UTC
Created attachment 129808 [details]
New crash information added by DrKonqi

kdevelop (5.5.40) using Qt 5.15.0

- What I was doing when the application crashed:

KDevelop was re-parsing code after I switched from a Debug-build-type directory and back again. I decided to quit KDevelop, then start it again as this often speeds the parsing up. However KDevelop crashed during exit with the attached backtrace.

-- Backtrace (Reduced):
#4  0x00007fc658028987 in QExplicitlySharedDataPointer<KDevelop::ParsingEnvironmentFile>::QExplicitlySharedDataPointer(QExplicitlySharedDataPointer<KDevelop::ParsingEnvironmentFile> const&) (o=..., this=this@entry=0x7ffddcf06498) at /usr/include/qt/QtCore/qshareddata.h:187
#5  KDevelop::TopDUContext::parsingEnvironmentFile() const (this=this@entry=0x561695dcd0a0) at /usr/src/debug/kdevelop/kdevplatform/language/duchain/topducontext.cpp:566
#6  0x00007fc65807c7a1 in KDevelop::DUChainUtils::contentContextFromProxyContext(KDevelop::TopDUContext*) (top=0x561695dcd0a0) at /usr/src/debug/kdevelop/kdevplatform/language/duchain/duchainutils.cpp:251
#7  0x00007fc5dc6a2bfb in CTestSuite::loadDeclarations(KDevelop::IndexedString const&, KDevelop::ReferencedTopDUContext const&) (this=0x5616944bd050, document=..., ref=...) at /usr/src/debug/kdevelop/kdevplatform/language/duchain/topducontext.h:70
#8  0x00007fc5dc69dbbe in CTestFindJob::updateReady(KDevelop::IndexedString const&, KDevelop::ReferencedTopDUContext const&) (this=0x561699f47be0, document=..., context=...) at /usr/src/debug/kdevelop/plugins/cmake/testing/ctestfindjob.cpp:82
Comment 3 Igor Kushnir 2020-07-03 10:09:18 UTC
Created attachment 129871 [details]
New crash information added by DrKonqi

kdevelop (5.5.40) using Qt 5.15.0

Yesterday I upgraded to the latest KDevelop master and rebuilt it against my current system libraries. This did not eliminate the crash.
- What I was doing when the application crashed:
KDevelop was re-parsing code after I switched from a Release-build-type directory to a Debug-build-type directory, built, run, then switched again to Release. The reparsing has occupied my CPU core for more than a minute when I decided to restart KDevelop. However KDevelop crashed during exit with the attached backtrace.

-- Backtrace (Reduced):
#4  0x00007f9b947a4f54 in KDevelop::ParsingEnvironmentFile::indexedTopContext() const (this=this@entry=0x7f9af198a6f0) at /usr/src/debug/kdevelop/kdevplatform/language/duchain/parsingenvironment.h:210
#5  0x00007f9b947a511a in KDevelop::ParsingEnvironmentFile::isProxyContext() const (this=0x7f9af198a6f0) at /usr/src/debug/kdevelop/kdevplatform/language/duchain/parsingenvironment.cpp:179
#6  0x00007f9b947b0815 in KDevelop::DUChainUtils::contentContextFromProxyContext(KDevelop::TopDUContext*) (top=0x7f9af198a750) at /usr/include/qt/QtCore/qshareddata.h:160
#7  0x00007f9b18f71b3b in CTestSuite::loadDeclarations(KDevelop::IndexedString const&, KDevelop::ReferencedTopDUContext const&) (this=0x55726bc1a6f0, document=..., ref=...) at /usr/src/debug/kdevelop/kdevplatform/language/duchain/topducontext.h:70
#8  0x00007f9b18f6e043 in CTestFindJob::updateReady(KDevelop::IndexedString const&, KDevelop::ReferencedTopDUContext const&) (this=0x557274429280, document=..., context=...) at /usr/src/debug/kdevelop/plugins/cmake/testing/ctestfindjob.cpp:82
Comment 4 Igor Kushnir 2020-09-29 16:20:15 UTC
An alternative backtrace for the same issue:

Application: KDevelop (kdevelop), signal: Aborted

[KCrash Handler]
#4  0x00007ff14d6d9615 in raise () at /usr/lib/libc.so.6
#5  0x00007ff14d6c2862 in abort () at /usr/lib/libc.so.6
#6  0x00007ff14dc379ac in qt_message_fatal (message=<synthetic pointer>..., context=...) at global/qlogging.cpp:1914
#7  QMessageLogger::fatal(char const*, ...) const (this=this@entry=0x7fffe0b854b8, msg=msg@entry=0x7ff14df3dea0 "ASSERT: \"%s\" in file %s, line %d") at global/qlogging.cpp:893
#8  0x00007ff14dc36d59 in qt_assert(char const*, char const*, int) (assertion=<optimized out>, file=<optimized out>, line=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qlogging.h:90
#9  0x00007ff15087e67c in KDevelop::IndexedString::toUrl() const (this=0x5626cf3aa6a0) at ../kdevplatform/serialization/indexedstring.cpp:304
#10 0x00007ff0c4e52f85 in CTestFindJob::updateReady(KDevelop::IndexedString const&, KDevelop::ReferencedTopDUContext const&) (this=0x5626c31af660, document=..., context=...) at ../plugins/cmake/testing/ctestfindjob.cpp:83
#11 0x00007ff0c4e4bef9 in CTestFindJob::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x5626c31af660, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x5626b5eabef8) at plugins/cmake/kdevcmakemanager_autogen/LLZHB5VKCH/moc_ctestfindjob.cpp:83
#12 0x00007ff14de861d2 in QObject::event(QEvent*) (this=0x5626c31af660, e=0x5626b5eabeb0) at kernel/qobject.cpp:1314
#13 0x00007ff14ece4702 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x5626c31af660, e=0x5626b5eabeb0) at kernel/qapplication.cpp:3671
#14 0x00007ff14de597ba in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5626c31af660, event=0x5626b5eabeb0) at ../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#15 0x00007ff14de5c2a3 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x5626aefbc090) at kernel/qcoreapplication.cpp:1815
#16 0x00007ff14deb2cf4 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x5626af08eb50) at kernel/qeventdispatcher_glib.cpp:277
#17 0x00007ff14a21843c in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#18 0x00007ff14a2661d9 in  () at /usr/lib/libglib-2.0.so.0
#19 0x00007ff14a217221 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#20 0x00007ff14deb2331 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5626aefd09f0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#21 0x00007ff14de5813c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffe0b859b0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#22 0x00007ff14de605c4 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#23 0x00005626ad13b81f in main(int, char**) (argc=3, argv=0x7fffe0b85e28) at ../app/main.cpp:850
[Inferior 1 (process 142157) detached]

I have fixes for this and related crash in Bug 329246. Will create a merge request soon, after some testing.
Comment 5 Igor Kushnir 2020-10-07 10:29:01 UTC
Git commit ae9f45ae7451a33fe9fce66612140f9a13193bd6 by Igor Kushnir.
Committed on 07/10/2020 at 10:26.
Pushed by igorkushnir into branch '5.6'.

Early-return from CTestFindJob::updateReady() if the job is finished

When a user exits KDevelop while a CTestFindJob is still working, the
job is killed from RunController::cleanup() and its KJob parent calls
deleteLater(). But the killed job can be still not destroyed after
DUChain::shutdown() is called, which results in a crash if
CTestFindJob::updateReady() is then invoked via Qt::QueuedConnection.
Note that ~ParseJob() queues calls to CTestFindJob::updateReady(),
which can then be invoked after DUChain::shutdown(), if ParseJob-s are
running when the user exits KDevelop and no event loop is entered in the
time between the ~ParseJob() and DUChain::shutdown() calls (sometimes
the optional QCoreApplication::processEvents() call in
BackgroundParser::waitForIdle() intervenes and prevents the crash).
Core::cleanup() calls backgroundParser()->waitForIdle(), which ensures
that all parse jobs finish, are destroyed and queue "updateReady" calls.
FIXED-IN: 5.6.1

M  +10   -0    plugins/cmake/testing/ctestfindjob.cpp

https://invent.kde.org/kdevelop/kdevelop/commit/ae9f45ae7451a33fe9fce66612140f9a13193bd6