hangs (insider builds) or crashes (non-insider) after running .scripts
in debug console
#82804
Labels
bug
Issue identified by VS Code Team member as probable bug
debug
Debug viewlet, configurations, breakpoints, adapter issues
*out-of-scope
Posted issue is not in scope of VS Code
Milestone
Issue Type: Bug
git clone https://github.com/justingrant/repro-debug-scripts-hang.git
This is a brand-new create-react-app repo with a few lines of code that pull in lots of dependencies to simulate a real app.yarn
yarn start
.scripts
, then press ESC (to avoid the bad auto-completions), and then press ENTER. The IDE will take a 3-5 seconds to emit ~1600 lines (which seems reasonable given the number of files it has to process) but after the lines are emitted is when the problem happens.Expected: VSCode is responsive after
.scripts
is done executingActual: VSCode is completely unresponsive (no cursor blinking, no response to mouse clicks) for 10-20 seconds. Afterwards, responsiveness comes back, but if you resize the VSCode window, or switch to the terminal pane and then back to the debug console pane, the IDE is yet again unresponsive for 10-20 seconds.
The repro above describes behavior from from the latest insiders build, but I originally encountered this problem with the latest non-insiders build (1.39.2), and on non-insider build it was even worse: the IDE never comes back to responsiveness-- instead a crash report is generated and you need to close the window before you can use it again.
Here's a few sample call stacks from the crash reports I see on 1.39.2 non-insider builds.
VS Code version: Code - Insiders 1.40.0-insider (be68a4e, 2019-10-16T09:31:36.695Z)
OS version: Darwin x64 18.6.0
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off
surface_control: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off
webgl: enabled
webgl2: enabled
Extensions (1)
The text was updated successfully, but these errors were encountered: