microsoft / vscode

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

Window is not responding #230473

Open Gasp49 opened 1 month ago

Gasp49 commented 1 month ago

Problem: slow starting phase code --verbose [10130:1004/115549.893034:WARNING:bluez_dbusmanager.cc(248)] Floss manager not present, cannot set Floss enable/disable. [main 2024-10-04T09:55:49.999Z] [File Watcher (node.js)] Request to start watching: /home/gaspare/.config/Code/User (excludes: , includes: , filter: , correlationId: ),/home/gaspare/.config/Code/User/settings.json (excludes: , includes: , filter: , correlationId: ) [main 2024-10-04T09:55:50.005Z] Starting VS Code [main 2024-10-04T09:55:50.005Z] from: /snap/code/170/usr/share/code/resources/app [main 2024-10-04T09:55:50.005Z] args: { : [], diff: false, merge: false, add: false, goto: false, 'new-window': false, 'reuse-window': false, wait: false, help: false, 'list-extensions': false, 'show-versions': false, 'pre-release': false, 'update-extensions': false, version: false, verbose: true, status: false, 'prof-startup': false, 'no-cached-data': false, 'prof-v8-extensions': false, 'disable-extensions': false, 'disable-lcd-text': false, 'disable-gpu': false, 'disable-chromium-sandbox': false, sandbox: false, telemetry: false, debugRenderer: false, 'enable-smoke-test-driver': false, logExtensionHostCommunication: false, 'skip-release-notes': false, 'skip-welcome': false, 'disable-telemetry': false, 'disable-updates': false, 'use-inmemory-secretstorage': false, 'disable-workspace-trust': false, 'disable-crash-reporter': false, 'crash-reporter-id': 'cb510d26-1742-4a01-8d98-7db9fa8042c4', 'skip-add-to-recently-opened': false, 'open-url': false, 'file-write': false, 'file-chmod': false, force: false, 'do-not-sync': false, trace: false, 'preserve-env': false, 'force-user-env': false, 'force-disable-user-env': false, 'open-devtools': false, 'disable-gpu-sandbox': false, '__enable-file-policy': false, 'enable-coi': false, 'no-proxy-server': false, 'no-sandbox': false, nolazy: false, 'force-renderer-accessibility': false, 'ignore-certificate-errors': false, 'allow-insecure-localhost': false, 'disable-dev-shm-usage': false, 'profile-temp': false, logsPath: '/home/gaspare/.config/Code/logs/20241004T115549' } [main 2024-10-04T09:55:50.006Z] Resolving machine identifier... [main 2024-10-04T09:55:50.006Z] Resolved machine identifier: df98d3f430a794db5abcd992b762c37c1077fe1c02029c6fc9f2028a7b3e2ec3 [main 2024-10-04T09:55:50.006Z] Main->SharedProcess#connect [main 2024-10-04T09:55:50.014Z] StorageMainService: creating application storage [main 2024-10-04T09:55:50.015Z] update#setState idle [main 2024-10-04T09:55:50.017Z] ElectronURLListener: waiting for window to be ready to handle URLs... [main 2024-10-04T09:55:50.017Z] lifecycle (main): phase changed (value: 2) [main 2024-10-04T09:55:50.017Z] windowsManager#open [main 2024-10-04T09:55:50.019Z] windowsManager#open pathsToOpen [ { workspace: { id: '475ca925de24f0a98d56542407aaadf6', uri: [nr] }, type: 2, exists: true } ] [main 2024-10-04T09:55:50.019Z] windowsManager#doOpenFolderOrWorkspace { folderOrWorkspace: { workspace: { id: '475ca925de24f0a98d56542407aaadf6', uri: [nr] }, type: 2, exists: true }, filesToOpen: undefined } [main 2024-10-04T09:55:50.020Z] IPC Object URL: Registered new channel vscode:1b526dc9-75b2-44fd-8f64-d8edc4758959. [main 2024-10-04T09:55:50.021Z] window#validateWindowState: validating window state on 1 display(s) { mode: 0, x: 692, y: 101, width: 1024, height: 768 } [main 2024-10-04T09:55:50.021Z] window#validateWindowState: single monitor working area { x: 70, y: 27, width: 1850, height: 1173 } [main 2024-10-04T09:55:50.021Z] window#ctor: using window state { mode: 0, x: 692, y: 101, width: 1024, height: 768 } [main 2024-10-04T09:55:50.095Z] window#load: attempt to load window (id: 1) [main 2024-10-04T09:55:50.097Z] StorageMainService: creating workspace storage (475ca925de24f0a98d56542407aaadf6) [main 2024-10-04T09:55:50.098Z] windowsManager#open used window count 1 (workspacesToOpen: 0, foldersToOpen: 1, emptyToRestore: 0, openOneEmptyWindow: false) [main 2024-10-04T09:55:50.098Z] lifecycle (main): phase changed (value: 3) [main 2024-10-04T09:55:50.098Z] resolveShellEnv(): skipped (VSCODE_CLI is set) [10191:1004/115550.100290:WARNING:runtime_features.cc(730)] AttributionReportingCrossAppWeb cannot be enabled in this configuration. Use --enable-features=ConversionMeasurement,AttributionReportingCrossAppWeb in addition. [main 2024-10-04T09:55:50.124Z] [File Watcher (node.js)] Started watching: '/home/gaspare/.config/Code/User' [main 2024-10-04T09:55:50.128Z] [File Watcher (node.js)] Started watching: '/home/gaspare/.config/Code/User/settings.json' [main 2024-10-04T09:55:52.603Z] lifecycle (main): phase changed (value: 4) libGL error: MESA-LOADER: failed to open iris: /snap/core20/current/lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /usr/lib/dri/iris_dri.so) (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri) libGL error: failed to load driver: iris libGL error: MESA-LOADER: failed to open swrast: /snap/core20/current/lib/x86_64-linux-gnu/libstdc++.so.6: versionGLIBCXX_3.4.29' not found (required by /usr/lib/dri/swrast_dri.so) (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri) libGL error: failed to load driver: swrast [10165:1004/115608.412136:ERROR:angle_platform_impl.cc(44)] Display.cpp:1086 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. ERR: Display.cpp:1086 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. [10165:1004/115608.412174:ERROR:gl_display.cc(515)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context. [10165:1004/115608.412178:ERROR:gl_display.cc(786)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type [10165:1004/115608.412891:ERROR:angle_platform_impl.cc(44)] Display.cpp:1086 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. ERR: Display.cpp:1086 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. [10165:1004/115608.412900:ERROR:gl_display.cc(515)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context. [10165:1004/115608.412903:ERROR:gl_display.cc(786)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED [10165:1004/115608.412906:ERROR:gl_display.cc(820)] Initialization of all EGL display types failed. [10165:1004/115608.412909:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed. [main 2024-10-04T09:56:20.016Z] update#checkForUpdates, state = idle [main 2024-10-04T09:56:20.016Z] update#setState checking for updates [main 2024-10-04T09:56:20.021Z] update#setState idle [main 2024-10-04T09:56:20.183Z] CodeWindow: detected unresponsive [10165:1004/115626.109394:ERROR:angle_platform_impl.cc(44)] Display.cpp:1086 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. ERR: Display.cpp:1086 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. [10165:1004/115626.109423:ERROR:gl_display.cc(515)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context. [10165:1004/115626.109430:ERROR:gl_display.cc(786)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type [10165:1004/115626.111506:ERROR:angle_platform_impl.cc(44)] Display.cpp:1086 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. ERR: Display.cpp:1086 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context. [10165:1004/115626.111544:ERROR:gl_display.cc(515)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context. [10165:1004/115626.111553:ERROR:gl_display.cc(786)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED [10165:1004/115626.111572:ERROR:gl_display.cc(820)] Initialization of all EGL display types failed. [10165:1004/115626.111581:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed. [10165:1004/115626.113292:ERROR:viz_main_impl.cc(198)] Exiting GPU process due to errors during initialization [10130:1004/115628.355745:WARNING:browser_main_loop.cc(282)] GLib-GObject: ../../../gobject/gsignal.c:2736: instance '0x15a401082300' has no handler with id '2844' [main 2024-10-04T09:56:43.409Z] CodeWindow: detected unresponsive MESA-LOADER: failed to open iris: /snap/core20/current/lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /usr/lib/dri/iris_dri.so) (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri) failed to load driver: iris MESA-LOADER: failed to open kms_swrast: /snap/core20/current/lib/x86_64-linux-gnu/libstdc++.so.6: versionGLIBCXX_3.4.29' not found (required by /usr/lib/dri/kms_swrast_dri.so) (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri) failed to load driver: kms_swrast MESA-LOADER: failed to open swrast: /snap/core20/current/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/swrast_dri.so) (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri) failed to load swrast driver [10227:1004/115644.998216:WARNING:sandbox_linux.cc(420)] InitializeSandbox() called with multiple threads in process gpu-process. [main 2024-10-04T09:56:45.018Z] resolveShellEnv(): skipped (VSCODECLI is set) [10130:1004/115645.214355:INFO:CONSOLE(35)] "%cTRACE color: #888 workbench#open(): with configuration {"": . . .

