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

ElectronMail 4.12.2 Will not start on Windows (using latest gen Intel / Ryzen CPU) #412

Closed
TBTinker opened this issue Jun 9, 2021 · 4 comments
Labels

Comments

@TBTinker
Copy link

TBTinker commented Jun 9, 2021

Having an issue with ElectronMail v4.12.2 on Windows 10 build 19043.1052 where the application will not start.
Clicking the shortcut created by the installer or the main executable itself will result in the program running for about 2 seconds then immediately crashing. Sometimes it will come up with the master password setup screen for a second, but most of the time it comes up as a black window and force closes. This also creates a ghost icon in the taskbar that closes when moused over. Program worked fine before I upgraded my processor from a 2600x to a 5900x.

Windows Event viewer shows this:

Faulting application name: ElectronMail.exe, version: 4.12.2.0, time stamp: 0x605030b6
Faulting module name: ElectronMail.exe, version: 4.12.2.0, time stamp: 0x605030b6
Exception code: 0xc0000409
Fault offset: 0x0000000003b99fff
Faulting process id: 0x2760
Faulting application start time: 0x01d75d74194d8a5f
Faulting application path: C:\Users\Kev\AppData\Local\Programs\ElectronMail\ElectronMail.exe
Faulting module path: C:\Users\Kev\AppData\Local\Programs\ElectronMail\ElectronMail.exe
Report Id: 3097a123-2d00-4094-bab3-d30fe0d49261
Faulting package full name: 
Faulting package-relative application ID: 

Here is what I have tried to remedy the problem to no avail:

  • Reinstalling the program (For single user, for all users, as admin, etc.)
  • Installing an older version of the program (Previous versions of the application will not open at all and show no window.)
  • Launching the program with --disable-gpu
  • Increasing the memory value in the --js-flags="--max-old-space-size=12288" parameter
  • Changing Windows compatibility options/dpi options (Compatibility mode, scaling, as administrator)
  • Closing all running applications to check for software interference
  • Clean Windows install

Launching via command prompt with --enable-logging only shows this:

(node:15244) DeprecationWarning: file property is deprecated and will be removed in v5.
(Use `electronmail --trace-deprecation ...` to show where the warning was created)

Attached is the logfile created when verbose is set in the config.json
log.log

@vladimiry
Copy link
Owner

Thanks for the detailed report.

The recent https://github.com/electron/electron/releases/tag/v13.1.1 release fixed crashing on latest gen Intel and Ryzen processors. This is likely your case. The v4.12.2 app comes with @electron 13.0.1 (older/lower than v13.1.1).

I think I have saved somewhere the app packages assembled on @electron 13.1.1+. Will share if so for you to test it.

@vladimiry
Copy link
Owner

vladimiry commented Jun 9, 2021

The most recent v4.12.3 WIP build assembled from the master branch is uploaded here (the build log is here). This is a WIP/unreleased build, so I don't recommend using it on daily basis but I think it's going to work well. Changes:

  • Update @ProtonMail web clients stack (update to v4 stable clients stack)
  • Update @electron, 13.0.1 => 13.1.1 (so it should come with that ryzen fix).

@TBTinker
Copy link
Author

TBTinker commented Jun 9, 2021

Thank you for the test build. I can confirm that this build runs properly!

@vladimiry vladimiry changed the title ElectronMail 4.12.2 Will not start on Windows ElectronMail 4.12.2 Will not start on Windows (using latest gen Intel / Ryzen CPU) Jun 10, 2021
@vladimiry
Copy link
Owner

Closing the issues as resolved. No code change required since @electron update is already in the master branch. So it's a matter of publishing a new release. Thanks for the thorough report.

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

No branches or pull requests

2 participants