CodeLobster IDE

Free cross-platform PHP IDE (HTML, PHP, CSS, JavaScript code editor) with support Drupal, Joomla, Twig, JQuery, BackboneJS, LaravelJS, Node.js, Fhalcon, CodeIgniter, CakePHP, Laravel, Magento, MeteorJS, Phalcon, Symfony, VueJS, WordPress, Yii
It is currently Sun Dec 08, 2019 2:34 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: IDE 1.5.1 crashes w/o crash dialog box.
PostPosted: Mon May 06, 2019 9:07 am 
Offline

Joined: Thu Jul 17, 2008 3:07 pm
Posts: 75
The crash happens when i'm trying to edit one particular file, the IDE freezes for a few seconds and just closes.
The module responcible for crash according to Win10 Events Viewer is ucrtbase.dll, here are some details:

Log Name: Application
Source: Application Error
Date: 5/6/2019 11:35:59 AM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: computer-name
Description:
Faulting application name: CodeLobsterIDE.exe, version: 1.0.0.1, time stamp: 0x5c7811e0
Faulting module name: ucrtbase.dll, version: 10.0.17134.319, time stamp: 0xc1f0557a
Exception code: 0xc0000005
Fault offset: 0x0005d869
Faulting process id: 0xd18
Faulting application start time: 0x01d503e68d55f515
Faulting application path: C:\Program Files (x86)\Codelobster Software\CodeLobster IDE\CodeLobsterIDE.exe
Faulting module path: C:\WINDOWS\System32\ucrtbase.dll
Report Id: 9c9ef142-3fe6-4db7-bb88-a3d4d236c026
Faulting package full name:
Faulting package-relative application ID:

And here is the code of that particular file:

Code:
<?php

namespace app\controllers;

use Yii;
use yii\web\Controller;

/**
* Social auth controller for User module
*/
class AuthController extends \amnah\yii2\user\controllers\AuthController 
{
   public function init() {
      parent::init();
   }

    /**
     * Set info for google registration
     * @param array $attributes
     * @return array [$user, $profile]
     */
    protected function setInfoGoogle($attributes)
    {
        /** @var \amnah\yii2\user\models\User $user */
        /** @var \amnah\yii2\user\models\Profile $profile */
        $user = $this->module->model("User");
        $profile = $this->module->model("Profile");

        $user->email = (!empty($attributes["email"])) ? $attributes["email"] : $attributes["emails"][0]["value"];
        $profile->full_name = (!empty($attributes["name"])) ? $attributes["name"] : "{$attributes["name"]["givenName"]} {$attributes["name"]["familyName"]}";

        return [$user, $profile];
    }

}


Top
 Profile  
 
 Post subject: Re: IDE 1.5.1 crashes w/o crash dialog box.
PostPosted: Mon May 06, 2019 10:47 am 
Offline
Site Admin

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

Could You, please, send us the following log-file:
C:\Users\[User]\AppData\Roaming\CodelobsterIDE\codelobster.log

Thanks,
Codelobster Team.


Top
 Profile  
 
 Post subject: Re: IDE 1.5.1 crashes w/o crash dialog box.
PostPosted: Mon May 06, 2019 12:34 pm 
Offline

Joined: Thu Jul 17, 2008 3:07 pm
Posts: 75
Sure but it's unchaged since march 2019.


Attachments:
codelobster.log [76.46 KiB]
Downloaded 475 times
Top
 Profile  
 
 Post subject: Re: IDE 1.5.1 crashes w/o crash dialog box.
PostPosted: Mon May 13, 2019 9:15 am 
Offline

Joined: Thu Jul 17, 2008 3:07 pm
Posts: 75
The same behavior when i'm trying to ctrl+click one particular method. This time it was yii2 module "machour\yii2\notifications", the steps to reproduce:

1. Install the module via composer;
2. Do some configurations just as module's docs sais; /* could be skipped i suppose */
3. Go to modules model "machour\yii2\notifications\modelsNotification" proceed to the line 106 ( return NotificationsModule::notify(new $class(), $key, $user_id, $key_id, $type); ) and try to ctrl+click the notify method of NotificationsModule class. Tadam! The IDE closes w/o any dialog boxes.


Top
 Profile  
 
 Post subject: Re: IDE 1.5.1 crashes w/o crash dialog box.
PostPosted: Mon May 13, 2019 9:57 am 
Offline

Joined: Thu Jul 17, 2008 3:07 pm
Posts: 75
jeez, it' really annoying.
Another case of the same error: ctrl+click widget() method somewhere where the machour\yii2\notifications\widgets\NotificationsWidget::widget() called;
Looke https://github.com/machour/yii2-notific ... s/Usage.md for details.


Top
 Profile  
 
 Post subject: Re: IDE 1.5.1 crashes w/o crash dialog box.
PostPosted: Mon May 13, 2019 10:27 am 
Offline
Site Admin

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

Our next version 1.6. will not have this bug.
Please, wait about several weeks.

Many thanks,
Codelobster Team.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot 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:  
cron
Powered by phpBB © 2016 phpBB Group