CodeLobster IDE

Free cross-platform PHP IDE (HTML, PHP, CSS, JavaScript, Python code editor) with support Drupal, Joomla, Twig, JQuery, BackboneJS, LaravelJS, Node.js, CodeIgniter, CakePHP, Laravel, Magento, MeteorJS, Phalcon, Symfony, VueJS, WordPress, Yii
It is currently Fri Mar 29, 2024 3:48 pm

All times are UTC




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Crash on project creation
PostPosted: Wed Jul 22, 2020 2:58 pm 
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


Report this post
Top
  
Reply with quote  
 Post subject: Re: Crash on project creation
PostPosted: Thu Jul 23, 2020 7:04 am 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3931
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Crash on project creation
PostPosted: Thu Jul 23, 2020 10:43 am 
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.


Report this post
Top
  
Reply with quote  
 Post subject: Re: Crash on project creation
PostPosted: Thu Jul 23, 2020 1:35 pm 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3931
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Crash on project creation
PostPosted: Thu Jul 23, 2020 2:47 pm 
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.


Report this post
Top
  
Reply with quote  
 Post subject: Re: Crash on project creation
PostPosted: Thu Jul 23, 2020 2:54 pm 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3931
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Crash on project creation
PostPosted: Thu Jul 23, 2020 3:27 pm 
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);


Report this post
Top
  
Reply with quote  
 Post subject: Re: Crash on project creation
PostPosted: Thu Jul 23, 2020 4:26 pm 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3931
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Crash on project creation
PostPosted: Fri Jul 24, 2020 8:42 am 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3931
Hi.

We have reproducing the problem and researching it now.

Thanks a lot,
Codelobster Team.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Crash on project creation
PostPosted: Thu Aug 06, 2020 12:24 am 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3931
Hi.

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

Thanks,
Codelobster Team.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Crash on project creation
PostPosted: Thu Dec 31, 2020 8:56 pm 
Sorry for the delay, yes, that build fixes the issue.


Last bumped by Anonymous on Thu Dec 31, 2020 8:56 pm.


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 159 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2016 phpBB Group