Crash with the latest trunk + KDE 4.2.2 when loading kdevplatform project

Milian Wolff mail at milianw.de
Wed Apr 8 19:15:49 UTC 2009


On Wednesday 08 April 2009, David Nolden wrote:
> Am Mittwoch 08 April 2009 09:19:26 schrieb Andreas Pakulat:
> > On 08.04.09 03:20:22, Amilcar do Carmo Lucas wrote:
> > > Hi,
> > >
> > > kdevelop(14582)/kdevplatform (shell) KDevelop::Language::activate:
> > > activating language "C++"
> > > kdevelop(14582)/kdevelop (cmake support debug) CMakeManager::parse:
> > > ..........Adding:
> > > KUrl("file:///home/amilcar/kdevelop/kdevplatform/shell/language.cpp")
> > > ASSERT: "bucket" in file
> > > /home/amilcar/kdevelop/kdevplatform/language/duchain/repositories/itemr
> > >ep ository.h, line 1653
> > > Aborted
> >
> > Did you remove $HOME/.kdevduchain? I think that indicates a broken
> > repository.
> >
> > Andreas
>
> Yes, remove that directory and update kdevplatform, because during the last
> days there were some problems until I got the mmap top-context loading
> stable.
>
> Greetings, David

I get a similar crash yet cannot fix it by deleting kdevduchain. The backtrace 
is appended, my console says the following:

ASSERT: "bucket < m_bucketCount" in file 
/home/milian/projects/kde4/kdevplatform/language/duchain/repositories/itemrepository.h, 
line 1656
KCrash: Application 'kdevelop' crashing...
sock_file=/home/milian/.kde/socket-odin/kdeinit4__0

Note: It crashs for everything. I even moved my ~/.kde/share/config/kdeveloprc 
to make sure it not some kind of misconfiguration.

-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
Application: KDevelop (kdevelop), signal SIGABRT
[Current thread is 0 (LWP 19703)]

Thread 10 (Thread 0xb303ab90 (LWP 19704)):
#0  0xb805e430 in __kernel_vsyscall ()
#1  0xb5c983a2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb64a6c14 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6fe06cc in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb6054a2f in KDevelop::DUChainPrivate::CleanupThread::run (this=0x9de9e98) at /home/milian/projects/kde4/kdevplatform/language/duchain/duchain.cpp:250
#5  0xb6fdf6ae in ?? () from /usr/lib/libQtCore.so.4
#6  0xb5c9450f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb6498a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 9 (Thread 0xb26e2b90 (LWP 19705)):
#0  0xb805e430 in __kernel_vsyscall ()
#1  0xb6490df1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb70af150 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb6fdf6ae in ?? () from /usr/lib/libQtCore.so.4
#4  0xb5c9450f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb6498a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread 0xb1ee1b90 (LWP 19709)):
#0  0xb805e430 in __kernel_vsyscall ()
#1  0xb5c983a2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb64a6c14 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6fe06cc in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb6fd5886 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb6fdf6ae in ?? () from /usr/lib/libQtCore.so.4
#6  0xb5c9450f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb6498a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xb0b00b90 (LWP 19714)):
#0  0xb805e430 in __kernel_vsyscall ()
#1  0xb5c983a2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb64a6c14 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6fe06cc in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb6fd5886 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb6fdf6ae in ?? () from /usr/lib/libQtCore.so.4
#6  0xb5c9450f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb6498a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xaf058b90 (LWP 19753)):
#0  0xb5c6f54a in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0xb70fc0ab in ?? () from /usr/lib/libQtCore.so.4
#2  0xb70fc281 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb70fde3c in ?? () from /usr/lib/libQtCore.so.4
#4  0xb70fa65a in ?? () from /usr/lib/libQtCore.so.4
#5  0xb5bf0622 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#6  0xb5bf0aaa in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb5bf0f81 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0xb70fa497 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#9  0xb70ce52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#10 0xb70ce6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#11 0xb6fdc419 in QThread::exec () from /usr/lib/libQtCore.so.4
#12 0xb613a809 in KDevelop::CompletionWorkerThread::run (this=0xae9dea8) at /home/milian/projects/kde4/kdevplatform/language/codecompletion/codecompletionmodel.cpp:79
#13 0xb6fdf6ae in ?? () from /usr/lib/libQtCore.so.4
#14 0xb5c9450f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0xb6498a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xadf2fb90 (LWP 19754)):
#0  0xb805e430 in __kernel_vsyscall ()
#1  0xb648e167 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb5bf0c52 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb5bf0f81 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb70fa497 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#5  0xb70ce52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#6  0xb70ce6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#7  0xb6fdc419 in QThread::exec () from /usr/lib/libQtCore.so.4
#8  0xb613a809 in KDevelop::CompletionWorkerThread::run (this=0xabafed8) at /home/milian/projects/kde4/kdevplatform/language/codecompletion/codecompletionmodel.cpp:79
#9  0xb6fdf6ae in ?? () from /usr/lib/libQtCore.so.4
#10 0xb5c9450f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0xb6498a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xaf859b90 (LWP 19759)):
#0  0xb805e430 in __kernel_vsyscall ()
#1  0xb5c983a2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb64a6c14 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6fdf0b9 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb6fdf1eb in QThread::msleep () from /usr/lib/libQtCore.so.4
#5  0xae481d9d in UIBlockTester::UIBlockTesterThread::run (this=0xa8ba020) at /home/milian/projects/kde4/kdevelop/languages/cpp/cpplanguagesupport.cpp:968
#6  0xb6fdf6ae in ?? () from /usr/lib/libQtCore.so.4
#7  0xb5c9450f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0xb6498a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xad201b90 (LWP 19795)):
#0  0xb805e430 in __kernel_vsyscall ()
#1  0xb5c98075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb64a6bbd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6fe06f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb79d6148 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0xb79d8eec in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb79d4d2b in ?? () from /usr/lib/libthreadweaver.so.4
#7  0xb79d8fea in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb79d66d3 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0xb79d6fbe in ?? () from /usr/lib/libthreadweaver.so.4
#10 0xb79d75fb in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#11 0xb6fdf6ae in ?? () from /usr/lib/libQtCore.so.4
#12 0xb5c9450f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#13 0xb6498a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xaca00b90 (LWP 19796)):
#0  0xb805e430 in __kernel_vsyscall ()
#1  0xb5c98075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb64a6bbd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6fe06f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb79d6148 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0xb79d8eec in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb79d4d2b in ?? () from /usr/lib/libthreadweaver.so.4
#7  0xb79d8fea in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb79d66d3 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0xb79d6fbe in ?? () from /usr/lib/libthreadweaver.so.4
#10 0xb79d75fb in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#11 0xb6fdf6ae in ?? () from /usr/lib/libQtCore.so.4
#12 0xb5c9450f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#13 0xb6498a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb58b56c0 (LWP 19703)):
[KCrash Handler]
#6  0xb805e430 in __kernel_vsyscall ()
#7  0xb63e28a0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb63e4268 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb6fd7795 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb6fd7872 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb6fd7915 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0xb6092b8d in KDevelop::ItemRepository<Repositories::StringData, Repositories::StringRepositoryItemRequest, KDevelop::ReferenceCounting, true, 0u, 524288u>::itemFromIndex (this=0x9bce078, 
    index=2965957616, dynamic=0x0) at /home/milian/projects/kde4/kdevplatform/language/duchain/repositories/itemrepository.h:1656
