Open alexdevero opened 3 months ago
@hediet, any idea on how to investigate this issue? Thanks!
Stack:
2024-03-25 11:02:28.333 [error] Error: Invalid range: [-1714, -1735) at vs/editor/common/core/offsetRange.ts:52:9 at vs/editor/common/core/offsetRange.ts:47:9 at vs/editor/browser/widget/diffEditor/utils/editorGutter.ts:128:45 at fn vs/base/common/observableInternal/base.ts:282:2 at tx vs/editor/browser/widget/diffEditor/utils/editorGutter.ts:93:16 at vs/editor/browser/widget/diffEditor/utils/editorGutter.ts:54:80 at vs/base/common/observableInternal/autorun.ts:196:9 at vs/base/common/observableInternal/autorun.ts:237:9 at vs/base/common/observableInternal/base.ts:350:12 at vs/base/common/observableInternal/base.ts:284:5 at $Nd vs/base/common/observableInternal/base.ts:320:2 at tx vs/editor/browser/widget/diffEditor/diffEditorWidget.ts:468:18
Looks like it is an issue of the diff editor gutter.
Type: Bug
Hard to replicates as it happens very infrequently and only with some files. When I try to open git diff of some file via Source Control tab/section sometimes it happens that this screens shows up and git diff in files stops working - files are still marked as changed but file explorerúviewver doesn't show any detected changes,
VS Code version: Code - Insiders 1.88.0-insider (b0d975fc6370f15570c380f41015b1ca2cdcb791, 2024-03-25T05:50:48.433Z) OS version: Darwin arm64 23.4.0 Modes:
System Info
|Item|Value| |---|---| |CPUs|Apple M1 Pro (10 x 24)| |GPU Status|2d_canvas: enabledcanvas_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)|4, 4, 3| |Memory (System)|32.00GB (1.54GB free)| |Process Argv|| |Screen Reader|no| |VM|0%|
Extensions (59)
Extension|Author (truncated)|Version ---|---|--- better-comments|aar|3.0.2 Bookmarks|ale|13.4.2 project-manager|ale|12.7.0 vscode-zipfs|arc|3.0.0 color-info|bie|0.7.2 vscode-tailwindcss|bra|0.10.5 simple-react-snippets|bur|1.2.7 path-intellisense|chr|2.8.5 gitignore|cod|0.9.0 vscode-markdownlint|Dav|0.54.0 vscode-eslint|dba|2.4.4 githistory|don|0.6.20 es7-react-js-snippets|dsz|4.4.3 gitlens|eam|14.9.0 EditorConfig|Edi|0.16.4 prettier-vscode|esb|10.4.0 auto-rename-tag|for|0.1.10 c-cpp-runner|fra|9.4.7 copilot|Git|1.175.784 copilot-chat|Git|0.14.2024032501 go|gol|0.41.2 vscode-graphql|Gra|0.9.3 vscode-graphql-syntax|Gra|1.3.5 rest-client|hum|0.25.1 svg|joc|1.5.3 contextualduplicate|laf|0.2.0 vscode-language-babel|mgm|0.0.40 git-graph|mhu|1.30.0 dotenv|mik|1.0.1 vscode-scss|mrm|0.10.0 black-formatter|ms-|2024.0.1 debugpy|ms-|2024.2.0 flake8|ms-|2023.10.0 python|ms-|2024.2.1 vscode-pylance|ms-|2024.3.1 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.17 vscode-jupyter-cell-tags|ms-|0.1.8 vscode-jupyter-slideshow|ms-|0.1.5 cpptools|ms-|1.19.9 vscode-versionlens|pfl|1.9.2 material-icon-theme|PKi|4.34.0 vscode-yaml|red|1.14.0 rust-analyzer|rus|0.3.1896 multi-command|ryu|1.6.0 vscode-fileutils|sle|3.10.3 code-spell-checker|str|3.0.1 code-spell-checker-czech|str|1.0.6 svelte-vscode|sve|108.3.3 sass-indented|syl|1.8.29 vscode-mdx|uni|1.8.2 errorlens|use|3.16.0 vscode-lldb|vad|1.10.0 intellicode-api-usage-examples|Vis|0.2.8 vscodeintellicode|Vis|1.3.1 vscode-icons|vsc|12.7.0 vscode-nginx|wil|0.7.2 dictionary-completion|yzh|1.3.1 material-theme|zhu|3.17.0Error log from Output -> Window: