Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

The App Just Opening And Then show the app crashed! #22872

Open
TuNiDeVe opened this issue Aug 18, 2021 · 20 comments
Open

The App Just Opening And Then show the app crashed! #22872

TuNiDeVe opened this issue Aug 18, 2021 · 20 comments

Comments

@TuNiDeVe
Copy link

I Just Opening The Atom Editor And It Crashed After 30 sec.
Plz Fix!

From: TuNiDeVe

@phoebe-leong
Copy link

uhh

@phoebe-leong
Copy link

what operating system r u using?

@phoebe-leong
Copy link

and...is this reproducable?
any possible reasons as to why this happens?

@simonspa
Copy link

simonspa commented Sep 3, 2021

Same here, and I'm not sure how to produce some diagnostics for you to figure out what's going on. I do start atom from the terminal but since it detaches, there is no stack trace or similar produced.

@TuNiDeVe
Copy link
Author

TuNiDeVe commented Sep 3, 2021 via email

@simonspa
Copy link

simonspa commented Sep 3, 2021

From ~/.atom/nohup.cson

--2021-09-03 19:11:39--  https://atom.io/crash_reports
Resolving atom.io (atom.io)... 52.202.168.65, 54.237.133.81, 18.205.222.128, ...
Connecting to atom.io (atom.io)|52.202.168.65|:443... connected.
HTTP request sent, awaiting response... 204 No Content
2021-09-03 19:11:40 (0.00 B/s) - ‘/dev/fd/4’ saved [0]


Unexpected crash report id length
Failed to get crash dump id.
Report Id: 
Attempting to call a function in a renderer window that has been closed or released.
Function provided here: <embedded>:11:652489
Remote event names: blur, focus
Attempting to call a function in a renderer window that has been closed or released.
Function provided here: <embedded>:14:705427
Remote event names: crashed, destroyed
Cannot read property 'send' of null
TypeError: Cannot read property 'send' of null
    at /usr/share/atom/resources/app.asar/src/main-process/atom-window.js:295:38
    at new Promise (<anonymous>:null:null)
    at AtomWindow.prepareToUnload (/usr/share/atom/resources/app.asar/src/main-process/atom-window.js:281:39)
    at /usr/share/atom/resources/app.asar/src/main-process/atom-application.js:731:45
    at Array.map (<anonymous>:null:null)
    at App.<anonymous> (/usr/share/atom/resources/app.asar/src/main-process/atom-application.js:729:61)
    at App.emit (events.js:223:5)
    at App.<anonymous> (/usr/share/atom/resources/app.asar/src/main-process/atom-application.js:770:15)
    at App.emit (events.js:228:7)
    at WebContents.<anonymous> (/usr/share/atom/resources/app.asar/src/main-process/atom-window.js:258:30)

@TuNiDeVe
Copy link
Author

TuNiDeVe commented Sep 3, 2021 via email

@TuNiDeVe
Copy link
Author

TuNiDeVe commented Sep 3, 2021

what operating system r u using?

I using windows 10 newest and most updated version

@TuNiDeVe
Copy link
Author

TuNiDeVe commented Sep 3, 2021

and...is this reproducable?
any possible reasons as to why this happens?

No reason, Just installed it and it suddenly crashed, i tried anything plz help

@TuNiDeVe
Copy link
Author

TuNiDeVe commented Sep 3, 2021

And if there is an atom discord server plz sent me the link because I want to be updated

@phoebe-leong
Copy link

wellll try restarting your computer

@phoebe-leong
Copy link

i dont think there is a discord server sadly, we only have github

@TuNiDeVe
Copy link
Author

TuNiDeVe commented Sep 4, 2021

wellll try restarting your computer

Tried it many times…

@phoebe-leong
Copy link

oh :(

@phoebe-leong
Copy link

From ~/.atom/nohup.cson

--2021-09-03 19:11:39--  https://atom.io/crash_reports
Resolving atom.io (atom.io)... 52.202.168.65, 54.237.133.81, 18.205.222.128, ...
Connecting to atom.io (atom.io)|52.202.168.65|:443... connected.
HTTP request sent, awaiting response... 204 No Content
2021-09-03 19:11:40 (0.00 B/s) - ‘/dev/fd/4’ saved [0]


Unexpected crash report id length
Failed to get crash dump id.
Report Id: 
Attempting to call a function in a renderer window that has been closed or released.
Function provided here: <embedded>:11:652489
Remote event names: blur, focus
Attempting to call a function in a renderer window that has been closed or released.
Function provided here: <embedded>:14:705427
Remote event names: crashed, destroyed
Cannot read property 'send' of null
TypeError: Cannot read property 'send' of null
    at /usr/share/atom/resources/app.asar/src/main-process/atom-window.js:295:38
    at new Promise (<anonymous>:null:null)
    at AtomWindow.prepareToUnload (/usr/share/atom/resources/app.asar/src/main-process/atom-window.js:281:39)
    at /usr/share/atom/resources/app.asar/src/main-process/atom-application.js:731:45
    at Array.map (<anonymous>:null:null)
    at App.<anonymous> (/usr/share/atom/resources/app.asar/src/main-process/atom-application.js:729:61)
    at App.emit (events.js:223:5)
    at App.<anonymous> (/usr/share/atom/resources/app.asar/src/main-process/atom-application.js:770:15)
    at App.emit (events.js:228:7)
    at WebContents.<anonymous> (/usr/share/atom/resources/app.asar/src/main-process/atom-window.js:258:30)

this seems like a syntax error, try viewing the code if u can read it

@phoebe-leong
Copy link

then maybe ull be able to fix it, or at least suggest a fix to it

@TuNiDeVe
Copy link
Author

TuNiDeVe commented Sep 4, 2021 via email

@icecream17
Copy link
Contributor

icecream17 commented Sep 4, 2021

That's not a syntax error, it's a TypeError.

The error above says there's null.send here:
https://github.com/atom/atom/blob/master/src/main-process/atom-window.js#L295

@simonspa
Copy link

simonspa commented Sep 4, 2021

For me it appeared only for one project / in one folder. Deleting the file .tags in that folder solved it for me.

@Pysis868
Copy link

Pysis868 commented Jan 13, 2022

I have also seen some failed to resolve promise error when different processes of an Electron-based application could not operate successfully together, such as due to a GPU or other process crash for another application I was using with the same framework. Could see if one of these other issue threads helps: #22872

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

No branches or pull requests

6 participants
@Pysis868 @simonspa @icecream17 @phoebe-leong @TuNiDeVe and others