crash – Visible Studio Code crashes when began from command line – profile particular


When I attempt to begin Visible Studio Code (v 1.89.0) from the command line, by way of
code or open /Functions/Visible Studio Code.app the app icon bounces after which the app crashes. Error under.

I’ve tried reinstalling the app. And fully eradicating all person settings:

#!/bin/sh
rm -fvr ~/Library/Preferences/com.microsoft.VSCode.plist
rm -fvr ~/Library/Caches/com.microsoft.VSCode
rm -fvr ~/Library/Caches/com.microsoft.VSCode.ShipIt/
rm -fvr ~/Library/Utility Assist/Code/
rm -fvr ~/Library/Saved Utility State/com.microsoft.VSCode.savedState/
rm -fvr ~/.vscode/

Sadly nothing appears to assist. Codium has the identical downside.

Opening the applying by clicking on it within the GUI works positive.
Opening the applying from the command line in a special person profile additionally works positive. –> This makes me consider there’s something in my profile messing with the applying. However… I’ve deleted all Visible Studio Code person setting I even ran discover ~/Library -iname "*vscode*" -exec rm -rfv {} ;.

Any options are welcome.

-------------------------------------
Translated Report (Full Report Under)
-------------------------------------

Course of:               Electron [8177]
Path:                  /Functions/Visible Studio Code.app/Contents/MacOS/Electron
Identifier:            com.microsoft.VSCode
Model:               1.89.0 (1.89.0)
Code Sort:             ARM-64 (Native)
Father or mother Course of:        launchd [1]
Consumer ID:               501

Date/Time:             2024-05-06 13:05:43.2465 +0200
OS Model:            macOS 14.4.1 (23E224)
Report Model:        12
Nameless UUID:        A768D014-9292-A323-443D-D16A2FB1D8CC

Sleep/Wake UUID:       69BF273A-BFD7-4318-85D6-10436589C244

Time Awake Since Boot: 4200 seconds
Time Since Wake:       452 seconds

System Integrity Safety: enabled

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

Exception Sort:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       0x0000000000000001, 0x000000010df8035c

Termination Cause:    Namespace SIGNAL, Code 5 Hint/BPT lure: 5
Terminating Course of:   exc handler [8177]

Visible Studio Code model

Model: 1.89.0
Commit: b58957e67ee1e712cebf466b995adf4c5307b2bd
Date: 2024-05-01T02:10:13.496Z (5 days in the past)
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 23.4.0

Solved
Seems I had the next line in my .zshrc profile

export SYSTEM_VERSION_COMPAT=1

Eradicating the road solved the problems.

Recent Articles

Related Stories

Leave A Reply

Please enter your comment!
Please enter your name here