Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random new untitled files opening #176187

Closed
jeengbe opened this issue Mar 5, 2023 · 4 comments
Closed

Random new untitled files opening #176187

jeengbe opened this issue Mar 5, 2023 · 4 comments
Assignees
Labels
info-needed Issue requires more information from poster triage-needed

Comments

@jeengbe
Copy link

jeengbe commented Mar 5, 2023

Type: Bug

Randomly, at seemingly completely arbitrary intervals, new blank "Untitled-1" files are opened in a new tab. It ranges from few minutes to hours or even days without it happening.

I sadly don't know what triggers this, thus can't provide any steps on how to reproduce this. Even though I am currently using the stable build, I have seen the same issue on the (as of writing this) latest Insiders version.

As the problem occurs randomly while working, I haven't been able/tried to replicate this with extensions disabled

VS Code version: Code 1.76.0 (92da948, 2023-03-01T10:22:44.506Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: No
Remote OS version: Linux x64 5.15.90.1-microsoft-standard-WSL2

System Info
Item Value
CPUs AMD Ryzen 9 3900XT 12-Core Processor (24 x 3993)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
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_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) undefined
Memory (System) 63.91GB (39.23GB free)
Process Argv --crash-reporter-id c721b6b5-1c80-4cc5-855f-0423ec59e89a
Screen Reader no
VM 0%
Item Value
Remote WSL: Ubuntu
OS Linux x64 5.15.90.1-microsoft-standard-WSL2
CPUs AMD Ryzen 9 3900XT 12-Core Processor (24 x 3992)
Memory (System) 19.53GB (12.51GB free)
VM 0%
Extensions (64)
Extension Author (truncated) Version
mermaid-markdown-syntax-highlighting bpr 1.5.1
codespaces Git 1.13.10
vscode-graphql-syntax Gra 1.1.0
fluent-icons mig 0.0.18
dotenv mik 1.0.1
vscode-aql mon 1.7.0
jupyter-keymap ms- 1.1.0
remote-ssh ms- 0.98.0
remote-ssh-edit ms- 0.84.0
remote-wsl ms- 0.76.1
remote-explorer ms- 0.2.0
material-icon-theme PKi 4.24.0
material-product-icons PKi 1.5.0
swdc-vscode sof 2.6.48
errorlens use 3.7.0
vscode-lcov ale 0.2.0
markdown-mermaid bie 1.17.4
markdown-preview-github-styles bie 1.0.1
vscode-intelephense-client bme 1.9.5
better-toml bun 0.3.2
path-intellisense chr 2.8.4
vscode-eslint dba 2.4.0
gitlens eam 13.3.1
prettier-vscode esb 9.10.4
vscode-chatgpt gen 3.9.4
copilot Git 1.77.9225
copilot-labs Git 0.11.742
vscode-pull-request-github Git 0.58.2
gitlab-workflow Git 3.60.0
vscode-graphql Gra 0.8.6
vscode-graphql-syntax Gra 1.1.0
terraform has 2.25.4
vscode-env Iro 0.1.0
gitlab-mr jas 1.4.3
vscode-colorize kam 0.11.1
git-graph mhu 1.30.0
language-gettext mro 0.2.2
vscode-docker ms- 1.24.0
python ms- 2023.4.0
vscode-pylance ms- 2023.3.10
jupyter ms- 2023.2.1000592019
jupyter-keymap ms- 1.1.0
jupyter-renderers ms- 1.0.15
vscode-jupyter-cell-tags ms- 0.1.6
vscode-jupyter-slideshow ms- 0.1.5
hexeditor ms- 1.9.11
vsliveshare ms- 1.0.5832
gremlins nho 0.26.0
vscode-jest Ort 5.2.3
vscode-twoslash-queries Ort 1.1.0
markdown-github-dark oza 0.1.0
restart-ts-server-button qcz 1.0.1
vscode-yaml red 1.11.0
datetime rid 2.2.2
LiveServer rit 5.7.9
vs-code-prettier-eslint rve 5.0.4
trailing-spaces sha 0.4.1
code-spell-checker str 2.19.0
code-spell-checker-german str 2.2.0
vscode-styled-components sty 1.7.5
tabnine-vscode Tab 3.6.41
codetour vsl 0.0.58
gitblame wad 10.1.0
quokka-vscode Wal 1.0.527

