https://bugs.kde.org/show_bug.cgi?id=398613

            Bug ID: 398613
           Summary: crash parsing a currently being modified .cpp file
           Product: kdevelop
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Application: kdevelop (5.3.40)
 (Compiled from sources)
Qt Version: 5.11.1
Frameworks Version: 5.51.0
Operating System: Linux 4.18.5-1-default x86_64
Distribution: "openSUSE Tumbleweed"

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

Editing kfileitemmodel.cpp or placespanel.cpp. Double clicking over a word and
pasting a replacement.

In the stdout:
libclang: crash detected in code completion
kdevelop.languages.clang: Something went wrong during 'clang_codeCompleteAt'
for file
"/home/jtorres/kdesrc/kde/applications/dolphin/src/kitemviews/kfileitemmodel.cpp"
QXcbClipboard: SelectionRequest too old
libclang: crash detected during parsing: {
  'source_filename' :
'/home/jtorres/kdesrc/kde/applications/dolphin/src/panels/places/placespanel.cpp'
  'command_line_args' : ['clang', '-ferror-limit=100', '-fspell-checking', '',
'-Wunused-parameter', '-Wunreachable-code', '-Wall', '-std=c++11', '-O0', '-g',
'-mtune=native', '-march=native', '-std=c++0x', '-fno-operator-names',
'-fno-exceptions', '-Wall', '-Wextra', '-Wcast-align', '-Wchar-subscripts',
'-Wformat-security', '-Wno-long-long', '-Wpointer-arith', '-Wundef',
'-Wnon-virtual-dtor', '-Woverloaded-virtual', '-Wreturn-type', '-Wvla',
'-Wdate-time', '-pedantic', '-Wsuggest-override', '-Wlogical-op',
'-Wzero-as-null-pointer-constant', '-g', '-fvisibility=hidden',
'-fvisibility-inlines-hidden', '-fPIC', '-std=gnu++11', '-nostdinc',
'-nostdinc++', '-xc++', '-isystem',
'/usr/local/kde-latest/share/kdevclangsupport/wrappedQtHeaders', '-isystem',
'/usr/local/kde-latest/share/kdevclangsupport/wrappedQtHeaders/QtCore',
'-isystem/home/jtorres/kdesrc/build/kde/applications/dolphin/src',
'-isystem/home/jtorres/kdesrc/build/kde/applications/dolphin/src/dolphinstatic_autogen/include',
'-isystem/usr/local/kde-latest/include/phonon4qt5',
'-isystem/usr/local/kde-latest/include/phonon4qt5/KDE',
'-isystem/usr/include/qt5', '-isystem/usr/include/qt5/QtWidgets',
'-isystem/usr/include/qt5/QtGui', '-isystem/usr/include/qt5/QtCore',
'-isystem/usr/lib64/qt5/mkspecs/linux-g++',
'-isystem/usr/include/qt5/QtConcurrent',
'-isystem/usr/local/kde-latest/include/KF5/KCrash',
'-isystem/usr/local/kde-latest/include/KF5',
'-isystem/usr/local/kde-latest/include/KF5/KI18n',
'-isystem/usr/local/kde-latest/include/KF5/KIconThemes',
'-isystem/usr/local/kde-latest/include/KF5/KIOCore',
'-isystem/usr/local/kde-latest/include/KF5/KCoreAddons',
'-isystem/usr/local/kde-latest/include/KF5/KService',
'-isystem/usr/local/kde-latest/include/KF5/KConfigCore',
'-isystem/usr/include/qt5/QtNetwork', '-isystem/usr/include/qt5/QtDBus',
'-isystem/usr/local/kde-latest/include/KF5/KIOWidgets',
'-isystem/usr/local/kde-latest/include/KF5/KJobWidgets',
'-isystem/usr/local/kde-latest/include/KF5/KCompletion',
'-isystem/usr/local/kde-latest/include/KF5/KWidgetsAddons',
'-isystem/usr/local/kde-latest/include/KF5/KIOFileWidgets',
'-isystem/usr/local/kde-latest/include/KF5/KBookmarks',
'-isystem/usr/include/qt5/QtXml',
'-isystem/usr/local/kde-latest/include/KF5/KItemViews',
'-isystem/usr/local/kde-latest/include/KF5/KXmlGui',
'-isystem/usr/local/kde-latest/include/KF5/KConfigWidgets',
'-isystem/usr/local/kde-latest/include/KF5/KCodecs',
'-isystem/usr/local/kde-latest/include/KF5/KConfigGui',
'-isystem/usr/local/kde-latest/include/KF5/KAuth',
'-isystem/usr/local/kde-latest/include/KF5/Solid',
'-isystem/usr/local/kde-latest/include/KF5/KTextWidgets',
'-isystem/usr/local/kde-latest/include/KF5/SonnetUi',
'-isystem/usr/local/kde-latest/include/KF5/KNewStuff3',
'-isystem/usr/local/kde-latest/include/KF5/KNewStuff3/KNS3',
'-isystem/usr/local/kde-latest/include/KF5/KNewStuff3/knscore',
'-isystem/usr/local/kde-latest/include/KF5/KNewStuff3/kns3',
'-isystem/usr/local/kde-latest/include/KF5/KNewStuff3/KNSCore',
'-isystem/usr/local/kde-latest/include/KF5/Attica',
'-isystem/usr/local/kde-latest/include/KF5/KParts',
'-isystem/usr/local/kde-latest/include/KF5/KFileMetaData',
'-isystem/usr/local/kde-latest/include/KF5/Baloo',
'-isystem/usr/local/kde-latest/include/KF5/BalooWidgets',
'-isystem/usr/local/kde-latest/include/KF5/KCMUtils',
'-isystem/usr/local/kde-latest/include/KF5/KDBusAddons',
'-isystem/usr/local/kde-latest/include/KF5/KNotifications',
'-isystem/usr/local/kde-latest/include/KF5/KActivities',
'-isystem/usr/include/c++/8', '-isystem/usr/include/c++/8/x86_64-suse-linux',
'-isystem/usr/include/c++/8/backward', '-isystem/usr/local/include',
'-isystem/usr/include', '-I/home/jtorres/kdesrc/kde/applications/dolphin/src',
'-isystem', '/usr/lib64/clang/5.0.2/include', '-imacros',
'/tmp/kdevelop.aRqAEP'],
  'unsaved_files' : [],
  'options' : 781,
}
QSocketNotifier: Invalid socket 6 with type Read, disabling...
QSocketNotifier: Invalid socket 10 with type Read, disabling...
QSocketNotifier: Invalid socket 12 with type Read, disabling...
QSocketNotifier: Invalid socket 38 with type Read, disabling...
QSocketNotifier: Invalid socket 41 with type Read, disabling...
QSocketNotifier: Invalid socket 40 with type Read, disabling...
QSocketNotifier: Invalid socket 44 with type Read, disabling...
QSocketNotifier: Invalid socket 47 with type Read, disabling...
QSocketNotifier: Invalid socket 46 with type Read, disabling...
QSocketNotifier: Invalid socket 65 with type Read, disabling...
QSocketNotifier: Invalid socket 64 with type Read, disabling...
QSocketNotifier: Invalid socket 66 with type Exception, disabling...
QSocketNotifier: Invalid socket 69 with type Read, disabling...
QSocketNotifier: Invalid socket 50 with type Read, disabling...
QSocketNotifier: Invalid socket 52 with type Read, disabling...
QSocketNotifier: Invalid socket 54 with type Read, disabling...
QSocketNotifier: Invalid socket 57 with type Read, disabling...
QSocketNotifier: Invalid socket 56 with type Read, disabling...
QSocketNotifier: Invalid socket 58 with type Read, disabling...
QSocketNotifier: Invalid socket 61 with type Read, disabling...
KCrash: crashing... crashRecursionCounter = 2
...
FunctionDeclarationData::m_defaultParameters There were items left on
destruction: 6223
ClassFunctionDeclarationData::m_defaultParameters There were items left on
destruction: 18084
ClassDeclarationData::baseClasses There were items left on destruction: 2471
MacroDefinitionData::parameters There were items left on destruction: 4716
TopDUContextData::m_problems There were items left on destruction: 813
ProblemData::diagnostics There were items left on destruction: 3345
TopDUContextData::m_usedDeclarationIds There were items left on destruction:
824
DUContextData::m_uses There were items left on destruction: 46813
DUContextData::m_localDeclarations There were items left on destruction: 24959
DUContextData::m_importers There were items left on destruction: 1091
DUContextData::m_childContexts There were items left on destruction: 15241
DUContextData::m_importedContexts There were items left on destruction: 4457
QSocketNotifier: Invalid socket 19 with type Read, disabling...
QSocketNotifier: Invalid socket 8 with type Read, disabling...
QSocketNotifier: Invalid socket 11 with type Read, disabling...

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

