First attempt at full project parsing results

Matt Rogers mattr at kde.org
Sun Oct 12 21:11:31 UTC 2008


Hi,

So, I got pretty eager after seeing David's last few commits, so I enabled 
full project parsing. My first attempt at this was with the code in 
branches/work/~mattr/kopete-upnp in KDE's SVN. 

It went ok for a little bit until kdevelop crashed with a SIGABRT. Backtrace 
and last few lines of debug info attached.

Thanks
-- 
Matt
-------------- next part --------------
kdevelop(2649)/kdevplatform (language) KDevelop::BackgroundParserPrivate::parseDocumentsInternal: BackgroundParser::parseDocumentsInternal                                                                      
kdevelop(2649)/kdevplatform (language) KDevelop::BackgroundParserPrivate::parseDocumentsInternal: creating parse-job KUrl("file:///home/matt/Projects/Kopete/Source/mattr-upnp/kopete/protocols/oscar/liboscar/oscarguid.h")                                                                                                                                                                                                    
kdevelop(2649)/kdevelop (cpp support) PreprocessJob::run: Could not open file "/home/matt/Projects/Kopete/Source/mattr-upnp/kopete/protocols/sms/#[bin_dir]kopete/protocols/sms/smssendprefs.h" (path "/home/matt/Projects/Kopete/Source/mattr-upnp/kopete/protocols/sms/#[bin_dir]kopete/protocols/sms/smssendprefs.h" )                                                                                                       
ASSERT: "d" in file /home/matt/Projects/KDE/4.2/include/ksharedptr.h, line 115                                                                                                                                  
kdevelop: Fatal IO error: client killed                                                                                                                                                                         
ClassFunctionDeclarationData::m_defaultParameters There were items left on destruction: 6841                                                                                                                    
FunctionDeclarationData::m_defaultParameters There were items left on destruction: 1240                                                                                                                         
ClassDeclarationData::baseClasses There were items left on destruction: 964                                                                                                                                     
TopDUContextData::m_usedDeclarationIds There were items left on destruction: 1671                                                                                                                               
DUContextData::m_importedContexts There were items left on destruction: 12430                                                                                                                                   
DUContextData::m_childContexts There were items left on destruction: 12430   
-------------- next part --------------
Application: KDevelop (kdevelop), signal SIGABRT
[Current thread is 0 (LWP 2649)]

Thread 4 (Thread 0xb2f6cb90 (LWP 2650)):
#0  0xb7fd4430 in __kernel_vsyscall ()
#1  0xb6508c01 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb75a71b0 in QProcessManager::run (this=0x87636f0) at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/corelib/io/qprocess_unix.cpp:301
#3  0xb74d75ce in QThreadPrivate::start (arg=0x87636f0) at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/corelib/thread/qthread_unix.cpp:185
#4  0xb745750f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb65107ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb19dfb90 (LWP 2757)):
#0  0xb7fd4430 in __kernel_vsyscall ()
#1  0xb6505f77 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb5e0bc32 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb5e0bf61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb75f24c7 in QEventDispatcherGlib::processEvents (this=0x99d0528, flags={i = -1315048728}) at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:321
#5  0xb75c658a in QEventLoop::processEvents (this=0xb19df360, flags={i = -1315048664}) at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/corelib/kernel/qeventloop.cpp:143
#6  0xb75c674a in QEventLoop::exec (this=0xb19df360, flags={i = -1315048600}) at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/corelib/kernel/qeventloop.cpp:194
#7  0xb74d4339 in QThread::exec (this=0x994f910) at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/corelib/thread/qthread.cpp:458
#8  0xb628e077 in KDevelop::CodeCompletionWorker::run (this=0x994f910) at /home/matt/Projects/KDE/Source/trunk/KDE/kdevplatform/language/codecompletion/codecompletionworker.cpp:87
#9  0xb74d75ce in QThreadPrivate::start (arg=0x994f910) at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/corelib/thread/qthread_unix.cpp:185
#10 0xb745750f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0xb65107ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb10e0b90 (LWP 2764)):
[KCrash Handler]
#6  0xb7fd4430 in __kernel_vsyscall ()
#7  0xb645a880 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb645c248 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb74cf6b5 in qt_message_output (msgType=QtFatalMsg, buf=0xb10dd95c "ASSERT: \"d\" in file /home/matt/Projects/KDE/4.2/include/ksharedptr.h, line 115")
    at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/corelib/global/qglobal.cpp:2102
#10 0xb74cf792 in qFatal (msg=0xb76183d8 "ASSERT: \"%s\" in file %s, line %d") at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/corelib/global/qglobal.cpp:2303
#11 0xb74cf835 in qt_assert (assertion=0xb211d8a9 "d", file=0xb211d878 "/home/matt/Projects/KDE/4.2/include/ksharedptr.h", line=115)
    at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/corelib/global/qglobal.cpp:1872
#12 0xb2076ec7 in KSharedPtr<Cpp::EnvironmentFile>::operator-> (this=0xb10e0218) at /home/matt/Projects/KDE/4.2/include/ksharedptr.h:115
#13 0xb2072394 in ContextBuilder::buildContexts (this=0xb10dfd90, file=@0xb10e0218, node=0xe972850, includes=0xb10e020c, updateContext=@0xb10e0220, removeOldImports=false)
    at /home/matt/Projects/KDE/Source/trunk/KDE/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:307
