Emacs next pgtk crashes when pasting to other app

  • Open
  • quality assurance status badge
Details
4 participants
  • Andrew Tropin
  • bokr
  • Declan Tsien
  • Joshua Branson
Owner
unassigned
Submitted by
Andrew Tropin
Severity
normal
A
A
Andrew Tropin wrote on 18 Oct 2022 08:52
(address . bug-guix@gnu.org)
874jw1aajg.fsf@trop.in
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:

Toggle snippet (3 lines)
Fatal error 11: Segmentation fault

sway, emacs-next-pgtk, ungoogled-chromium

Toggle snippet (11 lines)
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

--
Best regards,
Andrew Tropin
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmNOTSMACgkQIgjSCVjB
3rBH2RAAhqrmcWtnlYvqMPeBH2v8IrR/DB8+eYSUohmHFUJREvPo5T+/tXOIsaX2
AB0ZFXF5Mka/VKX7/WHdqZK+Y7d7lF9RdYdVe6zvOfvXKPJHotScWZ52gxLG4VKv
tOhU3Z0PxA9vmeVNMA6Z/J7a8aQpjJWBPvtDcfa3Fqtr8u0MssHRT8yT3HHdj13y
yli1NHBLHZ26zbwF2d/3xcVJhLqda2z+wSuHC7WUMnWyehzEZf7tB1CEhPb7uXVz
Q2kt49SyxHFYFDCccxlAGz3CQM5+ZX57z7lTR52l1ocizb2j9JncaFbDpr4kZUAF
3zBF3aemRdIN8SRIyDFGkyLj6mihQQnsTxoyR09053L8E/etAezHcGD4bkI5ki2k
kKQcuWUSzxWzGNn4colUxPSPQXm6xtWQqRNVVDaUhJqSkRMuOTpgK3sXTF/4n3zc
Wg9zOh2ycKhqzj3cXxU8/2mknGgLJrz8Dkn/vTB10h3j+Nww4aJHamc29EAVzrBJ
bV0rCF3yWKf8v6iMzKcfQV8pA/MxtO8RMszNya5QP5mMhcL13IAfzPnSme5ap5pp
MfwdD8pHJgIuutD087XwdCu7vBkskNqsFxMScUkE8BjPjGtl4zAdUNM/ISOuB+KS
o6zflY6UW1TgPtCyNue488p1EM59jZBy3xyIqtoE+JVv0VW3kMI=
=n2FZ
-----END PGP SIGNATURE-----

J
J
Joshua Branson wrote on 20 Oct 2022 19:00
(name . Andrew Tropin)(address . andrew@trop.in)(address . 58606@debbugs.gnu.org)
87fsfixwf1.fsf@dismail.de
Andrew Tropin <andrew@trop.in> writes:

Toggle quote (13 lines)
> 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:
>
> Fatal error 11: Segmentation fault
>
>
> sway, emacs-next-pgtk, ungoogled-chromium

I was unable to reproduce this bug. I am also using sway. Also thanks
for the tip about emacs-next-pgtk. I didn't know that was packaged!

joshua@crazyhorse ~ (master)> guix describe
Generation 45 Oct 20 2022 12:44:46 (current)
guix 00ff6f7
branch: master
commit: 00ff6f7c399670a76efffb91276dea2633cc130c
guixrus 762841a
branch: master
commit: 762841aa3fc5140597dd09a8082cf2ad71539f66
nonguix 2a368a2
branch: master
commit: 2a368a20cc0bc9de566316978749f7bc7f021627


joshua@crazyhorse ~ (master)> guix system describe
Generation 27 Oct 13 2022 12:21:15 (current)
file name: /var/guix/profiles/system-27-link
canonical file name: /gnu/store/xjdqzg2np46c1ks0qwcyv77wgyf3p184-system
label: GNU with Linux-Libre 5.19.14
bootloader: grub
root device: /dev/mapper/cryptroot
kernel: /gnu/store/8s41d36dgb700p3g5jbgl5vy7wi7lbsw-linux-libre-5.19.14/bzImage
channels:
guix:
branch: master
commit: 56915dc275994336efd15199769d78ae295e2339
configuration file: /gnu/store/rgw0i1qg29nq5jxk2mcpmvdigrwk4h3i-configuration.scm

Toggle quote (10 lines)
>
> 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
D
D
Declan Tsien wrote on 22 Oct 2022 12:40
(name . Andrew Tropin)(address . andrew@trop.in)(address . 58606@debbugs.gnu.org)
87wn8srviv.fsf@riseup.net
Andrew Tropin <andrew@trop.in> writes:

Toggle quote (8 lines)
> 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:

Same issue here. Just test Emacs(next-pgtk) with Chromium.
But not with Icecat nor Firefox (from nonguix).

Also, Chromium seem works fine with other applications, tested (Foot
terminal).

Fortunately for me, I've forgotten about Chromium for some time now.
It probably should report to Emacs mailing list.
-----BEGIN PGP SIGNATURE-----

iQHLBAEBCAA1FiEE9pXznsYl4IEztXWfD8aHA3Xv4vUFAmNTyKkXHGRlY2xhbnRz
aWVuQHJpc2V1cC5uZXQACgkQD8aHA3Xv4vWRmQv/fOtcm8L3v6imvu1I3RBPEU14
MoIaDjTyYV8V59s4z1JfswuuWWFE58JwwgQpa/L+4FC4TLfW2waA7fG2BV+IqsvE
iHU3MbUqzjHNPCEsapiMY9BYUL8gIOy19G+bMNoCjzr5Cs7fZBMWmzEgTRC/U98G
wK97qYXVYi4V0c7lcif/vOQjfavU9Akb9Kbj/U1yYyjf6uhnTyBe+uS961ELa/Ne
yfyEML9fFb5eObSX3l4sdiYAqYDjRO8dQvFp8idkbtO4XcQN9s0AgvD2wrDGW1dX
n4R1p5NBwnm4mNgBZJxZnplOENE5LWewM23rJ5ISOIVAJKgsv5XQeQdWCI+N4p+V
MzljCx94g29nMtYzq8vVEo8YNRpRwVkLZVJ5QZWR0qtFQ6qArWNGhuMoGw0y6DKw
9cp0IPwHTWNk0LEMhF7MoTmVbaJOPwBL4hl3Ca4EiyTVbLuF+YluE8KnEJlSkAJW
0ojrBu+T3Es/8k0i8jpWfBbudyVbALLreZ2+G/F0
=GM2o
-----END PGP SIGNATURE-----

J
J
Joshua Branson wrote on 23 Oct 2022 21:12
(name . Joshua Branson via Bug reports for GNU Guix)(address . bug-guix@gnu.org)
87o7u2icaz.fsf@dismail.de
Joshua Branson via Bug reports for GNU Guix <bug-guix@gnu.org> writes:

Toggle quote (19 lines)
> Andrew Tropin <andrew@trop.in> writes:
>
>> 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:
>>
>> Fatal error 11: Segmentation fault
>>
>>
>> sway, emacs-next-pgtk, ungoogled-chromium
>
> I was unable to reproduce this bug. I am also using sway. Also thanks
> for the tip about emacs-next-pgtk. I didn't know that was packaged!
>

So I did just reconfigure, and I am now running a wayland only sway
session.

I did notice that I cannot seem to copy text from inside emacs and paste
into chromium or icecat... Chromium seemed to lock up after I tried to
paste into its url bar. Icecat did not accept the paste, but continued
working...
A
A
Andrew Tropin wrote on 25 Oct 2022 06:45
Re: Emacs next pgtk crashes when pasting to other app
(address . bug-guix@gnu.org)
871qqwfr5d.fsf@trop.in
On 2022-10-18 10:52, Andrew Tropin wrote:

Toggle quote (26 lines)
> 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---

