Application: kdevelop (4.0.0 (using KDevPlatform 1.0.0)) KDE Platform Version: 4.4.2 (KDE 4.4.2) Qt Version: 4.6.2 Operating System: Linux 2.6.32-22-generic x86_64 Distribution: Ubuntu 10.04 LTS -- Information about the crash: I copied a folder containing many files into my current php project directory, which made kdevelop crash. After this, kdevelop crashes on every startup. I have compiled my installation from sources, using a checkout from svn at May 1st. Terminal output: kdevelop(29437)/kdevplatform (shell) KDevelop::PluginController::loadPluginInternal: Checking... "KDevPhpSupport" kdevelop(29437)/kdevplatform (shell) KDevelop::PluginController::loadPluginInternal: Checked... starting to load: "KDevPhpSupport" type: QVariant(, ) QFSFileEngine::map: Mapping a file beyond its size is not portable ASSERT: "internalFunctionFile().toUrl().isValid()" in file /home/audun/projects/kde4/php/phplanguagesupport.cpp, line 77 KCrash: Application 'kdevelop.bin' crashing... sock_file=/home/audun/.kde/socket-audun-laptop/kdeinit4__0 QSocketNotifier: Invalid socket 17 and type 'Read', disabling... [1]+ Stopped kdevelop audun@audun-laptop:~$ QFSFileEngine::map: Mapping a file beyond its size is not portable -- Backtrace: Application: KDevelop (kdevelop.bin), signal: Aborted [Current thread is 1 (Thread 0x7f102b168760 (LWP 29437))] Thread 4 (Thread 0x7f10171cf710 (LWP 29439)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f1027a14ea3 in ?? () from /usr/lib/libQtCore.so.4 #2 0x00007f1027a109e5 in QMutex::lock() () from /usr/lib/libQtCore.so.4 #3 0x00007f102a5f5598 in QMutexLocker::relock (this=0x7f10171cea00) at /usr/include/qt4/QtCore/qmutex.h:120 #4 0x00007f102a5f54fa in QMutexLocker (this=0x7f10171cea00, m=0x13f6a68) at /usr/include/qt4/QtCore/qmutex.h:102 #5 0x00007f102a5f46ff in KDevelop::LanguageController::loadedLanguages (this=0x14c6f00) at /home/audun/projects/kde4/kdevplatform/shell/languagecontroller.cpp:155 #6 0x00007f10245867b0 in KDevelop::DUChainPrivate::doMoreCleanup (this=0x159e120, retries=1, needLockRepository=true) at /home/audun/projects/kde4/kdevplatform/language/duchain/duchain.cpp:718 #7 0x00007f1024583c9e in KDevelop::DUChainPrivate::CleanupThread::run (this=0x159f9f0) at /home/audun/projects/kde4/kdevplatform/language/duchain/duchain.cpp:294 #8 0x00007f1027a15775 in ?? () from /usr/lib/libQtCore.so.4 #9 0x00007f10277859ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #10 0x00007f1025e436cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 3 (Thread 0x7f1010c50710 (LWP 29441)): #0 0xffffffffff60017b in ?? () #1 0x00007f1010c4faa0 in ?? () #2 0x00007fffc59ff852 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 2 (Thread 0x7f101021b710 (LWP 29442)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f1027a1672b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f1029571026 in ?? () from /usr/lib/libthreadweaver.so.4 #3 0x00007f10295736ab in ?? () from /usr/lib/libthreadweaver.so.4 #4 0x00007f1029571bff in ?? () from /usr/lib/libthreadweaver.so.4 #5 0x00007f1029572168 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4 #6 0x00007f1027a15775 in ?? () from /usr/lib/libQtCore.so.4 #7 0x00007f10277859ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #8 0x00007f1025e436cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #9 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f102b168760 (LWP 29437)): [KCrash Handler] #5 0x00007f1025d90a75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #6 0x00007f1025d945c0 in *__GI_abort () at abort.c:92 #7 0x00007f1027a0d844 in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4 #8 0x00007f1027a0da22 in ?? () from /usr/lib/libQtCore.so.4 #9 0x00007f1027a0dbd5 in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4 #10 0x00007f1003588614 in LanguageSupport (this=0x20939a0, parent=0xa15b80) at /home/audun/projects/kde4/php/phplanguagesupport.cpp:77 #11 0x00007f100358a9dd in KPluginFactory::createInstance<Php::LanguageSupport, QObject> (parentWidget=0x0, parent=0xa15b80, args=...) at /usr/include/kpluginfactory.h:461 #12 0x00007f102acfa96c in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /usr/lib/libkdecore.so.5 #13 0x00007f102a5caea0 in KPluginFactory::create<KDevelop::IPlugin> (this=0x20a9d30, parentWidget=0x0, parent=0xa15b80, keyword=..., args=...) at /usr/include/kpluginfactory.h:515 #14 0x00007f102a5ca970 in KService::createInstance<KDevelop::IPlugin> (this=0x20a2680, parentWidget=0x0, parent=0xa15b80, args=..., error=0x7fffc58bea70) at /usr/include/KDE/../kservice.h:517 #15 0x00007f102a5c9e5b in KServiceTypeTrader::createInstanceFromQuery<KDevelop::IPlugin> (serviceType=..., parentWidget=0x0, parent=0xa15b80, constraint=..., args=..., error=0x7fffc58bea70) at /usr/include/KDE/../kservicetypetrader.h:184 #16 0x00007f102a5c8f18 in KServiceTypeTrader::createInstanceFromQuery<KDevelop::IPlugin> (serviceType=..., constraint=..., parent=0xa15b80, args=..., error=0x7fffc58bea70) at /usr/include/KDE/../kservicetypetrader.h:157 #17 0x00007f102a5c4f90 in KDevelop::PluginController::loadPluginInternal (this=0x1383300, pluginId=...) at /home/audun/projects/kde4/kdevplatform/shell/plugincontroller.cpp:438 #18 0x00007f102a5c6100 in KDevelop::PluginController::allPluginsForExtension (this=0x1383300, extension=..., constraints=...) at /home/audun/projects/kde4/kdevplatform/shell/plugincontroller.cpp:580 #19 0x00007f102a5f4971 in KDevelop::LanguageController::language (this=0x14c6f00, name=...) at /home/audun/projects/kde4/kdevplatform/shell/languagecontroller.cpp:180 #20 0x00007f10042efc23 in PhpDocsModel (this=0x2094510, parent=0x208b320) at /home/audun/projects/kde4/php-docs/phpdocsmodel.cpp:43 #21 0x00007f10042ecbf9 in PhpDocsPlugin (this=0x208b320, parent=0xa15b80, args=...) at /home/audun/projects/kde4/php-docs/phpdocsplugin.cpp:57 #22 0x00007f10042ef8e1 in KPluginFactory::createInstance<PhpDocsPlugin, QObject> (parentWidget=0x0, parent=0xa15b80, args=...) at /usr/include/KDE/../kpluginfactory.h:461 #23 0x00007f102acfa96c in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /usr/lib/libkdecore.so.5 #24 0x00007f102a5caea0 in KPluginFactory::create<KDevelop::IPlugin> (this=0x20906e0, parentWidget=0x0, parent=0xa15b80, keyword=..., args=...) at /usr/include/kpluginfactory.h:515 #25 0x00007f102a5ca970 in KService::createInstance<KDevelop::IPlugin> (this=0x209f9c0, parentWidget=0x0, parent=0xa15b80, args=..., error=0x7fffc58bf6f0) at /usr/include/KDE/../kservice.h:517 #26 0x00007f102a5c9e5b in KServiceTypeTrader::createInstanceFromQuery<KDevelop::IPlugin> (serviceType=..., parentWidget=0x0, parent=0xa15b80, constraint=..., args=..., error=0x7fffc58bf6f0) at /usr/include/KDE/../kservicetypetrader.h:184 #27 0x00007f102a5c8f18 in KServiceTypeTrader::createInstanceFromQuery<KDevelop::IPlugin> (serviceType=..., constraint=..., parent=0xa15b80, args=..., error=0x7fffc58bf6f0) at /usr/include/KDE/../kservicetypetrader.h:157 #28 0x00007f102a5c4f90 in KDevelop::PluginController::loadPluginInternal (this=0x1383300, pluginId=...) at /home/audun/projects/kde4/kdevplatform/shell/plugincontroller.cpp:438 #29 0x00007f102a5c34e7 in KDevelop::PluginController::initialize (this=0x1383300) at /home/audun/projects/kde4/kdevplatform/shell/plugincontroller.cpp:272 #30 0x00007f102a5cc77b in KDevelop::CorePrivate::initialize (this=0xaa7790, mode=KDevelop::Core::Default) at /home/audun/projects/kde4/kdevplatform/shell/core.cpp:187 #31 0x00007f102a5cceaa in KDevelop::Core::initialize (splash=0xa1f040, mode=KDevelop::Core::Default) at /home/audun/projects/kde4/kdevplatform/shell/core.cpp:230 #32 0x0000000000407421 in main (argc=1, argv=0x7fffc58c1368) at /home/audun/projects/kde4/kdevelop/app/main_internal.cpp:112 Reported using DrKonqi
Some more information: I tried deleting all related files in .kdeduchain, .kde/share/apps and .kde/config/ without getting anywhere. What finally fixed the problem was a make clean, make install of the php plugin. After this I copied the same folder into my project dir again, no crash this time. So, everything works fine here now, hope this can be of use to someone.
closing now, thanks