Bug 432304 - crash parsing python project
Summary: crash parsing python project
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: QML/JavaScript (other bugs)
Version First Reported In: 5.6.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-01-30 09:10 UTC by Jaime Torres
Modified: 2021-03-02 04:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (65.67 KB, text/plain)
2021-01-30 09:10 UTC, Jaime Torres
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaime Torres 2021-01-30 09:10:09 UTC
Application: kdevelop (5.6.1)

Qt Version: 5.15.2
Frameworks Version: 5.78.0
Operating System: Linux 5.10.7-1-default x86_64
Windowing system: X11
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:

Kdevelop was opened a few minutes before the crash, just created a new class, a new method and crash.

-- Backtrace (Reduced):
#4  0x00007fe3d0506700 in KDevelop::Declaration::isAutoDeclaration() const () from /usr/lib64/libKDevPlatformLanguage.so.56
#5  0x00007fe3d04eff30 in KDevelop::DUContext::cleanIfNotEncountered(QSet<KDevelop::DUChainBase*> const&) () from /usr/lib64/libKDevPlatformLanguage.so.56
#6  0x00007fe371182f0b in KDevelop::AbstractContextBuilder<QmlJS::AST::Node, QmlJS::AST::IdentifierPropertyName>::closeContext (this=0x7fe264d858b0) at /usr/src/debug/kdevelop5-5.6.1-1.1.x86_64/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:474
#7  0x00007fe37119412a in DeclarationBuilder::endVisit (node=<optimized out>, this=0x7fe264d858b0) at /usr/src/debug/kdevelop5-5.6.1-1.1.x86_64/plugins/qmljs/duchain/declarationbuilder.cpp:690
#8  DeclarationBuilder::endVisit (this=0x7fe264d858b0, node=<optimized out>) at /usr/src/debug/kdevelop5-5.6.1-1.1.x86_64/plugins/qmljs/duchain/declarationbuilder.cpp:684


Possible duplicates by query: bug 409178, bug 405368, bug 377973, bug 376586, bug 374145.

Reported using DrKonqi
Comment 1 Jaime Torres 2021-01-30 09:10:10 UTC
Created attachment 135299 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Francis Herne 2021-01-30 12:38:00 UTC
Thanks for the report.

From the backtrace this is actually from the background parser trying to parse a QML or JavaScript file, or something KDevelop believes to be one.

Did you have any of those open at the time, or otherwise in your project directory?

Does the crash happen repeatably when opening the same project (perhaps within a few minutes rather than immediately)?
Comment 3 Jaime Torres 2021-01-31 10:49:08 UTC
Oh, yes, sorry. Yes, I have another open project with some Qml, not opened in the editor.
The crash happens randomly, yesterday, after the crash, and Kdevelop recreate its cache, It worked without further problems.
Comment 4 Bug Janitor Service 2021-02-15 04:33:10 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2021-03-02 04:33:17 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!