A little more info:
Toggle snippet (45 lines)
Fatal error 11: Segmentation fault
Backtrace:
/home/bob/.guix-home/profile/bin/emacs[0x530c7e]
/home/bob/.guix-home/profile/bin/emacs[0x42645c]
/home/bob/.guix-home/profile/bin/emacs[0x42694b]
/home/bob/.guix-home/profile/bin/emacs[0x52f1f8]
/home/bob/.guix-home/profile/bin/emacs[0x52f269]
/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libpthread.so.0(+0x11d80)[0x7f7850c45d80]
/gnu/store/96srhmpmxa20wmsck95g3iq4hb3lz4a0-glib-2.70.2/lib/libgobject-2.0.so.0(+0x27424)[0x7f7857ad4424]
/gnu/store/96srhmpmxa20wmsck95g3iq4hb3lz4a0-glib-2.70.2/lib/libgobject-2.0.so.0(g_signal_emit_valist+0xbeb)[0x7f7857ada21b]
/gnu/store/96srhmpmxa20wmsck95g3iq4hb3lz4a0-glib-2.70.2/lib/libgobject-2.0.so.0(g_signal_emit+0x82)[0x7f7857ada722]
/gnu/store/96srhmpmxa20wmsck95g3iq4hb3lz4a0-glib-2.70.2/lib/libgobject-2.0.so.0(+0x19884)[0x7f7857ac6884]
/gnu/store/96srhmpmxa20wmsck95g3iq4hb3lz4a0-glib-2.70.2/lib/libgobject-2.0.so.0(g_object_notify_by_pspec+0xe4)[0x7f7857ac8834]
/gnu/store/3qf7x188z53a8y1b6xpnnkas3mg7g3cq-gtk+-3.24.30/lib/libgtk-3.so.0(+0x3afbcd)[0x7f7858470bcd]
/gnu/store/3qf7x188z53a8y1b6xpnnkas3mg7g3cq-gtk+-3.24.30/lib/libgtk-3.so.0(+0x3de357)[0x7f785849f357]
/gnu/store/96srhmpmxa20wmsck95g3iq4hb3lz4a0-glib-2.70.2/lib/libgobject-2.0.so.0(g_closure_invoke+0x16f)[0x7f7857ac24af]
/gnu/store/96srhmpmxa20wmsck95g3iq4hb3lz4a0-glib-2.70.2/lib/libgobject-2.0.so.0(+0x269e9)[0x7f7857ad39e9]
/gnu/store/96srhmpmxa20wmsck95g3iq4hb3lz4a0-glib-2.70.2/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x735)[0x7f7857ad9d65]
/gnu/store/96srhmpmxa20wmsck95g3iq4hb3lz4a0-glib-2.70.2/lib/libgobject-2.0.so.0(g_signal_emit+0x82)[0x7f7857ada722]
/gnu/store/3qf7x188z53a8y1b6xpnnkas3mg7g3cq-gtk+-3.24.30/lib/libgtk-3.so.0(+0x38ac04)[0x7f785844bc04]
/gnu/store/3qf7x188z53a8y1b6xpnnkas3mg7g3cq-gtk+-3.24.30/lib/libgtk-3.so.0(gtk_main_do_event+0x6ea)[0x7f785830c37a]
/gnu/store/3qf7x188z53a8y1b6xpnnkas3mg7g3cq-gtk+-3.24.30/lib/libgdk-3.so.0(+0x3d3c5)[0x7f7857ff93c5]
/gnu/store/3qf7x188z53a8y1b6xpnnkas3mg7g3cq-gtk+-3.24.30/lib/libgdk-3.so.0(+0x9a352)[0x7f7858056352]
/gnu/store/96srhmpmxa20wmsck95g3iq4hb3lz4a0-glib-2.70.2/lib/libglib-2.0.so.0(g_main_context_dispatch+0x23b)[0x7f78579ce4cb]
/home/bob/.guix-home/profile/bin/emacs[0x64ade8]
/home/bob/.guix-home/profile/bin/emacs[0x518482]
/home/bob/.guix-home/profile/bin/emacs[0x5188a5]
/home/bob/.guix-home/profile/bin/emacs[0x519758]
/home/bob/.guix-home/profile/bin/emacs[0x519c95]
/home/bob/.guix-home/profile/bin/emacs[0x519e58]
/home/bob/.guix-home/profile/bin/emacs[0x51ebd8]
/home/bob/.guix-home/profile/bin/emacs[0x5f5dd8]
/home/bob/.guix-home/profile/bin/emacs[0x51a3b6]
/home/bob/.guix-home/profile/bin/emacs[0x51fcc3]
/home/bob/.guix-home/profile/bin/emacs[0x52200d]
/home/bob/.guix-home/profile/bin/emacs[0x523c32]
/home/bob/.guix-home/profile/bin/emacs[0x598b07]
/home/bob/.guix-home/profile/bin/emacs[0x50fe9a]
/home/bob/.guix-home/profile/bin/emacs[0x598a61]
/home/bob/.guix-home/profile/bin/emacs[0x50fe3f]
/home/bob/.guix-home/profile/bin/emacs[0x516c83]
/home/bob/.guix-home/profile/bin/emacs[0x516ffa]
/home/bob/.guix-home/profile/bin/emacs[0x42f32a]

