vscode: Everytime I click the button " Open Folder'', it will crash and closed automatically..

Type: Bug

here is code --verbose code --verbose [0331/163124.791335:ERROR:file_io_posix.cc(152)] open /home/ryann/.config/Code/Crashpad/pending/dced7b8c-5c8e-447a-8e1d-ec0614f57154.lock: File exists (17) [0331/163124.791417:ERROR:file_io_posix.cc(152)] open /home/ryann/.config/Code/Crashpad/pending/2b55050e-23bb-4592-9b41-f55e052c1731.lock: File exists (17) [0331/163124.791441:ERROR:file_io_posix.cc(152)] open /home/ryann/.config/Code/Crashpad/pending/38155e0d-d3a3-4ac6-bd68-ece9eca892bd.lock: File exists (17) [0331/163124.791466:ERROR:file_io_posix.cc(152)] open /home/ryann/.config/Code/Crashpad/pending/9a884d8e-6d5b-47c9-bbe3-3861203cc8ca.lock: File exists (17) [0331/163124.791490:ERROR:file_io_posix.cc(152)] open /home/ryann/.config/Code/Crashpad/pending/3d596b97-8ace-4a65-bb4f-f0d80e2e711f.lock: File exists (17) [0331/163124.791514:ERROR:file_io_posix.cc(152)] open /home/ryann/.config/Code/Crashpad/pending/dfffe9f7-c22c-4e92-bca0-5d16412b0667.lock: File exists (17) [0331/163124.791539:ERROR:file_io_posix.cc(152)] open /home/ryann/.config/Code/Crashpad/pending/b5f3f622-12b3-4506-ba5f-b143aea7c720.lock: File exists (17) [16232:0331/163124.867249:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable. libGL error: failed to create dri screen libGL error: failed to load driver: iris libGL error: failed to create dri screen libGL error: failed to load driver: iris [main 2023-03-31T08:31:24.934Z] [File Watcher (node.js)] Request to start watching: /home/ryann/.config/Code/User (excludes: <none>, includes: <all>),/home/ryann/.config/Code/User/settings.json (excludes: <none>, includes: <all>) [main 2023-03-31T08:31:24.944Z] Sending env to running instance… [main 2023-03-31T08:31:24.945Z] [File Watcher (node.js)] Started watching: ‘/home/ryann/.config/Code/User’ [main 2023-03-31T08:31:24.945Z] [File Watcher (node.js)] Started watching: ‘/home/ryann/.config/Code/User/settings.json’ libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed [16261:0331/163124.966324:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization [main 2023-03-31T08:31:24.993Z] Sent env to running instance. Terminating… [main 2023-03-31T08:31:24.993Z] Lifecycle#kill() [main 2023-03-31T08:31:24.993Z] Lifecycle#onWillShutdown.fire() libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed [16306:0331/163125.001352:WARNING:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.

VS Code version: Code 1.77.0 (7f329fe6c66b0f86ae1574c2911b681ad5a45d63, 2023-03-29T10:05:35.165Z) OS version: Linux x64 5.4.0-144-generic snap Modes: Sandboxed: No

System Info
Item Value
CPUs Intel® Core™ i7-10750H CPU @ 2.60GHz (12 x 4200)
GPU Status 2d_canvas: unavailable_software
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
opengl: disabled_off
rasterization: disabled_software
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
webgpu: disabled_off
Load (avg) 2, 1, 1
Memory (System) 31.00GB (24.10GB free)
Process Argv –no-sandbox --force-user-env --unity-launch --crash-reporter-id 98715daf-161d-41a1-bfac-e09740e8f3d2
Screen Reader no
VM 0%
DESKTOP_SESSION ubuntu
XDG_CURRENT_DESKTOP Unity
XDG_SESSION_DESKTOP ubuntu
XDG_SESSION_TYPE x11
Extensions (34)
Extension Author (truncated) Version
project-manager ale 12.7.0
compare-view che 0.13.0
doxdocgen csc 1.4.0
gitlens eam 13.4.0
todo-tree Gru 0.0.224
githd hui 2.3.3
plantuml jeb 2.17.5
vscode-graphviz joa 0.0.6
terminal-tools lgl 1.0.0
plantumlpreviewer Meb 0.6.0
git-graph mhu 1.30.0
vscode-language-pack-zh-hans MS- 1.77.2023032909
isort ms- 2022.8.0
python ms- 2023.6.0
vscode-pylance ms- 2023.3.40
jupyter ms- 2023.3.1000892223
jupyter-keymap ms- 1.1.0
jupyter-renderers ms- 1.0.15
vscode-jupyter-cell-tags ms- 0.1.8
vscode-jupyter-slideshow ms- 0.1.5
remote-ssh ms- 0.98.0
remote-ssh-edit ms- 0.84.0
cmake-tools ms- 1.13.45
cpptools ms- 1.14.5
cpptools-extension-pack ms- 1.3.0
remote-explorer ms- 0.2.0
vue-helper she 2.4.7
markdown sta 2.0.1
cmake twx 0.0.17
errorlens use 3.8.0
vscode-icons vsc 12.2.0
markdown-all-in-one yzh 3.5.1
material-theme zhu 3.15.8
vscode-proto3 zxh 0.5.5

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vstes627:30244334
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931cf:30280410
vshan820:30294714
vstes263cf:30335440
vscorecescf:30445987
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
nodejswelcome1cf:30587006
3biah626:30602489
pyind779:30671433
f6dab269:30613381
pythonsymbol12:30671437
vsctsb:30677850
pythonb192cf:30669361
defaultazurewalk:30687958
pythonms35cf:30686773

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 1
  • Comments: 23 (8 by maintainers)

Most upvoted comments

Fix will be available in 1.77.1 release tomorrow.

1.77.1 has fixed this bug. thanks very much!

I’m getting the same issue starting with the new update today.

System: Kubuntu 19.04 VS Code: 1.77.0 KDE Plasma: 5.15.4 KDE Frameworks: 5.56.0 QT: 5.12.2

Action taken: “File > open folder” or “File > add folder to workspace” (any action that would open a file chooser dialogue)

When run with code --verbose, the crash produces this relevant output:

[main 2023-03-31T22:20:30.022Z] [DialogMainService]: request to acquire file dialog lock {
  title: 'Add Folder to Workspace',
  defaultPath: undefined,
  buttonLabel: '_Add',
  properties: [ 'createDirectory', 'openDirectory', 'multiSelections' ]
}
[main 2023-03-31T22:20:30.022Z] [DialogMainService]: new file dialog lock created {
  title: 'Add Folder to Workspace',
  defaultPath: undefined,
  buttonLabel: '_Add',
  properties: [ 'createDirectory', 'openDirectory', 'multiSelections' ]
}
(code:6397): GLib-GIO-ERROR **: 15:20:30.107: Settings schema 'org.gtk.Settings.FileChooser' does not contain a key named 'show-type-column'
[0331/152030.113879:ERROR:process_memory_range.cc(75)] read out of range
... message repeats until crash ...

I have had the same issue since today. Indeed, attempting to open a folder closes the window. The same thing happens when I press Ctrl+S to save a new file that was not saved previously. I suspect the issue might be caused by the File Explorer that usually appears when pressing Ctrl+K, Ctrl+O to open a folder or Ctrl+S to save a file.

  • Opening new folder issue_open_folder

  • Saving new file issue_save_file