vscode: macOS kernel panic

Possibly related to #63588

It looks like mac os crash was caused by VSCode. I dont remember if i was working in VScode at the time, but im sure it was open.

My VSCode info. I update VScode ASAP, so today i updated it as well, but i dont remember if the crash happened before or after this update.

VSCode info:

Version: 1.41.0
Commit: 9579eda04fdb3a9bba2750f15193e5fafe16b959
Date: 2019-12-11T17:58:38.338Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Darwin x64 18.7.0

System information:

CPUs | Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz (8 x 2500)
-- | --
GPU Status | 2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_offsurface_control: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_offwebgl: enabledwebgl2: enabled
Load (avg) | 2, 2, 2
Memory (System) | 16.00GB (3.13GB free)
Process Argv | -psn_0_49164
Screen Reader | no
VM | 0%

Extensions info:


Extension | Author (truncated) | Version
-- | -- | --
project-manager | ale | 10.9.1
vscode-tailwindcss | bra | 0.2.0
bracket-pair-colorizer | Coe | 1.0.61
erb | Cra | 0.0.1
vscode-eslint | dba | 1.9.1
EditorConfig | Edi | 0.14.3
prettier-vscode | esb | 3.11.0
auto-close-tag | for | 0.5.6
graphql-for-vscode | kum | 1.15.3
sublime-keybindings | ms- | 4.0.6
code-settings-sync | Sha | 3.4.3
slim | sia | 0.1.2
vscode-fileutils | sle | 3.0.0
vscode-wrap-console-log-simple | woo | 1.6.7
markdown-all-in-one | yzh | 2.6.1
vscode-open-in-github | ziy | 1.3.6

Kernel panic info:

Anonymous UUID:       2FB0841E-C838-273A-619F-F9AA2E9DB23B

Fri Dec 13 11:03:30 2019

*** Panic Report ***
panic(cpu 4 caller 0xffffff800c0dc9bd): Kernel trap at 0xffffff7f8e69b4ed, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0x0000000000000000, CR3: 0x000000045ba36130, CR4: 0x00000000001626e0
RAX: 0x0000000010220001, RBX: 0x0000000010160101, RCX: 0x0000000010160000, RDX: 0x0000000000000000
RSP: 0xffffff922127b8c0, RBP: 0xffffff922127b910, RSI: 0xffffff922127b8d4, RDI: 0xffffff804f976cf0
R8:  0xffffff803131d450, R9:  0x0000000000000000, R10: 0xffffff81ca8bd070, R11: 0x0000000000000000
R12: 0x0000000010060101, R13: 0x0000000010120001, R14: 0x0000000031abc101, R15: 0xffffff922127b8d4
RFL: 0x0000000000010202, RIP: 0xffffff7f8e69b4ed, CS:  0x0000000000000008, SS:  0x0000000000000010
Fault CR2: 0x0000000000000000, Error code: 0x0000000000000002, Fault CPU: 0x4, PL: 0, VF: 0

Backtrace (CPU 4), Frame : Return Address
0xffffff922127b390 : 0xffffff800bfaf57d 
0xffffff922127b3e0 : 0xffffff800c0eb065 
0xffffff922127b420 : 0xffffff800c0dc79a 
0xffffff922127b490 : 0xffffff800bf5c9d0 
0xffffff922127b4b0 : 0xffffff800bfaef97 
0xffffff922127b5d0 : 0xffffff800bfaede3 
0xffffff922127b640 : 0xffffff800c0dc9bd 
0xffffff922127b7b0 : 0xffffff800bf5c9d0 
0xffffff922127b7d0 : 0xffffff7f8e69b4ed 
0xffffff922127b910 : 0xffffff7f8d0cff84 
0xffffff922127b950 : 0xffffff7f8d0d0496 
0xffffff922127b980 : 0xffffff7f8d0d6c36 
0xffffff922127b9c0 : 0xffffff7f8e6a0eef 
0xffffff922127b9f0 : 0xffffff7f8d0cd608 
0xffffff922127ba80 : 0xffffff800c68793c 
0xffffff922127bae0 : 0xffffff800c685b60 
0xffffff922127bb30 : 0xffffff800c68eea2 
0xffffff922127bc70 : 0xffffff800c0974b6 
0xffffff922127bd80 : 0xffffff800bfb4dbc 
0xffffff922127bdd0 : 0xffffff800bf8fb31 
0xffffff922127be50 : 0xffffff800bfa424e 
0xffffff922127bef0 : 0xffffff800c0c26d7 
0xffffff922127bfa0 : 0xffffff800bf5d1b6 
      Kernel Extensions in backtrace:
         com.apple.iokit.IOAcceleratorFamily2(404.14)[B90F7E9A-415C-38E6-BA28-823B4C530021]@0xffffff7f8d0c8000->0xffffff7f8d16efff
            dependency: com.apple.driver.AppleMobileFileIntegrity(1.0.5)[17A7EC3A-8985-3FD5-B08E-F1EF3DBE2ABC]@0xffffff7f8cf03000
            dependency: com.apple.iokit.IOSurface(255.6.1)[DAEF78DB-6C43-35B5-A554-7B2F302C6352]@0xffffff7f8d044000
            dependency: com.apple.iokit.IOPCIFamily(2.9)[4CEDE29C-2826-337B-8A0B-00C6F5270D9B]@0xffffff7f8c895000
            dependency: com.apple.iokit.IOGraphicsFamily(530.67)[C8F225BC-5B1C-343F-95D0-8E0DED5D740D]@0xffffff7f8d068000
            dependency: com.apple.iokit.IOReportFamily(47)[B0D3B0E7-4325-3EE3-817A-AD594AB286A6]@0xffffff7f8d0c1000
         com.apple.driver.AppleIntelHD5000Graphics(12.1)[C8FC723D-0F84-3BAF-B4A1-CB3AB22AA715]@0xffffff7f8e660000->0xffffff7f8e6dafff
            dependency: com.apple.iokit.IOSurface(255.6.1)[DAEF78DB-6C43-35B5-A554-7B2F302C6352]@0xffffff7f8d044000
            dependency: com.apple.iokit.IOPCIFamily(2.9)[4CEDE29C-2826-337B-8A0B-00C6F5270D9B]@0xffffff7f8c895000
            dependency: com.apple.iokit.IOGraphicsFamily(530.67)[C8F225BC-5B1C-343F-95D0-8E0DED5D740D]@0xffffff7f8d068000
            dependency: com.apple.iokit.IOAcceleratorFamily2(404.14)[B90F7E9A-415C-38E6-BA28-823B4C530021]@0xffffff7f8d0c8000

