Skip to content

Cannot start VSCode due to issue with Electron framework #220147

@islimane

Description

@islimane

It happened to me after restarting my Mac. Then I uninstalled it and installed a new version hoping that solves the issue.

Does this issue occur when all extensions are disabled?: Yes

  • OS Version: macOS Big Sur
    version 11.7.10
    Macbook Air M1

Mac crash report:

Process:               Electron [4707]
Path:                  /Applications/Visual Studio Code.app/Contents/MacOS/Electron
Identifier:            com.microsoft.VSCode
Version:               1.91.0 (1.91.0)
Code Type:             ARM-64 (Native)
Parent Process:        ??? [1]
Responsible:           Electron [4707]
User ID:               501

Date/Time:             2024-07-06 14:39:34.851 +0200
OS Version:            macOS 11.7.10 (20G1427)
Report Version:        12
Anonymous UUID:        B2D3FCC1-C949-9CC3-8776-E4E698E9CF58


Time Awake Since Boot: 3700 seconds

System Integrity Protection: enabled

Crashed Thread:        0  CrBrowserMain  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

VM Regions Near 0:
--> 
    __TEXT                      104b30000-104b34000    [   16K] r-x/r-x SM=COW  /Applications/Visual Studio Code.app/Contents/MacOS/Electron

