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

IDE 1.5.1 crashes w/o crash dialog box.
http://codelobster.com/forum/viewtopic.php?f=3&t=24595
Page 1 of 1

Author:  Ragnar [ Mon May 06, 2019 9:07 am ]
Post subject:  IDE 1.5.1 crashes w/o crash dialog box.

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];
    }

}

Author:  Admin [ Mon May 06, 2019 10:47 am ]
Post subject:  Re: IDE 1.5.1 crashes w/o crash dialog box.

Hi.

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

Thanks,
Codelobster Team.

Author:  Ragnar [ Mon May 06, 2019 12:34 pm ]
Post subject:  Re: IDE 1.5.1 crashes w/o crash dialog box.

Sure but it's unchaged since march 2019.

Attachments:
codelobster.log [76.46 KiB]
Downloaded 862 times

Author:  Ragnar [ Mon May 13, 2019 9:15 am ]
Post subject:  Re: IDE 1.5.1 crashes w/o crash dialog box.

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.

Author:  Ragnar [ Mon May 13, 2019 9:57 am ]
Post subject:  Re: IDE 1.5.1 crashes w/o crash dialog box.

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.

Author:  Admin [ Mon May 13, 2019 10:27 am ]
Post subject:  Re: IDE 1.5.1 crashes w/o crash dialog box.

Hi.

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

Many thanks,
Codelobster Team.

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