vscode: v1.40.0 Crashing on Startup (Windows 10)
The update to electron 6 causes crashing on Windows 10. (I’ve had this happen with my own electron app as well; updating to electron 7 solved it)
- VSCode Version: v1.40.0
- OS Version: Windows 10
Steps to Reproduce:
- Update / Install (first updated then tried complete reinstall)
- Try running (popup “The Window has crashed”)
Does this issue occur when all extensions are disabled?: Yes Happens on a clean install as well!
PS C:\Users\UserName> &'C:\Users\UserName\AppData\Local\Programs\Microsoft VS Code\Code.exe'
PS C:\Users\UserName>
[main 2019-11-12T10:14:36.014Z] update#setState idle
Windows PowerShell[10256]: ../../third_party/electron_node/src/inspector_agent.cc:810: Assertion `(client_) != nullptr' failed.
1: 00007FF70454C9E2 node::EmitAsyncDestroy+11839202
2: 00007FF7039D9A96 node::Abort+22
3: 00007FF7039D9623 node::Assert+131
4: 00007FF7039E44BD node::inspector::Agent::Connect+253
5: 00007FF70460C829 uv_udp_set_multicast_loop+457321
6: 00007FF70460DAA7 uv_udp_set_multicast_loop+462055
7: 00007FF7039FA294 uv_loop_delete+6724
8: 00007FF7039FD2E4 node::BootstrapEnvironment+52
9: 00007FF7039FD24C node::CreateEnvironment+268
10: 00007FF7039F9875 uv_loop_delete+4133
11: 00007FF7039EF185 uv_key_set+28101
12: 00007FF704591409 uv_translate_sys_error+206665
13: 00007FF70396155D uv_fs_get_statbuf+5917277
14: 00007FF702C51879 uv_cond_broadcast+62537
15: 00007FF7032CF879 node::AsyncResource::get_async_id+2248441
16: 00007FF702C7ACD0 uv_cond_broadcast+231584
17: 00007FF702C57FB5 uv_cond_broadcast+88965
18: 00007FF702C582E8 uv_cond_broadcast+89784
19: 00007FF70333B962 node::AsyncResource::get_async_id+2691042
20: 00007FF70458FE4B uv_translate_sys_error+201099
21: 00007FF70395BF67 uv_fs_get_statbuf+5895271
22: 00007FF7040466CF node::EmitAsyncDestroy+6570959
23: 00007FF703699144 uv_fs_get_statbuf+2999876
24: 00007FF703695708 uv_fs_get_statbuf+2984968
25: 00007FF703694964 uv_fs_get_statbuf+2981476
26: 00007FF70369754B uv_fs_get_statbuf+2992715
27: 00007FF7036A5C66 uv_fs_get_statbuf+3051878
28: 00007FF7033414FF node::AsyncResource::get_async_id+2714495
29: 00007FF70395572B uv_fs_get_statbuf+5868587
30: 00007FF70399D1F1 uv_fs_get_statbuf+6162161
31: 00007FF70399D039 uv_fs_get_statbuf+6161721
32: 00007FF703954C5C uv_fs_get_statbuf+5865820
33: 00007FF703954430 uv_fs_get_statbuf+5863728
34: 00007FF700AB6A12 node::InternalCallbackScope::Failed+312674
35: 00007FF70399C68A uv_fs_get_statbuf+6159242
36: 00007FF702478FB0 GetHandleVerifier+635376
37: 00007FF703B24AF1 node::EmitAsyncDestroy+1189873
38: 00007FF703B24B74 node::EmitAsyncDestroy+1190004
39: 00007FF702376BB0 uv_cond_signal+11648
40: 00007FF702385D26 uv_cond_signal+73462
41: 00007FF7023859CC uv_cond_signal+72604
42: 00007FF7023393BC uv_loadavg+855692
43: 00007FF7023865E6 uv_cond_signal+75702
44: 00007FF70235C2CE uv_os_getpid+66926
45: 00007FF70398B38D uv_fs_get_statbuf+6088845
46: 00007FF700EC24DC v8::String::Value::operator*+331020
47: 00007FF702B4668A IsSandboxedProcess+204602
48: 00007FF700EC1CE6 v8::String::Value::operator*+328982
49: 00007FF7006E13BF Ordinal0+5055
50: 00007FF70535D342 node::AsyncResource::CallbackScope::CallbackScope+4046130
51: 00007FFA4D077BD4 BaseThreadInitThunk+20
52: 00007FFA4D8CCED1 RtlUserThreadStart+33
[main 2019-11-12T10:14:36.281Z] [VS Code]: render process crashed!
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 25 (9 by maintainers)
@bpasero I tried the Windows exploration build; and aside from a few benign warnings (see below) it works perfectly fine. In short, if this is the same version, just built against electron 7.0.1 then this confirms the suspicion of this being an issue with electron v6.
There’s a menu item on the home page called ‘Updates’ (between ‘Docs’ and ‘Blog’) On the resulting page (currently https://code.visualstudio.com/updates/v1_40 ) you have a list of months on the left side. I chose ‘September 2019’, finding a link (on the third line of the page) to revert back to v1.39.2