| Summary: | kdev-qmljs crashes when parsing big projects [KDevelop::Declaration::setType, DeclarationBuilder::closeAndAssignType, QmlJS::AST::Node::accept] | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Alex Fiestas <afiestas> |
| Component: | Language Support: QML/JavaScript | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | steckdenis |
| Priority: | NOR | Keywords: | drkonqi |
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | javascript file that makes kdevelop crash | ||
|
Description
Alex Fiestas
2014-07-06 22:13:50 UTC
Hi, Could you attach a Javascript files that makes the plugin crash? I've downloaded express.js and opened several files, but none of them made the plugin crash. Created attachment 87682 [details]
javascript file that makes kdevelop crash
This file does not make my KDevelop crash, but KDevelop automatically imports and parses the files that are in the same directory as the files you open. Does this file still crash for you if you put it in a directory that does not contain any other file? If KDevelop stops crashing when you put the file in its own directory, then one of your other files makes KDevelop crash. Try moving your files one by one to /tmp (and then back into the directory) until you find the one that causes the crash. You can also put the file you have attached in a directory, and then add other files in it until KDevelop crashes. It is part of the jsdom npm package On 10 Jul 2014 20:52, "Denis Steckelmacher" <steckdenis@yahoo.fr> wrote: > https://bugs.kde.org/show_bug.cgi?id=337153 > > --- Comment #3 from Denis Steckelmacher <steckdenis@yahoo.fr> --- > This file does not make my KDevelop crash, but KDevelop automatically > imports > and parses the files that are in the same directory as the files you open. > Does > this file still crash for you if you put it in a directory that does not > contain any other file? > > If KDevelop stops crashing when you put the file in its own directory, > then one > of your other files makes KDevelop crash. Try moving your files one by one > to > /tmp (and then back into the directory) until you find the one that causes > the > crash. You can also put the file you have attached in a directory, and > then add > other files in it until KDevelop crashes. > > -- > You are receiving this mail because: > You reported the bug. > @Aleix: Still a problem? @Denis: Is this issue solved? I was never able to reproduce the bug. I have tested the file attached to this bug report, downloaded jsdom and other node.js packages, but everything always worked. A couple days later, I fixed a bug somewhere else that could have caused this one, but as I was not able to reproduce the problem, I don't know if I have fixed it. Alright. Assuming this was fixed in the meanwhile. |