Change:
Type: <bBug</bhere is code --verbose code --verbose [(152)] open File exists (17) [(152)] open File exists (17) [(152)] open File exists (17) [(152)] open File exists (17) [(152)] open File exists (17) [(152)] open File exists (17) [(152)] open File exists (17) [(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 ()] Request to start watching: (excludes: <none, includes: <all), (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 ()] Started watching: '' [main 2023-03-31T08:31:24.945Z] [File Watcher ()] Started watching: '' libva error: /usr/lib/x8664-linux- init failed [(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] () libva error: /usr/lib/x8664-linux- init failed [(376)] InitializeSandbox() called with multiple threads in process gpu-process. VS Code version: Code 1.77.0 (, 2023-03-29T10:05:35.165Z) OS version: Linux x64 5.4.0-144-generic snap Modes: Sandboxed: No <details<summarySystem Info</summary </details<details<summaryExtensions (34)</summaryExtensionVersion ------ project-manager12.7.0 compare-view0.13.0 doxdocgen1.4.0 gitlens13.4.0 todo-tree0.0.224 githd2.3.3 plantuml2.17.5 vscode-graphviz0.0.6 terminal-tools1.0.0 plantumlpreviewer0.6.0 git-graph1.30.0 vscode-language-pack-zh-hans1.77. isort2022.8.0 python2023.6.0 vscode-pylance2023.3.40 jupyter2023.3. jupyter-keymap1.1.0 jupyter-renderers1.0.15 vscode-jupyter-cell-tags0.1.8 vscode-jupyter-slideshow0.1.5 remote-ssh0.98.0 remote-ssh-edit0.84.0 cmake-tools1.13.45 cpptools1.14.5 cpptools-extension-pack1.3.0 remote-explorer0.2.0 vue-helper2.4.7 markdown2.0.1 cmake0.0.17 errorlens3.8.0 vscode-icons12.2.0 markdown-all-in-one3.5.1 material-theme3.15.8 vscode-proto30.5.5 (1 theme extensions excluded) </details<details<summaryA/B Experiments</summary</details<!-- generated by issue reporter --
/gifPlease
Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, files are preferred as they are displayed inline on GitHub. You may find helpful as a browser-based gif recording tool. If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording ( in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue. Happy coding!
I have had the same issue since today. Indeed, attempting to open a folder closes the window. The same thing happens when I press 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 to open a folder or to save a file. Opening new folder ! Saving new file !
That's so strange, thanks for the gif. cc
Same problem on Ubuntu 18.04.6 LTS. I cannot save or open a folder; it crashes... very annoying
Can you please follow the steps in to get at more details around the crash and attach the result here? Thanks!
Hi, here is the .dmp file. Unfortunately, I was not able to Symbolicate it into a log file since I experienced issues with electron-minidump. I hope this still helps. Gabriel Benjamin Pasero écrit :
Please find attached the *.dmp file obtained when I tried to save my file with VSCode leading to a crash... Thank you for you help. Marc
Email strips attachments you must attach it via the GitHub UI. Please resubmit them.
I hope it works this time. I made a zip because .dmp is not supported as an attachment.
This may be snap update related.
Here is my dmp
I have symbolicated both crashes, and it seems that the crashes happen after creating a FileChooserDialog.
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 , the crash produces this relevant output:
I experience the same crushes as well. Maybe we should mark this issue as new-release? Before 1.77 I had no issues.
Here is the content in the Toggle Developer Tools -Console INFO Electron sandbox mode is enabled! WARN Via '' extension 'ms-' wants API proposal 'testContinuousRun' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check '') or was abandoned. WARN Via '' extension 'ms-' wants API proposal 'contribEditorGutterMenu' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check '') or was abandoned. WARN Via '' extension '' wants API proposal 'contribEditorGutterMenu' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check '') or was abandoned. WARN Via '' extension 'ms-toolsai.jupyter' wants API proposal 'notebookControllerKind' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check '') or was abandoned. WARN []: Cannot register 'cmake.cmakePath'. This property is already registered. [.WebGL-0x186804a5e200]GL Driver Message (OpenGL, Performance, GLCLOSEPATHNV, High): GPU stall due to ReadPixels [.WebGL-0x186804a5e200]GL Driver Message (OpenGL, Performance, GLCLOSEPATHNV, High): GPU stall due to ReadPixels [.WebGL-0x186804a5e200]GL Driver Message (OpenGL, Performance, GLCLOSEPATHNV, High): GPU stall due to ReadPixels [Extension Host] [vscode-icons] v12.2.0 activated! INFO [perf] Render performance baseline is 29ms [.WebGL-0x186804a5e200]GL Driver Message (OpenGL, Performance, GLCLOSEPATHNV, High): GPU stall due to ReadPixels (this message will no longer repeat) DevTools failed to load source map: Could not load content for Load canceled due to load timeout
WARN []: Cannot register 'cmake.cmakePath'. This property is already registered. [Violation] 'setTimeout' handler took 221ms [Extension Host] activating extension [Extension Host] starting language server ERR [Extension Host] (node:459) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the (), Buffer.allocUnsafe(), or () methods instead. (Use to show where the warning was created) [Extension Host] (node:459) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the (), Buffer.allocUnsafe(), or () methods instead. (Use to show where the warning was created) T @ $logExtensionHostMessage @ N @ M @ H @ G @ (anonymous) @ invoke @ deliver @ fire @ fire @ G.onmessage @ [Extension Host] [CMakeTools] 2023-04-03T05:49:48.594Z [debug] [main] Safe constructing new CMakeProject instance [Extension Host] [CMakeTools] 2023-04-03T05:49:48.594Z [debug] [variant] Constructing VariantManager [Extension Host] [CMakeTools] 2023-04-03T05:49:48.595Z [debug] [main] Constructing new CMakeProject instance [Extension Host] [CMakeTools] 2023-04-03T05:49:48.595Z [debug] [main] Starting CMake Tools second-phase init [Extension Host] [CMakeTools] 2023-04-03T05:49:48.854Z [info] [variant] Loaded new set of variants [Extension Host] [CMakeTools] 2023-04-03T05:49:48.899Z [debug] [kit] Reading kits file [Extension Host] [CMakeTools] 2023-04-03T05:49:49.319Z [info] [kit] Successfully loaded 1 kits from [Extension Host] [CMakeTools] 2023-04-03T05:49:49.452Z [debug] [kit] Not reading non-existent kits file: [Extension Host] [CMakeTools] 2023-04-03T05:49:49.458Z [debug] [main] CMakeProject instance initialization complete. INFO [perf] Render performance baseline is 33ms Overlapping semantic tokens detected at lineNumber 15, column 1 warnOverlappingSemanticTokens @ w @ r @ (anonymous) @ [Extension Host] [vscode-icons] v12.2.0 activated! DevTools failed to load source map: Could not load content for Load canceled due to load timeout
Is there any update on this issue? Any workaround? Thanks!
Steps for verification: In Ubuntu 18.04 VM In Ubuntu 22.04 VM
Download file from when verification builds are available pity, I can not download the .snap. !
can't download files from here Downloaded code-insiders and it' fixed. Please inform when the fix will be in the stable release
Fix will be available in release tomorrow.
77.1 has fixed this bug. thanks very much!

