| Summary: | Crash in QML Parser while parsing QtDeclarative [DeclarationBuilder::closeAndAssignType] | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Andreas Cord-Landwehr <cordlandwehr> |
| Component: | Language Support: QML/JavaScript | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | git master | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | http://commits.kde.org/kdevelop/5c27fd0f674cbea399312bccf2796e0da51d6465 | Version Fixed/Implemented In: | 5.0.0 |
| Sentry Crash Report: | |||
| Attachments: | The problematic file causing the assert | ||
|
Description
Andreas Cord-Landwehr
2016-06-09 13:05:09 UTC
Created attachment 99520 [details]
The problematic file causing the assert
Git commit 5c27fd0f674cbea399312bccf2796e0da51d6465 by Kevin Funk. Committed on 16/06/2016 at 09:12. Pushed by kfunk into branch '5.0'. QML plugin: Fix assert If qmljs isn't capable of parsing a specific type, we'll end up will null pointers for the attached type in the QML/JS plugin. Don't assert the type is non-null in code. Attached test file. FIXED-IN: 5.0.0 M +3 -3 languages/qmljs/duchain/declarationbuilder.cpp A +7 -0 languages/qmljs/tests/files/dynamicObjectProperties.2.qml [License: UNKNOWN] * The files marked with a * at the end have a non valid license. Please read: http://techbase.kde.org/Policies/Licensing_Policy and use the headers which are listed at that page. http://commits.kde.org/kdevelop/5c27fd0f674cbea399312bccf2796e0da51d6465 Git commit 273b4d4f9f667f41ba20e8f4f0f9cb73eea99b2d by Kevin Funk. Committed on 13/07/2016 at 18:49. Pushed by kfunk into branch '5.0'. test_files: Fix dynamicObjectProperties.2.qml test We just want to make sure this particular file does not trigger an assert / crash. Make sure the test still passes, even if the file contents are invalid. M +1 -0 languages/qmljs/tests/test_files.cpp http://commits.kde.org/kdevelop/273b4d4f9f667f41ba20e8f4f0f9cb73eea99b2d Git commit e6f41edea53bea5648a13b7512e1a2d14df27c20 by Kevin Funk. Committed on 24/10/2018 at 20:57. Pushed by kfunk into branch 'master'. qmljs: Integrate updated qmljs library FIXED-IN: 5.4.0 M +5 -5 plugins/qmljs/duchain/declarationbuilder.cpp M +1 -1 plugins/qmljs/duchain/declarationbuilder.h M +1 -1 plugins/qmljs/duchain/usebuilder.cpp M +3 -1 plugins/qmljs/tests/files/dynamicObjectProperties.2.qml M +0 -1 plugins/qmljs/tests/test_files.cpp https://commits.kde.org/kdevelop/e6f41edea53bea5648a13b7512e1a2d14df27c20 |