Bug 432629 - background parser crash
Summary: background parser crash
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-02-08 02:27 UTC by Be
Modified: 2021-02-08 02:27 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 Be 2021-02-08 02:27:32 UTC
Application: kdevelop (5.6.40)

Qt Version: 5.15.2
Frameworks Version: 5.78.0
Operating System: Linux 5.10.7-200.fc33.x86_64 x86_64
Windowing system: X11
Distribution: Fedora 33 (Workstation Edition)

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

KDevelop was running the parser in the background. I did not have the KDevelop window visible.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Aborted

[KCrash Handler]
#4  0x00007f181e6209d5 in raise () from /lib64/libc.so.6
#5  0x00007f181e6098a4 in abort () from /lib64/libc.so.6
#6  0x00007f181ebaa48f in QMessageLogger::fatal(char const*, ...) const () from /lib64/libQt5Core.so.5
#7  0x00007f181eba9894 in qt_assert(char const*, char const*, int) () from /lib64/libQt5Core.so.5
#8  0x00007f17d122235a in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, QFlags<KDevelop::TopDUContext::Feature>, QHash<void*, KDevelop::ReferencedTopDUContext>&, QHash<KDevelop::IndexedString, KDevelop::ModificationRevision> const&, KDevelop::IndexedString const&, ClangIndex*, std::function<bool ()> const&) (file=0x7f1742261df0, imports=..., session=..., features=..., includedFiles=..., unsavedRevisions=..., parseDocument=..., index=0x203b190, abortFunction=...) at ../plugins/clang/duchain/clanghelpers.cpp:163
#9  0x00007f17d12d42c8 in ClangParseJob::run (this=0x861de20) at ../plugins/clang/clangparsejob.cpp:341
#10 0x00007f18218b13ff in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () from /lib64/libKF5ThreadWeaver.so.5
#11 0x00007f18218b1dfb in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /lib64/libKF5ThreadWeaver.so.5
#12 0x00007f18218b09b7 in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /lib64/libKF5ThreadWeaver.so.5
#13 0x00007f18218aef16 in ThreadWeaver::Thread::run() () from /lib64/libKF5ThreadWeaver.so.5
#14 0x00007f181ebdfdf0 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#15 0x00007f181da793f9 in start_thread () from /lib64/libpthread.so.0
#16 0x00007f181e6e4903 in clone () from /lib64/libc.so.6

