microsoft / vscode

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

Javascript heap overflow #133288

Closed tvl-jcamden closed 3 years ago

tvl-jcamden commented 3 years ago

Issue Type: Bug

A javascript heap overflow occurred while stepping through code that is fairly mature and only had simple additional code added.

VS Code version: Code 1.60.1 (83bd43bc519d15e50c4272c6cf5c1479df196a4d, 2021-09-10T17:07:10.714Z) OS version: Windows_NT x64 10.0.14393 Restricted Mode: No

System Info |Item|Value| |---|---| |CPUs|Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz (4 x 2500)| |GPU Status|2d_canvas: unavailable_software
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: disabled_off
rasterization: disabled_software
skia_renderer: enabled_on
video_decode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software| |Load (avg)|undefined| |Memory (System)|15.82GB (4.59GB free)| |Process Argv|--crash-reporter-id f74ffc0b-01a6-4702-ba23-cbc870666b91| |Screen Reader|no| |VM|0%|
Extensions (24) Extension|Author (truncated)|Version ---|---|--- better-comments|aar|2.1.0 Bookmarks|ale|13.2.1 project-manager|ale|12.4.0 ng-template|Ang|12.2.0 cform|aws|0.0.24 color-info|bie|0.7.0 gitignore|cod|0.7.0 vscode-eslint|dba|2.1.25 git-extension-pack|don|0.1.3 githistory|don|0.6.18 gitlens|eam|11.6.0 EditorConfig|Edi|0.16.4 remotehub|Git|0.14.0 vscode-pull-request-github|Git|0.30.0 xml-format|mik|1.1.2 debugger-for-chrome|msj|4.13.0 vscode-commons|red|0.0.6 vscode-yaml|red|0.22.0 sass-indented|rob|1.5.1 git-merger|sha|0.4.1 vscode-scss-formatter|sib|2.2.4 vscode-todo-highlight|way|1.0.4 markdown-pdf|yza|1.4.4 vscode-open-in-github|ziy|1.3.6
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383cf:30185419 vspyt653:30270858 pythonvspyt602:30300191 vspor879:30202332 vspor708:30202333 vspor363:30204092 pythonvspyt639:30300192 pythontb:30283811 pythonptprofiler:30281270 vsdfh931cf:30280410 vshan820:30294714 vstes263:30335439 pythondataviewer:30285071 pythonvsuse255:30340121 vscod805:30301674 pythonvspyt200:30340761 vscextlangct:30333562 binariesv615:30325510 vsccppwt:30364497 pythonvssor306:30344512 bridge0708:30335490 pygetstartedc2:30360494 bridge0723:30353136 pythonrunftest32:30365366 pythonf5test824cf:30361778 javagetstartedt:30364666 pythonvspyt187cf:30365362 pydsgst2:30361792 vscus224cf:30367820 vssid140:30363603 vssur157:30367808 ```
mjbvz commented 3 years ago

Where is the heap overflow occurring? In the program you're debugging or in VS Code itself?

tvl-jcamden commented 3 years ago

This error happened once today. It displayed a bunch of lines of information in the terminal window while it was compiling as I had just clicked save all. I had never seen this before. I never have issues like this in VS Code. I exited the application and relaunched. This is complete anecdotal information and I wasn't going to report it but since I was going to report the issue with the Debug Console window freezing up I figured I would let someone know this had happened as well. I had just upgraded to 1.60.1 on the 15th of Sept. so I figured I had better report it as this is stuff that had never happened before. I'm sorry I don't have the crash output and if it happens again I will submit the report that is generated.

mjbvz commented 3 years ago

Ok, from the symptoms this sounds like an issue with the program/script you were debugging instead of VS Code itself.

Closing as external but let us know if the program runs fine outside of VS Code but freezes when run through the debugger / integrated terminal