Thread 0 Crashed:: CrBrowserMain  Dispatch queue: com.apple.main-thread
0   com.github.Electron.framework 	0x00000001053671c0 node::FreeArrayBufferAllocator(node::ArrayBufferAllocator*) + 13756
1   com.github.Electron.framework 	0x00000001053671bc node::FreeArrayBufferAllocator(node::ArrayBufferAllocator*) + 13752
2   com.github.Electron.framework 	0x00000001063471b4 _$LT$font_types..tag..Tag$u20$as$u20$core..cmp..PartialEq$LT$$u5b$u8$u3b$$u20$4$u5d$$GT$$GT$::eq::h2db382261c616d4e + 787112
3   com.github.Electron.framework 	0x00000001063487b8 v8::Template::Set(v8::Local<v8::Name>, v8::Local<v8::Data>, v8::PropertyAttribute) + 344
4   com.github.Electron.framework 	0x000000010b882a94 napi_define_class + 1456
5   spdlog.node                   	0x000000011491b528 Napi::ObjectWrap<Logger>::DefineClass(Napi::Env, char const*, unsigned long, napi_property_descriptor const*, void*) + 432
6   spdlog.node                   	0x000000011491656c Logger::Init(Napi::Env, Napi::Object) + 556
7   spdlog.node                   	0x00000001148f14f8 Init(Napi::Env, Napi::Object) + 204
8   spdlog.node                   	0x00000001148f16e0 napi_register_module_v1 + 24
9   com.github.Electron.framework 	0x000000010b88b968 node::AsyncResource::CallbackScope::CallbackScope(node::AsyncResource*) + 3076
10  com.github.Electron.framework 	0x000000010b8aa5f8 node::binding::get_linked_module(char const*) + 4156
11  com.github.Electron.framework 	0x000000010b8699c4 node::SetCppgcReference(v8::Isolate*, v8::Local<v8::Object>, void*) + 36804
12  com.github.Electron.framework 	0x000000010b8a8dd8 node_module_register + 2056
13  ???                           	0x0000000127e105f8 0 + 4964025848
14  ???                           	0x0000000127e0dd7c 0 + 4964015484
15  ???                           	0x0000000127e0dd7c 0 + 4964015484
16  ???                           	0x0000000127e0dd7c 0 + 4964015484
17  ???                           	0x0000000120032674 0 + 4832044660
18  ???                           	0x0000000120010610 0 + 4831905296
19  ???                           	0x0000000120053dd8 0 + 4832181720
20  ???                           	0x000000012005481c 0 + 4832184348
21  ???                           	0x000000012002eac4 0 + 4832029380
22  ???                           	0x0000000127e0dd7c 0 + 4964015484
23  ???                           	0x0000000127e0dd7c 0 + 4964015484
24  ???                           	0x0000000127e0dd7c 0 + 4964015484
25  ???                           	0x0000000127e0dd7c 0 + 4964015484
26  ???                           	0x0000000127e0dd7c 0 + 4964015484
27  ???                           	0x0000000120010610 0 + 4831905296
28  ???                           	0x0000000120053dd8 0 + 4832181720
29  ???                           	0x000000012005481c 0 + 4832184348
30  ???                           	0x00000001200549f4 0 + 4832184820
31  ???                           	0x000000012005c67c 0 + 4832216700
32  ???                           	0x000000012005f384 0 + 4832228228
33  ???                           	0x0000000120060230 0 + 4832231984
34  ???                           	0x0000000120060990 0 + 4832233872
35  ???                           	0x000000012005d5fc 0 + 4832220668
36  ???                           	0x0000000120059310 0 + 4832203536
37  ???                           	0x0000000120017030 0 + 4831932464
38  ???                           	0x0000000127e0dd7c 0 + 4964015484
39  ???                           	0x0000000127e0dd7c 0 + 4964015484
40  ???                           	0x0000000127e0dd7c 0 + 4964015484
41  ???                           	0x0000000127f19368 0 + 4965110632
42  ???                           	0x0000000127e0ecdc 0 + 4964019420
43  ???                           	0x0000000127f8d574 0 + 4965586292
44  ???                           	0x0000000127e0dd7c 0 + 4964015484
45  ???                           	0x0000000127e0dd7c 0 + 4964015484
46  ???                           	0x0000000127e0dd7c 0 + 4964015484
47  ???                           	0x0000000127e0eb98 0 + 4964019096
48  ???                           	0x0000000127f8d574 0 + 4965586292
49  ???                           	0x0000000127e0dd7c 0 + 4964015484
50  ???                           	0x0000000127e0dd7c 0 + 4964015484
51  ???                           	0x0000000127e0dd7c 0 + 4964015484
52  ???                           	0x0000000127e0dd7c 0 + 4964015484
53  ???                           	0x0000000127e4c1b4 0 + 4964270516
54  ???                           	0x0000000127f1b5f8 0 + 4965119480
55  ???                           	0x0000000127e3b754 0 + 4964202324
56  ???                           	0x0000000127e0b618 0 + 4964005400
57  com.github.Electron.framework 	0x000000010645e53c v8::Unwinder::PCIsInV8(unsigned long, v8::MemoryRange const*, void*) + 4224
58  com.github.Electron.framework 	0x000000010645f12c v8::Unwinder::PCIsInV8(unsigned long, v8::MemoryRange const*, void*) + 7280
59  com.github.Electron.framework 	0x000000010645f280 v8::Unwinder::PCIsInV8(unsigned long, v8::MemoryRange const*, void*) + 7620
60  com.github.Electron.framework 	0x0000000106489404 v8::Unwinder::PCIsInV8(unsigned long, v8::MemoryRange const*, void*) + 180040
61  ???                           	0x0000000127e105f8 0 + 4964025848
62  ???                           	0x0000000120021a5c 0 + 4831976028
63  ???                           	0x0000000127e0b728 0 + 4964005672
64  ???                           	0x0000000127e0b418 0 + 4964004888
65  com.github.Electron.framework 	0x000000010645d77c v8::Unwinder::PCIsInV8(unsigned long, v8::MemoryRange const*, void*) + 704
66  com.github.Electron.framework 	0x000000010635deb8 v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*) + 384
67  com.github.Electron.framework 	0x000000010b829184 node::CallbackScope::~CallbackScope() + 1160
68  com.github.Electron.framework 	0x000000010b829428 node::CallbackScope::~CallbackScope() + 1836
69  com.github.Electron.framework 	0x000000010b83db00 node::EmitAsyncDestroy(node::Environment*, node::async_context) + 61336
70  com.github.Electron.framework 	0x00000001051c983c uv_tcp_simultaneous_accepts + 263628
71  com.github.Electron.framework 	0x000000010b9c3ee4 node::PromiseRejectCallback(v8::PromiseRejectMessage) + 234064
72  com.github.Electron.framework 	0x00000001051dd920 uv_signal_stop + 1468
73  com.github.Electron.framework 	0x00000001051d47d8 uv_run + 464
74  com.github.Electron.framework 	0x0000000105368114 node::FreeArrayBufferAllocator(node::ArrayBufferAllocator*) + 17680
75  com.github.Electron.framework 	0x00000001080953b8 v8_inspector::V8StackTraceId::ToString() + 21054724
76  com.github.Electron.framework 	0x00000001080b211c v8_inspector::V8StackTraceId::ToString() + 21172840
77  com.github.Electron.framework 	0x00000001080fc968 v8_inspector::V8StackTraceId::ToString() + 21478068
78  com.github.Electron.framework 	0x0000000105152d80 0x104f70000 + 1977728
79  com.github.Electron.framework 	0x00000001080fbaf0 v8_inspector::V8StackTraceId::ToString() + 21474364
80  com.apple.CoreFoundation      	0x000000018fad9d54 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
81  com.apple.CoreFoundation      	0x000000018fad9ca0 __CFRunLoopDoSource0 + 208
82  com.apple.CoreFoundation      	0x000000018fad998c __CFRunLoopDoSources0 + 268
83  com.apple.CoreFoundation      	0x000000018fad8314 __CFRunLoopRun + 820
84  com.apple.CoreFoundation      	0x000000018fad7868 CFRunLoopRunSpecific + 600
85  com.apple.HIToolbox           	0x0000000197a04b40 RunCurrentEventLoopInMode + 292
86  com.apple.HIToolbox           	0x0000000197a048b4 ReceiveNextEventCommon + 552
87  com.apple.HIToolbox           	0x0000000197a04674 _BlockUntilNextEventMatchingListInModeWithFilter + 72
88  com.apple.AppKit              	0x00000001922ce028 _DPSNextEvent + 836
89  com.apple.AppKit              	0x00000001922cc9c8 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1292
90  com.apple.AppKit              	0x00000001922be814 -[NSApplication run] + 596
91  com.github.Electron.framework 	0x00000001080fd690 v8_inspector::V8StackTraceId::ToString() + 21481436
92  com.github.Electron.framework 	0x00000001080fb4b4 v8_inspector::V8StackTraceId::ToString() + 21472768
93  com.github.Electron.framework 	0x00000001080b2c18 v8_inspector::V8StackTraceId::ToString() + 21175652
94  com.github.Electron.framework 	0x000000010807b550 v8_inspector::V8StackTraceId::ToString() + 20948636
95  com.github.Electron.framework 	0x0000000107327a5c v8_inspector::V8StackTraceId::ToString() + 6974376
96  com.github.Electron.framework 	0x00000001073294d0 v8_inspector::V8StackTraceId::ToString() + 6981148
97  com.github.Electron.framework 	0x000000010732547c v8_inspector::V8StackTraceId::ToString() + 6964680
98  com.github.Electron.framework 	0x00000001054e3e1c v8::CodeEvent::GetScriptLine() + 301028
99  com.github.Electron.framework 	0x00000001054e4f14 v8::CodeEvent::GetScriptLine() + 305372
100 com.github.Electron.framework 	0x00000001054e4db0 v8::CodeEvent::GetScriptLine() + 305016
101 com.github.Electron.framework 	0x00000001054e3634 v8::CodeEvent::GetScriptLine() + 299004
102 com.github.Electron.framework 	0x00000001054e37f8 v8::CodeEvent::GetScriptLine() + 299456
103 com.github.Electron.framework 	0x00000001051e5518 ElectronMain + 180
104 libdyld.dylib                 	0x000000018f9f9430 start + 4

Model: MacBookAir10,1, BootROM 6723.140.2, proc 8:4:4 processors, 16 GB, SMC 
Graphics: kHW_AppleM1Item, Apple M1, spdisplays_builtin
Memory Module: LPDDR4
AirPort: spairport_wireless_card_type_airport_extreme, wl0: Aug 18 2021 22:48:53 version 18.50.40.11.7.8.123 FWID 01-3ed0e3a2
Bluetooth: Version 8.0.5d7, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB 3.1 Bus
USB Device: USB3.1 Hub
USB Device: External USB 3.0
USB Device: USB2.0 Hub
USB Device: Keyboard Hub
USB Device: Apple Keyboard
USB Device: USB-C Digital AV Multiport Adapter
USB Device: USB 3.1 Bus
Thunderbolt Bus: MacBook Air, Apple Inc.
Thunderbolt Bus: MacBook Air, Apple Inc.

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions