Skip to content

Regex search locks up IDE #138698

@Ma-XX-oN

Description

@Ma-XX-oN

Issue Type: Bug

I was typing in a regex into the find edit box and I accedentally wrote an infinite loop. Because of this, the entire IDE stopped responding and Windows put up a window saying that and if I wanted to restart or do two other things that I don't remember.

I'm thinking that the regex search should be put into a separate thread so that it can be force terminated when this occurs.

VS Code version: Code 1.63.0 (7db1a2b, 2021-12-07T06:26:56.179Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No

System Info
Item Value
CPUs AMD Ryzen 7 5700U with Radeon Graphics (16 x 1797)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 7.38GB (0.87GB free)
Process Argv --crash-reporter-id ff847a9c-5b94-44a0-b759-b62cfb7fa79c
Screen Reader no
VM 0%
Extensions (24)
Extension Author (truncated) Version
doxdocgen csc 1.3.2
overtype DrM 0.4.0
vscode-powertools ego 0.67.1
vscode-pull-request-github Git 0.32.0
better-cpp-syntax jef 1.15.10
cortex-debug mar 0.4.10
python ms- 2021.11.1422169775
vscode-pylance ms- 2021.12.0
jupyter ms- 2021.11.1001550889
jupyter-keymap ms- 1.0.0
jupyter-renderers ms- 1.0.4
remote-containers ms- 0.209.3
remote-ssh ms- 0.68.0
remote-ssh-edit ms- 0.68.0
remote-wsl ms- 0.63.4
cmake-tools ms- 1.9.2
cpptools ms- 1.8.0-insiders2
cpptools-extension-pack ms- 1.1.0
vsliveshare ms- 1.0.5196
vsliveshare-audio ms- 0.1.91
comment-wrap nex 0.0.2
select-by rio 1.9.0
code-spell-checker str 2.0.13
cmake twx 0.0.17

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vstes627:30244334
pythontb:30283811
pythonvspyt551:30345470
pythonptprofiler:30281270
vsdfh931cf:30280410
vshan820:30294714
vstes263:30335439
vscorecescf:30384386
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
pythonrunftest32:30373476
pythonf5test824:30373475
javagetstartedt:30391933
pythonvspyt187:30373474
vsaa593cf:30376535
pythonvs932:30408636
vscop804cf:30404767
vscop341:30404997
vsrem710:30405998
vscexrecpromp3t2:30407763

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions