Summary: | Kdevelop crash when parsing big PHP project | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Daniel Kozák <kozak> |
Component: | general | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | jay |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | 4.2.0 | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Daniel Kozák
2011-04-26 13:37:52 UTC
I don't know how ubuntu packages are compiled (in respect to debugging info in console), but try to start kdevelop from terminal. You should see a LOT of debugging info. If that is true, go to settings and set background parser to 1 thread (so we can see on which file it crashed). Then open that project and when the crash occurs you should see something like here : https://bugs.kde.org/show_bug.cgi?id=271278 (the block containing KCrash: Application 'quanta' crashing... - for you : kdevelop crashing) Kdevelop is not crashing on big project, but on certain file. Then post the lines you see before "KCrash: Application 'kdevelop' crashing...", and the respective file on which it crashed. (In reply to comment #1) > I don't know how ubuntu packages are compiled (in respect to debugging info in > console), but try to start kdevelop from terminal. > You should see a LOT of debugging info. > > If that is true, go to settings and set background parser to 1 thread (so we > can see on which file it crashed). > > Then open that project and when the crash occurs you should see something like > here : > https://bugs.kde.org/show_bug.cgi?id=271278 > (the block containing KCrash: Application 'quanta' crashing... - for you : > kdevelop crashing) > > > > Kdevelop is not crashing on big project, but on certain file. > > > Then post the lines you see before "KCrash: Application 'kdevelop' > crashing...", and the respective file on which it crashed. Here is it: WARNING: deleting stale lockfile /home/kozak/.kde/share/apps/kdevelop/sessions//{131428c9-2709-4898-af8e-54b618fb4412}/lock WARNING: deleting stale lockfile /home/kozak/.kdevduchain/{131428c9-2709-4898-af8e-54b618fb4412}/0/lock QSqlDatabase: QSQLITE driver not loaded QSqlDatabase: available drivers: QMYSQL3 QMYSQL kdevelop(10655)/kdevelop (qthelp support) QtHelpProviderAbstract::QtHelpProviderAbstract: Couldn't setup QtHelp Collection file kdevelop(10655)/kdecore (KLibrary) findLibraryInternal: plugins should not have a 'lib' prefix: "libkonsolepart.so" kdevelop(10655)/kdevplatform (shell) KDevelop::SessionControllerPrivate::performRecovery: Starting recovery from "/home/kozak/.kde/share/apps/kdevelop/sessions/{131428c9-2709-4898-af8e-54b618fb4412}/recovery/current" ** WARNING: "=& new foo() is deprecated" ** WARNING: "=& new foo() is deprecated" ** WARNING: "=& new foo() is deprecated" ** WARNING: "=& new foo() is deprecated" <unknown>: Fatal IO error 9 (Chybný popisovač souboru) on X server :0.0. FunctionDeclarationData::m_defaultParameters There were items left on destruction: 261 FunctionTypeData::m_arguments There were items left on destruction: 1 ClassFunctionDeclarationData::m_defaultParameters There were items left on destruction: 4820 ClassDeclarationData::baseClasses There were items left on destruction: 337 DUContextData::m_uses There were items left on destruction: 11356 TopDUContextData::m_usedDeclarationIds There were items left on destruction: 970 DUContextData::m_importedContexts There were items left on destruction: 6119 kdevelop(10655) Konsole::SessionManager::~SessionManager: Konsole SessionManager destroyed with sessions still alive DUContextData::m_localDeclarations There were items left on destruction: 6188 DUContextData::m_importers There were items left on destruction: 5276 DUContextData::m_childContexts There were items left on destruction: 11369 ** (<unknown>:10655): WARNING **: Serious fd usage error 16 ** (<unknown>:10655): WARNING **: Serious fd usage error 14 damn... ubuntu packages don't have debugging info enabled. Maybe it can be enabled in some config, but i have no idea how. Crash info shows only that its a php file parsing crash (if I understand it correctly) - Thread 3 (In reply to comment #3) > damn... > ubuntu packages don't have debugging info enabled. > Maybe it can be enabled in some config, but i have no idea how. Nevermind, I try to compile it from scratch with debug enabled So there is a output with debug info: ... KDevelop::BackgroundParserPrivate::parseDocumentsInternal: creating parse-job KUrl("file:///var/www/html/system/web/auto-gps.eu/local/temp/graph_653082_1296056783.png") new count of active parse-jobs: 1 kdevelop(1433)/kdevplatform (language) KDevelop::BackgroundParserPrivate::createParseJob: found no languages for url KUrl("file:///var/www/html/system/web/auto-gps.eu/local/temp/graph_653082_1296056783.png") kdevelop(1433)/kdevplatform (language) KDevelop::BackgroundParserPrivate::parseDocumentsInternal: creating parse-job KUrl("file:///var/www/html/system/web/auto-gps.eu/local/mvc/model/export/Generator/ExportGeneratorCsvWork.php") new count of active parse-jobs: 1 kdevelop(1433)/kdevplatform (language) KDevelop::BackgroundParserPrivate::parseDocumentsInternal: creating parse-job KUrl("file:///var/www/html/system/web/auto-gps.eu/local/mvc/model/export/Generator/ExportGeneratorCsvWork.php") new count of active parse-jobs: 1 <unknown>: Fatal IO error 9 (Chybný popisovač souboru) on X server :0.0. ... should be fixed for 4.2.3, can you try to compile that one (i.e. php 1.2 or master branch from git)? if it still crashes, tell me. *** This bug has been marked as a duplicate of bug 269369 *** |