Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random app close some time after start #1822

Closed
ctolkmit opened this issue Oct 13, 2020 · 2 comments · Fixed by #1844
Closed

Random app close some time after start #1822

ctolkmit opened this issue Oct 13, 2020 · 2 comments · Fixed by #1844
Milestone

Comments

@ctolkmit
Copy link

Description:

Either immediately or on a random time a day, the Rocket.Chat desktop app crashes and closes for me with the following stack trace:

 # rocketchat-desktop
[bugsnag] Loaded!
[bugsnag] Uncaught exception, the process will now terminate…
TypeError: Error processing argument at index 0, conversion failure from 
    at PowerMonitor.getSystemIdleState (electron/js2c/browser_init.js:109:804)
    at /opt/Rocket.Chat/resources/app.asar/app/main.js:3353:44
    at /opt/Rocket.Chat/resources/app.asar/app/main.js:607:9
    at dispatch (/opt/Rocket.Chat/resources/app.asar/node_modules/redux/lib/redux.js:228:7)
    at /opt/Rocket.Chat/resources/app.asar/app/main.js:61:16
    at /opt/Rocket.Chat/resources/app.asar/app/main.js:576:12
    at Object.dispatch (/opt/Rocket.Chat/resources/app.asar/node_modules/redux/lib/redux.js:644:28)
    at IpcMainImpl.<anonymous> (/opt/Rocket.Chat/resources/app.asar/app/main.js:48:13)
    at IpcMainImpl.emit (events.js:310:20)
    at IpcMainImpl.EventEmitter.emit (domain.js:482:12)

Steps to reproduce:

  1. Start Rocket.Chat desktop App
  2. Wait for crash

Expected behavior:

It just should keep running.

Actual behavior:

Window/App close and stack trace:

 # rocketchat-desktop
[bugsnag] Loaded!
[bugsnag] Uncaught exception, the process will now terminate…
TypeError: Error processing argument at index 0, conversion failure from 
    at PowerMonitor.getSystemIdleState (electron/js2c/browser_init.js:109:804)
    at /opt/Rocket.Chat/resources/app.asar/app/main.js:3353:44
    at /opt/Rocket.Chat/resources/app.asar/app/main.js:607:9
    at dispatch (/opt/Rocket.Chat/resources/app.asar/node_modules/redux/lib/redux.js:228:7)
    at /opt/Rocket.Chat/resources/app.asar/app/main.js:61:16
    at /opt/Rocket.Chat/resources/app.asar/app/main.js:576:12
    at Object.dispatch (/opt/Rocket.Chat/resources/app.asar/node_modules/redux/lib/redux.js:644:28)
    at IpcMainImpl.<anonymous> (/opt/Rocket.Chat/resources/app.asar/app/main.js:48:13)
    at IpcMainImpl.emit (events.js:310:20)
    at IpcMainImpl.EventEmitter.emit (domain.js:482:12)

Server Setup Information:

  • Version of Rocket.Chat Server: cannot tell, I am not admin
  • Operating System: cannot tell, I am not admin
  • Deployment Method: cannot tell, I am not admin
  • Number of Running Instances: cannot tell, I am not admin
  • DB Replicaset Oplog: cannot tell, I am not admin
  • NodeJS Version: cannot tell, I am not admin
  • MongoDB Version: cannot tell, I am not admin

Client Setup Information

  • Desktop App: Ubuntu Debian Package 3.0.2-1903, happened on previous versions as well
  • Operating System: Ubuntu 20.04.1 LTS, latest updates, running Gnome Desktop. error happened on previous versions as well, at least since 18.04 LTS

Additional context

none

Relevant logs:

No Logs available since App crashes immediately nearly always.

@Sing-Li Sing-Li transferred this issue from RocketChat/Rocket.Chat Oct 16, 2020
@tassoevan tassoevan added this to the 3.0.5 milestone Oct 17, 2020
@tassoevan
Copy link
Collaborator

Does it still happens at the current version?

@ctolkmit
Copy link
Author

With the current package version 3.0.4-1930 it no longer closes, the following exception is logged, however:

[bugsnag] Loaded!
Error occurred in handler for 'redux/action-dispatched': TypeError: Error processing argument at index 0, conversion failure from 
    at PowerMonitor.getSystemIdleState (electron/js2c/browser_init.js:109:804)
    at /opt/Rocket.Chat/resources/app.asar/app/main.js:3314:44
    at /opt/Rocket.Chat/resources/app.asar/app/main.js:620:9
    at dispatch (/opt/Rocket.Chat/resources/app.asar/node_modules/redux/lib/redux.js:228:7)
    at /opt/Rocket.Chat/resources/app.asar/app/main.js:74:16
    at /opt/Rocket.Chat/resources/app.asar/app/main.js:589:12
    at Object.dispatch (/opt/Rocket.Chat/resources/app.asar/node_modules/redux/lib/redux.js:644:28)
    at /opt/Rocket.Chat/resources/app.asar/app/main.js:61:13
    at Generator.next (<anonymous>)
    at /opt/Rocket.Chat/resources/app.asar/node_modules/tslib/tslib.js:114:75

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants