Crash when notification appears
The browser crashes when the WhatsApp webapp (don't know if other sites is affected) pushes a desktop notification. The notification appears, and the browser immediately crashes.
I have ubuntu x64 16.04, and Min 1.4.0-1.
This happens whenever the Notification API is used.
However, I can only reproduce it in Min - the Electron demo app doesn't crash.
I have also encountered this bug with the Gmail desktop push notifications.
I have OSX Yosemite 10.10.5, and Min 1.4.1
This appears to only crash sometimes now, which makes it more difficult to reproduce.
Can you try running Min with the latest version of Electron (https://github.com/electron/electron/releases/tag/v1.3.5), and see if it still crashes?
@PalmerAL, how can I run Min with a specific version of Electron?
@fulopm You can download Electron from https://github.com/electron/electron/releases, and then run /path/to/electron /path/to/min (where /path/to/electron is the electron binary, and /path/to/min is a copy of the min repository).
Interestingly, Electron 1.4.5, which was just released yesterday, includes "Fixed a crash when creating notifications on a session that is using a permission request handler", which sounds like it could be what's causing this.
Hi, got the same bug with a "segmentation fault" that causes min to close.
@Elm7 Does this happen when notifications are supposed to appear? It's possible that the crashes you are having could be a different issue.
@PalmerAL Hi, this indeed happens when notifications are supposed to appear. I am using debian jessie and latest Min. With Firefox notifications work properly. I do not know how to disable them in Min.
@Elm7 OK, thanks for clarifying. This is fixed in the newest version of Electron, which will be included in the next Min release (probably 2-3 weeks). If you don't want to wait until then, you can build Min yourself after changing the version of electron used to 1.4.10 on this line.
I think this is fixed in Min 1.5.1; can you try it and make sure?
Hello, thanks. Min seems stable now, but I can not make sure because for a reason I dunno notifications are not showing up now even with firefox so I can not test min new vesion stability. I'll come by if I can test it later.
Going to close this since it appears to have been fixed in Electron; feel free to reopen if you are still having this issue.