[10130:1004/115740.001312:INFO:CONSOLE(35)] "%cDEBUG background: #eee; color: #888 Comments: URIs of continue on comments to add to storage .", source: vscode-file://vscode-app/snap/code/170/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js (35)

problem: MESA-LOADER: failed to open iris: /snap/core20/current/lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /usr/lib/dri/iris_dri.so) (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri) failed to load driver: iris MESA-LOADER: failed to open kms_swrast: /snap/core20/current/lib/x86_64-linux-gnu/libstdc++.so.6: versionGLIBCXX_3.4.29' not found (required by /usr/lib/dri/kms_swrast_dri.so) (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri) failed to load driver: kms_swrast MESA-LOADER: failed to open swrast: /snap/core20/current/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/swrast_dri.so) (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri) failed to load swrast driver

strings /snap/core20/current/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX GLIBCXX_3.4 GLIBCXX_3.4.1 GLIBCXX_3.4.2 GLIBCXX_3.4.3 GLIBCXX_3.4.4 GLIBCXX_3.4.5 GLIBCXX_3.4.6 GLIBCXX_3.4.7 GLIBCXX_3.4.8 GLIBCXX_3.4.9 GLIBCXX_3.4.10 GLIBCXX_3.4.11 GLIBCXX_3.4.12 GLIBCXX_3.4.13 GLIBCXX_3.4.14 GLIBCXX_3.4.15 GLIBCXX_3.4.16 GLIBCXX_3.4.17 GLIBCXX_3.4.18 GLIBCXX_3.4.19 GLIBCXX_3.4.20 GLIBCXX_3.4.21 GLIBCXX_3.4.22 GLIBCXX_3.4.23 GLIBCXX_3.4.24 GLIBCXX_3.4.25 GLIBCXX_3.4.26 GLIBCXX_3.4.27 GLIBCXX_3.4.28 GLIBCXX_DEBUG_MESSAGE_LENGTH