Thread 13 (Thread 0x7f17b15d9640 (LWP 10056) "Queue(0xd71f60)"):
#1  0x00007f17f779530f in llvm_execute_on_thread_impl(void* (*)(void*), void*, llvm::Optional<unsigned int>, (anonymous namespace)::JoiningPolicy) [clone .isra.0] () from /lib64/libLLVM-11.so
#2  0x00007f17f7795436 in llvm::llvm_execute_on_thread(void (*)(void*), void*, llvm::Optional<unsigned int>) () from /lib64/libLLVM-11.so
#3  0x00007f17f76c7d1b in llvm::CrashRecoveryContext::RunSafelyOnThread(llvm::function_ref<void ()>, unsigned int) () from /lib64/libLLVM-11.so
#4  0x00007f17b2bb4799 in clang_parseTranslationUnit2FullArgv () from /lib64/libclang.so.11
#5  0x00007f17b2bb488a in clang_parseTranslationUnit2 () from /lib64/libclang.so.11
#6  0x00007f17d124014c in ParseSessionData::ParseSessionData (this=0x7f17a6905c10, unsavedFiles=..., index=0x203b190, environment=..., options=...) at ../plugins/clang/duchain/parsesession.cpp:327
#7  0x00007f17d12d48e8 in ClangParseJob::createSessionData (this=0x8615d10) at ../plugins/clang/clangparsejob.cpp:387
#8  0x00007f17d12d3cc7 in ClangParseJob::run (this=0x8615d10) at ../plugins/clang/clangparsejob.cpp:303
#9  0x00007f18218b13ff in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () from /lib64/libKF5ThreadWeaver.so.5
#10 0x00007f18218b1dfb in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /lib64/libKF5ThreadWeaver.so.5
#11 0x00007f18218b09b7 in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /lib64/libKF5ThreadWeaver.so.5
#12 0x00007f18218aef16 in ThreadWeaver::Thread::run() () from /lib64/libKF5ThreadWeaver.so.5
#13 0x00007f181ebdfdf0 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#14 0x00007f181da793f9 in start_thread () from /lib64/libpthread.so.0
#15 0x00007f181e6e4903 in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7f17d1154640 (LWP 9874) "KDevelop::Compl"):
#1  0x00007f181cbc0d13 in g_main_context_check () from /lib64/libglib-2.0.so.0
#2  0x00007f181cc1269d in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#3  0x00007f181cbbdd43 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#4  0x00007f181edc770b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f181ed7957b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#6  0x00007f181ebdeb67 in QThread::exec() () from /lib64/libQt5Core.so.5
#7  0x00007f1821b108cf in KDevelop::CompletionWorkerThread::run (this=0x203af70) at ../kdevplatform/language/codecompletion/codecompletionmodel.cpp:88
#8  0x00007f181ebdfdf0 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#9  0x00007f181da793f9 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f181e6e4903 in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7f17d8bb7640 (LWP 9872) "QQmlThread"):
#1  0x00007f181cc126f6 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#2  0x00007f181cbbdd43 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f181edc770b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f181ed7957b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f181ebdeb67 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f1820aca5ec in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#7  0x00007f181ebdfdf0 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007f181da793f9 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f181e6e4903 in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7f17d940b640 (LWP 9870) "OutputFilterThr"):
#1  0x00007f181cbc0d13 in g_main_context_check () from /lib64/libglib-2.0.so.0
#2  0x00007f181cc1269d in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#3  0x00007f181cbbdd43 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#4  0x00007f181edc770b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f181ed7957b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#6  0x00007f181ebdeb67 in QThread::exec() () from /lib64/libQt5Core.so.5
#7  0x00007f181ebdfdf0 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007f181da793f9 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f181e6e4903 in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f17da3ab640 (LWP 9860) "Qt bearer threa"):
#1  0x00007f181cc126f6 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#2  0x00007f181cbbdd43 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f181edc770b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f181ed7957b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f181ebdeb67 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f181ebdfdf0 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#7  0x00007f181da793f9 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f181e6e4903 in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f17db571640 (LWP 9858) "QThread"):
#1  0x00007f181cc1269d in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#2  0x00007f181cbbdd43 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f181edc770b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f181ed7957b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f181ebdeb67 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f18219c1c52 in KDevelop::DUChainPrivate::CleanupThread::run (this=0xe92ac0) at ../kdevplatform/language/duchain/duchain.cpp:331
#7  0x00007f181ebdfdf0 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007f181da793f9 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f181e6e4903 in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f17f5d05640 (LWP 9849) "QDBusConnection"):
#1  0x00007f181cc126f6 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#2  0x00007f181cbbdd43 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f181edc770b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f181ed7957b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f181ebdeb67 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f181f94810b in QDBusConnectionManager::run() () from /lib64/libQt5DBus.so.5
#7  0x00007f181ebdfdf0 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007f181da793f9 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f181e6e4903 in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f17f6506640 (LWP 9848) "kdevelo:disk$3"):
#1  0x00007f1802819ceb in util_queue_thread_func () from /usr/lib64/dri/iris_dri.so
#2  0x00007f18028197ab in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#3  0x00007f181da793f9 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f181e6e4903 in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f17f6d07640 (LWP 9847) "kdevelo:disk$2"):
#1  0x00007f1802819ceb in util_queue_thread_func () from /usr/lib64/dri/iris_dri.so
#2  0x00007f18028197ab in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#3  0x00007f181da793f9 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f181e6e4903 in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f1800ff7640 (LWP 9846) "kdevelo:disk$1"):
#1  0x00007f1802819ceb in util_queue_thread_func () from /usr/lib64/dri/iris_dri.so
#2  0x00007f18028197ab in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#3  0x00007f181da793f9 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f181e6e4903 in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f18017f8640 (LWP 9845) "kdevelo:disk$0"):
#1  0x00007f1802819ceb in util_queue_thread_func () from /usr/lib64/dri/iris_dri.so
#2  0x00007f18028197ab in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#3  0x00007f181da793f9 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f181e6e4903 in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f1804605640 (LWP 9844) "QXcbEventQueue"):
#1  0x00007f181d8d0842 in _xcb_conn_wait.part.0 () from /lib64/libxcb.so.1
#2  0x00007f181d8d21cc in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f18046f8448 in QXcbEventQueue::run() () from /lib64/libQt5XcbQpa.so.5
#4  0x00007f181ebdfdf0 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#5  0x00007f181da793f9 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f181e6e4903 in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f1811d2ea80 (LWP 9843) "kdevelop"):
#1  0x00007f181cc126f6 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#2  0x00007f181cbbdd43 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f181edc770b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f181ed7957b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f181ed811b4 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#6  0x0000000000412a1a in main (argc=1, argv=0x7ffde74dff58) at ../app/main.cpp:855
[Inferior 1 (process 9843) detached]

Possible duplicates by query: bug 431887, bug 431811, bug 431391, bug 427387, bug 425994.

Reported using DrKonqi