#13 0xb60d3b45 in KDevelop::IndexedString::str (this=0xbfc5cc80) at /home/milian/projects/kde4/kdevplatform/language/duchain/indexedstring.cpp:105
#14 0xb3446f08 in DUChainModel::setTopContext (this=0x9e582e8, context={d = {d = 0xbfc5cca8}}) at /home/milian/projects/kde4/kdevplatform/plugins/duchainviewer/duchainmodel.cpp:117
#15 0xb34472e6 in DUChainModel::parseJobFinished (this=0x9e582e8, job=0xa86ccb0) at /home/milian/projects/kde4/kdevplatform/plugins/duchainviewer/duchainmodel.cpp:93
#16 0xb34473c0 in DUChainModel::qt_metacall (this=0x9e582e8, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfc5cdcc)
    at /home/milian/projects/.build/kde4/kdevplatform/plugins/duchainviewer/duchainmodel.moc:73
#17 0xb70e4a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#18 0xb70e57e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#19 0xb601e7fe in KDevelop::BackgroundParser::parseJobFinished (this=0x9dab970, _t1=0xa86ccb0) at /home/milian/projects/.build/kde4/kdevplatform/language/backgroundparser.moc:193
#20 0xb601f0ba in KDevelop::BackgroundParser::parseComplete (this=0x9dab970, job=0xa86ccb0) at /home/milian/projects/kde4/kdevplatform/language/backgroundparser/backgroundparser.cpp:497
#21 0xb6020124 in KDevelop::BackgroundParser::qt_metacall (this=0x9dab970, _c=QMetaObject::InvokeMetaMethod, _id=25, _a=0xbfc5cfcc)
    at /home/milian/projects/.build/kde4/kdevplatform/language/backgroundparser.moc:171
#22 0xb70e4a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#23 0xb70e57e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#24 0xb79d7c43 in ThreadWeaver::Job::done () from /usr/lib/libthreadweaver.so.4
#25 0xb79da7d4 in ThreadWeaver::JobCollection::jobRunnerDone () from /usr/lib/libthreadweaver.so.4
#26 0xb79da8bd in ThreadWeaver::JobCollection::qt_metacall () from /usr/lib/libthreadweaver.so.4
#27 0xb79dabf2 in ThreadWeaver::JobSequence::qt_metacall () from /usr/lib/libthreadweaver.so.4
#28 0xb6027f09 in KDevelop::ParseJob::qt_metacall (this=0xa86ccb0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfc5d19c) at /home/milian/projects/.build/kde4/kdevplatform/language/parsejob.moc:102
#29 0xae4939f6 in CPPParseJob::qt_metacall (this=0xa86ccb0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfc5d19c) at /home/milian/projects/.build/kde4/kdevelop/languages/cpp/cppparsejob.moc:59
#30 0xb70e4a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#31 0xb70e57e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#32 0xb79d7c43 in ThreadWeaver::Job::done () from /usr/lib/libthreadweaver.so.4
#33 0xb79d7e2f in ThreadWeaver::Job::qt_metacall () from /usr/lib/libthreadweaver.so.4
#34 0xb79d9bd2 in ?? () from /usr/lib/libthreadweaver.so.4
#35 0xb70ddbfb in QMetaCallEvent::placeMetaCall () from /usr/lib/libQtCore.so.4
#36 0xb70df771 in QObject::event () from /usr/lib/libQtCore.so.4
#37 0xb67738ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#38 0xb677b72e in QApplication::notify () from /usr/lib/libQtGui.so.4
#39 0xb73e52ad in KApplication::notify () from /usr/lib/libkdeui.so.5
#40 0xb70cfe61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#41 0xb70d0ae5 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#42 0xb70d0cdd in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#43 0xb70fa82f in ?? () from /usr/lib/libQtCore.so.4
#44 0xb5bed718 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#45 0xb5bf0dc3 in ?? () from /usr/lib/libglib-2.0.so.0
#46 0xb5bf0f81 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#47 0xb70fa478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#48 0xb680dea5 in ?? () from /usr/lib/libQtGui.so.4
#49 0xb70ce52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#50 0xb70ce6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#51 0xb70d0da5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#52 0xb6773767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#53 0x0804f11e in main (argc=-1207836400, argv=0x9c9a1b8) at /home/milian/projects/kde4/kdevelop/app/main.cpp:203

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20090408/59dcbf1c/attachment.sig>


More information about the KDevelop-devel mailing list