microsoft / vscode

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

js ts crashed #211932

Closed levdalba closed 3 months ago

levdalba commented 6 months ago

Type: Bug

js ts servers crashed 5 times in last 5 minutes

VS Code version: Code 1.88.1 (Universal) (e170252f762678dec6ca2cc69aba1570769a5d39, 2024-04-10T17:42:52.765Z) OS version: Darwin arm64 23.4.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Apple M3 Pro (12 x 24)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|5, 6, 5| |Memory (System)|18.00GB (1.35GB free)| |Process Argv|--crash-reporter-id 6605b180-e8fd-4aef-831c-d0d026c10056| |Screen Reader|no| |VM|0%|
Extensions (28) Extension|Author (truncated)|Version ---|---|--- better-comments|aar|3.0.2 vscode-intelephense-client|bme|1.10.4 codescene-vscode|cod|0.7.1 gitignore|cod|0.9.0 composer-php-vscode|DEV|1.45.15272 intelli-php-vscode|DEV|0.12.15062 phptools-vscode|DEV|1.45.15272 profiler-php-vscode|DEV|1.45.15272 es7-react-js-snippets|dsz|4.4.3 gitlens|eam|14.9.1 prettier-vscode|esb|10.4.0 auto-rename-tag|for|0.1.10 code-runner|for|0.12.2 codespaces|Git|1.16.20 copilot|Git|1.186.0 copilot-chat|Git|0.14.1 vscode-pull-request-github|Git|0.86.1 RelativePath|jak|1.5.0 black-formatter|ms-|2024.2.0 debugpy|ms-|2024.6.0 python|ms-|2024.4.1 vscode-pylance|ms-|2024.4.1 material-icon-theme|PKi|5.1.0 LiveServer|rit|5.7.9 swdc-vscode|sof|2.7.11 pdf|tom|1.2.2 material-theme|zhu|3.17.2 php-intellisense|zob|1.3.3
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805cf:30301675 binariesv615:30325510 vsaa593:30376534 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 a9j8j154:30646983 962ge761:30959799 pythongtdpath:30769146 welcomedialogc:30910334 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 h48ei257:31000450 pythontbext0:30879054 accentitlementst:30995554 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 ccp2r3:30993541 dsvsc020:30976470 pythonait:31006305 showvideot:31016892 dsvsc021:30996838 g316j359:31013175 pythoncenvpt:31022790 dwnewjupytercf:31035177 ```
vscodenpa commented 6 months ago

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.89.0. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

mjbvz commented 6 months ago

Does this reproduce in the latest VS Code insiders build with all extensions disabled?

levdalba commented 6 months ago

yes its latest vs code. its because there are problems in my json files i guess. trying to fix

On Mon, 6 May 2024 at 23:25, Matt Bierner @.***> wrote:

Does this reproduce in the latest VS Code insiders build https://code.visualstudio.com/insiders/ with all extensions disabled https://github.com/microsoft/vscode/wiki/Performance-Issues#run-with-extensions-disabled ?

— Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/211932#issuecomment-2096437495, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV27WJC5RIHWOEUZJBYODCTZA6VI3AVCNFSM6AAAAABHFNUSQWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWGQZTONBZGU . You are receiving this because you authored the thread.Message ID: @.***>

mjbvz commented 6 months ago

Thanks for checking. Could you share a file/project which causes this too. The server should never crash, even with an invalid json file

levdalba commented 6 months ago

Those two are main sources of errors

On Tue, 7 May 2024 at 00:03, Matt Bierner @.***> wrote:

Thanks for checking. Could you share a file/project which causes this too. The server should never crash, even with an invalid json file

— Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/211932#issuecomment-2096509916, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV27WJBEXBC6NORNZLITNO3ZA6ZVPAVCNFSM6AAAAABHFNUSQWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWGUYDSOJRGY . You are receiving this because you authored the thread.Message ID: @.***>

levdalba commented 6 months ago

https://github.com/levdalba/Ecommerce-shop you can check whole repository if you want

On Tue, 7 May 2024 at 00:06, Levan Dalbashvili @.***> wrote:

Those two are main sources of errors

On Tue, 7 May 2024 at 00:03, Matt Bierner @.***> wrote:

Thanks for checking. Could you share a file/project which causes this too. The server should never crash, even with an invalid json file

— Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/211932#issuecomment-2096509916, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV27WJBEXBC6NORNZLITNO3ZA6ZVPAVCNFSM6AAAAABHFNUSQWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWGUYDSOJRGY . You are receiving this because you authored the thread.Message ID: @.***>

mjbvz commented 6 months ago

How do you repo the crash? Just opening Ts files doesn't seem to cause it

levdalba commented 6 months ago

There was no visual side error. i just had lot of errors and it seems it was causing those crashes.

On Tue, 7 May 2024 at 05:56, Matt Bierner @.***> wrote:

How do you repo the crash? Just opening Ts files doesn't seem to cause it

— Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/211932#issuecomment-2097063099, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV27WJDUTVKWJY2MITXZDZTZBADCXAVCNFSM6AAAAABHFNUSQWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJXGA3DGMBZHE . You are receiving this because you authored the thread.Message ID: @.***>

vs-code-engineering[bot] commented 3 months ago

Hey @mjbvz, this issue might need further attention.

@levdalba, you can help us out by closing this issue if the problem no longer exists, or adding more information.

levdalba commented 3 months ago

close it

On Fri, 26 Jul 2024 at 15:26, vs-code-engineering[bot] < @.***> wrote:

Hey @mjbvz https://github.com/mjbvz, this issue might need further attention.

@levdalba https://github.com/levdalba, you can help us out by closing this issue if the problem no longer exists, or adding more information.

— Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/211932#issuecomment-2252557845, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV27WJAWULHU5OYIVK7EVNDZOIW45AVCNFSM6AAAAABHFNUSQWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJSGU2TOOBUGU . You are receiving this because you were mentioned.Message ID: @.***>