microsoft / microsoft/vscode-remote-release

GLIBC version dependency on legacy server

Open
#9,907 0 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

containers
Dominant language
Dockerfile
Stars
4.2k
Forks
469
Avg merge
1d 1h
Merged PRs (30d)
1

Description

Type: Bug

The issue:
When trying to connect to a devcontainer of stretch version with linux/arm/v7 platform will crash before connectiong with the following error:

Start: Run in container: /root/.vscode-server/bin/dc96b837cf6bb4af9cd736aa3af08cf8279f7685-legacy/bin/code-server --log debug --force-disable-user-env --server-data-dir /root/.vscode-server --use-host-proxy --telemetry-level all --accept-server-license-terms --host 127.0.0.1 --port 0 --connection-token-file /root/.vscode-server/data/Machine/.connection-token-dc96b837cf6bb4af9cd736aa3af08cf8279f7685-legacy --extensions-download-dir /root/.vscode-server/extensionsCache --start-server --disable-websocket-compression --skip-requirements-check
[2024-05-21T12:08:14.781Z] /root/.vscode-server/bin/dc96b837cf6bb4af9cd736aa3af08cf8279f7685-legacy/node: /lib/arm-linux-gnueabihf/libm.so.6: version `GLIBC_2.27' not found (required by /root/.vscode-server/bin/dc96b837cf6bb4af9cd736aa3af08cf8279f7685-legacy/node)
/root/.vscode-server/bin/dc96b837cf6bb4af9cd736aa3af08cf8279f7685-legacy/node: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.25' not found (required by /root/.vscode-server/bin/dc96b837cf6bb4af9cd736aa3af08cf8279f7685-legacy/node)

I believe i have identified the issue being the platform, as i tested this using a combination of bullseye and stretch images on both linux/amd64, linux/arm64 and linux/arm/v7.

Only the stretch-armv7 combination failed, the stretch-amd64 gave the expected warning that this is an unsuported os but allowed me to run it anyway.

Thus i believe the issue is that the vscode server node is linked dynamically with a wrong version of GLIBC, even for the legacy version of the vscode server for the armv7 platform.

Extension version: 0.362.0
VS Code version: Code 1.89.1 (dc96b837cf6bb4af9cd736aa3af08cf8279f7685, 2024-05-07T05:13:33.891Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Remote OS version: Linux x64 5.15.146.1-microsoft-standard-WSL2
Remote OS version: Linux x64 5.15.146.1-microsoft-standard-WSL2

System Info
Item Value
CPUs 11th Gen Intel(R) Core(TM) i7-11850H @ 2.50GHz (16 x 2496)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 31.67GB (9.93GB free)
Process Argv --crash-reporter-id 1a9f3c30-ea26-4ef1-917e-fb2096cf46d5
Screen Reader no
VM 0%
Item Value
Remote WSL: Debian
OS Linux x64 5.15.146.1-microsoft-standard-WSL2
CPUs 11th Gen Intel(R) Core(TM) i7-11850H @ 2.50GHz (16 x 2496)
Memory (System) 15.46GB (13.48GB free)
VM 0%

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.