vscodenpa / testissues

Clone of the vscode issue stream.
43 stars 23 forks source link

Unable to resolve your shell environment: Unexpected exit code from spawned shell (code 9, signal null) #3409

Open vscodenpa opened 2 years ago

vscodenpa commented 2 years ago

Search indicated that this specific issue has not been reported - a related one that does occur because of timeout does exist, is well known, and as such I'm creating a new issue as documentation suggests

image

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

image

Steps to Reproduce:

  1. Using the following ~/.bashrc, add the last export for resolving some - with node v18 (i.e. NODE_OPTIONS=--no-experimental-fetching
    
    rik-devrikx:~$ cat ~/.bashrc
    - ~/.bashrc: executed by bash(1) for non-login shells.
    - see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
    - for examples

if [ -n "$force_color_prompt" ]; then if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then

if [ "$color_prompt" = yes ]; then PS1='${debian_chroot:+($debian_chroot)}[\033[01;32m]\u-\h[\033[00m]:[\033[01;34m]\w[\033[00m]\$ ' else PS1='${debian_chroot:+($debian_chroot)}\u-\h:\w\$ ' fi unset color_prompt force_color_prompt

if [ -f ~/.bash_aliases ]; then . ~/.bash_aliases fi

export PATH=$NPM_PACKAGES/bin:$PATH

-- Useful Information:

The only other thing I can think of, is that at one point in time I did take some steps to try and change the terminal that was opened by opening terminal to a directory from nautilus (file-roller), from gnome-terminal to terminology.

None of the steps did manage to make that happen:

  1. Using update-alternatives: image

  2. Using dconf configuration:

    gsettings set org.gnome.desktop.default-applications.terminal exec /usr/bin/terminology
    gsettings set org.gnome.desktop.default-applications.terminal exec-arg "--current-directory"
  3. Using nautilus-configuration-tool

  4. Using filemanager-actions

However, none worked - so I've put (1) back to gnome-terminal, undone the steps in (2), and uninstalled both (3) and (4).

The issue has started since last update after I updated Node.js from 16 (LTS) to 18, and added the NODE_OPTIONS fix (--no-experimental-fetch).

---- System Information:

CPUs Intel(R) Core(TM) i7-6850K CPU - 3.60GHz (12 x 1300)
GPU Status 2d_canvas: enabled canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on oop_rasterization: disabled_off opengl: enabled_on rasterization: disabled_software raw_draw: disabled_off_ok skia_renderer: enabled_on video_decode: disabled_software video_encode: disabled_software vulkan: disabled_off webgl: enabled webgl2: enabled
Load (avg) 0, 0, 0
Memory (System) 62.72GB (48.43GB free)
Process Argv --unity-launch
Screen Reader no
VM 0%

---- Enabled Extensions

Extension Author (truncated) Version
texinfo cis 0.2.4
doxdocgen csc 1.4.0
dart-code Dar 3.44.0
flutter Dar 3.44.0
vscode-eslint dba 2.2.6
githistory don 0.6.19
gitlens eam 12.1.1
vscode-html-css ecm 1.13.0
vscode-npm-script eg2 0.3.28
vsc-material-theme Equ 33.2.0
vsc-material-theme-icons equ 1.2.2
php-intellisense fel 2.3.14
code-runner for 0.11.8
kotlin fwc 0.2.26
gitlab-workflow Git 3.47.2
go gol 0.34.1
beautify Hoo 1.5.0
minify Hoo 0.4.3
better-cpp-syntax jef 1.15.19
vscode-peacock joh 4.0.1
cmake-language-support-vscode jos 0.0.4
chat kar 0.35.0
sftp lix 1.12.10
autoconf mae 0.1.0
Kotlin mat 1.7.1
vscode-scss mrm 0.10.0
language-gettext mro 0.2.0
vscode-docker ms- 1.22.0
vscode-language-pack-ja MS- 1.68.6150906
vscode-dotnet-runtime ms- 1.5.0
vscode-kubernetes-tools ms- 1.3.10
python ms- 2022.8.1
vscode-pylance ms- 2022.7.20
jupyter ms- 2022.5.1001601848
jupyter-keymap ms- 1.0.0
jupyter-renderers ms- 1.0.8
remote-containers ms- 0.238.3
remote-ssh ms- 0.82.1
remote-ssh-edit ms- 0.80.0
remote-wsl ms- 0.66.3
vscode-remote-extensionpack ms- 0.21.0
azure-account ms- 0.11.0
cmake-tools ms- 1.11.26
cpptools ms- 1.11.0
cpptools-extension-pack ms- 1.2.0
typescript-javascript-grammar ms- 0.0.55
vscode-typescript-tslint-plugin ms- 1.3.4
vsliveshare ms- 1.0.5641
vsliveshare-audio ms- 0.1.91
vsliveshare-pack ms- 0.4.0
debugger-for-chrome msj 4.13.0
debugger-for-edge msj 1.0.15
vscode-react-native msj 1.9.2
gradle-language nac 0.2.3
vscode-jest Ort 4.6.0
vscode-html-scss P-d 0.0.42
material-icon-theme PKi 4.19.0
java red 1.8.0
vscode-commons red 0.0.6
vscode-xml red 0.21.0
vscode-yaml red 1.8.0
ms-teams-vscode-extension Tea 4.0.1
cmake twx 0.0.17
vscodeintellicode Vis 1.2.22
vscode-arduino vsc 0.4.12
vscode-java-debug vsc 0.42.0
vscode-java-dependency vsc 0.20.0
vscode-java-pack vsc 0.24.0
vscode-java-test vsc 0.35.2
vscode-maven vsc 0.36.0
vscode-icons vsc 11.12.0
browserslist web 1.1.0
php-debug xde 1.27.0
php-pack xde 1.0.3
php-intellisense zob 1.0.11

(2 theme extensions excluded)

---- A/B Experiment Info

No current experiments.

Eric-Guo commented 1 year ago

After remove export NODE_OPTIONS="--openssl-legacy-provider", it at least resolve my problem.