CodeLobster IDE
http://codelobster.com/forum/

Crash on project creation
http://codelobster.com/forum/viewtopic.php?f=8&t=24840
Page 1 of 1

Author:  OS1111 [ Wed Jul 22, 2020 2:58 pm ]
Post subject:  Crash on project creation

We're evaluating CL especially as some of our projects were developed using Smarty and Yii. The issue we see is that when we create projects using our existing sources the systems fans start blowing like crazy, CL uses one of the processor cores at 100% for many minutes and then just silently fails.

We have looked to see if we can up any settings to give CL more resources, or if there's a way of deferring index creation but nothing jumps out.

Is there a limitation on what CL can cope with?

We are using Ubuntu 20.04.

Thanks

Author:  Admin [ Thu Jul 23, 2020 7:04 am ]
Post subject:  Re: Crash on project creation

Hi, Owen Savill.

1) Could You, please, send us the archive of your project.
2) Could You, please, send us whole error information that Linux shows.

Thanks,
Codelobster Team.

Author:  Guest [ Thu Jul 23, 2020 10:43 am ]
Post subject:  Re: Crash on project creation

1) Sorry, but currently I am unable to send the project as it has sensitive data embedded in it

2) That's part of the issue, there is no output even if CL is launched from the command line. I tried using --verbose and --debug but it made no difference. I looked in various likely system log files and there's nothing in there either. It would be handy it output the process to stdout or a log file so I could see if it was failing on just one file or if it's throwing an exception.

Author:  Admin [ Thu Jul 23, 2020 1:35 pm ]
Post subject:  Re: Crash on project creation

Hi.

1) When some application crashes Ubuntu show error message with log information.
Could You, please, send it to us.

2) How do You try to enter or create the project?

3) Could You, please, try to open some small and not private project.

Thanks,
codelobster Team.

Author:  Guest [ Thu Jul 23, 2020 2:47 pm ]
Post subject:  Re: Crash on project creation

1) That's the odd thing, CL just stops and the usual Ubuntu crash dialogs don't appear. Maybe CL correctly exits after internally catching an exception? It creates and almost empty project file but when I load it in to CL the same thing happens.

2) Launch CL, select Project --> Create Project and select the directory with all the sources inside and click OK

3) I have successfully done this now for two other projects, one of which probably has more files than the project with this issue.

Author:  Admin [ Thu Jul 23, 2020 2:54 pm ]
Post subject:  Re: Crash on project creation

Hi.

So looks like the problem depends on your project.
May be it is possible to localize the problem: try to create a project based on some included folder only (not the root folder), another folder after that and so on?
We suppose that Codelobster stops on one of your folder or even some one file only.

Thanks,
Codelobster Team.

Author:  Guest [ Thu Jul 23, 2020 3:27 pm ]
Post subject:  Re: Crash on project creation

Found the issues. The loooong delay is caused by a directory with 25,000 HTML and PDF files.

The crash is caused by a .ts file called LearnTS.ts as follows:
Code:
class Student {
    fullName: string;
    constructor(public firstName: string, public middleInitial: string, public lastName: string) {
        this.fullName = firstName + " " + middleInitial + " " + lastName;
    }
}

interface Person {
    firstName: string;
    lastName: string;
}

function greeter(person: Person) {
    return "Hello, " + person.firstName + " " + person.lastName;
}

let user = new Student("Jane", "M.", "User");

document.body.textContent = greeter(user);

Author:  Admin [ Thu Jul 23, 2020 4:26 pm ]
Post subject:  Re: Crash on project creation

Hi.

We can't reproduce the problem :(

Does Codelobster crash if You open this file only?
If yes, then could You, please, send us this your file as a file (in the attachement).

Thanks,
Codelobster Team.

Author:  Admin [ Fri Jul 24, 2020 8:42 am ]
Post subject:  Re: Crash on project creation

Hi.

We have reproducing the problem and researching it now.

Thanks a lot,
Codelobster Team.

Author:  Admin [ Thu Aug 06, 2020 12:24 am ]
Post subject:  Re: Crash on project creation

Hi.

Could You, please, try the following version:
http://codelobsteride.com/download/code ... _crash.deb

Thanks,
Codelobster Team.

Author:  Guest [ Thu Dec 31, 2020 8:56 pm ]
Post subject:  Re: Crash on project creation

Sorry for the delay, yes, that build fixes the issue.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/