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

Frequent Crash - Reason: 'crashed', Code: '-2147483645' #131714

Closed
Stephen-Ross opened this issue Aug 26, 2021 · 9 comments · Fixed by #137241 or #143223
Closed

Frequent Crash - Reason: 'crashed', Code: '-2147483645' #131714

Stephen-Ross opened this issue Aug 26, 2021 · 9 comments · Fixed by #137241 or #143223
Assignees
Labels
fixed-in-electron-14 Issues fixed with Electron 14.x update freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues insiders-released Patch has been released in VS Code Insiders windows VS Code on Windows issues
Milestone

Comments

@Stephen-Ross
Copy link

I'm encountering a frequent and frustrating crash. This has been happening for around 6 months but I've been wary of opening a bug report.

I cannot reliably reproduce the issue, occasionally the app will crash as soon as I've opened it (and can happen repeatably on me attempting to open the app). Other times I'll be in the middle of working and it'll crash.

Actual Result:
On each occasion though I will get the message box that the window has crashed and that I can reopen it with the message reason: 'crashed', code: '-2147483645'.
image
When I am able to reopen the app I get the error that the Extension Host has crashed and would I like to restart it.

Expected Result:
VS Code doesn't crash when I'm in the middle of working and is able to be reliably opened.

Things I've Tried:

  • Full clean re-install. I nuked my VS Code install and then re-installed.
  • Running with all extensions disabled.
  • Tried running the insiders build.
    But none of these have allowed me to get to the bottom of the issue.

I have attached a dmp file that has been generated.
5166cc11-f576-4099-93b4-07a88e1b02fe.zip

I enjoy using VS Code, but I'm nearing the end of my patience with the continual crashes.

VS Code version: Code 1.59.1 (3866c35, 2021-08-19T11:56:46.957Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz (8 x 3600)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 31.94GB (8.90GB free)
Process Argv --crash-reporter-id b03ea020-f6e4-4bee-aab8-6807e777224c
Screen Reader no
VM 0%
Extensions (9)
Extension Author (truncated) Version
dart-code Dar 3.25.1
flutter Dar 3.25.0
csharp ms- 1.23.14
gradle-language nac 0.2.3
material-icon-theme PKi 4.10.0
vscode-protolint ple 0.6.0
errorlens use 3.4.0
licenser ymo 1.6.0
vscode-proto3 zxh 0.5.4
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
pythonvspyt639:30300192
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
pythonvsuse255:30340121
vscod805cf:30301675
pythonvspyt200:30340761
vscextlang:30333561
binariesv615:30325510
vsccppwt:30329788
pythonvssor306:30344512
bridge0708:30335490
pygetstartedc2:30351386
bridge0723:30353136
vsdyn478:30356813
vscus224cf:30358040
vssid140:30358036

@vscodebot
Copy link

vscodebot bot commented Aug 26, 2021

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@deepak1556
Copy link
Collaborator

Looks like you are hitting this check in startup initialization, very likely a cause of incorrect install. Can you provide the output of code --verbose to confirm. Thanks!

@deepak1556 deepak1556 added freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues info-needed Issue requires more information from poster windows VS Code on Windows issues labels Aug 27, 2021
@Stephen-Ross
Copy link
Author

Apologies as this is only happening on my work machine I didn't have access until this morning.

I have attached the output of code --verbose both when the application crashes on startup and from when it runs normally.
VS Verbose.zip

@MawRojas
Copy link

MawRojas commented Nov 1, 2021

I've had the same issue for quite a long time with different machines. Did you figure out what was causing it?

@deepak1556 deepak1556 added fixed-in-electron-14 Issues fixed with Electron 14.x update and removed info-needed Issue requires more information from poster labels Nov 2, 2021
@deepak1556
Copy link
Collaborator

Sorry for the delayed response, this is now blocked on a newer runtime update for further testing.

@goliafrs
Copy link

goliafrs commented Nov 8, 2021

Fresh install insiders, user setup, v1.63.

image

After synchronizing the settings and extensions, the error appears with the same code as in the issue:

image

Crashed 3-4 times per hour.
Very annoying.

@deepak1556
Copy link
Collaborator

@Patrick2812
Copy link

can someone explain what is electron 16 and how to update it?
As i am also having the same issue with vs code

@deepak1556 deepak1556 reopened this Feb 24, 2022
@deepak1556 deepak1556 added this to the March 2022 milestone Feb 24, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Apr 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
fixed-in-electron-14 Issues fixed with Electron 14.x update freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues insiders-released Patch has been released in VS Code Insiders windows VS Code on Windows issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants
@deepak1556 @goliafrs @MawRojas @Stephen-Ross @Patrick2812 and others