Application: kdevelop (4.4.60) KDE Platform Version: 4.9.3 Qt Version: 4.8.3 Operating System: Linux 3.5.0-18-generic x86_64 Distribution: Ubuntu 12.10 -- Information about the crash: - What I was doing when the application crashed: I had two projects open when I closed kdevelop. I did a restart of my computer and then In tried to start kdevelop. It crashed twice in a row while during application startup. The third time it worked again. The crash can be reproduced some of the time. -- Backtrace: Application: KDevelop (kdevelop), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7f0e60a67780 (LWP 2879))] Thread 9 (Thread 0x7f0e56b89700 (LWP 2880)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215 #1 0x00007f0e71240fa7 in wait (time=1000, this=0x2ae1fe0) at thread/qwaitcondition_unix.cpp:84 #2 QWaitCondition::wait (this=<optimized out>, mutex=0x2aac220, time=1000) at thread/qwaitcondition_unix.cpp:158 #3 0x00007f0e6d117acb in KDevelop::DUChainPrivate::CleanupThread::run (this=0x2aac200) at /home/stone/build/kdevplatform/language/duchain/duchain.cpp:282 #4 0x00007f0e71240aec in QThreadPrivate::start (arg=0x2aac200) at thread/qthread_unix.cpp:338 #5 0x00007f0e6f03ce9a in start_thread (arg=0x7f0e56b89700) at pthread_create.c:308 #6 0x00007f0e6ff49cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 8 (Thread 0x7f0e46a15700 (LWP 2881)): #0 0x00007f0e6ff3e303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f0e6a2c0d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f0e6a2c0ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f0e7136bc16 in QEventDispatcherGlib::processEvents (this=0x7f0e400008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #4 0x00007f0e7133c2bf in QEventLoop::processEvents (this=this@entry=0x7f0e46a14e00, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f0e7133c548 in QEventLoop::exec (this=0x7f0e46a14e00, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007f0e7123db10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501 #7 0x00007f0e71240aec in QThreadPrivate::start (arg=0x34b4ba0) at thread/qthread_unix.cpp:338 #8 0x00007f0e6f03ce9a in start_thread (arg=0x7f0e46a15700) at pthread_create.c:308 #9 0x00007f0e6ff49cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () Thread 7 (Thread 0x7f0e3fddb700 (LWP 2882)): #0 0x00007f0e6ff43023 in select () at ../sysdeps/unix/syscall-template.S:82 #1 0x00007f0e7131bfe2 in QProcessManager::run (this=0x7f0e71695520 <processManager()::processManager>) at io/qprocess_unix.cpp:245 #2 0x00007f0e71240aec in QThreadPrivate::start (arg=0x7f0e71695520 <processManager()::processManager>) at thread/qthread_unix.cpp:338 #3 0x00007f0e6f03ce9a in start_thread (arg=0x7f0e3fddb700) at pthread_create.c:308 #4 0x00007f0e6ff49cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Thread 6 (Thread 0x7f0e37134700 (LWP 2884)): #0 0x00007f0e6ff3e303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f0e6a2c0d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f0e6a2c0ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f0e7136bc16 in QEventDispatcherGlib::processEvents (this=0x7f0e300008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #4 0x00007f0e7133c2bf in QEventLoop::processEvents (this=this@entry=0x7f0e37133dd0, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f0e7133c548 in QEventLoop::exec (this=0x7f0e37133dd0, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007f0e7123db10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501 #7 0x00007f0e7131c9af in QInotifyFileSystemWatcherEngine::run (this=0x42d2160) at io/qfilesystemwatcher_inotify.cpp:248 #8 0x00007f0e71240aec in QThreadPrivate::start (arg=0x42d2160) at thread/qthread_unix.cpp:338 #9 0x00007f0e6f03ce9a in start_thread (arg=0x7f0e37134700) at pthread_create.c:308 #10 0x00007f0e6ff49cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 5 (Thread 0x7f0e366bc700 (LWP 2885)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f0e6c480cd7 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f0e6c78e660 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359 #2 0x00007f0e6c480d09 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464 #3 0x00007f0e6f03ce9a in start_thread (arg=0x7f0e366bc700) at pthread_create.c:308 #4 0x00007f0e6ff49cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Thread 4 (Thread 0x7f0e34ede700 (LWP 2886)): #0 0x00007f0e6ff3e303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f0e6a2c0d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f0e6a2c0ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f0e7136bc16 in QEventDispatcherGlib::processEvents (this=0x7f0e280008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #4 0x00007f0e7133c2bf in QEventLoop::processEvents (this=this@entry=0x7f0e34edde00, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f0e7133c548 in QEventLoop::exec (this=0x7f0e34edde00, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007f0e7123db10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501 #7 0x00007f0e71240aec in QThreadPrivate::start (arg=0x4a8e3c0) at thread/qthread_unix.cpp:338 #8 0x00007f0e6f03ce9a in start_thread (arg=0x7f0e34ede700) at pthread_create.c:308 #9 0x00007f0e6ff49cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () Thread 3 (Thread 0x7f0e2ffff700 (LWP 2887)): #0 0x00007f0e6ff3e303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f0e6a2c0d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f0e6a2c0ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f0e7136bc16 in QEventDispatcherGlib::processEvents (this=0x7f0e200008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #4 0x00007f0e7133c2bf in QEventLoop::processEvents (this=this@entry=0x7f0e2fffee00, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f0e7133c548 in QEventLoop::exec (this=0x7f0e2fffee00, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007f0e7123db10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501 #7 0x00007f0e71240aec in QThreadPrivate::start (arg=0x4a9df90) at thread/qthread_unix.cpp:338 #8 0x00007f0e6f03ce9a in start_thread (arg=0x7f0e2ffff700) at pthread_create.c:308 #9 0x00007f0e6ff49cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f0e2f5e0700 (LWP 2901)): #0 0x00007f0e6ff3e303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f0e6a2c0d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f0e6a2c0ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f0e7136bc16 in QEventDispatcherGlib::processEvents (this=0x7f0e240008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #4 0x00007f0e7133c2bf in QEventLoop::processEvents (this=this@entry=0x7f0e2f5dfdd0, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f0e7133c548 in QEventLoop::exec (this=0x7f0e2f5dfdd0, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007f0e7123db10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501 #7 0x00007f0e7131c9af in QInotifyFileSystemWatcherEngine::run (this=0x62d8e50) at io/qfilesystemwatcher_inotify.cpp:248 #8 0x00007f0e71240aec in QThreadPrivate::start (arg=0x62d8e50) at thread/qthread_unix.cpp:338 #9 0x00007f0e6f03ce9a in start_thread (arg=0x7f0e2f5e0700) at pthread_create.c:308 #10 0x00007f0e6ff49cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f0e60a67780 (LWP 2879)): [KCrash Handler] #6 KDevelop::Declaration::context (this=0x0) at /home/stone/build/kdevplatform/language/duchain/declaration.cpp:316 #7 0x00007f0e6d2384fc in KDevelop::CodeHighlightingInstance::useRainbowColor (this=<optimized out>, dec=0x0) at /home/stone/build/kdevplatform/language/highlighting/codehighlighting.cpp:424 #8 0x00007f0e6d23b6b4 in KDevelop::CodeHighlightingInstance::highlightDUChain (this=this@entry=0x3f40140, context=context@entry=0x5934980, colorsForDeclarations=..., declarationsForColors=...) at /home/stone/build/kdevplatform/language/highlighting/codehighlighting.cpp:236 #9 0x00007f0e6d23bf37 in KDevelop::CodeHighlightingInstance::highlightDUChain (this=this@entry=0x3f40140, context=0x5934980) at /home/stone/build/kdevplatform/language/highlighting/codehighlighting.cpp:207 #10 0x00007f0e6d23c14d in KDevelop::CodeHighlighting::highlightDUChain (this=0x4a1dd10, context=...) at /home/stone/build/kdevplatform/language/highlighting/codehighlighting.cpp:188 #11 0x00007f0e6d236264 in KDevelop::ColorCache::updateInternal (this=<optimized out>) at /home/stone/build/kdevplatform/language/highlighting/colorcache.cpp:268 #12 0x00007f0e7135243e in QObject::event (this=0x34b5920, e=<optimized out>) at kernel/qobject.cpp:1195 #13 0x00007f0e706e4e9c in QApplicationPrivate::notify_helper (this=this@entry=0x17d17f0, receiver=receiver@entry=0x34b5920, e=e@entry=0x615d690) at kernel/qapplication.cpp:4562 #14 0x00007f0e706e930a in QApplication::notify (this=0x7fff6444f250, receiver=0x34b5920, e=0x615d690) at kernel/qapplication.cpp:4423 #15 0x00007f0e718be1d6 in KApplication::notify (this=0x7fff6444f250, receiver=0x34b5920, event=0x615d690) at ../../kdeui/kernel/kapplication.cpp:311 #16 0x00007f0e7133d56e in QCoreApplication::notifyInternal (this=0x7fff6444f250, receiver=receiver@entry=0x34b5920, event=event@entry=0x615d690) at kernel/qcoreapplication.cpp:915 #17 0x00007f0e713413f1 in sendEvent (event=0x615d690, receiver=0x34b5920) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #18 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x171e670) at kernel/qcoreapplication.cpp:1539 #19 0x00007f0e7136ba63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236 #20 postEventSourceDispatch (s=0x17d3840) at kernel/qeventdispatcher_glib.cpp:279 #21 0x00007f0e6a2c0ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #22 0x00007f0e6a2c0de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #23 0x00007f0e6a2c0ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #24 0x00007f0e7136bbf6 in QEventDispatcherGlib::processEvents (this=0x171fb30, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #25 0x00007f0e70789c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #26 0x00007f0e7133c2bf in QEventLoop::processEvents (this=this@entry=0x7fff6444ded0, flags=...) at kernel/qeventloop.cpp:149 #27 0x00007f0e7133c548 in QEventLoop::exec (this=0x7fff6444ded0, flags=...) at kernel/qeventloop.cpp:204 #28 0x00007f0e72f8bca3 in KJob::exec (this=0x5a7fd80) at ../../kdecore/jobs/kjob.cpp:210 #29 0x00007f0e729ac165 in KDevelop::ProjectPrivate::initProjectFiles (this=0x64ffa50) at /home/stone/build/kdevplatform/shell/project.cpp:272 #30 0x00007f0e729aaa0c in KDevelop::Project::open (this=0x60ba580, projectFileUrl_=...) at /home/stone/build/kdevplatform/shell/project.cpp:510 #31 0x00007f0e729a6f4d in KDevelop::ProjectControllerPrivate::importProject (this=0x1aa6660, url_=...) at /home/stone/build/kdevplatform/shell/projectcontroller.cpp:298 #32 0x00007f0e729a3f91 in KDevelop::ProjectController::openProject (this=0x18456d0, projectFile=...) at /home/stone/build/kdevplatform/shell/projectcontroller.cpp:726 #33 0x00007f0e729a2216 in KDevelop::ProjectController::openProjects (this=0x18456d0, projects=...) at /home/stone/build/kdevplatform/shell/projectcontroller.cpp:590 #34 0x00007f0e729a39c1 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /home/stone/build/kdevplatform/build/shell/projectcontroller.moc:187 #35 KDevelop::ProjectController::qt_static_metacall (_o=0x18456d0, _c=<optimized out>, _id=<optimized out>, _a=0x2ab2f70) at /home/stone/build/kdevplatform/build/shell/projectcontroller.moc:171 #36 0x00007f0e7135243e in QObject::event (this=0x18456d0, e=<optimized out>) at kernel/qobject.cpp:1195 #37 0x00007f0e706e4e9c in QApplicationPrivate::notify_helper (this=this@entry=0x17d17f0, receiver=receiver@entry=0x18456d0, e=e@entry=0x2ab67f0) at kernel/qapplication.cpp:4562 #38 0x00007f0e706e930a in QApplication::notify (this=0x7fff6444f250, receiver=0x18456d0, e=0x2ab67f0) at kernel/qapplication.cpp:4423 #39 0x00007f0e718be1d6 in KApplication::notify (this=0x7fff6444f250, receiver=0x18456d0, event=0x2ab67f0) at ../../kdeui/kernel/kapplication.cpp:311 #40 0x00007f0e7133d56e in QCoreApplication::notifyInternal (this=0x7fff6444f250, receiver=receiver@entry=0x18456d0, event=event@entry=0x2ab67f0) at kernel/qcoreapplication.cpp:915 #41 0x00007f0e713413f1 in sendEvent (event=0x2ab67f0, receiver=0x18456d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #42 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x171e670) at kernel/qcoreapplication.cpp:1539 #43 0x00007f0e7136ba63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236 #44 postEventSourceDispatch (s=0x17d3840) at kernel/qeventdispatcher_glib.cpp:279 #45 0x00007f0e6a2c0ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #46 0x00007f0e6a2c0de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #47 0x00007f0e6a2c0ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #48 0x00007f0e7136bbf6 in QEventDispatcherGlib::processEvents (this=0x171fb30, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #49 0x00007f0e70789c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #50 0x00007f0e7133c2bf in QEventLoop::processEvents (this=this@entry=0x7fff6444ee80, flags=...) at kernel/qeventloop.cpp:149 #51 0x00007f0e7133c548 in QEventLoop::exec (this=0x7fff6444ee80, flags=...) at kernel/qeventloop.cpp:204 #52 0x00007f0e71341708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187 #53 0x000000000040d93e in main (argc=<optimized out>, argv=<optimized out>) at /home/stone/build/kdevelop/app/main.cpp:503 Reported using DrKonqi
Your description indicates that this crash was due to a duchain cache corruption which happened due to the first crash.