--
Best regards,
Andrew Tropin
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmNXac4ACgkQIgjSCVjB
3rDKsg/9F/pBGta9DSKek8DuDn+TxtLcbySOp7l3xjzezLy3RenKxpzQO6MQofui
iS+t/Q0AORb+nUKGiEbGtjKV1ckyQ8tUSdKjq9Hm1QOptISgandqRPhW43Eg8R5M
g9CHFdm7fGVwUYQ8tpoJhMBoA1dYg4IrIL5ve2yOjl+4f2v+r9IJCsBGywLm73xh
ZUB02VUkKPjmSseVolbuolGFg13DLdPdMuNhGGcUlug472Dn0CyYeMRe7oBDH08d
oilUUK49sznZnu4lj5js5+vvRESb2DBKao1IhTmyM1oni4ZhsCGNUlSzIsuodP0s
t87e/nUq4tTRazyEswSZeGjlIPsNE4C/BnBjmCt6PEyQV/ZyexFz4V+BhvU05MGU
kZl7kAj9jcnugNfT8LjKqi/DxG0Kqjhjj/Y4rmRHtecPRRCZfrP7y1UpF+oeNqgZ
CX5XpnaaB6tNY9rczwkrDzpO1S+ezgI7iR3zqxk3LKv7zkeQ0aX/sMsVYZoZl+GA
a1aIsYtB/YPw0La6fnN/ojtNz5qTi7xAD66Bi2C8+I5LPVID4YZ9cnldWJd/hZv7
0PuKK03cxWETOYsTe0R6aNslbR6H8F+quB6c+idx10FpeUXZI3VbzhIZ0QDWargT
+MWhTbykqg125JqugY0hZl1mDDPh95rvQ25o1kTmf0UfvPvJ5Bk=
=jW08
-----END PGP SIGNATURE-----

J
J
Joshua Branson wrote on 25 Oct 2022 16:27
Re: bug#58606: Emacs next pgtk crashes when pasting to other app
(name . Andrew Tropin)(address . andrew@trop.in)(address . 58606@debbugs.gnu.org)
87fsfcgeqj.fsf@dismail.de
Andrew Tropin <andrew@trop.in> writes:

Toggle quote (8 lines)
> On 2022-10-18 10:52, Andrew Tropin wrote:
>
>> 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.
>>

I sometimes run two instances of Emacs. I discovered today, that Emacs
cannot yank from one and paste to another. When I try to paste I get this
mysterious warning message in Emacs:

"waiting for reply from selection owner."
B
(name . Joshua Branson)(address . jbranso@dismail.de)
20221026133747.GA5784@LionPure
Hi Joshua,

On +2022-10-25 10:27:48 -0400, Joshua Branson via Bug reports for GNU Guix wrote:
Toggle quote (19 lines)
> Andrew Tropin <andrew@trop.in> writes:
>
> > On 2022-10-18 10:52, Andrew Tropin wrote:
> >
> >> 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.
> >>
>
> I sometimes run two instances of Emacs. I discovered today, that Emacs
> cannot yank from one and paste to another. When I try to paste I get this
> mysterious warning message in Emacs:
>
> "waiting for reply from selection owner."
>
>
>

Disclaimer: Sharing newbie discovery, inviting risk commentary, no warranty :)

A hack to get around clipboarding hangs (which I won't go into here :)
is (if you are safely by yourself on your laptop) this:

Select what you want to copy-paste as usual
(Ctl-Space and move point to end of region)
but then don't copy it with Mx w --
instead do shell-op on region like
Toggle snippet (3 lines)
Esc |
tee /tmp/foo
that should write your region into /tmp/foo

Then switch to your other emacs instance and insert
foo contents at point using

Toggle snippet (4 lines)
Ctl-x i
/tmp/foo

tee should not have added any newline unless you had it in
your selected region, and Ctl-x i should insert verbatim.
(well, probably modulo different encodings in various buffers. Idk :)

If you want to hop between gui and emacs -nw it should work
fine there too. I've tried that.

If you want to do like append-string, adding to the end of foo, use
...|tee -a /tmp/foo
or use separate files ad lib, of course: whatever|tee /tmp/bar

If you want to be a bit safer, it'd probably be good to make
a restricted temp dir like

Toggle snippet (7 lines)
$ mktemp -d /tmp/joshclips.XXXXXX.d
/tmp/joshclips.rinY4L.d
$ ls -ltra /tmp/joshclips.rinY4L.d/
total 8
drwxrwxrwt 16 root root 4096 Oct 26 12:59 ..
drwx------ 2 bokr bokr 4096 Oct 26 12:59 .
(note the restricted write perm just to user, not group)

and then tee to
/tmp/joshclips.rinY4L.d/foo

Of course, if you want to preserve your cutting room detritus,
you can use other directories than /tmp :)

BTW, you could of course plain write foo with Crl-x w
but then you'd get interaction that using tee and insert avoids.

Also you could use cat > or cat >> in place of tee and tee -a
respectively, but then your selected region would disappear
because redirected cat effectively returns '' as the filtered region,
unlike tee which makes no mod, just sneaks a copy.

Using cat you'd have to undo with Crl-underscore.
No big deal, but tee avoids it :)

Please excuse that this wasn't on the fseg topic. SFTN.
--
Regards,
Bengt Richter
J
J
Joshua Branson wrote on 16 Nov 2022 16:34
(name . Declan Tsien)(address . declantsien@riseup.net)
871qq229sd.fsf@dismail.de
Declan Tsien <declantsien@riseup.net> writes:

Toggle quote (11 lines)
> Andrew Tropin <andrew@trop.in> writes:
>
>> 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:
>

I just discovered today, that I can copy text from emacs and paste that
text into firefox. It seems to no longer be an issue for me. :)
A
A
Andrew Tropin wrote on 1 Dec 2022 09:56
(address . 58606@debbugs.gnu.org)
87359zqz71.fsf@trop.in
On 2022-11-16 10:34, Joshua Branson wrote:

Toggle quote (16 lines)
> Declan Tsien <declantsien@riseup.net> writes:
>
>> Andrew Tropin <andrew@trop.in> writes:
>>
>>> 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:
>>
>
> I just discovered today, that I can copy text from emacs and paste that
> text into firefox. It seems to no longer be an issue for me. :)

I built a latest emacs from master:

And it is affected by this issue, so I made a quick and dirty workaround:

Unfortunately, I don't see an easy way to backport this fix to Guix.

Probably, this issues should be reported to bug-gnu-emacs.

--
Best regards,
Andrew Tropin
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmOIbFIACgkQIgjSCVjB
3rAbfw//WWh+QAfDAPdsssAjkPpD35iH8HP8o9+F2xfWDpVmYbI7FuZkW3nNZb1C
XiUI/YvX6nqLYW72DGapF/EBBd6pwn1QajDOydFSzBMAepKyUwOwTfk8emTVDU50
ERzsHN1gi6A6YhkHpQfB4p4zZ73mio0HTGXWko45rlghl43FvgvDEluHaoSg+sDb
7dBI0VVGviCpxf0/6x9LJvz1YxSlM8NkuQNxbcZf4E/ZVbYHmgTht5AR1d9SpKSd
sel1GThCN4jMyXtJ/od12JD74Dsh88G1QdrBsmaUhOW8Asr8J2wwZGSpUolxzIOW
9rlLGXlRySHRaz4+kWVMuxM5+o5F7N7az1MYX/djgZTeSVrYKVE8VpBfiOTTk+WU
wUTSMR2QSmRwpTEGzYNmzz0KQgX/R5+xyELQlSSLdn2hLWGMHhbpOUgOA5J36YZ0
CNLzD3tss/jaoFSuml8cjRD2SmJk2Te/Ll4o/LQPIo2pkP7YnnwEG3ykc23cbccu
hSAZCIdEhTLeLnf8ynKsomxGtwWZJzhnmvTYBGAJ3U74SsBLmdp+DPeF0DgFP+ln
SdNNm0R1grBISnGecDU/t10CKjzMSfZrPCCQbLQrN+QIn7K1Z2KLGCO3H+xS9RkX
Ra5gvwQqeWLwoWcuGi2/85wzOHl8OVG71UQoVmCa+keNBrd5g8Q=
=3S3u
-----END PGP SIGNATURE-----