#14 0xb2087ff2 in DeclarationBuilder::buildDeclarations (this=0xb10dfd90, file=@0xb10e0218, node=0xe972850, includes=0xb10e020c, updateContext=@0xb10e0220, removeOldImports=false)
    at /home/matt/Projects/KDE/Source/trunk/KDE/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:98
#15 0xb218577b in CPPInternalParseJob::run (this=0x9760c60) at /home/matt/Projects/KDE/Source/trunk/KDE/kdevelop/languages/cpp/cppparsejob.cpp:479
#16 0xb69b144c in ThreadWeaver::JobRunHelper::runTheJob (this=0xb10e02d8, th=0x9adbae0, job=0x9760c60) at /home/matt/Projects/KDE/Source/trunk/KDE/kdelibs/threadweaver/Weaver/Job.cpp:106
#17 0xb69b16a6 in ThreadWeaver::Job::execute (this=0x9760c60, th=0x9adbae0) at /home/matt/Projects/KDE/Source/trunk/KDE/kdelibs/threadweaver/Weaver/Job.cpp:135
#18 0xb69b3cc3 in ThreadWeaver::JobCollectionJobRunner::execute (this=0xab1e218, t=0x9adbae0) at /home/matt/Projects/KDE/Source/trunk/KDE/kdelibs/threadweaver/Weaver/JobCollection.cpp:82
#19 0xb69b08f2 in ThreadWeaver::ThreadRunHelper::run (this=0xb10e0370, parent=0x88d0a50, th=0x9adbae0) at /home/matt/Projects/KDE/Source/trunk/KDE/kdelibs/threadweaver/Weaver/Thread.cpp:95
#20 0xb69b0a25 in ThreadWeaver::Thread::run (this=0x9adbae0) at /home/matt/Projects/KDE/Source/trunk/KDE/kdelibs/threadweaver/Weaver/Thread.cpp:142
#21 0xb74d75ce in QThreadPrivate::start (arg=0x9adbae0) at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/corelib/thread/qthread_unix.cpp:185
#22 0xb745750f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#23 0xb65107ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb5b426c0 (LWP 2649)):
#0  0xb7fd4430 in __kernel_vsyscall ()
#1  0xb745b075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb74d8612 in QWaitCondition::wait (this=0x8763ae0, mutex=0x8763acc, time=4294967295) at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:82
#3  0xb74d7773 in QThread::wait (this=0x87636f0, time=4294967295) at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/corelib/thread/qthread_unix.cpp:476
#4  0xb75a757e in ~QProcessManager (this=0x87636f0) at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/corelib/io/qprocess_unix.cpp:264
#5  0xb75aa57a in ~QGlobalStaticDeleter (this=0xb76ae458) at ../../include/QtCore/../../../../../Source/trunk/qt-copy/src/corelib/global/qglobal.h:1557
#6  0xb645dd69 in exit () from /lib/tls/i686/cmov/libc.so.6
#7  0xb6b564eb in qt_xio_errhandler () at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/gui/kernel/qapplication_x11.cpp:584
#8  0xb790822a in KApplication::xioErrhandler (this=0xbfed621c, dpy=0x8778790) at /home/matt/Projects/KDE/Source/trunk/KDE/kdelibs/kdeui/kernel/kapplication.cpp:413
#9  0xb7908266 in kde_xio_errhandler (dpy=0x8778790) at /home/matt/Projects/KDE/Source/trunk/KDE/kdelibs/kdeui/kernel/kapplication.cpp:130
#10 0xb5f5f062 in _XIOError () from /usr/lib/libX11.so.6
#11 0xb5f67135 in ?? () from /usr/lib/libX11.so.6
#12 0xb5f67985 in _XEventsQueued () from /usr/lib/libX11.so.6
#13 0xb5f4f90f in XEventsQueued () from /usr/lib/libX11.so.6
#14 0xb6b8f2aa in x11EventSourcePrepare (s=0x8762da0, timeout=0xbfed5fc8) at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:75
#15 0xb5e0b602 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#16 0xb5e0ba8a in ?? () from /usr/lib/libglib-2.0.so.0
#17 0xb5e0bf61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#18 0xb75f24a8 in QEventDispatcherGlib::processEvents (this=0x875fc48, flags={i = -1074962248}) at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:319
#19 0xb6b8f075 in QGuiEventDispatcherGlib::processEvents (this=0x875fc48, flags={i = -1074962200}) at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:198
#20 0xb75c658a in QEventLoop::processEvents (this=0xbfed6160, flags={i = -1074962136}) at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/corelib/kernel/qeventloop.cpp:143
#21 0xb75c674a in QEventLoop::exec (this=0xbfed6160, flags={i = -1074962072}) at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/corelib/kernel/qeventloop.cpp:194
#22 0xb75c8e05 in QCoreApplication::exec () at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/corelib/kernel/qcoreapplication.cpp:845
#23 0xb6af5eb7 in QApplication::exec () at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/gui/kernel/qapplication.cpp:3331
#24 0x0804e8df in main (argc=-1208287024, argv=0x87da590) at /home/matt/Projects/KDE/Source/trunk/KDE/kdevelop/src/main.cpp:194



More information about the KDevelop-devel mailing list