BSD process name corresponding to current thread: Code Helper (GPU

Mac OS version:
18G1012

Kernel version:
Darwin Kernel Version 18.7.0: Sat Oct 12 00:02:19 PDT 2019; root:xnu-4903.278.12~1/RELEASE_X86_64
Kernel UUID: DFB5D0E2-3B41-3647-A48B-D704AFCC06B4
Kernel slide:     0x000000000bc00000
Kernel text base: 0xffffff800be00000
__HIB  text base: 0xffffff800bd00000
System model name: MacBookPro11,5 (Mac-06F11F11946D27C5)

System uptime in nanoseconds: 477811299589852
last loaded kext at 476407762251159: com.apple.driver.AppleUSBAudio	315.6 (addr 0xffffff7f907e4000, size 413696)
last unloaded kext at 476501565110143: com.joshuawise.kexts.HoRNDIS	6 (addr 0xffffff7f907d4000, size 28672)
loaded kexts:
org.virtualbox.kext.VBoxNetAdp	6.0.14
org.virtualbox.kext.VBoxNetFlt	6.0.14
org.virtualbox.kext.VBoxUSB	6.0.14
org.virtualbox.kext.VBoxDrv	6.0.14
com.bitgapp.eqMac2Driver	2.0
com.intel.driver.EnergyDriver	2.0
com.apple.fileutil	20.036.15
com.apple.filesystems.autofs	3.0
com.apple.driver.AGPM	110.25.11
com.apple.driver.X86PlatformShim	1.0.0
com.apple.driver.ApplePlatformEnabler	2.7.0d0
com.apple.filesystems.ntfs	3.13
com.apple.driver.AppleHDA	282.54
com.apple.driver.AppleUpstreamUserClient	3.6.5
com.apple.kext.AMDFramebuffer	2.1.1
com.apple.kext.AMDRadeonX4000	2.1.1
com.apple.driver.AudioAUUC	1.70
com.apple.driver.AppleGraphicsDevicePolicy	3.50.14
com.apple.AGDCPluginDisplayMetrics	3.50.14
com.apple.driver.AppleHV	1
com.apple.iokit.IOUserEthernet	1.0.1
com.apple.iokit.IOBluetoothSerialManager	6.0.14d3
com.apple.driver.pmtelemetry	1
com.apple.Dont_Steal_Mac_OS_X	7.0.0
com.apple.driver.AGDCBacklightControl	3.50.14
com.apple.driver.AppleIntelHD5000Graphics	12.1.0
com.apple.driver.eficheck	1
com.apple.kext.AMD7000Controller	2.1.1
com.apple.driver.AppleIntelFramebufferAzul	12.1.0
com.apple.iokit.BroadcomBluetooth20703USBTransport	6.0.14d3
com.apple.driver.AppleLPC	3.1
com.apple.driver.AppleOSXWatchdog	1
com.apple.driver.AppleSMCLMU	212
com.apple.driver.AppleIntelSlowAdaptiveClocking	4.0.0
com.apple.driver.AppleCameraInterface	6.8.0
com.apple.driver.AppleMCCSControl	1.5.9
com.apple.driver.AppleMuxControl	3.50.14
com.apple.driver.AppleThunderboltIP	3.1.2
com.apple.driver.AppleTopCaseHIDEventDriver	138.4
com.apple.driver.AppleUSBTopCaseDriver	138.4
com.apple.driver.AppleUSBCardReader	456.260.3
com.apple.filesystems.apfs	945.275.8
com.apple.driver.AirPort.BrcmNIC	1400.1.1
com.apple.driver.AppleAHCIPort	329.260.5
com.apple.driver.AppleVirtIO	2.1.3
com.apple.filesystems.hfs.kext	407.200.4
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless	1.0.0d1
com.apple.BootCache	40
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib	1.0.0
com.apple.AppleSystemPolicy	1.0
com.apple.private.KextAudit	1.0
com.apple.driver.AppleSmartBatteryManager	161.0.0
com.apple.driver.AppleHPET	1.8
com.apple.driver.AppleACPIButtons	6.1
com.apple.driver.AppleRTC	2.0
com.apple.driver.AppleSMBIOS	2.1
com.apple.driver.AppleACPIEC	6.1
com.apple.driver.AppleAPIC	1.7
com.apple.nke.applicationfirewall	202
com.apple.security.TMSafetyNet	8
com.apple.iokit.IOUSBUserClient	900.4.2
com.apple.kext.triggers	1.0
com.apple.driver.DspFuncLib	282.54
com.apple.kext.OSvKernDSPLib	528
com.apple.kext.AMDRadeonX4030HWLibs	1.0
com.apple.kext.AMDRadeonX4000HWServices	2.1.1
com.apple.iokit.IOAVBFamily	760.6
com.apple.plugin.IOgPTPPlugin	740.2
com.apple.iokit.IOEthernetAVBController	1.1.0
com.apple.iokit.IOSkywalkFamily	1
com.apple.driver.AppleSSE	1.0
com.apple.AppleGPUWrangler	3.50.14
com.apple.driver.AppleBacklightExpert	1.1.0
com.apple.iokit.IONDRVSupport	530.51
com.apple.kext.AMDSupport	2.1.1
com.apple.iokit.IOAcceleratorFamily2	404.14
com.apple.iokit.IOSurface	255.6.1
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport	6.0.14d3
com.apple.iokit.IOBluetoothHostControllerUSBTransport	6.0.14d3
com.apple.iokit.IOBluetoothHostControllerTransport	6.0.14d3
com.apple.driver.AppleHDAController	282.54
com.apple.iokit.IOHDAFamily	282.54
com.apple.driver.X86PlatformPlugin	1.0.0
com.apple.driver.IOPlatformPluginFamily	6.0.0d8
com.apple.iokit.IOSlowAdaptiveClockingFamily	1.0.0
com.apple.driver.AppleSMBusController	1.0.18d1
com.apple.AppleGraphicsDeviceControl	3.50.14
com.apple.iokit.IOGraphicsFamily	530.67
com.apple.driver.AppleGraphicsControl	3.50.14
com.apple.driver.AppleActuatorDriver	2450.1
com.apple.driver.AppleHSBluetoothDriver	138.4
com.apple.driver.IOBluetoothHIDDriver	6.0.14d3
com.apple.iokit.IOBluetoothFamily	6.0.14d3
com.apple.driver.AppleHIDKeyboard	208
com.apple.driver.AppleMultitouchDriver	2450.1
com.apple.driver.AppleInputDeviceSupport	2440.2
com.apple.driver.usb.IOUSBHostHIDDevice	1.2
com.apple.iokit.IOAudioFamily	206.5
com.apple.vecLib.kext	1.2.0
com.apple.driver.usb.networking	5.0.0
com.apple.driver.usb.AppleUSBHostCompositeDevice	1.2
com.apple.iokit.IOAHCIBlockStorage	301.270.1
com.apple.iokit.IO80211Family	1200.12.2
com.apple.driver.mDNSOffloadUserClient	1.0.1b8
com.apple.driver.corecapture	1.0.4
com.apple.driver.usb.AppleUSBXHCIPCI	1.2
com.apple.driver.usb.AppleUSBXHCI	1.2
com.apple.iokit.IOAHCIFamily	288
com.apple.iokit.IOSerialFamily	11
com.apple.filesystems.hfs.encodings.kext	1
com.apple.driver.AppleThunderboltDPInAdapter	5.6.9
com.apple.driver.AppleThunderboltDPAdapterFamily	5.6.9
com.apple.driver.AppleThunderboltPCIDownAdapter	2.1.5
com.apple.driver.AppleThunderboltNHI	4.7.9
com.apple.iokit.IOThunderboltFamily	6.8.6
com.apple.driver.usb.AppleUSBHostPacketFilter	1.0
com.apple.iokit.IOUSBFamily	900.4.2
com.apple.driver.AppleUSBHostMergeProperties	1.2
com.apple.driver.AppleEFINVRAM	2.1
com.apple.driver.AppleEFIRuntime	2.1
com.apple.iokit.IOSMBusFamily	1.1
com.apple.iokit.IOHIDFamily	2.0.0
com.apple.security.quarantine	3
com.apple.security.sandbox	300.0
com.apple.kext.AppleMatch	1.0.0d1
com.apple.driver.DiskImages	493.0.0
com.apple.driver.AppleFDEKeyStore	28.30
com.apple.driver.AppleEffaceableStorage	1.0
com.apple.driver.AppleKeyStore	2
com.apple.driver.AppleUSBTDM	456.260.3
com.apple.driver.AppleMobileFileIntegrity	1.0.5
com.apple.iokit.IOUSBMassStorageDriver	145.200.2
com.apple.iokit.IOSCSIBlockCommandsDevice	408.250.3
com.apple.iokit.IOSCSIArchitectureModelFamily	408.250.3
com.apple.iokit.IOStorageFamily	2.1
com.apple.kext.CoreTrust	1
com.apple.driver.AppleCredentialManager	1.0
com.apple.driver.KernelRelayHost	1
com.apple.iokit.IOUSBHostFamily	1.2
com.apple.driver.usb.AppleUSBCommon	1.0
com.apple.driver.AppleBusPowerController	1.0
com.apple.driver.AppleSEPManager	1.0.1
com.apple.driver.IOSlaveProcessor	1
com.apple.iokit.IOReportFamily	47
com.apple.iokit.IOTimeSyncFamily	740.2
com.apple.iokit.IONetworkingFamily	3.4
com.apple.driver.AppleACPIPlatform	6.1
com.apple.driver.AppleSMC	3.1.9
com.apple.iokit.IOPCIFamily	2.9
com.apple.iokit.IOACPIFamily	1.4
com.apple.kec.pthread	1
com.apple.kec.Libm	1
com.apple.kec.corecrypto	1.0

EOF
Model: MacBookPro11,5, BootROM 194.0.0.0.0, 4 processors, Intel Core i7, 2.5 GHz, 16 GB, SMC 2.30f2
Graphics: kHW_AMDRadeonR9M370XItem, AMD Radeon R9 M370X, spdisplays_pcie_device, 2 GB
Graphics: kHW_IntelIrisProItem, Intel Iris Pro, spdisplays_builtin
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x802C, 0x31364B544631473634485A2D314736453120
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x802C, 0x31364B544631473634485A2D314736453120
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x152), Broadcom BCM43xx 1.0 (7.77.61.3 AirPortDriverBrcmNIC-1305.9)
Bluetooth: Version 6.0.14d3, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM0512G, 500.28 GB
USB Device: USB 3.0 Bus
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 27.1

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 6
  • Comments: 31 (6 by maintainers)

Most upvoted comments

It’s been flagged on the Electron repo but they don’t consider it an issue with Electron so they have closed it sadly. https://github.com/electron/electron/issues/26023

I dont know how you did you get that its virtualbox issue, but thats not the case. Kernel panic is clearly pointing to VScode.

BSD process name corresponding to current thread: Code Helper (GPU

And no, this is not a virtual machine. Im running it on native mac os.

Im gonna mention couple contributors before you decide that this is virtualbox/macos issue and close it because memory leaks/segfaults is something that you prefer to not see.

@bpasero @joaomoreno @jrieken @mjbvz @isidorn @alexdima @sandy081 @Tyriar @aeschli @roblourens

Just crossposting this here as it seems this issue is not dead. Obsidian is another Electron-based app that is gaining popularity and has now started suffering from a similar KP:

https://forum.obsidian.md/t/kernel-panic-on-macos-11-crash-reboot/12020

I kinda gave up trying to fix this.