You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create and destroy the tray instance multiple times with no issues or faulty behaviour.
Actual behavior
Create the tray instance and destroy it, one after the other. You may need to repeat these steps multiple times. The crash will eventually happen when destroying the tray instance. The app crash seems to happen randomly. From my experience, it may happen on the first time or only after multiple repetitions (7 or so). The app will crash with Received signal 11 SEGV_MAPERR followed by the stack dump.
How to reproduce
I've created a repository to reproduce the issue. There's only one branch and the instructions, as some other information, is in the README.md file at the root level. The tray instance has a context menu, built from the template, and the window has a button to create the instance. Lastly, the repository is based on the sample app provided by Electron.
Activity
microshine commentedon Nov 27, 2017
I've got the same problem
Electron: v1.7.6
OS: OS X 10.13.1
matt-way commentedon Nov 28, 2017
Not sure if exactly related, but I found that destroying the tray would crash on my machine due to a mouse tracking race condition.
See: #11272
Splode commentedon Mar 14, 2018
I'm encountering this issue as well.
Electron
v.1.7.5OS: OS X
10.13.3nalejandroveron commentedon Apr 25, 2018
I think that i've got it, just wrap the
.destroy()in asetTimeout()like this:LabDeve commentedon Jun 28, 2018
I've got the same problem...
Electron v.2.0.3
OS: OS X 10.13.5
digitalergonom commentedon Jul 4, 2018
Subscribing this, because we got the same issue here.
miniak commentedon Sep 2, 2018
Seems like a duplicate of #14036