GNU bug report logs -
#58606
Emacs next pgtk crashes when pasting to other app
Previous Next
To reply to this bug, email your comments to 58606 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#58606
; Package
guix
.
(Tue, 18 Oct 2022 06:54:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Andrew Tropin <andrew <at> trop.in>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Tue, 18 Oct 2022 06:54:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#58606
; Package
guix
.
(Thu, 20 Oct 2022 17:01:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 58606 <at> debbugs.gnu.org (full text, mbox):
Andrew Tropin <andrew <at> 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!
joshua <at> crazyhorse ~ (master)> guix describe
Generation 45 Oct 20 2022 12:44:46 (current)
guix 00ff6f7
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 00ff6f7c399670a76efffb91276dea2633cc130c
guixrus 762841a
repository URL: https://git.sr.ht/~whereiseveryone/guixrus
branch: master
commit: 762841aa3fc5140597dd09a8082cf2ad71539f66
nonguix 2a368a2
repository URL: https://gitlab.com/nonguix/nonguix
branch: master
commit: 2a368a20cc0bc9de566316978749f7bc7f021627
joshua <at> 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:
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 56915dc275994336efd15199769d78ae295e2339
configuration file: /gnu/store/rgw0i1qg29nq5jxk2mcpmvdigrwk4h3i-configuration.scm
>
> 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
Information forwarded
to
bug-guix <at> gnu.org
:
bug#58606
; Package
guix
.
(Sat, 22 Oct 2022 10:41:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 58606 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Andrew Tropin <andrew <at> 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:
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.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#58606
; Package
guix
.
(Sun, 23 Oct 2022 19:14:01 GMT)
Full text and
rfc822 format available.
Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):
Joshua Branson via Bug reports for GNU Guix <bug-guix <at> gnu.org> writes:
> Andrew Tropin <andrew <at> 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...
Information forwarded
to
bug-guix <at> gnu.org
:
bug#58606
; Package
guix
.
(Sun, 23 Oct 2022 19:14:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#58606
; Package
guix
.
(Tue, 25 Oct 2022 04:46:01 GMT)
Full text and
rfc822 format available.
Message #20 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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.
>
> 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:
--8<---------------cut here---------------start------------->8---
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]
--8<---------------cut here---------------end--------------->8---
--
Best regards,
Andrew Tropin
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#58606
; Package
guix
.
(Tue, 25 Oct 2022 14:29:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 58606 <at> debbugs.gnu.org (full text, mbox):
Andrew Tropin <andrew <at> 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."
Information forwarded
to
bug-guix <at> gnu.org
:
bug#58606
; Package
guix
.
(Wed, 26 Oct 2022 13:39:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 58606 <at> debbugs.gnu.org (full text, mbox):
Hi Joshua,
On +2022-10-25 10:27:48 -0400, Joshua Branson via Bug reports for GNU Guix wrote:
> Andrew Tropin <andrew <at> 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
--8<---------------cut here---------------start------------->8---
Esc |
tee /tmp/foo
--8<---------------cut here---------------end--------------->8---
that should write your region into /tmp/foo
Then switch to your other emacs instance and insert
foo contents at point using
--8<---------------cut here---------------start------------->8---
Ctl-x i
/tmp/foo
--8<---------------cut here---------------end--------------->8---
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
--8<---------------cut here---------------start------------->8---
$ 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 .
--8<---------------cut here---------------end--------------->8---
(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
Information forwarded
to
bug-guix <at> gnu.org
:
bug#58606
; Package
guix
.
(Wed, 16 Nov 2022 15:35:02 GMT)
Full text and
rfc822 format available.
Message #29 received at 58606 <at> debbugs.gnu.org (full text, mbox):
Declan Tsien <declantsien <at> riseup.net> writes:
> Andrew Tropin <andrew <at> 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. :)
Information forwarded
to
bug-guix <at> gnu.org
:
bug#58606
; Package
guix
.
(Thu, 01 Dec 2022 08:58:01 GMT)
Full text and
rfc822 format available.
Message #32 received at 58606 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 2022-11-16 10:34, Joshua Branson wrote:
> Declan Tsien <declantsien <at> riseup.net> writes:
>
>> Andrew Tropin <andrew <at> 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.
--
Best regards,
Andrew Tropin
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#58606
; Package
guix
.
(Thu, 01 Dec 2022 16:58:02 GMT)
Full text and
rfc822 format available.
Message #35 received at 58606 <at> debbugs.gnu.org (full text, mbox):
Andrew Tropin <andrew <at> trop.in> writes:
> On 2022-11-16 10:34, Joshua Branson wrote:
>
>> Declan Tsien <declantsien <at> riseup.net> writes:
>>
>>> Andrew Tropin <andrew <at> 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. :)
Information forwarded
to
bug-guix <at> gnu.org
:
bug#58606
; Package
guix
.
(Mon, 20 Mar 2023 10:40:02 GMT)
Full text and
rfc822 format available.
Message #38 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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.
>
> 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:
https://yhetil.org/emacs-bugs/877cvbiuf9.fsf <at> trop.in/
--
Best regards,
Andrew Tropin
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 2 years and 88 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.