alacritty: crash when pasting (smithay_clipboard SIGPIPE)

Hi,

Thank you for Alacritty. When pasting my alacritty terminal often crashes. The trace is like below. Not sure if SIGPIPE is expected/should be ignored/etc. To reproduce more often try pasting 3 or 4 times in a row. Pls let me know if there is any more info I can provide or test etc.

thx, -m

Ubuntu 18.04 alacritty 0.9.0-dev (8f4b752) Wayland

Thread 11 "smithay-clipboa" received signal SIGPIPE, Broken pipe.

#0  0x00001555541d43a7 in write () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00005555558938f1 in std::sys::unix::fd::FileDesc::write () at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca//library/std/src/sys/unix/fd.rs:139
#2  std::sys::unix::fs::File::write () at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca//library/std/src/sys/unix/fs.rs:845
#3  std::fs::{{impl}}::write () at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca//library/std/src/fs.rs:633
#4  smithay_client_toolkit::data_device::source::{{impl}}::write ()
    at /home/me/.cargo/registry/src/github.com-1ecc6299db9ec823/smithay-client-toolkit-0.12.3/src/data_device/source.rs:144
#5  std::io::Write::write_all<smithay_client_toolkit::data_device::source::WritePipe> ()
    at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/io/mod.rs:1384
#6  0x0000555555883ab6 in std::io::Write::write_fmt::{{impl}}::write_str<smithay_client_toolkit::data_device::source::WritePipe> ()
    at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/io/mod.rs:1507
#7  0x000055555577cf3c in core::fmt::write () at library/core/src/fmt/mod.rs:1078
#8  0x0000555555893603 in std::io::Write::write_fmt<smithay_client_toolkit::data_device::source::WritePipe> ()
    at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/io/mod.rs:1518
#9  smithay_clipboard::worker::worker_impl::{{closure}} ()
    at /home/me/.cargo/registry/src/github.com-1ecc6299db9ec823/smithay-clipboard-0.6.3/src/worker/handlers.rs:81
#10 0x000055555589649e in wayland_client::proxy::{{impl}}::quick_assign::{{closure}}<wayland_protocols::misc::gtk_primary_selection::generated::client::gtk_primary_selection_source::GtkPrimarySelectionSource,closure-1> ()
    at /home/me/.cargo/registry/src/github.com-1ecc6299db9ec823/smithay-client-toolkit-0.12.3/src/primary_selection/source.rs:111

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 1
  • Comments: 15 (7 by maintainers)

Commits related to this issue

Most upvoted comments

I cannot seem to cause the issue with a mouse select and keyboard (C-S-v) pastes. I will keep trying to narrow it down.