strings /snap/core22/current/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX GLIBCXX_3.4 GLIBCXX_3.4.1 GLIBCXX_3.4.2 GLIBCXX_3.4.3 GLIBCXX_3.4.4 GLIBCXX_3.4.5 GLIBCXX_3.4.6 GLIBCXX_3.4.7 GLIBCXX_3.4.8 GLIBCXX_3.4.9 GLIBCXX_3.4.10 GLIBCXX_3.4.11 GLIBCXX_3.4.12 GLIBCXX_3.4.13 GLIBCXX_3.4.14 GLIBCXX_3.4.15 GLIBCXX_3.4.16 GLIBCXX_3.4.17 GLIBCXX_3.4.18 GLIBCXX_3.4.19 GLIBCXX_3.4.20 GLIBCXX_3.4.21 GLIBCXX_3.4.22 GLIBCXX_3.4.23 GLIBCXX_3.4.24 GLIBCXX_3.4.25 GLIBCXX_3.4.26 GLIBCXX_3.4.27 GLIBCXX_3.4.28 GLIBCXX_3.4.29 GLIBCXX_3.4.30 GLIBCXX_DEBUG_MESSAGE_LENGTH

strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX GLIBCXX_3.4 GLIBCXX_3.4.1 GLIBCXX_3.4.2 GLIBCXX_3.4.3 GLIBCXX_3.4.4 GLIBCXX_3.4.5 GLIBCXX_3.4.6 GLIBCXX_3.4.7 GLIBCXX_3.4.8 GLIBCXX_3.4.9 GLIBCXX_3.4.10 GLIBCXX_3.4.11 GLIBCXX_3.4.12 GLIBCXX_3.4.13 GLIBCXX_3.4.14 GLIBCXX_3.4.15 GLIBCXX_3.4.16 GLIBCXX_3.4.17 GLIBCXX_3.4.18 GLIBCXX_3.4.19 GLIBCXX_3.4.20 GLIBCXX_3.4.21 GLIBCXX_3.4.22 GLIBCXX_3.4.23 GLIBCXX_3.4.24 GLIBCXX_3.4.25 GLIBCXX_3.4.26 GLIBCXX_3.4.27 GLIBCXX_3.4.28 GLIBCXX_3.4.29 GLIBCXX_3.4.30 GLIBCXX_DEBUG_MESSAGE_LENGTH I think the problem is that libstdc++.so.6 in /snap/core20/current/lib/x86_64-linux-gnu/ has not GLIBCXX_3.4.29 GLIBCXX_3.4.30 While libstdc++.so.6 in /snap/core22/current/lib/x86_64-linux-gnu/ and/usr/lib/x86_64-linux-gnu/ have them. How to solve it?

fidi87 commented 1 month ago

Similar error when some text pasted in editor. It freezes several seconds and during the period it prints this kind of logs continuously ...

[137506:1015/151315.747717:INFO:CONSOLE(35)] "%cTRACE color: #888 CommandService#executeCommand _setContext", source: vscode-file://vscode-app/snap/code/172/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js (35) [137506:1015/151315.752860:INFO:CONSOLE(35)] "%cTRACE color: #888 CommandService#executeCommand _setContext", source: vscode-file://vscode-app/snap/code/172/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js (35) [137506:1015/151315.757822:INFO:CONSOLE(35)] "%cTRACE color: #888 CommandService#executeCommand _setContext", source: vscode-file://vscode-app/snap/code/172/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js (35) [137506:1015/151315.762919:INFO:CONSOLE(35)] "%cTRACE color: #888 CommandService#executeCommand _setContext", source: vscode-file://vscode-app/snap/code/172/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js (35)

... `