| Summary: | Crash on opening a new project | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Vishesh Handa <me> |
| Component: | general | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | crash | CC: | intelfx |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | 4.3.0 | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Vishesh Handa
2012-08-05 16:24:59 UTC
This is the backtrace of when KDevelop was unresponsive -
vlap:~/kde $ get-backtrace `pidof kdevelop`
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
[New Thread 0x7faa8fbef700 (LWP 21733)]
[New Thread 0x7faa94b0f700 (LWP 21732)]
[New Thread 0x7faa95c9e700 (LWP 21727)]
[New Thread 0x7faa9649f700 (LWP 21726)]
[New Thread 0x7faa9ee5a700 (LWP 21724)]
[New Thread 0x7faaad376700 (LWP 21723)]
Traceback (most recent call last):
File "/usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.3200.4-gdb.py", line 9, in <module>
from gobject import register
File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
import gdb.backtrace
ImportError: No module named backtrace
0x00007faac28e14b3 in std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_insert_unique<unsigned int>(unsigned int&&) (this=this@entry=0x7fff0c73faf0, __v=@0x7fff0c73fc50: 1212367188) at /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../include/c++/4.7.1/bits/stl_tree.h:1285
1285 __comp = _M_impl._M_key_compare(_KeyOfValue()(__v), _S_key(__x));
Thread 7 (Thread 0x7faaad376700 (LWP 21723)):
#0 0x00007faac61f3cc1 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0x00007faac647faf7 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib/libQtCore.so.4
#2 0x00007faac28bc59f in KDevelop::DUChainPrivate::CleanupThread::run (this=0x1be0800) at /home/vishesh/kde/src/kdevelop/kdevplatform/language/duchain/duchain.cpp:282
#3 0x00007faac647f69b in ?? () from /lib/libQtCore.so.4
#4 0x00007faac61efe0f in start_thread () from /lib/libpthread.so.0
#5 0x00007faac45d904d in clone () from /lib/libc.so.6
Thread 6 (Thread 0x7faa9ee5a700 (LWP 21724)):
#0 0x00007faac45d2c63 in select () from /lib/libc.so.6
#1 0x00007faac65597e2 in ?? () from /lib/libQtCore.so.4
#2 0x00007faac647f69b in ?? () from /lib/libQtCore.so.4
#3 0x00007faac61efe0f in start_thread () from /lib/libpthread.so.0
#4 0x00007faac45d904d in clone () from /lib/libc.so.6
Thread 5 (Thread 0x7faa9649f700 (LWP 21726)):
#0 0x00007faac45d0ebd in poll () from /lib/libc.so.6
#1 0x00007faabda3d744 in ?? () from /lib/libglib-2.0.so.0
#2 0x00007faabda3d864 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3 0x00007faac65a8c46 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#4 0x00007faac657977f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#5 0x00007faac6579a08 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#6 0x00007faac647c700 in QThread::exec() () from /lib/libQtCore.so.4
#7 0x00007faac647f69b in ?? () from /lib/libQtCore.so.4
#8 0x00007faac61efe0f in start_thread () from /lib/libpthread.so.0
#9 0x00007faac45d904d in clone () from /lib/libc.so.6
Thread 4 (Thread 0x7faa95c9e700 (LWP 21727)):
#0 0x00007faac45d0ebd in poll () from /lib/libc.so.6
#1 0x00007faabda3d744 in ?? () from /lib/libglib-2.0.so.0
#2 0x00007faabda3d864 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3 0x00007faac65a8c46 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#4 0x00007faac657977f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#5 0x00007faac6579a08 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#6 0x00007faac647c700 in QThread::exec() () from /lib/libQtCore.so.4
#7 0x00007faac647f69b in ?? () from /lib/libQtCore.so.4
#8 0x00007faac61efe0f in start_thread () from /lib/libpthread.so.0
#9 0x00007faac45d904d in clone () from /lib/libc.so.6
Thread 3 (Thread 0x7faa94b0f700 (LWP 21732)):
#0 0x00007faac61f3954 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0x00007faac354caa7 in ?? () from /lib/libQtScript.so.4
#2 0x00007faac354cad9 in ?? () from /lib/libQtScript.so.4
#3 0x00007faac61efe0f in start_thread () from /lib/libpthread.so.0
#4 0x00007faac45d904d in clone () from /lib/libc.so.6
Thread 2 (Thread 0x7faa8fbef700 (LWP 21733)):
#0 0x00007faac45d0ebd in poll () from /lib/libc.so.6
#1 0x00007faabda3d744 in ?? () from /lib/libglib-2.0.so.0
#2 0x00007faabda3d864 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3 0x00007faac65a8c46 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#4 0x00007faac657977f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#5 0x00007faac6579a08 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#6 0x00007faac647c700 in QThread::exec() () from /lib/libQtCore.so.4
#7 0x00007faac655a1af in ?? () from /lib/libQtCore.so.4
#8 0x00007faac647f69b in ?? () from /lib/libQtCore.so.4
#9 0x00007faac61efe0f in start_thread () from /lib/libpthread.so.0
#10 0x00007faac45d904d in clone () from /lib/libc.so.6
Thread 1 (Thread 0x7faab6aef780 (LWP 21721)):
#0 0x00007faac28e14b3 in std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_insert_unique<unsigned int>(unsigned int&&) (this=this@entry=0x7fff0c73faf0, __v=@0x7fff0c73fc50: 1212367188) at /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../include/c++/4.7.1/bits/stl_tree.h:1285
#1 0x00007faac28e161b in std::set<unsigned int, std::less<unsigned int>, std::allocator<unsigned int> >::insert(unsigned int&&) (this=0x7fff0c73faf0, __x=<optimized out>) at /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../include/c++/4.7.1/bits/stl_set.h:424
#2 0x00007faac29a6ab9 in Utils::Set::stdSet (this=<optimized out>) at /home/vishesh/kde/src/kdevelop/kdevplatform/language/util/setrepository.cpp:403
#3 0x00007faac2939bf5 in KDevelop::PersistentSymbolTable::getFilteredDeclarations (this=0x7faac2c5c770, id=..., visibility=...) at /home/vishesh/kde/src/kdevelop/kdevplatform/language/duchain/persistentsymboltable.cpp:281
#4 0x00007faac291b31d in KDevelop::DeclarationId::getDeclaration (this=0x2622268, top=0x2775500, instantiateIfRequired=true) at /home/vishesh/kde/src/kdevelop/kdevplatform/language/duchain/declarationid.cpp:136
#5 0x00007faac28c2600 in KDevelop::DUContext::Import::context (this=0x2622260, topContext=0x2775500, instantiateIfRequired=true) at /home/vishesh/kde/src/kdevelop/kdevplatform/language/duchain/ducontext.cpp:1684
#6 0x00007faac291a1a2 in KDevelop::DUChainUtils::getFunctionContext (decl=decl@entry=0x31507b0) at /home/vishesh/kde/src/kdevelop/kdevplatform/language/duchain/duchainutils.cpp:584
#7 0x00007faac291a268 in KDevelop::DUChainUtils::declarationInLine (_cursor=..., ctx=0x2775500) at /home/vishesh/kde/src/kdevelop/kdevplatform/language/duchain/duchainutils.cpp:360
#8 0x00007faa96d089e5 in getDeclarationAtCursor (cursor=..., documentUrl=...) at /home/vishesh/kde/src/kdevelop/kdevelop/languages/cpp/codegen/signatureassistant.cpp:46
#9 0x00007faa96d09442 in Cpp::AdaptDefinitionSignatureAssistant::AdaptDefinitionSignatureAssistant (this=0x2621f50, view=0x3b4e140, inserted=...) at /home/vishesh/kde/src/kdevelop/kdevelop/languages/cpp/codegen/signatureassistant.cpp:82
#10 0x00007faa96d06bf8 in Cpp::StaticCodeAssistant::eventuallyStartAssistant (this=0x3154900) at /home/vishesh/kde/src/kdevelop/kdevelop/languages/cpp/codegen/codeassistant.cpp:122
#11 0x00007faac658f3ee in QObject::event(QEvent*) () from /lib/libQtCore.so.4
#12 0x00007faac570ef8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/libQtGui.so.4
#13 0x00007faac571340a in QApplication::notify(QObject*, QEvent*) () from /lib/libQtGui.so.4
#14 0x00007faac6d913be in KApplication::notify (this=0x7fff0c7435d0, receiver=0x3154900, event=0x3ab1b50) at /home/vishesh/kde/src/kdelibs/kdeui/kernel/kapplication.cpp:311
#15 0x00007faac657aa2e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib/libQtCore.so.4
#16 0x00007faac657e391 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/libQtCore.so.4
#17 0x00007faac65a8a93 in ?? () from /lib/libQtCore.so.4
#18 0x00007faabda3d475 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#19 0x00007faabda3d7a8 in ?? () from /lib/libglib-2.0.so.0
#20 0x00007faabda3d864 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#21 0x00007faac65a8c26 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#22 0x00007faac57af1ee in ?? () from /lib/libQtGui.so.4
#23 0x00007faac657977f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#24 0x00007faac6579a08 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#25 0x00007faaca49b837 in KJob::exec (this=0x422a5e0) at /home/vishesh/kde/src/kdelibs/kdecore/jobs/kjob.cpp:210
#26 0x00007faac9e903c6 in KDevelop::ProjectPrivate::initProjectFiles (this=0x469ab30) at /home/vishesh/kde/src/kdevelop/kdevplatform/shell/project.cpp:272
#27 0x00007faac9e8e07a in KDevelop::Project::open (this=0x4687350, projectFileUrl_=...) at /home/vishesh/kde/src/kdevelop/kdevplatform/shell/project.cpp:510
#28 0x00007faac9e8adb1 in KDevelop::ProjectControllerPrivate::importProject (this=0xbeb030, url_=...) at /home/vishesh/kde/src/kdevelop/kdevplatform/shell/projectcontroller.cpp:307
#29 0x00007faac9e8631d in KDevelop::ProjectController::openProject (this=0x995d90, projectFile=...) at /home/vishesh/kde/src/kdevelop/kdevplatform/shell/projectcontroller.cpp:725
#30 0x00007faac9e85898 in KDevelop::ProjectController::openProjects (this=this@entry=0x995d90, projects=...) at /home/vishesh/kde/src/kdevelop/kdevplatform/shell/projectcontroller.cpp:589
#31 0x00007faac9e86a4d in KDevelop::ProjectController::qt_static_metacall (_o=0x995d90, _c=<optimized out>, _id=<optimized out>, _a=0x1c0ea50) at /home/vishesh/kde/build/kdevelop/kdevplatform/shell/projectcontroller.moc:174
#32 0x00007faac658f3ee in QObject::event(QEvent*) () from /lib/libQtCore.so.4
#33 0x00007faac570ef8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/libQtGui.so.4
#34 0x00007faac571340a in QApplication::notify(QObject*, QEvent*) () from /lib/libQtGui.so.4
#35 0x00007faac6d913be in KApplication::notify (this=0x7fff0c7435d0, receiver=0x995d90, event=0x1bf5f20) at /home/vishesh/kde/src/kdelibs/kdeui/kernel/kapplication.cpp:311
#36 0x00007faac657aa2e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib/libQtCore.so.4
#37 0x00007faac657e391 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/libQtCore.so.4
#38 0x00007faac65a8a93 in ?? () from /lib/libQtCore.so.4
#39 0x00007faabda3d475 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#40 0x00007faabda3d7a8 in ?? () from /lib/libglib-2.0.so.0
#41 0x00007faabda3d864 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#42 0x00007faac65a8c26 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#43 0x00007faac57af1ee in ?? () from /lib/libQtGui.so.4
#44 0x00007faac657977f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#45 0x00007faac6579a08 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#46 0x00007faac657e6a8 in QCoreApplication::exec() () from /lib/libQtCore.so.4
#47 0x000000000040e0a2 in main (argc=<optimized out>, argv=<optimized out>) at /home/vishesh/kde/src/kdevelop/kdevelop/app/main.cpp:518
=============================
Crashes in stdlib code (esp. down rbtree's operator--(), which I've personally encountered several times) usually mean binary incompatibility arising from updating toolchain or something similar. Try to fully clean build directories, reconfigure and rebuild both kdevplatform and kdevelop. (In reply to comment #2) > Crashes in stdlib code (esp. down rbtree's operator--(), which I've > personally encountered several times) usually mean binary incompatibility > arising from updating toolchain or something similar. Try to fully clean > build directories, reconfigure and rebuild both kdevplatform and kdevelop. I tried a 'make uninstall' and I manually cleaned up all the kdev* files in my ~/kde/ installation. It didn't help, kdevelop still crashed. Now I'm rebuilding it from scratch. Let's see how it goes. It worked. Closing this bug as INVALID. |