| Summary: | Crash when executing ctest job when Run view was removed previously | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Aleksandar Dezelin <dezelin> |
| Component: | general | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | crash | CC: | daniel+kde, mail |
| Priority: | NOR | Keywords: | drkonqi |
| Version First Reported In: | 4.7.1 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Aleksandar Dezelin
2015-09-11 20:24:39 UTC
Can you reproduce this crash? What exactly were you doing to make this crash? It looks like a specific set of actions is required to trigger this. Hi, I am also experiencing this crash. You can reproduce it with the following steps: 1. Run a unit test 2. Remove the "Run" toolview 3. Run the unit test again 4. KDevelop should crash in OutputView::changeTitle with this == 0x0 Here is my backtrace: Application: KDevelop (kdevelop), signal: Segmentation fault Using host libthread_db library "/usr/lib/libthread_db.so.1". [Current thread is 1 (Thread 0x7f318eb88280 (LWP 1825))] Thread 20 (Thread 0x7f3110978700 (LWP 1972)): -- trimmed -- #200 0x00007f314f925f97 in ?? () from /usr/lib/libclang.so.3.8 #201 0x00007f315cd19539 in llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) () from /usr/lib/libLLVM-3.8.so #202 0x00007f315cd195c4 in ?? () from /usr/lib/libLLVM-3.8.so #203 0x00007f315cd8cc5d in ?? () from /usr/lib/libLLVM-3.8.so #204 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #205 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 19 (Thread 0x7f30feffd700 (LWP 1966)): -- trimmed -- #92 0x00007f314f925f97 in ?? () from /usr/lib/libclang.so.3.8 #93 0x00007f315cd19539 in llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) () from /usr/lib/libLLVM-3.8.so #94 0x00007f315cd195c4 in ?? () from /usr/lib/libLLVM-3.8.so #95 0x00007f315cd8cc5d in ?? () from /usr/lib/libLLVM-3.8.so #96 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #97 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 18 (Thread 0x7f30ff7fe700 (LWP 1965)): -- trimmed -- #195 0x00007f314f925f97 in ?? () from /usr/lib/libclang.so.3.8 #196 0x00007f315cd19539 in llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) () from /usr/lib/libLLVM-3.8.so #197 0x00007f315cd195c4 in ?? () from /usr/lib/libLLVM-3.8.so #198 0x00007f315cd8cc5d in ?? () from /usr/lib/libLLVM-3.8.so #199 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #200 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 17 (Thread 0x7f3130ff9700 (LWP 1927)): #0 0x00007f317bfaa044 in g_mutex_unlock () from /usr/lib/libglib-2.0.so.0 #1 0x00007f317bf65500 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #2 0x00007f317bf65efb in ?? () from /usr/lib/libglib-2.0.so.0 #3 0x00007f317bf660ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #4 0x00007f3187ec859b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #5 0x00007f3187e720da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #6 0x00007f3187c950f3 in QThread::exec() () from /usr/lib/libQt5Core.so.5 #7 0x00007f3187c99d78 in ?? () from /usr/lib/libQt5Core.so.5 #8 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #9 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 16 (Thread 0x7f31317fa700 (LWP 1919)): #0 0x00007f31870236f1 in _int_free () from /usr/lib/libc.so.6 #1 0x00007f31508c0fcc in QList<KDevelop::Identifier>::node_destruct (this=<optimized out>, to=0x7f311c5e5280, from=0x7f311c5e5280) at /usr/include/qt/QtCore/qlist.h:490 #2 QList<KDevelop::Identifier>::dealloc (data=0x7f311c5e5270, this=<optimized out>) at /usr/include/qt/QtCore/qlist.h:861 #3 0x00007f31508c28c4 in QList<KDevelop::Identifier>::~QList (this=0x7f31317f6330, __in_chrg=<optimized out>) at /usr/include/qt/QtCore/qlist.h:823 #4 ClangHelpers::findDeclaration (cursor=..., includes=...) at /home/daniel/tmp/kdevelop/languages/clang/duchain/clanghelpers.cpp:243 #5 0x00007f3150898049 in (anonymous namespace)::Visitor::findDeclaration (this=this@entry=0x7f31317f9530, cursor=...) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:1215 #6 0x00007f3150898937 in (anonymous namespace)::Visitor::createType<(CXTypeKind)28> (this=0x7f31317f9530, type=..., parent=...) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:513 #7 0x00007f3150899e50 in (anonymous namespace)::Visitor::dispatchType<(CXTypeKind)105> (cursor=..., type=..., this=0x7f31317f9530) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:324 #8 (anonymous namespace)::Visitor::makeType (this=this@entry=0x7f31317f9530, type=..., parent=...) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:1265 #9 0x00007f315089ba38 in (anonymous namespace)::Visitor::createType<(CXCursorKind)30> (this=0x7f31317f9530, cursor=...) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:635 #10 0x00007f31508b5303 in (anonymous namespace)::Visitor::createDeclaration<(CXCursorKind)9, KDevelop::ClassMemberDeclaration> (context=0x0, id=..., cursor=..., this=0x7f31317f9530) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:403 #11 (anonymous namespace)::Visitor::buildDeclaration<(CXCursorKind)9, KDevelop::ClassMemberDeclaration, false> (cursor=..., this=0x7f31317f9530) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:1141 #12 (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)9, (Decision)0, (Decision)1> (cursor=..., this=0x7f31317f9530, parent=...) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:898 #13 (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)9> (parent=..., cursor=..., this=0x7f31317f9530) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:864 #14 (anonymous namespace)::visitCursor (cursor=..., parent=..., data=0x7f31317f9530) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:1450 #15 0x00007f314f928145 in ?? () from /usr/lib/libclang.so.3.8 #16 0x00007f314f9290f4 in ?? () from /usr/lib/libclang.so.3.8 #17 0x00007f314f927b90 in ?? () from /usr/lib/libclang.so.3.8 #18 0x00007f314f930cc4 in clang_visitChildren () from /usr/lib/libclang.so.3.8 #19 0x00007f31508a90ff in (anonymous namespace)::Visitor::buildDeclaration<(CXCursorKind)4, KDevelop::ClassDeclaration, true> (cursor=..., this=0x7f31317f9530) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:1138 #20 (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)4, (Decision)1, (Decision)0> (parent=..., cursor=..., this=0x7f31317f9530) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:898 #21 (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)4, (Decision)1, (Decision)2> (this=this@entry=0x7f31317f9530, cursor=..., parent=...) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:876 #22 0x00007f31508b2a45 in (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)4> (parent=..., cursor=..., this=0x7f31317f9530) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:864 #23 (anonymous namespace)::visitCursor (cursor=..., parent=..., data=0x7f31317f9530) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:1445 #24 0x00007f314f928145 in ?? () from /usr/lib/libclang.so.3.8 #25 0x00007f314f9290f4 in ?? () from /usr/lib/libclang.so.3.8 #26 0x00007f314f927db6 in ?? () from /usr/lib/libclang.so.3.8 #27 0x00007f314f930cc4 in clang_visitChildren () from /usr/lib/libclang.so.3.8 #28 0x00007f315089d752 in (anonymous namespace)::Visitor::Visitor (update=<optimized out>, includes=..., file=<optimized out>, tu=<optimized out>, this=0x7f31317f9530) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:1369 #29 Builder::visit (tu=<optimized out>, file=<optimized out>, includes=..., update=<optimized out>) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:1506 #30 0x00007f31508c3236 in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) (file=<optimized out>, imports=..., session=..., features=features@entry=KDevelop::TopDUContext::AllDeclarationsContextsAndUses, includedFiles=..., index=0x2a2d2c0, abortFunction=...) at /home/daniel/tmp/kdevelop/languages/clang/duchain/clanghelpers.cpp:189 #31 0x00007f31508c2dc0 in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) (file=<optimized out>, imports=..., session=..., features=features@entry=KDevelop::TopDUContext::AllDeclarationsContextsAndUses, includedFiles=..., index=0x2a2d2c0, abortFunction=...) at /home/daniel/tmp/kdevelop/languages/clang/duchain/clanghelpers.cpp:121 #32 0x00007f31508c2dc0 in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) (file=<optimized out>, imports=..., session=..., features=features@entry=KDevelop::TopDUContext::AllDeclarationsContextsAndUses, includedFiles=..., index=0x2a2d2c0, abortFunction=...) at /home/daniel/tmp/kdevelop/languages/clang/duchain/clanghelpers.cpp:121 #33 0x00007f31508c2dc0 in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) (file=<optimized out>, imports=..., session=..., features=KDevelop::TopDUContext::AllDeclarationsContextsAndUses, includedFiles=..., index=0x2a2d2c0, abortFunction=...) at /home/daniel/tmp/kdevelop/languages/clang/duchain/clanghelpers.cpp:121 #34 0x00007f3150b1fdf8 in ClangParseJob::run (this=0x4d0d5a0) at /home/daniel/tmp/kdevelop/languages/clang/clangparsejob.cpp:320 #35 0x00007f3183d00576 in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5 #36 0x00007f3183d00b78 in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5 #37 0x00007f3183cffa9a in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5 #38 0x00007f3183cff140 in ThreadWeaver::Thread::run() () from /usr/lib/libKF5ThreadWeaver.so.5 #39 0x00007f3187c99d78 in ?? () from /usr/lib/libQt5Core.so.5 #40 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #41 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 15 (Thread 0x7f31327fc700 (LWP 1917)): #0 0x00007f317e35c68d in pthread_join () from /usr/lib/libpthread.so.0 #1 0x00007f315cd8cce0 in llvm::llvm_execute_on_thread(void (*)(void*), void*, unsigned int) () from /usr/lib/libLLVM-3.8.so #2 0x00007f315cd19630 in llvm::CrashRecoveryContext::RunSafelyOnThread(llvm::function_ref<void ()>, unsigned int) () from /usr/lib/libLLVM-3.8.so #3 0x00007f314f9239a5 in clang_parseTranslationUnit2FullArgv () from /usr/lib/libclang.so.3.8 #4 0x00007f314f923c4b in clang_parseTranslationUnit2 () from /usr/lib/libclang.so.3.8 #5 0x00007f31508de96b in ParseSessionData::ParseSessionData (this=<optimized out>, unsavedFiles=..., index=<optimized out>, environment=..., options=...) at /home/daniel/tmp/kdevelop/languages/clang/duchain/parsesession.cpp:254 #6 0x00007f3150b1c573 in ClangParseJob::createSessionData (this=this@entry=0x462b820) at /home/daniel/tmp/kdevelop/languages/clang/clangparsejob.cpp:376 #7 0x00007f3150b2020d in ClangParseJob::run (this=0x462b820) at /home/daniel/tmp/kdevelop/languages/clang/clangparsejob.cpp:282 #8 0x00007f3183d00576 in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5 #9 0x00007f3183d00b78 in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5 #10 0x00007f3183cffa9a in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5 #11 0x00007f3183cff140 in ThreadWeaver::Thread::run() () from /usr/lib/libKF5ThreadWeaver.so.5 #12 0x00007f3187c99d78 in ?? () from /usr/lib/libQt5Core.so.5 #13 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #14 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 14 (Thread 0x7f3132ffd700 (LWP 1916)): #0 0x00007f317e36110f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f3187c9ac2b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5 #2 0x00007f3183cfd1c0 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib/libKF5ThreadWeaver.so.5 #3 0x00007f3183d01978 in ?? () from /usr/lib/libKF5ThreadWeaver.so.5 #4 0x00007f3183cfc263 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib/libKF5ThreadWeaver.so.5 #5 0x00007f3183cff1f9 in ThreadWeaver::Thread::run() () from /usr/lib/libKF5ThreadWeaver.so.5 #6 0x00007f3187c99d78 in ?? () from /usr/lib/libQt5Core.so.5 #7 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #8 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 13 (Thread 0x7f31337fe700 (LWP 1915)): #0 0x00007f317e36110f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f3187c9ac2b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5 #2 0x00007f3183cfd1c0 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib/libKF5ThreadWeaver.so.5 #3 0x00007f3183d01978 in ?? () from /usr/lib/libKF5ThreadWeaver.so.5 #4 0x00007f3183cfc263 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib/libKF5ThreadWeaver.so.5 #5 0x00007f3183cff1f9 in ThreadWeaver::Thread::run() () from /usr/lib/libKF5ThreadWeaver.so.5 #6 0x00007f3187c99d78 in ?? () from /usr/lib/libQt5Core.so.5 #7 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #8 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 12 (Thread 0x7f3133fff700 (LWP 1914)): #0 0x00007f317e35c68d in pthread_join () from /usr/lib/libpthread.so.0 #1 0x00007f315cd8cce0 in llvm::llvm_execute_on_thread(void (*)(void*), void*, unsigned int) () from /usr/lib/libLLVM-3.8.so #2 0x00007f315cd19630 in llvm::CrashRecoveryContext::RunSafelyOnThread(llvm::function_ref<void ()>, unsigned int) () from /usr/lib/libLLVM-3.8.so #3 0x00007f314f9239a5 in clang_parseTranslationUnit2FullArgv () from /usr/lib/libclang.so.3.8 #4 0x00007f314f923c4b in clang_parseTranslationUnit2 () from /usr/lib/libclang.so.3.8 #5 0x00007f31508de96b in ParseSessionData::ParseSessionData (this=<optimized out>, unsavedFiles=..., index=<optimized out>, environment=..., options=...) at /home/daniel/tmp/kdevelop/languages/clang/duchain/parsesession.cpp:254 #6 0x00007f3150b1c573 in ClangParseJob::createSessionData (this=this@entry=0x4cb5b20) at /home/daniel/tmp/kdevelop/languages/clang/clangparsejob.cpp:376 #7 0x00007f3150b2020d in ClangParseJob::run (this=0x4cb5b20) at /home/daniel/tmp/kdevelop/languages/clang/clangparsejob.cpp:282 #8 0x00007f3183d00576 in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5 #9 0x00007f3183d00b78 in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5 #10 0x00007f3183cffa9a in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5 #11 0x00007f3183cff140 in ThreadWeaver::Thread::run() () from /usr/lib/libKF5ThreadWeaver.so.5 #12 0x00007f3187c99d78 in ?? () from /usr/lib/libQt5Core.so.5 #13 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #14 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 11 (Thread 0x7f3144b02700 (LWP 1913)): #0 0x00007f317e36110f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f3187c9ac2b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5 #2 0x00007f3183cfd1c0 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib/libKF5ThreadWeaver.so.5 #3 0x00007f3183d01978 in ?? () from /usr/lib/libKF5ThreadWeaver.so.5 #4 0x00007f3183cfc263 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib/libKF5ThreadWeaver.so.5 #5 0x00007f3183cff1f9 in ThreadWeaver::Thread::run() () from /usr/lib/libKF5ThreadWeaver.so.5 #6 0x00007f3187c99d78 in ?? () from /usr/lib/libQt5Core.so.5 #7 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #8 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 10 (Thread 0x7f3145303700 (LWP 1912)): #0 0x00007f317e36110f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f3187c9ac2b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5 #2 0x00007f3183cfd1c0 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib/libKF5ThreadWeaver.so.5 #3 0x00007f3183d01978 in ?? () from /usr/lib/libKF5ThreadWeaver.so.5 #4 0x00007f3183cfc263 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib/libKF5ThreadWeaver.so.5 #5 0x00007f3183cff1f9 in ThreadWeaver::Thread::run() () from /usr/lib/libKF5ThreadWeaver.so.5 #6 0x00007f3187c99d78 in ?? () from /usr/lib/libQt5Core.so.5 #7 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #8 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 9 (Thread 0x7f3145b04700 (LWP 1911)): #0 0x00007f317e36110f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f3187c9ac2b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5 #2 0x00007f3183cfd1c0 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib/libKF5ThreadWeaver.so.5 #3 0x00007f3183d01978 in ?? () from /usr/lib/libKF5ThreadWeaver.so.5 #4 0x00007f3183cfc263 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib/libKF5ThreadWeaver.so.5 #5 0x00007f3183cff1f9 in ThreadWeaver::Thread::run() () from /usr/lib/libKF5ThreadWeaver.so.5 #6 0x00007f3187c99d78 in ?? () from /usr/lib/libQt5Core.so.5 #7 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #8 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 8 (Thread 0x7f314c984700 (LWP 1910)): #0 0x00007f317e35c68d in pthread_join () from /usr/lib/libpthread.so.0 #1 0x00007f315cd8cce0 in llvm::llvm_execute_on_thread(void (*)(void*), void*, unsigned int) () from /usr/lib/libLLVM-3.8.so #2 0x00007f315cd19630 in llvm::CrashRecoveryContext::RunSafelyOnThread(llvm::function_ref<void ()>, unsigned int) () from /usr/lib/libLLVM-3.8.so #3 0x00007f314f9239a5 in clang_parseTranslationUnit2FullArgv () from /usr/lib/libclang.so.3.8 #4 0x00007f314f923c4b in clang_parseTranslationUnit2 () from /usr/lib/libclang.so.3.8 #5 0x00007f31508de96b in ParseSessionData::ParseSessionData (this=<optimized out>, unsavedFiles=..., index=<optimized out>, environment=..., options=...) at /home/daniel/tmp/kdevelop/languages/clang/duchain/parsesession.cpp:254 #6 0x00007f3150b1c573 in ClangParseJob::createSessionData (this=this@entry=0x4a84690) at /home/daniel/tmp/kdevelop/languages/clang/clangparsejob.cpp:376 #7 0x00007f3150b2020d in ClangParseJob::run (this=0x4a84690) at /home/daniel/tmp/kdevelop/languages/clang/clangparsejob.cpp:282 #8 0x00007f3183d00576 in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5 #9 0x00007f3183d00b78 in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5 #10 0x00007f3183cffa9a in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5 #11 0x00007f3183cff140 in ThreadWeaver::Thread::run() () from /usr/lib/libKF5ThreadWeaver.so.5 #12 0x00007f3187c99d78 in ?? () from /usr/lib/libQt5Core.so.5 #13 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #14 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 7 (Thread 0x7f3147fff700 (LWP 1836)): #0 0x00007f317bf65984 in g_main_context_check () from /usr/lib/libglib-2.0.so.0 #1 0x00007f317bf65f74 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f317bf660ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f3187ec859b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #4 0x00007f3187e720da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #5 0x00007f3187c950f3 in QThread::exec() () from /usr/lib/libQt5Core.so.5 #6 0x00007f318dd78445 in ?? () from /usr/lib/libQt5Qml.so.5 #7 0x00007f3187c99d78 in ?? () from /usr/lib/libQt5Core.so.5 #8 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #9 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 6 (Thread 0x7f314f799700 (LWP 1830)): #0 0x00007f31870874ed in read () from /usr/lib/libc.so.6 #1 0x00007f317bfa8c80 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f317bf65ab4 in g_main_context_check () from /usr/lib/libglib-2.0.so.0 #3 0x00007f317bf65f74 in ?? () from /usr/lib/libglib-2.0.so.0 #4 0x00007f317bf660ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #5 0x00007f3187ec859b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #6 0x00007f3187e720da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #7 0x00007f3187c950f3 in QThread::exec() () from /usr/lib/libQt5Core.so.5 #8 0x00007f318526f7dc in KDevelop::CompletionWorkerThread::run (this=0x2a30ce0) at /home/daniel/tmp/kdevplatform/language/codecompletion/codecompletionmodel.cpp:89 #9 0x00007f3187c99d78 in ?? () from /usr/lib/libQt5Core.so.5 #10 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #11 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 5 (Thread 0x7f315b72a700 (LWP 1829)): #0 0x00007f317e3614b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f3187c9ab66 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5 #2 0x00007f318517dbe8 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x279f8f0) at /home/daniel/tmp/kdevplatform/language/duchain/duchain.cpp:282 #3 0x00007f3187c99d78 in ?? () from /usr/lib/libQt5Core.so.5 #4 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #5 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 4 (Thread 0x7f315c52e700 (LWP 1828)): #0 0x00007f317e36110f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f315f996393 in ?? () from /usr/lib/xorg/modules/dri/r600_dri.so #2 0x00007f315f995ad7 in ?? () from /usr/lib/xorg/modules/dri/r600_dri.so #3 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #4 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 3 (Thread 0x7f316727b700 (LWP 1827)): #0 0x00007f318708b48d in poll () from /usr/lib/libc.so.6 #1 0x00007f317bf65fd6 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f317bf660ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f3187ec859b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #4 0x00007f3187e720da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #5 0x00007f3187c950f3 in QThread::exec() () from /usr/lib/libQt5Core.so.5 #6 0x00007f318ac13e75 in ?? () from /usr/lib/libQt5DBus.so.5 #7 0x00007f3187c99d78 in ?? () from /usr/lib/libQt5Core.so.5 #8 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #9 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 2 (Thread 0x7f316cd8e700 (LWP 1826)): #0 0x00007f318708b48d in poll () from /usr/lib/libc.so.6 #1 0x00007f317adb18e0 in ?? () from /usr/lib/libxcb.so.1 #2 0x00007f317adb3679 in xcb_wait_for_event () from /usr/lib/libxcb.so.1 #3 0x00007f316eccf469 in ?? () from /usr/lib/libQt5XcbQpa.so.5 #4 0x00007f3187c99d78 in ?? () from /usr/lib/libQt5Core.so.5 #5 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #6 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 1 (Thread 0x7f318eb88280 (LWP 1825)): [KCrash Handler] #5 OutputWidget::setTitle (this=0x0, outputId=2, title=...) at /home/daniel/tmp/kdevplatform/plugins/standardoutputview/outputwidget.cpp:670 #6 0x00007f318d6369f7 in KDevelop::OutputJob::setTitle (this=0x4cd2600, title=...) at /home/daniel/tmp/kdevplatform/outputview/outputjob.cpp:110 #7 0x00007f311125332f in CTestRunJob::start (this=0x4cb7d60) at /home/daniel/tmp/kdevelop/projectmanagers/cmake/testing/ctestrunjob.cpp:134 #8 0x00007f318d406a78 in KDevelop::ExecuteCompositeJobPrivate::startNextJob (this=<optimized out>, job=0x4cb7d60) at /home/daniel/tmp/kdevplatform/util/executecompositejob.cpp:63 #9 0x00007f318e7cd0cb in KDevelop::RunController::registerJob (this=0x26c1350, job=<optimized out>) at /home/daniel/tmp/kdevplatform/shell/runcontroller.cpp:623 #10 0x00007f315aad7f85 in TestView::runSelectedTests (this=0x3a4d3a0) at /home/daniel/tmp/kdevplatform/plugins/testview/testview.cpp:312 #11 0x00007f3187e9f85e in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5 #12 0x00007f3188d9bb15 in QAbstractItemView::activated(QModelIndex const&) () from /usr/lib/libQt5Widgets.so.5 #13 0x00007f3188d9f06e in QAbstractItemView::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5 #14 0x00007f3188de8adb in QTreeView::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5 #15 0x00007f3188b9af18 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5 #16 0x00007f3188c8262e in QFrame::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5 #17 0x00007f3188da8e03 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQt5Widgets.so.5 #18 0x00007f3188de82ec in QTreeView::viewportEvent(QEvent*) () from /usr/lib/libQt5Widgets.so.5 #19 0x00007f3187e739e1 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #20 0x00007f3188b53e15 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #21 0x00007f3188b5c46d in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #22 0x00007f3187e73c80 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #23 0x00007f3188b5ab1d in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQt5Widgets.so.5 #24 0x00007f3188bb4fc0 in ?? () from /usr/lib/libQt5Widgets.so.5 #25 0x00007f3188bb7763 in ?? () from /usr/lib/libQt5Widgets.so.5 #26 0x00007f3188b53e3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #27 0x00007f3188b5b5b1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #28 0x00007f3187e73c80 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #29 0x00007f31883c20e3 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5 #30 0x00007f31883c3c65 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5 #31 0x00007f31883a1cbb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5 #32 0x00007f316ed05310 in ?? () from /usr/lib/libQt5XcbQpa.so.5 #33 0x00007f317bf65dd7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #34 0x00007f317bf66040 in ?? () from /usr/lib/libglib-2.0.so.0 #35 0x00007f317bf660ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #36 0x00007f3187ec857f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #37 0x00007f3187e720da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #38 0x00007f3187e7a5cc in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5 #39 0x000000000040b8f1 in main (argc=<optimized out>, argv=<optimized out>) at /home/daniel/tmp/kdevelop/app/main.cpp:745 Indeed, thanks for the instructions. The tool view does not seem to be removed from some list somewhere when clicking Remove, so it is still returned (instead of being re-added) on the second run. This also happens for the native app job and I guess all output jobs, they just don't crash but instead just don't show anything. I poked around for quite a while now, couldn't figure out how to fix it or what happens exactly. :/ The severity of the bug is somewhat reduced by the fact that it basically never makes sense to remove the Run view. Thank you for the crash report. As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you. 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! Hi, I tried reproducing this bug, but was unable to. When removing the run toolview and re-running the test everything seems to work. I.e.: a second tab is added to the now hidden run toolview and reappears when re-adding the toolview again. I have set the resolution to WORKSFORME to reflect this. |