Subject: Emacs next pgtk crashes when pasting to other app

From: Andrew Tropin <[email-masked]>
Date: Tue, 18 Oct 2022 10:52:19 +0400

Recently discovered a problem, which reproduces this way:
- Open a new emacs instance.
- Yank anything with M-w or select with mouse.
- Paste yanked text to chromium/icecat.

Both browser and emacs are hanging up for a while and after that Emacs
crashes with:

--8<---------------cut here---------------start------------->8---
Fatal error 11: Segmentation fault
--8<---------------cut here---------------end--------------->8---

sway, emacs-next-pgtk, ungoogled-chromium

--8<---------------cut here---------------start------------->8---
Generation 75	Oct 17 2022 15:54:07	(current)
  rde 05225a3
    repository URL: https://git.sr.ht/~abcdw/rde
    branch: master
    commit: 05225a3a20e2f3eba9ebaa3df4cdce3e8b0c33c1
  guix 3ab1438
    repository URL: file:///home/bob/work/gnu/guix
    branch: master
    commit: 3ab14386cd2a3fc4bacf2291ee585a0685aceb17
--8<---------------cut here---------------end--------------->8---

-- 
Best regards,
Andrew Tropin