microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.05k stars 29.21k forks source link

Segmenation Fault Code - Running on Kali #201623

Closed d-buster closed 9 months ago

d-buster commented 10 months ago

Steps to Reproduce:

  1. Install VSCode
  2. Install Python 3 extension
  3. Install Python 3 Extension Pack (2 or 3rd on the list of extensions when searching for Python)
  4. terminal: gh repo clone oxylabs/how-to-build-a-price-tracker (as a test file)
  5. VSCode: 'Save As' file as price_tracker_test.py
  6. Close and relaunch VSCode with crash and segmentation error.

Error:' ──(tnkbel㉿thinkmachine)-[~] └─$ code
┏━(Message from Kali developers) ┃ code is not the binary you may be expecting. ┃ You are looking for \"code-oss\" ┃ Starting code-oss for you... ┗━ [main 2023-12-30T11:26:45.122Z] update#setState disabled [main 2023-12-30T11:26:45.124Z] update#ctor - updates are disabled as there is no update URL zsh: segmentation fault code ` I've seen this issue report in the past but mostly on Windows machines, so the suggested fixes weren't very helpful.

Looking for some help here. VSCode launches and after about 2-3 seconds closes.

Thanks in advance.

AShadedBlobfish commented 10 months ago

Hi, I'm obviously not a developer but I was just looking through issues for fun really, I hope you don't mind my input. I wonder if you have tried reinstalling vscode - I know it's not ideal but it looks like your machine could have installed it incorrectly. You could also try installing it using the .deb package from Microsoft as it's possible the version installed by apt is broken somehow. Also have you tried launching it from your DE instead of the terminal?

deepak1556 commented 10 months ago

Please attach the crash logs following the steps at https://github.com/microsoft/vscode/wiki/Native-Crash-Issues#creating-a-crash-report

vscodenpa commented 9 months ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!