Summary: | Crash while parsing large PHP file | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Michal Wazgird <cyrylas> |
Component: | general | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | testace - create new project with those files |
Description
Michal Wazgird
2010-02-26 10:40:14 UTC
I managed to narrow problem to one line of code. KDevelop crashes while parsiong this line: $object->$relname = new Collection($collection); Works for me, please update to current trunk and see whether it's still crashing. If so, please give me more information, i.e.: does it crash with a document only containing the above posted line? what are the types of the vars, does it matter? what is Collection, how is it defined - does it matter? Created attachment 41132 [details]
testace - create new project with those files
Simple testcase. Create new project with those two files.
Can't upgrade to trunk since weird build error, which I didn't managed to pass over yet:
/home/cyryl/soft/php/duchain/completioncodemodel.cpp:74: error: expected initializer before ‘<’ token
/home/cyryl/soft/php/duchain/completioncodemodel.cpp:74: error: ‘temporaryHashCompletionCodeModelRepositoryItemitemsType’ was not declared in this scope
/home/cyryl/soft/php/duchain/completioncodemodel.cpp:74: error: template argument 1 is invalid
/home/cyryl/soft/php/duchain/completioncodemodel.cpp:74: error: invalid type in declaration before ‘=’ token
/home/cyryl/soft/php/duchain/completioncodemodel.cpp:74: error: expected type-specifier before ‘temporaryHashCompletionCodeModelRepositoryItemitemsType’
/home/cyryl/soft/php/duchain/completioncodemodel.cpp:74: error: ISO C++ forbids declaration of ‘temporaryHashCompletionCodeModelRepositoryItemitemsType’ with no type
/home/cyryl/soft/php/duchain/completioncodemodel.cpp:74: error: ‘temporaryHashCompletionCodeModelRepositoryItemitemsType’ declared as an ‘inline’ field
/home/cyryl/soft/php/duchain/completioncodemodel.cpp:74: error: expected ‘;’ before ‘*’ token
You probably need kdevplatform + kdevelop trunk also. Anyways, it still works for me with the given test files, so it probably got fixed. Setting to resolved. |