Application: kdevelop (4.7.3) KDE Platform Version: 4.14.16 Qt Version: 4.8.7 Operating System: Linux 4.10.0-32-generic x86_64 Distribution: Linux Mint 18.2 Sonya -- Information about the crash: - What I was doing when the application crashed: Writing C++ sourcecode. - Unusual behavior I noticed: This deadlock only seems to occur on a particularly fast machine. Running in a VM, it never locks up. Running natively on a fast i7 with 32GB of RAM, it invariably locks up after just a few minutes. The crash can be reproduced every time. -- Backtrace: Application: KDevelop (kdevelop), signal: Aborted Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7f22b5a15940 (LWP 9566))] Thread 10 (Thread 0x7f21ec19d700 (LWP 9770)): #0 0x00007f22b210d24d in read () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f22ac1c96f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f22ac185e74 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f22ac186330 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f22ac18649c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007f22b291d2ce in QEventDispatcherGlib::processEvents (this=0x7f21c80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452 #6 0x00007f22b28eb18f in QEventLoop::processEvents (this=this@entry=0x7f21ec19cc90, flags=...) at kernel/qeventloop.cpp:149 #7 0x00007f22b28eb4f5 in QEventLoop::exec (this=this@entry=0x7f21ec19cc90, flags=...) at kernel/qeventloop.cpp:204 #8 0x00007f22b27da549 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538 #9 0x00007f22b27dce3c in QThreadPrivate::start (arg=0x80e5f80) at thread/qthread_unix.cpp:352 #10 0x00007f22ae6036ba in start_thread (arg=0x7f21ec19d700) at pthread_create.c:333 #11 0x00007f22b211d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 9 (Thread 0x7f21ed67e700 (LWP 9609)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f22b27dd3a6 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1e66a00) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=this@entry=0x1ee29b8, mutex=0x596e200, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007f22a8573c9c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1ee2990, th=0x595c250) at /build/kde4libs-_S4zyz/kde4libs-4.14.16/threadweaver/Weaver/WeaverImpl.cpp:370 #4 0x00007f22a8576993 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1fdc4c0, th=0x595c250, previous=0x60cbec0) at /build/kde4libs-_S4zyz/kde4libs-4.14.16/threadweaver/Weaver/WorkingHardState.cpp:68 #5 0x00007f22a85754ef in ThreadWeaver::Thread::run (this=0x595c250) at /build/kde4libs-_S4zyz/kde4libs-4.14.16/threadweaver/Weaver/Thread.cpp:98 #6 0x00007f22b27dce3c in QThreadPrivate::start (arg=0x595c250) at thread/qthread_unix.cpp:352 #7 0x00007f22ae6036ba in start_thread (arg=0x7f21ed67e700) at pthread_create.c:333 #8 0x00007f22b211d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 8 (Thread 0x7f21ede7f700 (LWP 9608)): #0 0x00007f22b211170d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f22ac18638c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f22ac18649c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f22b291d2ce in QEventDispatcherGlib::processEvents (this=0x7f21cc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452 #4 0x00007f22b28eb18f in QEventLoop::processEvents (this=this@entry=0x7f21ede7ec40, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f22b28eb4f5 in QEventLoop::exec (this=this@entry=0x7f21ede7ec40, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007f22b27da549 in QThread::exec (this=this@entry=0x59a6f30) at thread/qthread.cpp:538 #7 0x00007f22b28cb223 in QInotifyFileSystemWatcherEngine::run (this=0x59a6f30) at io/qfilesystemwatcher_inotify.cpp:265 #8 0x00007f22b27dce3c in QThreadPrivate::start (arg=0x59a6f30) at thread/qthread_unix.cpp:352 #9 0x00007f22ae6036ba in start_thread (arg=0x7f21ede7f700) at pthread_create.c:333 #10 0x00007f22b211d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 7 (Thread 0x7f21e3259700 (LWP 9596)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f22b27dd3a6 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x213bd40) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=this@entry=0x213bc18, mutex=0x213bec0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007f22a8573c9c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x213bbf0, th=0x7f21d421b500) at /build/kde4libs-_S4zyz/kde4libs-4.14.16/threadweaver/Weaver/WeaverImpl.cpp:370 #4 0x00007f22a8576993 in ThreadWeaver::WorkingHardState::applyForWork (this=0x213bf50, th=0x7f21d421b500, previous=0x0) at /build/kde4libs-_S4zyz/kde4libs-4.14.16/threadweaver/Weaver/WorkingHardState.cpp:68 #5 0x00007f22a85769ac in ThreadWeaver::WorkingHardState::applyForWork (this=0x213bf50, th=0x7f21d421b500, previous=0x86fe5d0) at /build/kde4libs-_S4zyz/kde4libs-4.14.16/threadweaver/Weaver/WorkingHardState.cpp:71 #6 0x00007f22a85754ef in ThreadWeaver::Thread::run (this=0x7f21d421b500) at /build/kde4libs-_S4zyz/kde4libs-4.14.16/threadweaver/Weaver/Thread.cpp:98 #7 0x00007f22b27dce3c in QThreadPrivate::start (arg=0x7f21d421b500) at thread/qthread_unix.cpp:352 #8 0x00007f22ae6036ba in start_thread (arg=0x7f21e3259700) at pthread_create.c:333 #9 0x00007f22b211d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 6 (Thread 0x7f21e2a58700 (LWP 9595)): [KCrash Handler] #6 0x00007f22b204b428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54 #7 0x00007f22b204d02a in __GI_abort () at abort.c:89 #8 0x00007f22b246f84d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #9 0x00007f22b246d6b6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #10 0x00007f22b246d701 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #11 0x00007f22b246d919 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #12 0x00007f22b27d1b32 in qBadAlloc () at global/qglobal.cpp:2113 #13 0x00007f22b27fcb62 in QListData::realloc (this=this@entry=0x7f21e2a57140, alloc=<optimized out>) at tools/qlist.cpp:222 #14 0x00007f22b27fcbdd in QListData::append (this=this@entry=0x7f21e2a57140, n=n@entry=1) at tools/qlist.cpp:243 #15 0x00007f22b27fcc3a in QListData::append (this=this@entry=0x7f21e2a57140) at tools/qlist.cpp:253 #16 0x00007f21f7281f51 in QList<KDevelop::DUContext*>::append (t=<optimized out>, this=0x7f21e2a57140) at /usr/include/qt4/QtCore/qlist.h:530 #17 QList<KDevelop::DUContext*>::operator<< (t=<optimized out>, this=0x7f21e2a57140) at /usr/include/qt4/QtCore/qlist.h:334 #18 DeclarationBuilder::resolveNamespaceIdentifier (this=this@entry=0x7f21e2a579c0, identifier=..., position=...) at /build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/cppduchain/declarationbuilder.cpp:1217 #19 0x00007f21f7282165 in DeclarationBuilder::visitUsingDirective (this=0x7f21e2a579c0, node=<optimized out>) at /build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/cppduchain/declarationbuilder.cpp:1285 #20 0x00007f21f6fd1d49 in visitNodes<DeclarationAST*> (v=0x7f21e2a57a18, nodes=<optimized out>) at /build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/visitor.h:139 #21 0x00007f21f726d4cb in ContextBuilder::visitNamespace (this=this@entry=0x7f21e2a579c0, node=node@entry=0x7f21bb5d8e18) at /build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/cppduchain/contextbuilder.cpp:472 #22 0x00007f21f7280480 in DeclarationBuilder::visitNamespace (this=0x7f21e2a579c0, ast=0x7f21bb5d8e18) at /build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/cppduchain/declarationbuilder.cpp:1054 #23 0x00007f21f6fd1d49 in visitNodes<DeclarationAST*> (v=0x7f21e2a57a18, nodes=<optimized out>) at /build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/visitor.h:139 #24 0x00007f21f726d4cb in ContextBuilder::visitNamespace (this=this@entry=0x7f21e2a579c0, node=node@entry=0x7f21bb5d8dc8) at /build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/cppduchain/contextbuilder.cpp:472 #25 0x00007f21f7280480 in DeclarationBuilder::visitNamespace (this=0x7f21e2a579c0, ast=0x7f21bb5d8dc8) at /build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/cppduchain/declarationbuilder.cpp:1054 #26 0x00007f21f6fd1d49 in visitNodes<DeclarationAST*> (v=0x7f21e2a57a18, nodes=<optimized out>) at /build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/parser/visitor.h:139 #27 0x00007f21f7273344 in KDevelop::AbstractContextBuilder<AST, NameAST>::supportBuild (this=0x7f21e2a579c0, node=0x7f21bb5d8d90, context=0x7f21b0c511f0) at /usr/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:133 #28 0x00007f21f72701eb in ContextBuilder::buildContexts (this=0x7f21e2a579c0, file=..., node=0x7f21bb5d8d90, includes=<optimized out>, updateContext=..., removeOldImports=false) at /build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/cppduchain/contextbuilder.cpp:421 #29 0x00007f21f727a2a1 in DeclarationBuilder::buildDeclarations (this=this@entry=0x7f21e2a579c0, file=..., node=node@entry=0x7f21bb5d8d90, includes=includes@entry=0x7f21e2a57740, updateContext=..., removeOldImports=false) at /build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/cppduchain/declarationbuilder.cpp:95 #30 0x00007f21f7578bdd in CPPInternalParseJob::run (this=<optimized out>) at /build/kdevelop-jGcNEc/kdevelop-4.7.3/languages/cpp/cppparsejob.cpp:639 #31 0x00007f22a8575cb2 in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f21e2a57c30, th=th@entry=0x56ab7b0, job=job@entry=0x803fc40) at /build/kde4libs-_S4zyz/kde4libs-4.14.16/threadweaver/Weaver/Job.cpp:106 #32 0x00007f22a8575ebe in ThreadWeaver::Job::execute (this=0x803fc40, th=0x56ab7b0) at /build/kde4libs-_S4zyz/kde4libs-4.14.16/threadweaver/Weaver/Job.cpp:135 #33 0x00007f22a8577bab in ThreadWeaver::JobCollectionJobRunner::execute (this=0x7d79a40, t=0x56ab7b0) at /build/kde4libs-_S4zyz/kde4libs-4.14.16/threadweaver/Weaver/JobCollection.cpp:82 #34 0x00007f22a857558b in ThreadWeaver::Thread::run (this=0x56ab7b0) at /build/kde4libs-_S4zyz/kde4libs-4.14.16/threadweaver/Weaver/Thread.cpp:108 #35 0x00007f22b27dce3c in QThreadPrivate::start (arg=0x56ab7b0) at thread/qthread_unix.cpp:352 #36 0x00007f22ae6036ba in start_thread (arg=0x7f21e2a58700) at pthread_create.c:333 #37 0x00007f22b211d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 5 (Thread 0x7f21e2257700 (LWP 9586)): #0 0x00007f22b211170d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f22ac18638c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f22ac18649c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f22b291d2ce in QEventDispatcherGlib::processEvents (this=0x7f21d80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452 #4 0x00007f22b28eb18f in QEventLoop::processEvents (this=this@entry=0x7f21e2256c40, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f22b28eb4f5 in QEventLoop::exec (this=this@entry=0x7f21e2256c40, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007f22b27da549 in QThread::exec (this=this@entry=0x61e1e00) at thread/qthread.cpp:538 #7 0x00007f22b28cb223 in QInotifyFileSystemWatcherEngine::run (this=0x61e1e00) at io/qfilesystemwatcher_inotify.cpp:265 #8 0x00007f22b27dce3c in QThreadPrivate::start (arg=0x61e1e00) at thread/qthread_unix.cpp:352 #9 0x00007f22ae6036ba in start_thread (arg=0x7f21e2257700) at pthread_create.c:333 #10 0x00007f22b211d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 4 (Thread 0x7f21f6d99700 (LWP 9581)): #0 0x00007f22b210d24d in read () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f22ac1c96f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f22ac185e74 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f22ac186330 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f22ac18649c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007f22b291d2ce in QEventDispatcherGlib::processEvents (this=0x7f21f00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452 #6 0x00007f22b28eb18f in QEventLoop::processEvents (this=this@entry=0x7f21f6d98c90, flags=...) at kernel/qeventloop.cpp:149 #7 0x00007f22b28eb4f5 in QEventLoop::exec (this=this@entry=0x7f21f6d98c90, flags=...) at kernel/qeventloop.cpp:204 #8 0x00007f22b27da549 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538 #9 0x00007f22b27dce3c in QThreadPrivate::start (arg=0x42426f0) at thread/qthread_unix.cpp:352 #10 0x00007f22ae6036ba in start_thread (arg=0x7f21f6d99700) at pthread_create.c:333 #11 0x00007f22b211d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 3 (Thread 0x7f220cbef700 (LWP 9576)): #0 0x00007f22b20e230d in nanosleep () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f22b2113d54 in usleep (useconds=<optimized out>) at ../sysdeps/posix/usleep.c:32 #2 0x00007f22b11097ca in KDevelop::DUChainLock::lockForWrite(unsigned int) () from /usr/lib/libkdevplatformlanguage.so.8 #3 0x00007f22b11099ac in KDevelop::DUChainWriteLocker::lock() () from /usr/lib/libkdevplatformlanguage.so.8 #4 0x00007f22b10c89d8 in ?? () from /usr/lib/libkdevplatformlanguage.so.8 #5 0x00007f22b10c9d1e in ?? () from /usr/lib/libkdevplatformlanguage.so.8 #6 0x00007f22b27dce3c in QThreadPrivate::start (arg=0x35ec5e0) at thread/qthread_unix.cpp:352 #7 0x00007f22ae6036ba in start_thread (arg=0x7f220cbef700) at pthread_create.c:333 #8 0x00007f22b211d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 2 (Thread 0x7f229128d700 (LWP 9567)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f22afcf8e1a in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4 #2 0x00007f22afcf8e49 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4 #3 0x00007f22ae6036ba in start_thread (arg=0x7f229128d700) at pthread_create.c:333 #4 0x00007f22b211d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 1 (Thread 0x7f22b5a15940 (LWP 9566)): #0 0x00007f22b20e230d in nanosleep () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f22b2113d54 in usleep (useconds=<optimized out>) at ../sysdeps/posix/usleep.c:32 #2 0x00007f22b110961a in KDevelop::DUChainLock::lockForRead(unsigned int) () from /usr/lib/libkdevplatformlanguage.so.8 #3 0x00007f22b11098ec in KDevelop::DUChainReadLocker::lock() () from /usr/lib/libkdevplatformlanguage.so.8 #4 0x00007f21f97f6b33 in ?? () from /usr/lib/kde4/kdevproblemreporter.so #5 0x00007f21f97f6d00 in ?? () from /usr/lib/kde4/kdevproblemreporter.so #6 0x00007f22b2901010 in QMetaObject::activate (sender=0x3fc1ed0, m=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3567 #7 0x00007f22b2906c83 in QObject::event (this=0x3fc1ed0, e=<optimized out>) at kernel/qobject.cpp:1253 #8 0x00007f22b2e19fdc in QApplicationPrivate::notify_helper (this=this@entry=0x1802ea0, receiver=receiver@entry=0x3fc1ed0, e=e@entry=0x7fff4df99290) at kernel/qapplication.cpp:4570 #9 0x00007f22b2e20f16 in QApplication::notify (this=this@entry=0x7fff4df996b0, receiver=receiver@entry=0x3fc1ed0, e=e@entry=0x7fff4df99290) at kernel/qapplication.cpp:4356 #10 0x00007f22b42e564a in KApplication::notify (this=0x7fff4df996b0, receiver=0x3fc1ed0, event=0x7fff4df99290) at /build/kde4libs-_S4zyz/kde4libs-4.14.16/kdeui/kernel/kapplication.cpp:311 #11 0x00007f22b28ec90d in QCoreApplication::notifyInternal (this=0x7fff4df996b0, receiver=0x3fc1ed0, event=event@entry=0x7fff4df99290) at kernel/qcoreapplication.cpp:955 #12 0x00007f22b291f780 in QCoreApplication::sendEvent (event=0x7fff4df99290, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #13 QTimerInfoList::activateTimers (this=0x18034f0) at kernel/qeventdispatcher_unix.cpp:621 #14 0x00007f22b291c929 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:193 #15 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:240 #16 0x00007f22ac186197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #17 0x00007f22ac1863f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #18 0x00007f22ac18649c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #19 0x00007f22b291d2ae in QEventDispatcherGlib::processEvents (this=0x173d6a0, flags=...) at kernel/qeventdispatcher_glib.cpp:450 #20 0x00007f22b2ec7616 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #21 0x00007f22b28eb18f in QEventLoop::processEvents (this=this@entry=0x7fff4df99510, flags=...) at kernel/qeventloop.cpp:149 #22 0x00007f22b28eb4f5 in QEventLoop::exec (this=this@entry=0x7fff4df99510, flags=...) at kernel/qeventloop.cpp:204 #23 0x00007f22b28f14b9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227 #24 0x00007f22b2e1822c in QApplication::exec () at kernel/qapplication.cpp:3828 #25 0x00000000004117c1 in main (argc=<optimized out>, argv=<optimized out>) at /build/kdevelop-jGcNEc/kdevelop-4.7.3/app/main.cpp:582 Possible duplicates by query: bug 277629, bug 269746, bug 265865, bug 254903. Reported using DrKonqi
Sorry, this part of the application was completely re-written for 5.x, which has been available for a while, and we don't have the resources to provide support for the old codebase. You can try out the 5.1 AppImage from kdevelop.org/download if your distribution doesn't offer packages for 5.1.