Summary: | Kdevelop4 +PHP crashs, while Loading Project [KDevelop::Declaration::indexedType, KDevelop::isPublicBaseClassInternal] | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Tobias Hochgürtel <tobias.hochguertel> |
Component: | Language Support: PHP | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | audvare, igilama, kfunk, kozak, mailtoirs, markus.hauser, mkusher2007, morskoy.a, niko.sams, nospam, rakatan |
Priority: | NOR | Keywords: | release_blocker |
Version: | 4.2.0 | ||
Target Milestone: | 5.0.0 | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdev-php/81a9559f4a94eb7a72458c6695fe8400ad7fb6d6 | Version Fixed In: | 1.7.3 |
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
Tobias Hochgürtel
2011-03-25 09:01:24 UTC
no, doesn't look like a out-of-mem exception. But you are missing some debug symbols, making it hard for me to find the line where this is supposed to be crashing... could you either install the missing debug symbols or find out what file is creating this crash, then attaching it here? Or is the project open source, can I take a look at it? To find the crashing file, launch kdebugdialog and enable the kdevplatform language and php debug areas, then open kdev from the command line. it should output quite a lot. paste the last ~100 lines or so and we'll see. bye better backtrace: kdevelop(20996)/kdevplatform (language) KDevelop::BackgroundParserPrivate::parseDocumentsInternal: creating parse-job KUrl("file:///srv/http/signup3.5.git/library/Zend/Config/Writer/Ini.php") new count of active parse-jobs: 1 kdevelop(20996)/kdevelop (php support) Php::ParseJob::run: parsing "/srv/http/signup3.5.git/library/Zend/Config/Writer/Ini.php" kdevelop(20996)/kdevelop (php support) Php::ParseSession::parse: Successfully parsed kdevelop(20996)/kdevelop (php support) Php::ContextBuilder::build: compiling "/srv/http/signup3.5.git/library/Zend/Config/Writer/Ini.php" kdevelop(20996)/kdevelop (php support) Php::ContextBuilder::addBaseType: unresolved identifier kdevelop(20996)/kdevelop (php support) Php::ParseJob::run: Reschedule file "/srv/http/signup3.5.git/library/Zend/Config/Writer/Ini.php" for parsing kdevelop(20996)/kdevplatform (language) KDevelop::BackgroundParserPrivate::parseDocumentsInternal: creating parse-job KUrl("file:///srv/http/signup3.5.git/library/Zend/Config/Writer/Ini.php") new count of active parse-jobs: 1 kdevelop(20996)/kdevelop (php support) Php::ParseJob::run: parsing "/srv/http/signup3.5.git/library/Zend/Config/Writer/Ini.php" kdevelop(20996)/kdevelop (php support) Php::ParseSession::parse: Successfully parsed kdevelop(20996)/kdevelop (php support) Php::ContextBuilder::build: re-compiling "/srv/http/signup3.5.git/library/Zend/Config/Writer/Ini.php" kdevelop(20996)/kdevelop (php support) Php::ContextBuilder::addBaseType: unresolved identifier ASSERT: "classDec" in file /home/harley/Source/aur/kdevelop-extra-plugins-php-git/src/php/duchain/builders/typebuilder.cpp, line 505 Program received signal SIGABRT, Aborted. [Switching to Thread 0x7fffc59fa700 (LWP 21060)] 0x00007ffff513a655 in raise () from /lib/libc.so.6 (gdb) thread apply all bt Thread 13 (Thread 0x7fffc3f99700 (LWP 21066)): #0 0x00007ffff51d3533 in poll () from /lib/libc.so.6 #1 0x00007fffeff6f134 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007fffeff6f66d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007ffff6590a0f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #4 0x00007ffff6564ca2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0x00007ffff6564eec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007ffff647a494 in QThread::exec() () from /usr/lib/libQtCore.so.4 #7 0x00007ffff647ccf5 in ?? () from /usr/lib/libQtCore.so.4 #8 0x00007ffff4ef1cb0 in start_thread () from /lib/libpthread.so.0 #9 0x00007ffff51db95d in clone () from /lib/libc.so.6 #10 0x0000000000000000 in ?? () Thread 12 (Thread 0x7fffc479a700 (LWP 21065)): #0 0x00007ffff51d3533 in poll () from /lib/libc.so.6 #1 0x00007fffeff6f134 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007fffeff6f66d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007ffff6590a0f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #4 0x00007ffff6564ca2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0x00007ffff6564eec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007ffff647a494 in QThread::exec() () from /usr/lib/libQtCore.so.4 #7 0x00007ffff647ccf5 in ?? () from /usr/lib/libQtCore.so.4 #8 0x00007ffff4ef1cb0 in start_thread () from /lib/libpthread.so.0 #9 0x00007ffff51db95d in clone () from /lib/libc.so.6 #10 0x0000000000000000 in ?? () Thread 11 (Thread 0x7fffc59fa700 (LWP 21060)): #0 0x00007ffff513a655 in raise () from /lib/libc.so.6 #1 0x00007ffff513bad6 in abort () from /lib/libc.so.6 #2 0x00007ffff647365f in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4 #3 0x00007ffff64737ed in ?? () from /usr/lib/libQtCore.so.4 #4 0x00007ffff6473985 in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4 #5 0x00007fffc9440ebb in Php::TypeBuilder::visitStatement (this=<value optimized out>, node=<value optimized out>) at /home/harley/Source/aur/kdevelop-extra-plugins-php-git/src/php/duchain/builders/typebuilder.cpp:505 #6 0x00007fffc942f758 in Php::DeclarationBuilder::visitStatement (this=0x7fffc59f9650, node=0x7fffcc7516a8) at /home/harley/Source/aur/kdevelop-extra-plugins-php-git/src/php/duchain/builders/declarationbuilder.cpp:1029 #7 0x00007fffc91e4206 in Php::DefaultVisitor::visitTopStatement (this=0x7fffc59f96b0, node=0x7fffcc751668) at /home/harley/Source/aur/kdevelop-extra-plugins-php-git/src/build/parser/phpdefaultvisitor.cpp:987 #8 0x00007fffc91e4d4d in Php::DefaultVisitor::visitInnerStatementList (this=0x7fffc59f96b0, node=<value optimized out>) at /home/harley/Source/aur/kdevelop-extra-plugins-php-git/src/build/parser/phpdefaultvisitor.cpp:541 #9 0x00007fffc91e511a in Php::DefaultVisitor::visitStatement (this=0x7fffc59f96b0, node=0x7fffcc74fd28) at /home/harley/Source/aur/kdevelop-extra-plugins-php-git/src/build/parser/phpdefaultvisitor.cpp:828 #10 0x00007fffc9440750 in Php::TypeBuilder::visitStatement (this=0x7fffc59f9650, node=0x7fffcc74fd28) at /home/harley/Source/aur/kdevelop-extra-plugins-php-git/src/php/duchain/builders/typebuilder.cpp:442 #11 0x00007fffc942f758 in Php::DeclarationBuilder::visitStatement (this=0x7fffc59f9650, node=0x7fffcc74fd28) at /home/harley/Source/aur/kdevelop-extra-plugins-php-git/src/php/duchain/builders/declarationbuilder.cpp:1029 ---Type <return> to continue, or q <return> to quit--- #12 0x00007fffc91e514e in Php::DefaultVisitor::visitStatement (this=0x7fffc59f96b0, node=0x7fffcc74c870) at /home/harley/Source/aur/kdevelop-extra-plugins-php-git/src/build/parser/phpdefaultvisitor.cpp:832 #13 0x00007fffc9440750 in Php::TypeBuilder::visitStatement (this=0x7fffc59f9650, node=0x7fffcc74c870) at /home/harley/Source/aur/kdevelop-extra-plugins-php-git/src/php/duchain/builders/typebuilder.cpp:442 #14 0x00007fffc942f758 in Php::DeclarationBuilder::visitStatement (this=0x7fffc59f9650, node=0x7fffcc74c870) at /home/harley/Source/aur/kdevelop-extra-plugins-php-git/src/php/duchain/builders/declarationbuilder.cpp:1029 #15 0x00007fffc91e514e in Php::DefaultVisitor::visitStatement (this=0x7fffc59f96b0, node=0x7fffcc74a128) at /home/harley/Source/aur/kdevelop-extra-plugins-php-git/src/build/parser/phpdefaultvisitor.cpp:832 #16 0x00007fffc9440750 in Php::TypeBuilder::visitStatement (this=0x7fffc59f9650, node=0x7fffcc74a128) at /home/harley/Source/aur/kdevelop-extra-plugins-php-git/src/php/duchain/builders/typebuilder.cpp:442 #17 0x00007fffc942f758 in Php::DeclarationBuilder::visitStatement (this=0x7fffc59f9650, node=0x7fffcc74a128) at /home/harley/Source/aur/kdevelop-extra-plugins-php-git/src/php/duchain/builders/declarationbuilder.cpp:1029 #18 0x00007fffc91e4206 in Php::DefaultVisitor::visitTopStatement (this=0x7fffc59f96b0, node=0x7fffcc74a0e8) at /home/harley/Source/aur/kdevelop-extra-plugins-php-git/src/build/parser/phpdefaultvisitor.cpp:987 #19 0x00007fffc91e4d4d in Php::DefaultVisitor::visitInnerStatementList (this=0x7fffc59f96b0, node=<value optimized out>) at /home/harley/Source/aur/kdevelop-extra-plugins-php-git/src/build/parser/phpdefaultvisitor.cpp:541 #20 0x00007fffc9439dd7 in Php::ContextBuilder::visitClassStatement (this=0x7fffc59f9650, node=0x7fffcc763380) at /home/harley/Source/aur/kdevelop-extra-plugins-php-git/src/php/duchain/builders/contextbuilder.cpp:236 #21 0x00007fffc9440429 in Php::TypeBuilder::visitClassStatement (this=0x7fffc59f9650, node=<value optimized out>) at /home/harley/Source/aur/kdevelop-extra-plugins-php-git/src/php/duchain/builders/typebuilder.cpp:296 #22 0x00007fffc9431bcb in Php::DeclarationBuilder::visitClassStatement (this=0x7fffc59f9650, node=0x7fffcc763380) at /home/harley/Source/aur/kdevelop-extra-plugins-php-git/src/php/duchain/builders/declarationbuilder.cpp:340 #23 0x00007fffc91e4a6d in Php::DefaultVisitor::visitClassBody (this=0x7fffc59f96b0, node=<value optimized out>) at /home/harley/Source/aur/kdevelop-extra-plugins-php-git/src/build/parser/phpdefaultvisitor.cpp:199 #24 0x00007fffc9439fd8 in Php::ContextBuilder::visitClassDeclarationStatement (this=0x7fffc59f9650, node=0x7fffcc70f208) at /home/harley/Source/aur/kdevelop-extra-plugins-php-git/src/php/duchain/builders/contextbuilder.cpp:200 #25 0x00007fffc94406e3 in Php::TypeBuilder::visitClassDeclarationStatement (this=0x7fffc59f9650, node=0x7fffcc70f208) at /home/harley/Source/aur/kdevelop-extra-plugins-php-git/src/php/duchain/builders/typebuilder.cpp:278 #26 0x00007fffc94322ad in Php::DeclarationBuilder::visitClassDeclarationStatement (this=0x7fffc59f9650, node=0x7fffcc70f208) at /home/harley/Source/aur/kdevelop-extra-plugins-php-git/src/php/duchain/builders/declarationbuilder.cpp:168 #27 0x00007fffc91e4220 in Php::DefaultVisitor::visitTopStatement (this=0x7fffc59f96b0, node=0x7fffcc70f1c8) at /home/harley/Source/aur/kdevelop-extra-plugins-php-git/src/build/parser/phpdefaultvisitor.cpp:989 #28 0x00007fffc942e0c0 in Php::DeclarationBuilder::visitOuterTopStatement (this=0x7fffc59f9650, node=0x7fffcc70f198) at /home/harley/Source/aur/kdevelop-extra-plugins-php-git/src/php/duchain/builders/declarationbuilder.cpp:658 #29 0x00007fffc91e50ed in Php::DefaultVisitor::visitStart (this=0x7fffc59f96b0, node=<value optimized out>) at /home/harley/Source/aur/kdevelop-extra-plugins-php-git/src/build/parser/phpdefaultvisitor.cpp:819 #30 0x00007fffc943a306 in Php::ContextBuilder::startVisiting (this=0x7fffc59f9650, node=0x7fffcc705270) at /home/harley/Source/aur/kdevelop-extra-plugins-php-git/src/php/duchain/builders/contextbuilder.cpp:116 #31 0x00007fffc942af78 in KDevelop::AbstractContextBuilder<Php::AstNode, Php::IdentifierAst>::supportBuild (this=0x7fffc59f9650, node=0x7fffcc705270, context=0x7fffd8958280) at /usr/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:133 #32 0x00007fffc9437cc6 in KDevelop::AbstractTypeBuilder<Php::AstNode, Php::IdentifierAst, Php::ContextBuilder>::supportBuild ( this=0x7fffc59f9650, node=0x7fffcc705270, context=0x7fffd8958280) at /usr/include/kdevplatform/language/duchain/builders/abstracttypebuilder.h:85 #33 0x00007fffc9437af9 in KDevelop::AbstractContextBuilder<Php::AstNode, Php::IdentifierAst>::build (this=0x7fffc59f9650, url=<value optimized out>, node=0x7fffcc705270, updateContext=<value optimized out>) at /usr/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:113 #34 0x00007fffc9431f35 in Php::DeclarationBuilder::build (this=0x7fffc59f9650, url=..., node=0x7fffcc705270, updateContext=...) ---Type <return> to continue, or q <return> to quit--- at /home/harley/Source/aur/kdevelop-extra-plugins-php-git/src/php/duchain/builders/declarationbuilder.cpp:136 #35 0x00007fffc96a539a in Php::ParseJob::run (this=0x7fffd89511b0) at /home/harley/Source/aur/kdevelop-extra-plugins-php-git/src/php/phpparsejob.cpp:151 #36 0x00007fffed8b9b91 in ?? () from /usr/lib/libthreadweaver.so.4 #37 0x00007fffed8b9cce in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4 #38 0x00007fffed8b947f in ?? () from /usr/lib/libthreadweaver.so.4 #39 0x00007fffed8b9538 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4 #40 0x00007ffff647ccf5 in ?? () from /usr/lib/libQtCore.so.4 #41 0x00007ffff4ef1cb0 in start_thread () from /lib/libpthread.so.0 #42 0x00007ffff51db95d in clone () from /lib/libc.so.6 #43 0x0000000000000000 in ?? () Thread 10 (Thread 0x7fffc61fb700 (LWP 21059)): #0 0x00007ffff4ef634c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007ffff647d3db in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007fffed8b8034 in ?? () from /usr/lib/libthreadweaver.so.4 #3 0x00007fffed8ba6c3 in ?? () from /usr/lib/libthreadweaver.so.4 #4 0x00007fffed8ba6dc in ?? () from /usr/lib/libthreadweaver.so.4 #5 0x00007fffed8b94af in ?? () from /usr/lib/libthreadweaver.so.4 #6 0x00007fffed8b9538 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4 #7 0x00007ffff647ccf5 in ?? () from /usr/lib/libQtCore.so.4 #8 0x00007ffff4ef1cb0 in start_thread () from /lib/libpthread.so.0 #9 0x00007ffff51db95d in clone () from /lib/libc.so.6 #10 0x0000000000000000 in ?? () Thread 9 (Thread 0x7fffc7ea0700 (LWP 21026)): #0 0x00007ffff4ef634c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007fffed080bb4 in ?? () from /usr/lib/libQtWebKit.so.4 #2 0x00007ffff4ef1cb0 in start_thread () from /lib/libpthread.so.0 #3 0x00007ffff51db95d in clone () from /lib/libc.so.6 #4 0x0000000000000000 in ?? () Thread 8 (Thread 0x7fffc8f88700 (LWP 21016)): #0 0x00007ffff51d3533 in poll () from /lib/libc.so.6 #1 0x00007fffeff6f134 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007fffeff6f66d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007ffff6590a0f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #4 0x00007ffff6564ca2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0x00007ffff6564eec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007ffff647a494 in QThread::exec() () from /usr/lib/libQtCore.so.4 #7 0x00007ffff65466a8 in ?? () from /usr/lib/libQtCore.so.4 #8 0x00007ffff647ccf5 in ?? () from /usr/lib/libQtCore.so.4 #9 0x00007ffff4ef1cb0 in start_thread () from /lib/libpthread.so.0 #10 0x00007ffff51db95d in clone () from /lib/libc.so.6 #11 0x0000000000000000 in ?? () Thread 7 (Thread 0x7fffd2172700 (LWP 21006)): ---Type <return> to continue, or q <return> to quit--- #0 0x00007ffff51d3533 in poll () from /lib/libc.so.6 #1 0x00007fffeff6f134 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007fffeff6f66d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007ffff6590a0f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #4 0x00007ffff6564ca2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0x00007ffff6564eec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007ffff647a494 in QThread::exec() () from /usr/lib/libQtCore.so.4 #7 0x00007ffff647ccf5 in ?? () from /usr/lib/libQtCore.so.4 #8 0x00007ffff4ef1cb0 in start_thread () from /lib/libpthread.so.0 #9 0x00007ffff51db95d in clone () from /lib/libc.so.6 #10 0x0000000000000000 in ?? () Thread 6 (Thread 0x7fffd1971700 (LWP 21005)): #0 0x00007ffff4ef634c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007fffe0953364 in ?? () from /usr/lib/libQtScript.so.4 #2 0x00007fffe0953399 in ?? () from /usr/lib/libQtScript.so.4 #3 0x00007ffff4ef1cb0 in start_thread () from /lib/libpthread.so.0 #4 0x00007ffff51db95d in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 5 (Thread 0x7fffd1170700 (LWP 21002)): #0 0x00007ffff51d5583 in select () from /lib/libc.so.6 #1 0x00007ffff6545f6d in ?? () from /usr/lib/libQtCore.so.4 #2 0x00007ffff647ccf5 in ?? () from /usr/lib/libQtCore.so.4 #3 0x00007ffff4ef1cb0 in start_thread () from /lib/libpthread.so.0 #4 0x00007ffff51db95d in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 2 (Thread 0x7fffe03b0700 (LWP 20999)): #0 0x00007ffff4ef66cb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007ffff647d342 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007ffff2abb3ff in KDevelop::DUChainPrivate::CleanupThread::run() () from /usr/lib/libkdevplatformlanguage.so.4 #3 0x00007ffff647ccf5 in ?? () from /usr/lib/libQtCore.so.4 #4 0x00007ffff4ef1cb0 in start_thread () from /lib/libpthread.so.0 #5 0x00007ffff51db95d in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 1 (Thread 0x7ffff7f9a760 (LWP 20996)): #0 0x00007ffff51d3533 in poll () from /lib/libc.so.6 #1 0x00007fffeff6f134 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007fffeff6f66d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007ffff6590a0f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #4 0x00007ffff59d003e in ?? () from /usr/lib/libQtGui.so.4 #5 0x00007ffff6564ca2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007ffff6564eec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #7 0x00007ffff65693eb in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #8 0x000000000040b7bd in _start () (gdb) Git commit 0858050ebef942e7038957954acaeae125cdcb5b by Milian Wolff. Committed on 09/04/2011 at 01:02. Pushed by mwolff into branch 'master'. add unit test for bug, happens due to imported parent context getting removed when recompiling CCBUG: 269369 M +40 -0 duchain/tests/duchain_multiplefiles.cpp M +1 -0 duchain/tests/duchain_multiplefiles.h http://commits.kde.org/kdev-php/0858050ebef942e7038957954acaeae125cdcb5b Git commit f0998cd76fb425b147ca814bc4f421514d329e44 by Milian Wolff. Committed on 09/04/2011 at 01:20. Pushed by mwolff into branch 'master'. try unfiltered lookup as fallback when looking for structure type declaration Note: a proper fix would imo need a full fledged two-pass, meaning: we should get rid of predeclarationbuilder... BUG: 269369 M +6 -0 duchain/builders/typebuilder.cpp M +20 -15 duchain/tests/duchain_multiplefiles.cpp http://commits.kde.org/kdev-php/f0998cd76fb425b147ca814bc4f421514d329e44 Git commit 2b7458321f063350acaccdd0aa584f295cd61f96 by Milian Wolff. Committed on 09/04/2011 at 01:20. Pushed by mwolff into branch '1.2'. backport from master: try unfiltered lookup as fallback when looking for structure type declaration Note: a proper fix would imo need a full fledged two-pass, meaning: we should get rid of predeclarationbuilder... BUG: 269369 M +6 -0 duchain/builders/typebuilder.cpp M +20 -15 duchain/tests/duchain_multiplefiles.cpp http://commits.kde.org/kdev-php/2b7458321f063350acaccdd0aa584f295cd61f96 Git commit 13bb83f31dc1a4565c7b325a21157fde122ecc4d by Milian Wolff. Committed on 09/04/2011 at 01:02. Pushed by mwolff into branch '1.2'. backport from master: add unit test for bug, happens due to imported parent context getting removed when recompiling CCBUG: 269369 M +40 -0 duchain/tests/duchain_multiplefiles.cpp M +1 -0 duchain/tests/duchain_multiplefiles.h http://commits.kde.org/kdev-php/13bb83f31dc1a4565c7b325a21157fde122ecc4d *** Bug 271763 has been marked as a duplicate of this bug. *** Git commit b3a4275b1d7f13cc6ef9f58b7efe08b850547455 by Milian Wolff. Committed on 27/04/2011 at 21:54. Pushed by mwolff into branch '1.2'. fix: left-hand operand of comma has no effect BUG: 269369 M +1 -1 language/codegen/createclass.cpp http://commits.kde.org/kdevplatform/b3a4275b1d7f13cc6ef9f58b7efe08b850547455 ignore b3a4275b1d7f13cc6ef9f58b7efe08b850547455 - that was unrelated to this bug... *** Bug 273128 has been marked as a duplicate of this bug. *** *** Bug 274500 has been marked as a duplicate of this bug. *** *** Bug 296520 has been marked as a duplicate of this bug. *** *** Bug 237382 has been marked as a duplicate of this bug. *** Created attachment 85676 [details]
New crash information added by DrKonqi
kdevelop (4.6.60) on KDE Platform 4.10.5 using Qt 4.8.4
- What I was doing when the application crashed:
"imported" new project from directory structure
-- Backtrace (Reduced):
#5 KDevelop::Declaration::indexedType (this=0x0) at /home/sarunas/priv/src/kdevelop/kdevplatform/language/duchain/declaration.cpp:265
#6 0x00007f7a12a83c97 in KDevelop::isPublicBaseClassInternal (self=self@entry=0x0, base=base@entry=0x7f78e969a700, topContext=0x7f78e8ab25a0, baseConversionLevels=baseConversionLevels@entry=0x0, depth=depth@entry=0, checked=checked@entry=0x0) at /home/sarunas/priv/src/kdevelop/kdevplatform/language/duchain/classdeclaration.cpp:112
#7 0x00007f7a12a83f3b in KDevelop::ClassDeclaration::isPublicBaseClass (this=this@entry=0x0, base=base@entry=0x7f78e969a700, topContext=<optimized out>, baseConversionLevels=baseConversionLevels@entry=0x0) at /home/sarunas/priv/src/kdevelop/kdevplatform/language/duchain/classdeclaration.cpp:138
#8 0x00007f797021a009 in Php::TypeBuilder::visitStatement (this=this@entry=0x7f78efffcba0, node=node@entry=0x7f78e9eb6400) at /home/sarunas/priv/src/kdevelop/kdev-php/duchain/builders/typebuilder.cpp:537
#9 0x00007f797020c28a in Php::DeclarationBuilder::visitStatement (this=0x7f78efffcba0, node=0x7f78e9eb6400) at /home/sarunas/priv/src/kdevelop/kdev-php/duchain/builders/declarationbuilder.cpp:1242
This is still not fixed, see e.g.: https://bugs.kde.org/show_bug.cgi?id=344908 Someone with knowledge about this code please have a look. Git commit c9aaf6b0c9000f178206946e515ddfe9839f9493 by Milian Wolff. Committed on 14/11/2015 at 17:11. Pushed by mwolff into branch '5.0'. Make sure we don't access a nullptr. M +17 -16 duchain/builders/typebuilder.cpp http://commits.kde.org/kdev-php/c9aaf6b0c9000f178206946e515ddfe9839f9493 *** Bug 355994 has been marked as a duplicate of this bug. *** Git commit 81a9559f4a94eb7a72458c6695fe8400ad7fb6d6 by Kevin Funk, on behalf of Milian Wolff. Committed on 27/11/2015 at 17:51. Pushed by kfunk into branch '1.7'. Make sure we don't access a nullptr. (cherry picked from commit c9aaf6b0c9000f178206946e515ddfe9839f9493) FIXED-IN: 1.7.3 M +17 -16 duchain/builders/typebuilder.cpp http://commits.kde.org/kdev-php/81a9559f4a94eb7a72458c6695fe8400ad7fb6d6 *** Bug 346056 has been marked as a duplicate of this bug. *** *** Bug 341582 has been marked as a duplicate of this bug. *** Hi, I'm running into the same bug - how do I update to kdevelop-php 1.7.3? It's nowhere to be found, thanks we'll release it this week. sorry for the delay, please stay tuned. |