J
J
Joshua Branson wrote on 1 Dec 2022 17:56
(name . Andrew Tropin)(address . andrew@trop.in)
87a647oyem.fsf@dismail.de
Andrew Tropin <andrew@trop.in> writes:

Toggle quote (29 lines)
> On 2022-11-16 10:34, Joshua Branson wrote:
>
>> Declan Tsien <declantsien@riseup.net> writes:
>>
>>> Andrew Tropin <andrew@trop.in> writes:
>>>
>>>> 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:
>>>
>>
>> I just discovered today, that I can copy text from emacs and paste that
>> text into firefox. It seems to no longer be an issue for me. :)
>
> I built a latest emacs from master:
> https://git.sr.ht/~abcdw/rde/commit/b03373920c1cc7d8d4b2d64c96f72eed9bb3651a
>
> And it is affected by this issue, so I made a quick and dirty workaround:
> https://git.sr.ht/~abcdw/rde/commit/b6aef2d8b34d1166f33629b4b3a1a0f5751f90f9
>
> Unfortunately, I don't see an easy way to backport this fix to Guix.
>
> Probably, this issues should be reported to bug-gnu-emacs.
>

I will let one of you do the reporting, since this issue no longer
affects me. :)
A
A
Andrew Tropin wrote on 20 Mar 2023 11:39
Re: Emacs next pgtk crashes when pasting to other app
(address . bug-guix@gnu.org)
874jqfiu60.fsf@trop.in
On 2022-10-18 10:52, Andrew Tropin wrote:

Toggle quote (26 lines)
> 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---

Reported to bug-gnu-emacs:

--
Best regards,
Andrew Tropin
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmQYN8cACgkQIgjSCVjB
3rCIZQ//XZeowDkQLm96L9aRjcJ32EvTprpGHIu2MRYFzHYxSf1oCAbObGs4BQUJ
t6CilvsL48T3wt1vfoDrPyePsEj7mpxpkzv+bNe1QzFl4dIWOzQBsbn+Teu5P1+a
1nSqbT9B1K/K0onGapVRdiRcfZViX+gNILvetAD158oyXgGQvr3XLXS2xjgrPhEZ
WHanNLHd1mU4MVcIJCSVt144TAzlO/CStND24yC5HSSISLcQdDbWeWTdjawEMq+b
p58Soo37lyi3rhkYlSUayCqjNowDvTRZEHKTHTNh43KlrZgrYBgIFqIZwtCixZEW
vKK/krDVEeMb2uoJnU76Veh6II1Zfb4wV0LGCCByRWZkqb9xclpLxkZZfYE0l7qQ
CTJZPSFZcuoHuk5Yd866C2wlTrlq5TQtihW2LLGvB8D4lpoILQT0KAYsfG59j9kf
tHOEFgWCGPRyNEJYnx0HpzLK5tJ2Q7qqHckm6pZjyyDTNPn7dJE1nntg3thdsGw2
XlzB95e7JyVKf2JFYwdttCGZAz+RiE/vFvEAufd9EmN3hyYCpz7CUC1fmW5cPhFR
Px7Zmq6LrZo7OC6NI4bHAdwtO5TN3VBt+iUWVJkcE6nbDZmp5woUXn2u24SdTRu/
JSZsfEZGcpi3/myzHjGTp2uWXniSU+nadFVLIpC2YbhkkETPeNY=
=uyTX
-----END PGP SIGNATURE-----

?