electron: [Bug]: GPU process crashes when electron is in a folder with unicode characters
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Electron Version
14.0.0
What operating system are you using?
Windows
Operating System Version
Windows 10 21H1
What arch are you using?
x64
Last Known Working Electron version
13.4.0
Expected Behavior
I extracted electron and one of the parent folders contained a unicode character. I would expect electron to start regardless if there is a unicode character in the path to electron.
Actual Behavior
Electron does not open and prints the following text to the command line:
Microsoft Windows [Version 10.0.19043.1165]
(c) Microsoft Corporation. Alle Rechte vorbehalten.
C:\electron⚛️>electron.exe
C:\electron⚛️>
Electron 14.0.0 - Build cross platform desktop apps with JavaScript, HTML, and CSS
Usage: electron [options] [path]
A path to an Electron app may be specified. It must be one of the following:
- index.js file.
- Folder containing a package.json file.
- Folder containing an index.js file.
- .html/.htm file.
- http://, https://, or file:// URL.
Options:
-i, --interactive Open a REPL to the main process.
-r, --require Module to preload (option can be repeated).
-v, --version Print the version.
-a, --abi Print the Node ABI version.
(node:29828) electron: The default of nativeWindowOpen is deprecated and will be changing from false to true in Electron 15. See https://github.com/electron/electron/issues/28511 for more information.
(Use `electron --trace-warnings ...` to show where the warning was created)
[29828:0914/164827.234:ERROR:gpu_process_host.cc(962)] GPU process exited unexpectedly: exit_code=-1073741819
[29828:0914/164827.359:ERROR:gpu_process_host.cc(962)] GPU process exited unexpectedly: exit_code=-1073741819
[29828:0914/164827.486:ERROR:gpu_process_host.cc(962)] GPU process exited unexpectedly: exit_code=-1073741819
[29828:0914/164827.609:ERROR:gpu_process_host.cc(962)] GPU process exited unexpectedly: exit_code=-1073741819
[29828:0914/164827.719:ERROR:gpu_process_host.cc(962)] GPU process exited unexpectedly: exit_code=-1073741819
[29828:0914/164827.828:ERROR:gpu_process_host.cc(962)] GPU process exited unexpectedly: exit_code=-1073741819
C:\electron⚛️>
Testcase Gist URL
No response
Additional Information
No response
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 17 (4 by maintainers)
I tried all
appendSwitch
lines, none worked! I hate this but for people who want their app to work again, I just downgraded to electron v12 and everything worked.I see the exact
GPU process exited unexpectedly: exit_code=-1073741819
log, but without any unicode characters in the path.I have the same issue with Electron 15.2.0 (and 15.3.0) on Windows 10 Pro.
About 30% of the time my BrowserView doesn’t paint and a minute or so later I get the
Passthrough is not supported, GL is disabled, ANGLE is
error.I’ve tried the
disable-gpu-sandbox
appendSwitch in addition to disabling all sandboxing, but I still get the error.Please try below rows for solition: