Visual Studio代码在启动上崩溃(代码:-1073741818)
昨天,Visual Studio代码(1.67.1)决定它无法启动(立即崩溃)并吐出错误代码-1073741818。我可以选择重新打开或关闭,但是无论选择哪种选项,都不会发生任何事情。认为这可能是我打开的文件/文件夹的问题,但没有成功打开任何文件/文件夹。试图禁用GPU,禁用扩展并重新安装,但都导致了相同的错误代码。试图移至原子,但奇怪的是,同样的问题也发生了。发现的原子和VS代码都基于电子,并且电子以前曾与NVIDIA驱动程序(目前运行的512.77)遇到问题,因此我尝试安装以前有效但没有成功的驱动程序的版本。我终于放弃了,将代码移到了另一个系统中,一切都可以完美无缺。
我的猜测是它与驾驶员有关,但我不确定如何解决。我能够在当天早些时候成功使用VS代码,没有任何问题。该系统进入了待机模式并在返回后,问题开始了。
Yesterday, Visual Studio Code (1.67.1) decided that it was unable to start (crashes immediately) and spits out the error code -1073741818. I have the option to reopen or close but nothing happens regardless of the option chosen. Thought it might be an issue with the file/folder I was opening but no success opening any files/folders at all. Tried to disable GPU, disable extensions and re-install but all led to the same error code. Tried to move to Atom, but, oddly enough, the same issue occurred. Discovered Atom and VS Code are both based on Electron and that Electron has previously had issues with Nvidia drivers (currently running 512.77) so I tried to install previous versions of the drivers that were working but with no success. I finally gave up and moved the code to another system and everything works flawlessly.
My guess is it is driver-related, but I am not sure how to resolve it. I was able to successfully use VS Code earlier in the day with no issues. The system went into stand-by mode and upon return, the issue began.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
旧版本,
如果您最近遇到了这个问题,请恢复为Linux用户的
试图运行
以恢复最后一个更新(并没有崩溃)。
如果这不起作用,然后运行
最新版本(不会崩溃),
以安装Windows或Mac用户的
只是卸载了当前VS代码,然后从 github vscode版本
If you faced this issue recently, Reverting to an older version
For Linux users
Try to run
To revert the last update ( which wasn't crashing ).
If this doesn't work, then run
To install the recent version (that doesn't crash )
For Windows or Mac users
Just uninstall the current vs code, and reinstall an older version from GitHub VScode releases
请检查您是否安装了可能导致VSCODE崩溃的任何其他扩展。
我的VS代码在打开 时崩溃
Please check if you've installed any additional extensions which may be causing the VSCode to crash.
My VS code keeps crashing when opening it
我认为这是由Visual Studio代码的损坏安装引起的,尝试重新启动您的计算机,也许可以通过转到 https://code.visualstudio.com 。
如果没有帮助,也许可以尝试在此处提交VS代码GITHUB存储库: https://github.com /Microsoft/vscode 。
I think this is caused by an corrupt installation of Visual Studio Code, try to restart your computer and maybe reinstall VS Code by going to, https://code.visualstudio.com.
If that does not help maybe try to submit an issue on the VS Code GitHub repository here: https://github.com/microsoft/vscode.