(4 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
azure-dev_surveyone:30548225
pyindex848:30662994
nodejswelcome1cf:30587006
3biah626:30602489
pyind779:30671433
f6dab269:30613381
pythonsymbol12:30671437
2i9eh265:30646982
vsctsb:30677850

@roblourens
Copy link
Member

This is almost definitely due to a misbehaving extension. Could be hard to figure out which one it is since it doesn't happen often. You might get a clue by running the command "Set Log Level" -> "Trace", then after it happens, check the "Window" output channel for clues.

Or, disable some extensions that seem like they might be doing something weird.

Or use the command "Start Extension Bisect"

@roblourens roblourens added the info-needed Issue requires more information from poster label Mar 6, 2023
@jeengbe
Copy link
Author

jeengbe commented Mar 6, 2023

Alright, thanks for the tips how to debug this. I had no idea how to narrow that down.
I'll come back once I have something.

@jeengbe
Copy link
Author

jeengbe commented Mar 6, 2023

Hi!

It just happened; here are the relevant logs:

2023-03-06 20:45:54.175 [trace] CommandService#executeCommand _setContext
2023-03-06 20:45:54.176 [trace] CommandService#executeCommand _setContext
2023-03-06 20:46:11.760 [trace] CommandService#executeCommand _update.state
2023-03-06 20:46:11.997 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-03-06 20:46:11.998 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\jeengbe\AppData\Roaming\Code\User\globalStorage
2023-03-06 20:46:11.999 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-03-06 20:46:11.999 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\jeengbe\AppData\Roaming\Code\User\globalStorage
2023-03-06 20:46:12.074 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\jeengbe\AppData\Roaming\Code\User\globalStorage
2023-03-06 20:46:12.074 [debug] User data changed
2023-03-06 20:46:18.259 [trace] MainThreadTreeViews#$refresh currentBranchInfo undefined
2023-03-06 20:46:41.775 [trace] CommandService#executeCommand _update.state
2023-03-06 20:46:41.824 [trace] [backup tracker] scheduling backup untitled:Untitled-5 
2023-03-06 20:46:41.824 [trace] [backup tracker] clearing pending backup creation untitled:Untitled-5 
2023-03-06 20:46:41.824 [trace] [backup tracker] scheduling backup untitled:Untitled-5 
2023-03-06 20:46:42.010 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-03-06 20:46:42.011 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\jeengbe\AppData\Roaming\Code\User\globalStorage
2023-03-06 20:46:42.012 [trace] [File Watcher (node.js)] [raw] ["change"] globalStorage
2023-03-06 20:46:42.012 [trace] [File Watcher (node.js)] [CHANGED] c:\Users\jeengbe\AppData\Roaming\Code\User\globalStorage
2023-03-06 20:46:42.087 [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\jeengbe\AppData\Roaming\Code\User\globalStorage
2023-03-06 20:46:42.087 [debug] User data changed
2023-03-06 20:46:42.838 [trace] [backup tracker] creating backup untitled:Untitled-5 
2023-03-06 20:46:42.838 [trace] [backup tracker] storing backup untitled:Untitled-5 
2023-03-06 20:46:46.808 [trace] KeybindingService#dispatch Ctrl+Shift+P workbench.action.showCommands

At a glance, nothing looks out of the ordinary, so I suspect it might be an extension. Thanks!

@jeengbe jeengbe closed this as completed Mar 6, 2023
@jeengbe jeengbe closed this as not planned Won't fix, can't repro, duplicate, stale Mar 6, 2023
@Falci
Copy link

Falci commented Apr 7, 2023

This is really annoying.
Could VS Code provide a better a way to debug it?

@github-actions github-actions bot locked and limited conversation to collaborators Apr 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster triage-needed
Projects
None yet
Development

No branches or pull requests

4 participants