vscode: Mac crashes when searching on the sidebar search form.
Issue Type: Bug
Type validation-> in the sidebar search form.
When entering one character at a time
As soon as you enter the> character, the mac hangs and the mac restarts.
I tried it several times, but even if I didn’t hang up, mac stopped and started moving for about 1 minute. In this case,> is input as many characters as validation->>>>>>>>>>>>>>>>>>>>.
When pasting validation-> string with copy and paste
Mac hangs up.
I think this bug did not occur before Ver1.40
Maybe related to #86913
VS Code version: Code 1.41.0 (9579eda04fdb3a9bba2750f15193e5fafe16b959, 2019-12-11T17:58:38.338Z) OS version: Darwin x64 18.7.0
System Info
| Item | Value |
|---|---|
| CPUs | Intel® Core™ i7-8700B CPU @ 3.20GHz (12 x 3200) |
| GPU Status | 2d_canvas: enabled 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 |
| Load (avg) | 3, 35, 30 |
| Memory (System) | 16.00GB (0.58GB free) |
| Process Argv | -psn_0_520319 |
| Screen Reader | no |
| VM | 0% |
Extensions (64)
| Extension | Author (truncated) | Version |
|---|---|---|
| html-snippets | abu | 0.2.1 |
| vscode-caniuse | aka | 0.5.3 |
| Bookmarks | ale | 10.6.0 |
| project-manager | ale | 10.9.1 |
| vagrant | bbe | 0.5.0 |
| path-intellisense | chr | 1.4.2 |
| regex | chr | 0.2.0 |
| bracket-pair-colorizer-2 | Coe | 0.0.29 |
| vscode-svgviewer | css | 2.0.0 |
| vscode-eslint | dba | 2.0.6 |
| vscode-dash | dee | 2.3.0 |
| githistory | don | 0.4.11 |
| jquerysnippets | don | 0.0.1 |
| gitlens | eam | 10.2.0 |
| EditorConfig | Edi | 0.14.3 |
| apacheconf-snippets | eim | 1.3.0 |
| LogFileHighlighter | emi | 2.6.0 |
| vscode-great-icons | emm | 2.1.47 |
| prettier-vscode | esb | 3.16.1 |
| vscode-todo-plus | fab | 4.14.1 |
| php-debug | fel | 1.13.0 |
| auto-close-tag | for | 0.5.6 |
| auto-rename-tag | for | 0.1.1 |
| code-runner | for | 0.9.15 |
| vscode-google-translate | fun | 1.4.2 |
| vue-snippets | hol | 0.1.11 |
| minify | Hoo | 0.4.3 |
| rest-client | hum | 0.23.0 |
| output-colorizer | IBM | 0.1.2 |
| plantuml | jeb | 2.13.5 |
| docthis | joe | 0.7.1 |
| markdownfromcsv | joj | 1.0.0 |
| vscode-insertdatestring | jsy | 2.2.4 |
| vscode-sshfs | Kel | 1.16.3 |
| vscode-regexp-preivew | le0 | 0.0.3 |
| vue | liu | 0.1.5 |
| MagicPython | mag | 1.1.0 |
| rainbow-csv | mec | 1.3.1 |
| easy-less | mrc | 1.5.1 |
| vscode-apache | mrm | 1.2.0 |
| vscode-csscomb | mrm | 5.3.0 |
| vscode-docker | ms- | 0.9.0 |
| vscode-language-pack-ja | MS- | 1.41.2 |
| mssql | ms- | 1.8.0 |
| python | ms- | 2019.11.50794 |
| debugger-for-chrome | msj | 4.12.3 |
| indent-rainbow | ode | 7.4.0 |
| csv-to-table | php | 1.2.1 |
| material-icon-theme | PKi | 3.9.2 |
| partial-diff | ryu | 1.4.0 |
| vscode-sql-beautify | sen | 0.0.4 |
| code-settings-sync | Sha | 3.4.3 |
| addDocComments | ste | 0.0.8 |
| pretty-json | sup | 0.0.4 |
| ayu | tea | 0.18.0 |
| tom | 0.5.1 | |
| highlight-matching-tag | vin | 0.9.6 |
| vscode-icons | vsc | 9.6.0 |
| quokka-vscode | Wal | 1.0.267 |
| jinja | who | 0.0.8 |
| change-case | wma | 1.0.0 |
| better-align | wwm | 1.1.6 |
| JavaScriptSnippets | xab | 1.7.2 |
| markdown-pdf | yza | 1.4.1 |
(5 theme extensions excluded)
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 1
- Comments: 46 (11 by maintainers)
It’s probably just good luck, david9991 😉 It’s not fixed for me in 1.49.1
My environment is a npm-oriented monorepo and due to some architectural concerns, there are node_modules directories at various different depths, i.e. not all easily caught by a single globbing pattern.
I was able to stop the hangs entirely by taking the time to build out the necessary glob patterns to exclude all my node_modules directories, which generally gels with other observations around unconstrained search, size of search space, etc.