Application: kdevelop (5.5.0) Qt Version: 5.12.8 Frameworks Version: 5.68.0 Operating System: Linux 5.4.0-29-generic x86_64 Windowing system: X11 Distribution: Ubuntu 20.04 LTS -- Information about the crash: - What I was doing when the application crashed: Opened the application. Session is a php project and the background parser starts indexing. After some time it crashes. Already tried cleaning up cache. It started after upgrade from Kubutnu 19.10 to 20.04. The crash can be reproduced every time. -- Backtrace (Reduced): #6 0x00007f33b2e365e4 in KDevelop::AbstractType::modifiers() const () from /lib/x86_64-linux-gnu/libKDevPlatformLanguage.so.55 #7 0x00007f33859fff36 in Php::DeclarationBuilder::visitClassConstantDeclaration(Php::ClassConstantDeclarationAst*) () from /lib/x86_64-linux-gnu/libkdevphpduchain.so #8 0x00007f338599d65e in Php::DefaultVisitor::visitClassStatement(Php::ClassStatementAst*) () from /lib/x86_64-linux-gnu/libkdevphpparser.so #9 0x00007f3385a111bb in Php::ContextBuilder::visitClassStatement(Php::ClassStatementAst*) () from /lib/x86_64-linux-gnu/libkdevphpduchain.so #10 0x00007f3385a1c812 in Php::TypeBuilder::visitClassStatement(Php::ClassStatementAst*) () from /lib/x86_64-linux-gnu/libkdevphpduchain.so The reporter indicates this bug may be a duplicate of or related to bug 417659. Possible duplicates by query: bug 419777, bug 417659, bug 374013, bug 325361, bug 310097. Reported using DrKonqi
Created attachment 128449 [details] New crash information added by DrKonqi DrKonqi auto-attaching complete backtrace.
Disabled Backgroud Parser and it seems to fix for now. Will report back in some time if it happens again.
Git commit 5753d80c89217bda3d4865a8d4ca6fa29a7b6ee3 by Milian Wolff. Committed on 14/05/2020 at 14:22. Pushed by mwolff into branch '5.5'. Check type before accessing it M +3 -3 duchain/builders/declarationbuilder.cpp https://invent.kde.org/kde/kdev-php/commit/5753d80c89217bda3d4865a8d4ca6fa29a7b6ee3
Disabling background parser does not fix the problem. I see a commit has been done, if it fixes the problem it would be nice to have a bug fix release soon. Thank you
(In reply to Alessandro Briosi from comment #4) > Disabling background parser does not fix the problem. > I see a commit has been done, if it fixes the problem it would be nice to > have a bug fix release soon. > > Thank you +1
Solved for me in version 5.5.2