Discussion:
if [ -f "$1/glib-2.0/gio-querymodules" ]; then rm -rf "$GIO_MODULE_DIR" ensure_dir_exists "$GIO_MODULE_DIR" <del> ln -s "$1"/gio/modules/*.so "$GIO_MODULE_DIR" </del> <ins> ln -s "$SNAP"/usr/lib/"$ARCH"/gio/modules/*.so "$GIO_MODULE_DIR" </ins> "$1/glib-2.0/gio-querymodules" "$GIO_MODULE_DIR" fi } if [ "$needs_update" = true ]; then <del> async_exec compile_giomodules "$SNAP/usr/lib/$ARCH" </del> <ins> async_exec compile_giomodules "/snap/core20/current/usr/lib/$ARCH" </ins> fi # Setup compiled gsettings schema <del> GS_SCHEMA_DIR="$SNAP_USER_DATA/.local/share/glib-2.0/schemas" </del> <ins> export GSETTINGS_SCHEMA_DIR="$SNAP_USER_DATA/.local/share/glib-2.0/schemas" </ins> function compile_schemas { if [ -f "$1" ]; then <del> rm -rf "$GS_SCHEMA_DIR" ensure_dir_exists "$GS_SCHEMA_DIR" </del> <ins> rm -rf "$GSETTINGS_SCHEMA_DIR" ensure_dir_exists "$GSETTINGS_SCHEMA_DIR" </ins> for ((i = 0; i < ${#data_dirs_array[@]}; i++)); do schema_dir="${data_dirs_array[$i]}/glib-2.0/schemas" if [ -f "$schema_dir/gschemas.compiled" ]; then

continue fi if [ -n "$(ls -A "$schema_dir"/*.xml 2>/dev/null)" ]; then <del> ln -s "$schema_dir"/*.xml "$GS_SCHEMA_DIR" </del> <ins> ln -s "$schema_dir"/*.xml "$GSETTINGS_SCHEMA_DIR" </ins> fi if [ -n "$(ls -A "$schema_dir"/*.override 2>/dev/null)" ]; then <del> ln -s "$schema_dir"/*.override "$GS_SCHEMA_DIR" </del> <ins> ln -s "$schema_dir"/*.override "$GSETTINGS_SCHEMA_DIR" </ins> fi done # Only compile schemas if we copied anything <del> if [ -n "$(ls -A "$GS_SCHEMA_DIR"/*.xml "$GS_SCHEMA_DIR"/*.override 2>/dev/null)" ]; then "$1" "$GS_SCHEMA_DIR" </del> <ins> if [ -n "$(ls -A "$GSETTINGS_SCHEMA_DIR"/*.xml "$GSETTINGS_SCHEMA_DIR"/*.override 2>/dev/null)" ]; then "$1" "$GSETTINGS_SCHEMA_DIR" </ins> fi fi } if [ "$needs_update" = true ]; then <del> async_exec compile_schemas "$SNAP/usr/lib/$ARCH/glib-2.0/glib-compile-schemas" </del> <ins> async_exec compile_schemas "/snap/core20/current/usr/lib/$ARCH/glib-2.0/glib-compile-schemas" </ins> fi # Gdk-pixbuf loaders

const gdkBackend = process.env['GDK_BACKEND']; const gioModuleDir = process.env['GIO_MODULE_DIR']; const gtkExePrefix = process.env['GTK_EXE_PREFIX']; <ins> const gsettingsSchemaDir = process.env['GSETTINGS_SCHEMA_DIR']; </ins> delete process.env['GDK_PIXBUF_MODULE_FILE']; delete process.env['GDK_PIXBUF_MODULEDIR']; delete process.env['GTK_IM_MODULE_FILE']; delete process.env['GDK_BACKEND']; delete process.env['GIO_MODULE_DIR']; delete process.env['GTK_EXE_PREFIX']; <ins> delete process.env['GSETTINGS_SCHEMA_DIR']; </ins> shell.openExternal(url);

process.env['GDK_BACKEND'] = gdkBackend; process.env['GIO_MODULE_DIR'] = gioModuleDir; process.env['GTK_EXE_PREFIX'] = gtkExePrefix; <ins> process.env['GSETTINGS_SCHEMA_DIR'] = gsettingsSchemaDir; </ins> } moveItemToTrash(windowId: number | undefined, fullPath: string): Promise<void> {