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

Crashes when pasting file name #195196

Open
jrkessl opened this issue Oct 9, 2023 · 5 comments
Open

Crashes when pasting file name #195196

jrkessl opened this issue Oct 9, 2023 · 5 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug confirmed Issue has been confirmed by VS Code Team member editor-clipboard Editor clipboard issues freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues linux Issues with VS Code on Linux workbench-os-integration Native OS integration issues
Milestone

Comments

@jrkessl
Copy link

jrkessl commented Oct 9, 2023

Type: Bug

  1. With an open file, go to File > Save As.
  2. In the Save As window, copy the file name. Close the window without saving.
  3. In another file, paste. Code freezes and has to be force-closed.

Bug does not happen when copying/pasting file contents. In other words, within the file editor.

VS Code version: Code 1.83.0 (e7e0370, 2023-10-03T16:11:49.843Z)
OS version: Linux x64 6.2.0-34-generic
Modes:

System Info
Item Value
CPUs 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz (8 x 4100)
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
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) 3, 2, 2
Memory (System) 15.41GB (3.43GB free)
Process Argv --crash-reporter-directory /tmp/crashreport
Screen Reader no
VM 0%
DESKTOP_SESSION plasma
XDG_CURRENT_DESKTOP KDE
XDG_SESSION_DESKTOP KDE
XDG_SESSION_TYPE x11
Extensions (10)
Extension Author (truncated) Version
aws-toolkit-vscode ama 1.92.0
vscode-diff fab 1.4.2
terraform has 2.28.1
python ms- 2023.18.0
vscode-pylance ms- 2023.10.10
autodocstring njp 0.6.1
intellicode-api-usage-examples Vis 0.2.8
vscodeintellicode Vis 1.2.30
gitblame wad 10.5.1
markdown-editor zaa 0.1.10
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627cf:30244335
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263cf:30856253
vscaac:30438847
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
282f8724:30602487
f6dab269:30613381
vscrp:30673768
showlangstatbar:30737416
962ge761:30841074
03d35959:30757346
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30797651
pythonidxpt:30805730
pythonnoceb:30805159
copilotsettingc:30839828
dsvsc013:30795093
dsvsc014:30804076
diffeditorv2:30821572
dsvsc015:30845448

image

image

@lramos15 lramos15 assigned rzhao271 and unassigned lramos15 Oct 10, 2023
@rzhao271 rzhao271 added bug Issue identified by VS Code Team member as probable bug linux Issues with VS Code on Linux confirmed Issue has been confirmed by VS Code Team member labels Dec 4, 2023
@rzhao271
Copy link
Contributor

rzhao271 commented Dec 4, 2023

Sorry for getting to your issue late.
I was able to reproduce the freezing issue on my CentOS 7 VM with Code 1.84.2.

@rzhao271 rzhao271 added the freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues label Dec 4, 2023
@rzhao271 rzhao271 added this to the Backlog milestone Dec 4, 2023
@rzhao271 rzhao271 added the workbench-os-integration Native OS integration issues label Dec 7, 2023
@rzhao271
Copy link
Contributor

I got a dump file because of how reliably I can repro this issue
40fa1f2f-6f4f-49db-b894-71f71c05243e.dmp
I'll symbolicate it in a bit and see if it gives more information about this crash.

@rzhao271
Copy link
Contributor

The dump doesn't seem relevant
Symbolicated: symbolicated-40.log

@rzhao271
Copy link
Contributor

The verbose output contains some more information but I notice the last line says that the clipboard paste action has 6 bound.

output.log

@rzhao271 rzhao271 added the editor-clipboard Editor clipboard issues label Dec 18, 2023
@bzip2
Copy link

bzip2 commented Apr 23, 2024

After squandering time and brain cells on this bug through multiple versions of VS Code, including Insiders 1.89.0 with zero extensions installed, I'm able to get it to come and go reliably by toggling Files > Simple Dialog. Just to confirm, I see exactly what @jrkessl reported. It doesn't matter if I paste, or paste as text, or if xclip is installed, etc. On 1.88.1, I made sure Ctrl-Shift-V was only bound to paste as text, but when VS Code hangs, the status bar says "running paste handlers".

Here's the setting that's working for me:

vscode_fix

Please let me know if you'd like more info. I'm running Ubuntu 22.04.4/6.5.0-27-generic, CPU only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug confirmed Issue has been confirmed by VS Code Team member editor-clipboard Editor clipboard issues freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues linux Issues with VS Code on Linux workbench-os-integration Native OS integration issues
Projects
None yet
Development

No branches or pull requests

5 participants