Skip to content

Crash when dragging file from explorer view, on Wayland #179836

@tengyifei

Description

@tengyifei

Type: Bug

Drag a file from the explorer side bar into the main panel. vscode insider crashes.

This problem happens when on Linux using the Wayland display backend (--ozone-platform=wayland on the command line). This problem cannot be reproduced under X11.

Here are the last lines of log output when WAYLAND_DEBUG=1:

[3976585.393] wl_pointer@6.leave(361277, wl_surface@34)
[3976585.472] wl_pointer@6.frame()
[3976585.475] wl_data_device@26.data_offer(new id wl_data_offer@4278190081)
[3976585.477] wl_data_offer@4278190081.offer("text/plain;charset=utf-8")
[3976585.480] wl_data_offer@4278190081.offer("text/plain")
[3976585.481] wl_data_offer@4278190081.offer("chromium/x-web-custom-data")
[3976585.483] wl_data_offer@4278190081.source_actions(3)
[3976585.484] wl_data_device@26.enter(361278, wl_surface@34, 611.34375000, 528.20703125, wl_data_offer@4278190081)
[3976585.488]  -> wl_data_offer@4278190081.accept(361278, "text/plain;charset=utf-8")
[3976585.491]  -> wl_data_offer@4278190081.accept(361278, "text/plain")
[3976585.493]  -> wl_data_offer@4278190081.accept(361278, "chromium/x-web-custom-data")
[3976585.580]  -> wl_data_offer@4278190081.set_actions(0, 0)
[3976585.600] wl_data_device@26.motion(0, 611.34375000, 528.20703125)
[3976585.625]  -> wl_data_offer@4278190081.set_actions(0, 0)
[3976585.666] wl_display@1.delete_id(55)
[3976585.672] wl_display@1.error(wl_surface@53, 2, "Buffer size (135x41) is not divisible by scale (2)")
[741338:0412/211158.918105:ERROR:wayland_event_watcher.cc(36)] libwayland: wl_surface@53: error 2: Buffer size (135x41) is not divisible by scale (2)

[0412/211158.925013:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0412/211158.929516:ERROR:directory_reader_posix.cc(42)] opendir /home/yifeit/.config/Code - Insiders/Crashpad/attachments/deb92d33-e7d2-4ae0-9309-cd8604524855: No such file or directory (2)
[1]    741338 trace trap  /usr/share/code-insiders/code-insiders --unity-launch %F   --force-dark-mode
                                                                                                                                                                                                                                   ✘ TRAP 43s

[0412/211206.820570:INFO:crash_report_upload_thread.cc(349)] Report uploaded to AppCenter. Report: deb92d33-e7d2-4ae0-9309-cd8604524855

VS Code version: Code - Insiders 1.78.0-insider (e551221, 2023-04-12T05:20:39.394Z)
OS version: Linux x64 6.1.15-1rodete3-amd64
Modes:
Sandboxed: Yes

System Info
Item Value
CPUs 11th Gen Intel(R) Core(TM) i7-11850H @ 2.50GHz (16 x 4596)
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) 2, 1, 1
Memory (System) 62.52GB (47.04GB free)
Process Argv --unity-launch --enable-features=UseOzonePlatform --ozone-platform=wayland --force-dark-mode --password-store=gnome-libsecret --crash-reporter-id b9e97912-bb60-4caf-a8ab-6cd0200a80b7
Screen Reader no
VM 0%
DESKTOP_SESSION sway
XDG_CURRENT_DESKTOP undefined
XDG_SESSION_DESKTOP sway
XDG_SESSION_TYPE wayland
Extensions (88)
Extension Author (truncated) Version
terminal-commands adr 1.0.5
vscode-m3u af4 1.0.0
cppincludeguard aki 1.6.0
Bookmarks ale 13.3.1
hex-decimal-magic all 0.0.1
meson asa 1.3.0
vscode-neovim asv 0.0.97
vscode-bazel Baz 0.7.0
markdown-preview-github-styles bie 1.0.1
shell-syntax bma 1.0.5
better-toml bun 0.3.2
gitignore cod 0.9.0
arm dan 1.7.4
vscode-markdownlint Dav 0.49.0
bazel-code Dev 0.1.9
vscode-wasm dts 1.4.1
gitlens eam 2023.4.1205
vscode-command-runner edo 0.0.124
vsc-material-theme Equ 33.8.0
vsc-material-theme-icons equ 2.7.5
fuchsia-tree fuc 0.0.5
language-fidl fuc 0.5.0
vscode-fuchsia fuc 1.2022111.2023040700
zxdb fuc 1.0.4
go gol 0.38.0
gc-excelviewer Gra 4.2.57
vscode-systemd-support han 1.0.1
svgeditor hen 2.9.0
vscode-go-template jin 0.2.1
svg joc 1.5.2
language-haskell jus 3.6.0
hex-fmt ker 1.0.0
graphql-for-vscode kum 1.15.3
vscode-clangd llv 0.1.23
lzwme-eye-care lzw 1.0.2
MagicPython mag 1.1.0
prettify-json moh 0.0.3
theme-monokai-pro-vscode mon 1.2.0
vscode-json5 mrm 1.0.0
vscode-docker ms- 1.24.0
vscode-dotnet-runtime ms- 1.6.0
isort ms- 2023.9.10931010
python ms- 2023.6.0
vscode-pylance ms- 2023.4.10
jupyter ms- 2023.4.1001031011
jupyter-keymap ms- 1.1.0
jupyter-renderers ms- 1.0.15
vscode-jupyter-cell-tags ms- 0.1.8
vscode-jupyter-slideshow ms- 0.1.5
remote-containers ms- 0.289.0
remote-ssh ms- 0.101.2023041015
remote-ssh-edit ms- 0.84.0
remote-wsl ms- 0.78.0
vscode-remote-extensionpack ms- 0.24.0
cpptools ms- 1.15.2
cpptools-extension-pack ms- 1.3.0
live-server ms- 0.4.7
remote-explorer ms- 0.5.2023040509
remote-server ms- 1.0.0
vscode-typescript-next ms- 5.1.20230411
vsliveshare ms- 1.0.5857
gnls mse 0.1.3
autotrim Nat 1.0.6
vscode-gn npc 1.1.0
prettier-standard-vscode num 1.0.2
vetur oct 0.37.3
vscode-gnformat per 0.0.3
macos-dark-mode-theme phi 1.1.3
text-power-tools qcz 1.40.2
scheme reb 0.0.2
fuchsiaware Ric 0.5.1
rust-analyzer rus 0.3.1472
vscode-coverage-gutters rya 2.10.4
crates ser 0.5.11
trailing-spaces sha 0.4.1
markdown-preview-enhanced shd 0.6.8
gitconfig sid 2.0.1
rewrap stk 1.16.3
code-spell-checker str 2.20.4
shellcheck tim 0.31.1
vscode-icons vsc 12.3.0
vscode-ruby win 0.28.0
change-case wma 1.0.0
clang-format xav 1.9.0
swig-tpl zha 0.0.6
propertylist zho 0.0.2
material-theme zhu 3.15.8
vscode-proto3 zxh 0.5.5

(17 theme extensions excluded)

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256198
vstes627:30244334
vslsvsres303:30308271
pythontb:30258533
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
vscod805:30301674
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30404738
cppdebug:30492333
vsclangdf:30492506
c4g48928:30535728
dsvsc012:30540252
pynewext54:30618038
pylantcb52:30590116
nodejswelcome1:30587009
pyind779:30611226
pythonsymbol12:30651887
showlangstatbar:30659908
pythonb192cf:30661257
defaultazurewalk:30687958
pythonms35:30671666
f08j5886:30680471
7ij38806:30687742
pythonfmttext:30710679
pythonclientmv:30700173

Minidump:
01049061-a078-4033-bf2e-2e611776f5a9.zip

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugchromiumIssues and items related to Chromiumfreeze-slow-crash-leakVS Code crashing, performance, freeze and memory leak issuesinsiders-releasedPatch has been released in VS Code InsidersupstreamIssue identified as 'upstream' component related (exists outside of VS Code)upstream-issue-fixedThe underlying upstream issue has been fixedverifiedVerification succeededwaylandIssue related to wayland display server

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions