Summary: | Crash while typing a function in a PHP-File | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Markus <markus.hauser> |
Component: | Language Support: PHP | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Markus
2010-01-27 16:59:29 UTC
You compiled without assertions, right? Somehow it couldn't find the exception Declaration for you. Can you reproduce it? According to the backtrace you didn#t typed a function, but something related to exception, i.e. one of: <?php try {} catch( // request completion here or: <?php throw new // request completion here SVN commit 1081706 by nsams: Initialize with 0. For static vars this don't needs to be done - add it anyway as it won't hurt. If it was not initialized with 0 it could have caused the crash in bug 224479 - but in theory this must not happen. Mark the bug as fixed as that's the only possible fix I can think of for this backtrace. Please reopen if it happens again. BUG: 224479 M +2 -2 context.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1081706 SVN commit 1082052 by nsams: Use a DUChainPointer to protect exceptionDecl. This should now fix the crash for real. BUG: 224479 M +5 -4 context.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1082052 |