Thread 11 (Thread 0x7ff0eb7fe700 (LWP 13713)):
#0  0x00007ff1579eb4dc in futex_wait_cancelable (private=0, expected=0,
futex_word=0x13af370) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007ff1579eb4dc in __pthread_cond_wait_common (abstime=0x0,
mutex=0x13af320, cond=0x13af348) at pthread_cond_wait.c:502
#2  0x00007ff1579eb4dc in __pthread_cond_wait (cond=0x13af348, mutex=0x13af320)
at pthread_cond_wait.c:655
#3  0x00007ff159be521b in QWaitConditionPrivate::wait(unsigned long)
(time=18446744073709551615, this=0x13af320) at
thread/qwaitcondition_unix.cpp:143
#4  0x00007ff159be521b in QWaitCondition::wait(QMutex*, unsigned long)
(this=<optimized out>, mutex=0x15f4a50, time=18446744073709551615) at
thread/qwaitcondition_unix.cpp:215
#5  0x00007ff15de8dc85 in
ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(ThreadWeaver::Thread*)
(this=0x15f4960, th=0x7ff0e0000d20) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/weaver.cpp:594
#6  0x00007ff15de8d95e in
ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*,
bool, bool, bool) (this=0x15f4960, th=0x7ff0e0000d20, threadWasBusy=false,
suspendIfInactive=false, justReturning=false) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/weaver.cpp:554
#7  0x00007ff15de96833 in
ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool)
(this=0x1397d30, th=0x7ff0e0000d20, wasBusy=false) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/workinghardstate.cpp:66
#8  0x00007ff15de8da95 in
ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool)
(this=0x15f4960, th=0x7ff0e0000d20, wasBusy=false) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/weaver.cpp:568
#9  0x00007ff15de96942 in
ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool)
(this=0x1397d30, th=0x7ff0e0000d20, wasBusy=false) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/workinghardstate.cpp:73
#10 0x00007ff15de8da95 in
ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool)
(this=0x15f4960, th=0x7ff0e0000d20, wasBusy=false) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/weaver.cpp:568
#11 0x00007ff15de96942 in
ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool)
(this=0x1397d30, th=0x7ff0e0000d20, wasBusy=true) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/workinghardstate.cpp:73
#12 0x00007ff15de8da95 in
ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool)
(this=0x15f4960, th=0x7ff0e0000d20, wasBusy=true) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/weaver.cpp:568
#13 0x00007ff15de92a85 in ThreadWeaver::Thread::run() (this=0x7ff0e0000d20) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/thread.cpp:103
#14 0x00007ff159be4a67 in QThreadPrivate::start(void*) (arg=0x7ff0e0000d20) at
thread/qthread_unix.cpp:367
#15 0x00007ff1579e5554 in start_thread (arg=<optimized out>) at
pthread_create.c:463
#16 0x00007ff159315ccf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7ff0ebfff700 (LWP 13712)):
[KCrash Handler]
#6  0x00007ff1130155ac in clang::ASTUnit::~ASTUnit() () at
/usr/lib64/../lib64/libclangFrontend.so.5
#7  0x00007ff113025082 in  () at /usr/lib64/../lib64/libclangFrontend.so.5
#8  0x00007ff10958b451 in llvm::CrashRecoveryContext::~CrashRecoveryContext()
() at /usr/lib64/../lib64/libLLVM.so.5
#9  0x00007ff1136d48d3 in clang_parseTranslationUnit2FullArgv () at
/usr/lib64/libclang.so.5
#10 0x00007ff1136d4542 in clang_parseTranslationUnit2 () at
/usr/lib64/libclang.so.5
#11 0x00007ff113865b5e in
ParseSessionData::ParseSessionData(QVector<UnsavedFile> const&, ClangIndex*,
ClangParsingEnvironment const&, QFlags<ParseSessionData::Option>)
(this=0x7ff0a2878a70, unsavedFiles=..., index=0x216ea90, environment=...,
options=...) at
/home/jtorres/kdesrc/extragear/kdevelop/kdevelop/plugins/clang/duchain/parsesession.cpp:305
#12 0x00007ff1138e3671 in ClangParseJob::createSessionData() const
(this=0x638dc40) at
/home/jtorres/kdesrc/extragear/kdevelop/kdevelop/plugins/clang/clangparsejob.cpp:380
#13 0x00007ff1138e29c2 in
ClangParseJob::run(QSharedPointer<ThreadWeaver::JobInterface>,
ThreadWeaver::Thread*) (this=0x638dc40) at
/home/jtorres/kdesrc/extragear/kdevelop/kdevelop/plugins/clang/clangparsejob.cpp:286
#14 0x00007ff15de94c19 in
ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>,
ThreadWeaver::Thread*) (this=0x5b04c30, self=..., thread=0x7ff0e4000d20) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/iddecorator.cpp:69
#15 0x00007ff15de958d0 in
ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&,
ThreadWeaver::Thread*) (this=0x7ff15deb26c0
<ThreadWeaver::Private::defaultExecutor>, job=..., thread=0x7ff0e4000d20) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/executor.cpp:52
#16 0x00007ff15de94815 in
ThreadWeaver::Private::DefaultExecutor::execute(QSharedPointer<ThreadWeaver::JobInterface>
const&, ThreadWeaver::Thread*) (this=0x7ff15deb26c0
<ThreadWeaver::Private::defaultExecutor>, job=..., thread=0x7ff0e4000d20) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/job_p.cpp:70
#17 0x00007ff15de95b0d in
ThreadWeaver::ExecuteWrapper::executeWrapped(QSharedPointer<ThreadWeaver::JobInterface>
const&, ThreadWeaver::Thread*) (this=0x121001f8, job=...,
thread=0x7ff0e4000d20) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/executewrapper.cpp:64
#18 0x00007ff15de94782 in
ThreadWeaver::Private::DebugExecuteWrapper::execute(QSharedPointer<ThreadWeaver::JobInterface>
const&, ThreadWeaver::Thread*) (this=0x121001f8, job=..., th=0x7ff0e4000d20) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/job_p.cpp:58
#19 0x00007ff15de95b0d in
ThreadWeaver::ExecuteWrapper::executeWrapped(QSharedPointer<ThreadWeaver::JobInterface>
const&, ThreadWeaver::Thread*) (this=0x12100220, job=...,
thread=0x7ff0e4000d20) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/executewrapper.cpp:64
#20 0x00007ff15de95a9d in
ThreadWeaver::ExecuteWrapper::execute(QSharedPointer<ThreadWeaver::JobInterface>
const&, ThreadWeaver::Thread*) (this=0x12100220, job=...,
thread=0x7ff0e4000d20) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/executewrapper.cpp:57
#21 0x00007ff15de95b0d in
ThreadWeaver::ExecuteWrapper::executeWrapped(QSharedPointer<ThreadWeaver::JobInterface>
const&, ThreadWeaver::Thread*) (this=0xfa3fa60, job=..., thread=0x7ff0e4000d20)
at /home/jtorres/kdesrc/frameworks/threadweaver/src/executewrapper.cpp:64
#22 0x00007ff15de95a9d in
ThreadWeaver::ExecuteWrapper::execute(QSharedPointer<ThreadWeaver::JobInterface>
const&, ThreadWeaver::Thread*) (this=0xfa3fa60, job=..., thread=0x7ff0e4000d20)
at /home/jtorres/kdesrc/frameworks/threadweaver/src/executewrapper.cpp:57
#23 0x00007ff15de932cb in
ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&,
ThreadWeaver::Thread*) (this=0x638dc50, self=..., th=0x7ff0e4000d20) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/job.cpp:83
#24 0x00007ff15de978d6 in
ThreadWeaver::Collection::execute(QSharedPointer<ThreadWeaver::JobInterface>
const&, ThreadWeaver::Thread*) (this=0x638dc50, job=..., thread=0x7ff0e4000d20)
at /home/jtorres/kdesrc/frameworks/threadweaver/src/collection.cpp:151
#25 0x00007ff15de952ab in
ThreadWeaver::IdDecorator::execute(QSharedPointer<ThreadWeaver::JobInterface>
const&, ThreadWeaver::Thread*) (this=0x5b04c30, self=...,
thread=0x7ff0e4000d20) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/iddecorator.cpp:177
#26 0x00007ff15de92b3a in ThreadWeaver::Thread::run() (this=0x7ff0e4000d20) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/thread.cpp:114
#27 0x00007ff159be4a67 in QThreadPrivate::start(void*) (arg=0x7ff0e4000d20) at
thread/qthread_unix.cpp:367
#28 0x00007ff1579e5554 in start_thread (arg=<optimized out>) at
pthread_create.c:463
#29 0x00007ff159315ccf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7ff100fec700 (LWP 13711)):
#0  0x00007ff1579eb4dc in futex_wait_cancelable (private=0, expected=0,
futex_word=0x13af370) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007ff1579eb4dc in __pthread_cond_wait_common (abstime=0x0,
mutex=0x13af320, cond=0x13af348) at pthread_cond_wait.c:502
#2  0x00007ff1579eb4dc in __pthread_cond_wait (cond=0x13af348, mutex=0x13af320)
at pthread_cond_wait.c:655
#3  0x00007ff159be521b in QWaitConditionPrivate::wait(unsigned long)
(time=18446744073709551615, this=0x13af320) at
thread/qwaitcondition_unix.cpp:143
#4  0x00007ff159be521b in QWaitCondition::wait(QMutex*, unsigned long)
(this=<optimized out>, mutex=0x15f4a50, time=18446744073709551615) at
thread/qwaitcondition_unix.cpp:215
#5  0x00007ff15de8dc85 in
ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(ThreadWeaver::Thread*)
(this=0x15f4960, th=0x7ff0f0000d20) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/weaver.cpp:594
#6  0x00007ff15de8d95e in
ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*,
bool, bool, bool) (this=0x15f4960, th=0x7ff0f0000d20, threadWasBusy=false,
suspendIfInactive=false, justReturning=false) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/weaver.cpp:554
#7  0x00007ff15de96833 in
ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool)
(this=0x1397d30, th=0x7ff0f0000d20, wasBusy=false) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/workinghardstate.cpp:66
#8  0x00007ff15de8da95 in
ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool)
(this=0x15f4960, th=0x7ff0f0000d20, wasBusy=false) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/weaver.cpp:568
#9  0x00007ff15de96942 in
ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool)
(this=0x1397d30, th=0x7ff0f0000d20, wasBusy=false) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/workinghardstate.cpp:73
#10 0x00007ff15de8da95 in
ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool)
(this=0x15f4960, th=0x7ff0f0000d20, wasBusy=false) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/weaver.cpp:568
#11 0x00007ff15de96942 in
ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool)
(this=0x1397d30, th=0x7ff0f0000d20, wasBusy=false) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/workinghardstate.cpp:73
#12 0x00007ff15de8da95 in
ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool)
(this=0x15f4960, th=0x7ff0f0000d20, wasBusy=false) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/weaver.cpp:568
#13 0x00007ff15de96942 in
ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool)
(this=0x1397d30, th=0x7ff0f0000d20, wasBusy=true) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/workinghardstate.cpp:73
#14 0x00007ff15de8da95 in
ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool)
(this=0x15f4960, th=0x7ff0f0000d20, wasBusy=true) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/weaver.cpp:568
#15 0x00007ff15de92a85 in ThreadWeaver::Thread::run() (this=0x7ff0f0000d20) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/thread.cpp:103
#16 0x00007ff159be4a67 in QThreadPrivate::start(void*) (arg=0x7ff0f0000d20) at
thread/qthread_unix.cpp:367
#17 0x00007ff1579e5554 in start_thread (arg=<optimized out>) at
pthread_create.c:463
#18 0x00007ff159315ccf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7ff1017ed700 (LWP 13710)):
#0  0x00007ff1579eb4dc in futex_wait_cancelable (private=0, expected=0,
futex_word=0x13af370) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007ff1579eb4dc in __pthread_cond_wait_common (abstime=0x0,
mutex=0x13af320, cond=0x13af348) at pthread_cond_wait.c:502
#2  0x00007ff1579eb4dc in __pthread_cond_wait (cond=0x13af348, mutex=0x13af320)
at pthread_cond_wait.c:655
#3  0x00007ff159be521b in QWaitConditionPrivate::wait(unsigned long)
(time=18446744073709551615, this=0x13af320) at
thread/qwaitcondition_unix.cpp:143
#4  0x00007ff159be521b in QWaitCondition::wait(QMutex*, unsigned long)
(this=<optimized out>, mutex=0x15f4a50, time=18446744073709551615) at
thread/qwaitcondition_unix.cpp:215
#5  0x00007ff15de8dc85 in
ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(ThreadWeaver::Thread*)
(this=0x15f4960, th=0x7ff0ec000d20) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/weaver.cpp:594
#6  0x00007ff15de8d95e in
ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*,
bool, bool, bool) (this=0x15f4960, th=0x7ff0ec000d20, threadWasBusy=false,
suspendIfInactive=false, justReturning=false) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/weaver.cpp:554
#7  0x00007ff15de96833 in
ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool)
(this=0x1397d30, th=0x7ff0ec000d20, wasBusy=false) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/workinghardstate.cpp:66
#8  0x00007ff15de8da95 in
ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool)
(this=0x15f4960, th=0x7ff0ec000d20, wasBusy=false) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/weaver.cpp:568
#9  0x00007ff15de96942 in
ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool)
(this=0x1397d30, th=0x7ff0ec000d20, wasBusy=false) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/workinghardstate.cpp:73
#10 0x00007ff15de8da95 in
ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool)
(this=0x15f4960, th=0x7ff0ec000d20, wasBusy=false) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/weaver.cpp:568
#11 0x00007ff15de96942 in
ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool)
(this=0x1397d30, th=0x7ff0ec000d20, wasBusy=false) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/workinghardstate.cpp:73
#12 0x00007ff15de8da95 in
ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool)
(this=0x15f4960, th=0x7ff0ec000d20, wasBusy=false) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/weaver.cpp:568
#13 0x00007ff15de96942 in
ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool)
(this=0x1397d30, th=0x7ff0ec000d20, wasBusy=false) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/workinghardstate.cpp:73
#14 0x00007ff15de8da95 in
ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool)
(this=0x15f4960, th=0x7ff0ec000d20, wasBusy=false) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/weaver.cpp:568
#15 0x00007ff15de96942 in
ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool)
(this=0x1397d30, th=0x7ff0ec000d20, wasBusy=true) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/workinghardstate.cpp:73
#16 0x00007ff15de8da95 in
ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool)
(this=0x15f4960, th=0x7ff0ec000d20, wasBusy=true) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/weaver.cpp:568
#17 0x00007ff15de92a85 in ThreadWeaver::Thread::run() (this=0x7ff0ec000d20) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/thread.cpp:103
#18 0x00007ff159be4a67 in QThreadPrivate::start(void*) (arg=0x7ff0ec000d20) at
thread/qthread_unix.cpp:367
#19 0x00007ff1579e5554 in start_thread (arg=<optimized out>) at
pthread_create.c:463
#20 0x00007ff159315ccf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7ff101fee700 (LWP 13709)):
#0  0x00007ff1579eb4dc in futex_wait_cancelable (private=0, expected=0,
futex_word=0x13af370) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007ff1579eb4dc in __pthread_cond_wait_common (abstime=0x0,
mutex=0x13af320, cond=0x13af348) at pthread_cond_wait.c:502
#2  0x00007ff1579eb4dc in __pthread_cond_wait (cond=0x13af348, mutex=0x13af320)
at pthread_cond_wait.c:655
#3  0x00007ff159be521b in QWaitConditionPrivate::wait(unsigned long)
(time=18446744073709551615, this=0x13af320) at
thread/qwaitcondition_unix.cpp:143
#4  0x00007ff159be521b in QWaitCondition::wait(QMutex*, unsigned long)
(this=<optimized out>, mutex=0x15f4a50, time=18446744073709551615) at
thread/qwaitcondition_unix.cpp:215
#5  0x00007ff15de8dc85 in
ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(ThreadWeaver::Thread*)
(this=0x15f4960, th=0x53d89e0) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/weaver.cpp:594
#6  0x00007ff15de8d95e in
ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*,
bool, bool, bool) (this=0x15f4960, th=0x53d89e0, threadWasBusy=false,
suspendIfInactive=false, justReturning=false) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/weaver.cpp:554
#7  0x00007ff15de96833 in
ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool)
(this=0x1397d30, th=0x53d89e0, wasBusy=false) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/workinghardstate.cpp:66
#8  0x00007ff15de8da95 in
ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool)
(this=0x15f4960, th=0x53d89e0, wasBusy=false) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/weaver.cpp:568
#9  0x00007ff15de96942 in
ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool)
(this=0x1397d30, th=0x53d89e0, wasBusy=true) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/workinghardstate.cpp:73
#10 0x00007ff15de8da95 in
ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool)
(this=0x15f4960, th=0x53d89e0, wasBusy=true) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/weaver.cpp:568
#11 0x00007ff15de92a85 in ThreadWeaver::Thread::run() (this=0x53d89e0) at
/home/jtorres/kdesrc/frameworks/threadweaver/src/thread.cpp:103
#12 0x00007ff159be4a67 in QThreadPrivate::start(void*) (arg=0x53d89e0) at
thread/qthread_unix.cpp:367
#13 0x00007ff1579e5554 in start_thread (arg=<optimized out>) at
pthread_create.c:463
#14 0x00007ff159315ccf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7ff103b23700 (LWP 13629)):
#0  0x00007ff15930b3c6 in __GI_ppoll (fds=fds@entry=0x7ff0fc000dc8,
nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007ff159ddb0a1 in ppoll (__ss=<optimized out>, __timeout=<optimized
out>, __nfds=<optimized out>, __fds=<optimized out>) at
/usr/include/bits/poll2.h:77
#2  0x00007ff159ddb0a1 in qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7ff0fc000dc8)
at kernel/qcore_unix.cpp:112
#3  0x00007ff159ddb0a1 in qt_safe_poll(pollfd*, unsigned long, timespec const*)
(fds=0x7ff0fc000dc8, nfds=nfds@entry=1, timeout_ts=timeout_ts@entry=0x0) at
kernel/qcore_unix.cpp:133
#4  0x00007ff159ddc519 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=<optimized out>, flags=...) at
../../include/QtCore/../../src/corelib/tools/qarraydata.h:209
#5  0x00007ff159d8c09b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ff103b22b40,
flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007ff159bdae96 in QThread::exec() (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007ff108455615 in  () at
/usr/lib64/qt5/qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so
#8  0x00007ff159be4a67 in QThreadPrivate::start(void*) (arg=0xdb8bce0) at
thread/qthread_unix.cpp:367
#9  0x00007ff1579e5554 in start_thread (arg=<optimized out>) at
pthread_create.c:463
#10 0x00007ff159315ccf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7ff1115fc700 (LWP 13497)):
#0  0x00007ff15930b3c6 in __GI_ppoll (fds=fds@entry=0x7ff104001108,
nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007ff159ddb0a1 in ppoll (__ss=<optimized out>, __timeout=<optimized
out>, __nfds=<optimized out>, __fds=<optimized out>) at
/usr/include/bits/poll2.h:77
#2  0x00007ff159ddb0a1 in qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7ff104001108)
at kernel/qcore_unix.cpp:112
#3  0x00007ff159ddb0a1 in qt_safe_poll(pollfd*, unsigned long, timespec const*)
(fds=0x7ff104001108, nfds=nfds@entry=1, timeout_ts=timeout_ts@entry=0x0) at
kernel/qcore_unix.cpp:133
#4  0x00007ff159ddc519 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=<optimized out>, flags=...) at
../../include/QtCore/../../src/corelib/tools/qarraydata.h:209
#5  0x00007ff159d8c09b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ff1115fbad0,
flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007ff159bdae96 in QThread::exec() (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007ff15ca9f733 in KDevelop::CompletionWorkerThread::run()
(this=0x21749d0) at
/home/jtorres/kdesrc/extragear/kdevelop/kdevelop/kdevplatform/language/codecompletion/codecompletionmodel.cpp:79
#8  0x00007ff159be4a67 in QThreadPrivate::start(void*) (arg=0x21749d0) at
thread/qthread_unix.cpp:367
#9  0x00007ff1579e5554 in start_thread (arg=<optimized out>) at
pthread_create.c:463
#10 0x00007ff159315ccf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7ff11a6b6700 (LWP 13483)):
#0  0x00007ff15930b3c6 in __GI_ppoll (fds=fds@entry=0x7ff10c000f48,
nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007ff159ddb0a1 in ppoll (__ss=<optimized out>, __timeout=<optimized
out>, __nfds=<optimized out>, __fds=<optimized out>) at
/usr/include/bits/poll2.h:77
#2  0x00007ff159ddb0a1 in qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7ff10c000f48)
at kernel/qcore_unix.cpp:112
#3  0x00007ff159ddb0a1 in qt_safe_poll(pollfd*, unsigned long, timespec const*)
(fds=0x7ff10c000f48, nfds=nfds@entry=1, timeout_ts=timeout_ts@entry=0x0) at
kernel/qcore_unix.cpp:133
#4  0x00007ff159ddc519 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=<optimized out>, flags=...) at
../../include/QtCore/../../src/corelib/tools/qarraydata.h:209
#5  0x00007ff159d8c09b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ff11a6b5b40,
flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007ff159bdae96 in QThread::exec() (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007ff15bca92c5 in  () at /usr/lib64/libQt5Qml.so.5
#8  0x00007ff159be4a67 in QThreadPrivate::start(void*) (arg=0x16c7700) at
thread/qthread_unix.cpp:367
#9  0x00007ff1579e5554 in start_thread (arg=<optimized out>) at
pthread_create.c:463
#10 0x00007ff159315ccf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7ff11aeb7700 (LWP 13474)):
#0  0x00007ff15930b3c6 in __GI_ppoll (fds=fds@entry=0x7ff114000d88,
nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x7ff11aeb69d0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007ff159ddafb0 in ppoll (__ss=<optimized out>, __timeout=<optimized
out>, __nfds=<optimized out>, __fds=<optimized out>) at
/usr/include/bits/poll2.h:77
#2  0x00007ff159ddafb0 in qt_ppoll (timeout_ts=0x7ff11aeb69d0, nfds=1,
fds=0x7ff114000d88) at kernel/qcore_unix.cpp:112
#3  0x00007ff159ddafb0 in qt_safe_poll(pollfd*, unsigned long, timespec const*)
(fds=0x7ff114000d88, nfds=nfds@entry=1,
timeout_ts=timeout_ts@entry=0x7ff11aeb6a40) at kernel/qcore_unix.cpp:142
#4  0x00007ff159ddc519 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=<optimized out>, flags=...) at
../../include/QtCore/../../src/corelib/tools/qarraydata.h:209
#5  0x00007ff159d8c09b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ff11aeb6b60,
flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007ff159bdae96 in QThread::exec() (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007ff159be4a67 in QThreadPrivate::start(void*) (arg=0x16f7ef0) at
thread/qthread_unix.cpp:367
#8  0x00007ff1579e5554 in start_thread (arg=<optimized out>) at
pthread_create.c:463
#9  0x00007ff159315ccf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7ff1211d7700 (LWP 13471)):
#0  0x00007ff1579eb4dc in futex_wait_cancelable (private=0, expected=0,
futex_word=0x7ff123fe9f30) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007ff1579eb4dc in __pthread_cond_wait_common (abstime=0x0,
mutex=0x14a8c90, cond=0x7ff123fe9f08) at pthread_cond_wait.c:502
#2  0x00007ff1579eb4dc in __pthread_cond_wait (cond=0x7ff123fe9f08,
mutex=0x14a8c90) at pthread_cond_wait.c:655
#3  0x00007ff159a4860c in
std::condition_variable::wait(std::unique_lock<std::mutex>&) () at
/usr/lib64/libstdc++.so.6
#4  0x00007ff123541c82 in  () at /usr/lib64/libQt5WebKit.so.5
#5  0x00007ff123541d9b in  () at /usr/lib64/libQt5WebKit.so.5
#6  0x00007ff159a4de4f in  () at /usr/lib64/libstdc++.so.6
#7  0x00007ff1579e5554 in start_thread (arg=<optimized out>) at
pthread_create.c:463
#8  0x00007ff159315ccf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ff1426c3a40 (LWP 13455)):
#0  0x00007ff111dcb8e0 in  () at
/usr/lib64/../lib64/../lib64/libclangTidyMiscModule.so.5
#1  0x00007ff15dcad966 in _dl_fini () at dl-fini.c:138
#2  0x00007ff1592557cc in __run_exit_handlers (status=1, listp=0x7ff1595d5718
<__exit_funcs>, run_list_atexit=run_list_atexit@entry=true,
run_dtors=run_dtors@entry=true) at exit.c:108
#3  0x00007ff1592558fc in __GI_exit (status=<optimized out>) at exit.c:139
#4  0x00007ff140a14062 in  () at /usr/lib64/libQt5XcbQpa.so.5
#5  0x00007ff159db6ec2 in QObject::event(QEvent*) (this=0xc41da0, e=<optimized
out>) at kernel/qobject.cpp:1251
#6  0x00007ff15a72d4b1 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib64/libQt5Widgets.so.5
#7  0x00007ff15a734b00 in QApplication::notify(QObject*, QEvent*) () at
/usr/lib64/libQt5Widgets.so.5
#8  0x00007ff159d8d3c9 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0xc41da0, event=0x7ff13804cad0) at
../../include/QtCore/5.11.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:307
#9  0x00007ff159d903bb in QCoreApplication::sendEvent(QObject*, QEvent*)
(event=0x7ff13804cad0, receiver=<optimized out>) at
kernel/qcoreapplication.h:234
#10 0x00007ff159d903bb in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (receiver=0x0, event_type=0, data=0xbdd800) at
kernel/qcoreapplication.cpp:1745
#11 0x00007ff159ddc38b in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0xcbe860, flags=...) at kernel/qeventdispatcher_unix.cpp:466
#12 0x00007ff140ab02dd in  () at /usr/lib64/libQt5XcbQpa.so.5
#13 0x00007ff159d8c09b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffd896b59e0,
flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#14 0x00007ff159d94212 in QCoreApplication::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#15 0x0000000000413657 in main(int, char**) (argc=1, argv=0x7ffd896b7518) at
/home/jtorres/kdesrc/extragear/kdevelop/kdevelop/app/main.cpp:849

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to