Bug 218555 - kdevelop crashes on header autocomplete
Summary: kdevelop crashes on header autocomplete
Status: RESOLVED DUPLICATE of bug 206775
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash (vote)
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-13 19:15 UTC by Nikolay Rysev
Modified: 2009-12-13 21:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolay Rysev 2009-12-13 19:15:28 UTC
Application that crashed: kdevelop
Version of the application: 3.9.96 (using KDevPlatform 0.9.96)
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.3
Operating System: Linux 2.6.32-ARCH x86_64

What I was doing when the application crashed:
ctrl+space on header (f.ex. #include <GL/<ctrl+space>) -> crash

 -- Backtrace:
Application: KDevelop (kdevelop), signal: Aborted
[Current thread is 1 (Thread 0x7fa92500c760 (LWP 5659))]

Thread 9 (Thread 0x7fa912141710 (LWP 5663)):
#0  0x00007fa9223d33e9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fa923844bd2 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fa91f4037ee in KDevelop::DUChainPrivate::CleanupThread::run() () from /usr/lib/libkdevplatformlanguage.so.1
#3  0x00007fa923843ba5 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fa9223ce81a in start_thread () from /lib/libpthread.so.0
#5  0x00007fa9226b2c7d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fa904b9e710 (LWP 5664)):
#0  0x00007fa9226ac503 in select () from /lib/libc.so.6
#1  0x00007fa923908101 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007fa923843ba5 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fa9223ce81a in start_thread () from /lib/libpthread.so.0
#4  0x00007fa9226b2c7d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fa903991710 (LWP 5728)):
[KCrash Handler]
#5  0x00007fa922616035 in raise () from /lib/libc.so.6
#6  0x00007fa922617460 in abort () from /lib/libc.so.6
#7  0x00007fa9226503f7 in __libc_message () from /lib/libc.so.6
#8  0x00007fa922655876 in malloc_printerr () from /lib/libc.so.6
#9  0x00007fa9226591b4 in _int_malloc () from /lib/libc.so.6
#10 0x00007fa92265a690 in malloc () from /lib/libc.so.6
#11 0x00007fa92384721f in QByteArray::QByteArray(char const*) () from /usr/lib/libQtCore.so.4
#12 0x00007fa924abd258 in KStandardDirs::KStandardDirsPrivate::resourceDirs(char const*, QString const&) () from /usr/lib/libkdecore.so.5
#13 0x00007fa924ac46f9 in KStandardDirs::findAllResources(char const*, QString const&, QFlags<KStandardDirs::SearchOption>, QStringList&) const () from /usr/lib/libkdecore.so.5
#14 0x00007fa924ac4992 in KStandardDirs::findAllResources(char const*, QString const&, QFlags<KStandardDirs::SearchOption>) const () from /usr/lib/libkdecore.so.5
#15 0x00007fa924a38164 in KConfigPrivate::getGlobalFiles() const () from /usr/lib/libkdecore.so.5
#16 0x00007fa924a38501 in KConfigPrivate::parseGlobalFiles() () from /usr/lib/libkdecore.so.5
#17 0x00007fa924a398c9 in KConfig::reparseConfiguration() () from /usr/lib/libkdecore.so.5
#18 0x00007fa9244f43c1 in KDevelop::Project::projectConfiguration() const () from /usr/lib/libkdevplatformshell.so.1
#19 0x00007fa90250135b in CMake::currentBuildDir(KDevelop::IProject*) () from /usr/lib/libkdev4cmakecommon.so
#20 0x00007fa8f96df45c in CMakeManager::buildDirectory(KDevelop::ProjectBaseItem*) const () from /usr/lib/kde4/kdevcmakemanager.so
#21 0x00007fa9001ee83e in IncludePathComputer::computeForeground() () from /usr/lib/kde4/kdevcpplanguagesupport.so
#22 0x00007fa9002043c9 in CppUtils::findIncludePaths(KUrl const&, QList<KSharedPtr<KDevelop::Problem> >*) () from /usr/lib/kde4/kdevcpplanguagesupport.so
#23 0x00007fa90020693a in CppUtils::allFilesInIncludePath(KUrl const&, bool, QString const&, KUrl::List, bool, bool, bool) () from /usr/lib/kde4/kdevcpplanguagesupport.so
#24 0x00007fa90022d638 in Cpp::CodeCompletionContext::processIncludeDirective(QString) () from /usr/lib/kde4/kdevcpplanguagesupport.so
#25 0x00007fa90022ed96 in Cpp::CodeCompletionContext::CodeCompletionContext(KDevelop::DUChainPointer<KDevelop::DUContext>, QString const&, QString const&, KDevelop::SimpleCursor const&, int, QStringList const&, int) () from /usr/lib/kde4/kdevcpplanguagesupport.so
#26 0x00007fa900219e53 in Cpp::CodeCompletionWorker::createCompletionContext(KDevelop::DUChainPointer<KDevelop::DUContext>, QString const&, QString const&, KDevelop::SimpleCursor const&) const ()
   from /usr/lib/kde4/kdevcpplanguagesupport.so
#27 0x00007fa91f4f34b3 in KDevelop::CodeCompletionWorker::computeCompletions(KDevelop::DUChainPointer<KDevelop::DUContext>, KTextEditor::Cursor const&, KTextEditor::View*, KTextEditor::Range const&, QString const&) () from /usr/lib/libkdevplatformlanguage.so.1
#28 0x00007fa90021a3d8 in Cpp::CodeCompletionWorker::computeCompletions(KDevelop::DUChainPointer<KDevelop::DUContext>, KTextEditor::Cursor const&, KTextEditor::View*, KTextEditor::Range const&, QString const&) () from /usr/lib/kde4/kdevcpplanguagesupport.so
#29 0x00007fa91f4f4252 in KDevelop::CodeCompletionWorker::computeCompletions(KDevelop::DUChainPointer<KDevelop::DUContext>, KTextEditor::Cursor const&, KTextEditor::View*) ()
   from /usr/lib/libkdevplatformlanguage.so.1
#30 0x00007fa91f4f46d4 in KDevelop::CodeCompletionWorker::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdevplatformlanguage.so.1
#31 0x00007fa923938059 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#32 0x00007fa922dda07c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#33 0x00007fa922de134e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#34 0x00007fa923e3e8f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#35 0x00007fa923928bfc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#36 0x00007fa92392980a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#37 0x00007fa923951583 in ?? () from /usr/lib/libQtCore.so.4
#38 0x00007fa91ccf326e in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#39 0x00007fa91ccf6c28 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#40 0x00007fa91ccf6d50 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#41 0x00007fa923951123 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#42 0x00007fa923927532 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#43 0x00007fa923927904 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#44 0x00007fa923840e4b in QThread::exec() () from /usr/lib/libQtCore.so.4
#45 0x00007fa923843ba5 in ?? () from /usr/lib/libQtCore.so.4
#46 0x00007fa9223ce81a in start_thread () from /lib/libpthread.so.0
#47 0x00007fa9226b2c7d in clone () from /lib/libc.so.6
#48 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fa904192710 (LWP 5729)):
#0  0xffffffffff600177 in ?? ()
#1  0x00007fff51dff771 in ?? ()
#2  0x00007fa91cf80e5f in clock_gettime () from /lib/librt.so.1
#3  0x00007fa923952e1d in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fa923953011 in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007fa9239531b5 in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007fa92395130d in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007fa9239513b5 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007fa91ccf644a in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#9  0x00007fa91ccf6821 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#10 0x00007fa91ccf6d50 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#11 0x00007fa923951176 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0x00007fa923927532 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#13 0x00007fa923927904 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#14 0x00007fa923840e4b in QThread::exec() () from /usr/lib/libQtCore.so.4
#15 0x00007fa923843ba5 in ?? () from /usr/lib/libQtCore.so.4
#16 0x00007fa9223ce81a in start_thread () from /lib/libpthread.so.0
#17 0x00007fa9226b2c7d in clone () from /lib/libc.so.6
#18 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fa8fb869710 (LWP 5730)):
#0  0x00007fa9226bf75e in __lll_lock_wait_private () from /lib/libc.so.6
#1  0x00007fa92265c1c8 in _L_lock_6630 () from /lib/libc.so.6
#2  0x00007fa92265a5a1 in free () from /lib/libc.so.6
#3  0x00007fa9239381e8 in QObjectPrivate::cleanConnectionLists() () from /usr/lib/libQtCore.so.4
#4  0x00007fa9239397e8 in QMetaObject::connect(QObject const*, int, QObject const*, int, int, int*) () from /usr/lib/libQtCore.so.4
#5  0x00007fa923939ce7 in QObject::connect(QObject const*, char const*, QObject const*, char const*, Qt::ConnectionType) () from /usr/lib/libQtCore.so.4
#6  0x00007fa9238d27d1 in QTextStream::QTextStream(QIODevice*) () from /usr/lib/libQtCore.so.4
#7  0x00007fa924a86790 in KDebugPrivate::stream(QtMsgType, unsigned int, char const*, int, char const*) () from /usr/lib/libkdecore.so.5
#8  0x00007fa924a83c4b in kDebugStream(QtMsgType, int, char const*, int, char const*) () from /usr/lib/libkdecore.so.5
#9  0x00007fa9001e9650 in UIBlockTester::lockup() () from /usr/lib/kde4/kdevcpplanguagesupport.so
#10 0x00007fa9001e5c2d in UIBlockTester::UIBlockTesterThread::run() () from /usr/lib/kde4/kdevcpplanguagesupport.so
#11 0x00007fa923843ba5 in ?? () from /usr/lib/libQtCore.so.4
#12 0x00007fa9223ce81a in start_thread () from /lib/libpthread.so.0
#13 0x00007fa9226b2c7d in clone () from /lib/libc.so.6
#14 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fa8fb068710 (LWP 5733)):
#0  0x00007fa9223d307c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fa923844c6b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fa91a2d7286 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#3  0x00007fa91a2d93bb in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#4  0x00007fa91a2d93d4 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#5  0x00007fa91a2d93d4 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#6  0x00007fa91a2d93d4 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#7  0x00007fa91a2d79bf in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#8  0x00007fa91a2d7e18 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#9  0x00007fa923843ba5 in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007fa9223ce81a in start_thread () from /lib/libpthread.so.0
#11 0x00007fa9226b2c7d in clone () from /lib/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fa8fa867710 (LWP 5734)):
#0  0x00007fa9223d307c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fa923844c6b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fa9001f3bcd in CPPParseJob::includePaths() const () from /usr/lib/kde4/kdevcpplanguagesupport.so
#3  0x00007fa900202b13 in PreprocessJob::run() () from /usr/lib/kde4/kdevcpplanguagesupport.so
#4  0x00007fa91a2d86bd in ThreadWeaver::JobRunHelper::runTheJob(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#5  0x00007fa91a2d89be in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#6  0x00007fa91a2d9ce3 in ThreadWeaver::JobCollectionJobRunner::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#7  0x00007fa91a2d798f in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#8  0x00007fa91a2d7e18 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#9  0x00007fa923843ba5 in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007fa9223ce81a in start_thread () from /lib/libpthread.so.0
#11 0x00007fa9226b2c7d in clone () from /lib/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fa8f96c9710 (LWP 5781)):
#0  0x00007fa9223d307c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fa923844c6b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fa91a2d7286 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#3  0x00007fa91a2d93bb in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#4  0x00007fa91a2d79bf in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#5  0x00007fa91a2d7e18 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#6  0x00007fa923843ba5 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007fa9223ce81a in start_thread () from /lib/libpthread.so.0
#8  0x00007fa9226b2c7d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa92500c760 (LWP 5659)):
#0  0x00007fa9226bf75e in __lll_lock_wait_private () from /lib/libc.so.6
#1  0x00007fa92265c1c8 in _L_lock_6630 () from /lib/libc.so.6
#2  0x00007fa92265a5a1 in free () from /lib/libc.so.6
#3  0x00007fa924a3deea in QMap<KEntryKey, KEntry>::freeData(QMapData*) () from /usr/lib/libkdecore.so.5
#4  0x00007fa924a398fc in KConfig::reparseConfiguration() () from /usr/lib/libkdecore.so.5
#5  0x00007fa9244f43c1 in KDevelop::Project::projectConfiguration() const () from /usr/lib/libkdevplatformshell.so.1
#6  0x00007fa9025011eb in CMake::currentInstallDir(KDevelop::IProject*) () from /usr/lib/libkdev4cmakecommon.so
#7  0x00007fa8f96deb88 in CMakeManager::includeDirectories(KDevelop::ProjectBaseItem*) const () from /usr/lib/kde4/kdevcmakemanager.so
#8  0x00007fa9001eea76 in IncludePathComputer::computeForeground() () from /usr/lib/kde4/kdevcpplanguagesupport.so
#9  0x00007fa9001e65df in CppLanguageSupport::findIncludePathsForJob(CPPParseJob*) () from /usr/lib/kde4/kdevcpplanguagesupport.so
#10 0x00007fa9001ed57f in CppLanguageSupport::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/kde4/kdevcpplanguagesupport.so
#11 0x00007fa923938059 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#12 0x00007fa922dda07c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#13 0x00007fa922de134e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#14 0x00007fa923e3e8f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#15 0x00007fa923928bfc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#16 0x00007fa92392980a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#17 0x00007fa923951583 in ?? () from /usr/lib/libQtCore.so.4
#18 0x00007fa91ccf326e in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#19 0x00007fa91ccf6c28 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#20 0x00007fa91ccf6d50 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#21 0x00007fa923951123 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#22 0x00007fa922e6d14e in ?? () from /usr/lib/libQtGui.so.4
#23 0x00007fa923927532 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#24 0x00007fa923927904 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#25 0x00007fa923929ab9 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#26 0x0000000000405d07 in _start ()

Reported using DrKonqi
Comment 1 Andreas Pakulat 2009-12-13 21:21:36 UTC

*** This bug has been marked as a duplicate of bug 206775 ***