GNU bug report logs - #56434
29.0.50; PGTK cannot yank after second frame is deleted

Previous Next

Package: emacs;

Reported by: Protesilaos Stavrou <info <at> protesilaos.com>

Date: Thu, 7 Jul 2022 12:02:01 UTC

Severity: normal

Found in version 29.0.50

Done: Protesilaos Stavrou <info <at> protesilaos.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 56434 in the body.
You can then email your comments to 56434 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#56434; Package emacs. (Thu, 07 Jul 2022 12:02:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Protesilaos Stavrou <info <at> protesilaos.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 07 Jul 2022 12:02:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Protesilaos Stavrou <info <at> protesilaos.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; PGTK cannot yank after second frame is deleted
Date: Thu, 07 Jul 2022 15:01:06 +0300
Dear maintainers,

I can reproduce the following on emacs -Q:

1. Produce a second frame with either M-x tear-off-window or C-x 5 b BUFFER

2. Mark a region with some text and type M-w

3. Delete the frame either via the system's window manager or C-x 5 0

4. Type C-y

5. Emacs hangs and displays the echo area message "Waiting for reply from
   selection owner..."

Setting debug-on-error to non-nil has no effect.  When Emacs hangs, the
shell prints this:

    (emacs:2090): GLib-GObject-CRITICAL **: 14:53:23.604: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

I am using the GNOME desktop right now.

Can you reproduce it on your end?  Do you want me to test something else?

All the best,
Protesilaos (or simply "Prot")

* * *

In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.17.6)
 of 2022-07-06 built on kronos
Repository revision: f65e4c46a3418c7f24f53503feda42e844951997
Repository branch: master
System Description: Arch Linux

Configured using:
 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
 --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games
 --with-modules --without-libotf --without-m17n-flt --without-gconf
 --with-native-compilation --with-xinput2 --with-pgtk --without-xaw3d
 --with-sound=no --without-gpm --without-compress-install
 '--program-transform-name=s/\([ec]tags\)/\1.emacs/'
 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions
 -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security
 -fstack-clash-protection -fcf-protection'
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK
PNG RSVG SECCOMP SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP XIM GTK3
ZLIB

Important settings:
  value of $LANG: C
  locale-coding-system: nil


-- 
Protesilaos Stavrou
https://protesilaos.com




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56434; Package emacs. (Thu, 07 Jul 2022 13:19:01 GMT) Full text and rfc822 format available.

Message #8 received at 56434 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Protesilaos Stavrou <info <at> protesilaos.com>
Cc: 56434 <at> debbugs.gnu.org
Subject: Re: bug#56434: 29.0.50; PGTK cannot yank after second frame is deleted
Date: Thu, 07 Jul 2022 21:18:10 +0800
Protesilaos Stavrou <info <at> protesilaos.com> writes:

> Dear maintainers,
>
> I can reproduce the following on emacs -Q:
>
> 1. Produce a second frame with either M-x tear-off-window or C-x 5 b BUFFER
>
> 2. Mark a region with some text and type M-w
>
> 3. Delete the frame either via the system's window manager or C-x 5 0
>
> 4. Type C-y
>
> 5. Emacs hangs and displays the echo area message "Waiting for reply from
>    selection owner..."
>
> Setting debug-on-error to non-nil has no effect.  When Emacs hangs, the
> shell prints this:
>
>     (emacs:2090): GLib-GObject-CRITICAL **: 14:53:23.604: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

Should be fixed now, please test.

> In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.17.6)
>  of 2022-07-06 built on kronos
> Repository revision: f65e4c46a3418c7f24f53503feda42e844951997
> Repository branch: master
> System Description: Arch Linux
>
> Configured using:
>  'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
>  --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games
>  --with-modules --without-libotf --without-m17n-flt --without-gconf
>  --with-native-compilation --with-xinput2 --with-pgtk --without-xaw3d
>  --with-sound=no --without-gpm --without-compress-install
>  '--program-transform-name=s/\([ec]tags\)/\1.emacs/'
>  'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions
>  -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security
>  -fstack-clash-protection -fcf-protection'
>  LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'

Your configure options are mostly redundant.  `--with-xinput2' and
`--without-xaw3d' have no effect on PGTK, and `--with-modules' has been
the default for a long time.

These redundant configure flags make reading generated bug reports
confusing.  Please report the problem to the packager.

Thanks.




Reply sent to Protesilaos Stavrou <info <at> protesilaos.com>:
You have taken responsibility. (Thu, 07 Jul 2022 14:09:02 GMT) Full text and rfc822 format available.

Notification sent to Protesilaos Stavrou <info <at> protesilaos.com>:
bug acknowledged by developer. (Thu, 07 Jul 2022 14:09:02 GMT) Full text and rfc822 format available.

Message #13 received at 56434-done <at> debbugs.gnu.org (full text, mbox):

From: Protesilaos Stavrou <info <at> protesilaos.com>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 56434-done <at> debbugs.gnu.org
Subject: Re: bug#56434: 29.0.50; PGTK cannot yank after second frame is deleted
Date: Thu, 07 Jul 2022 17:08:08 +0300
> From: Po Lu <luangruo <at> yahoo.com>
> Date: Thu, 07 Jul 2022 21:18:10 +0800
>
> Should be fixed now, please test.

Yes, it is fixed.  Closing the bug report.  Thank you!

> Your configure options are mostly redundant.  `--with-xinput2' and
> `--without-xaw3d' have no effect on PGTK, and `--with-modules' has been
> the default for a long time.
>
> These redundant configure flags make reading generated bug reports
> confusing.  Please report the problem to the packager.

Will convey the information.  Thanks!

-- 
Protesilaos Stavrou
https://protesilaos.com




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56434; Package emacs. (Fri, 08 Jul 2022 02:28:02 GMT) Full text and rfc822 format available.

Message #16 received at 56434-done <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Protesilaos Stavrou <info <at> protesilaos.com>
Cc: 56434-done <at> debbugs.gnu.org
Subject: Re: bug#56434: 29.0.50; PGTK cannot yank after second frame is deleted
Date: Fri, 08 Jul 2022 10:27:20 +0800
Protesilaos Stavrou <info <at> protesilaos.com> writes:

> Yes, it is fixed.  Closing the bug report.  Thank you!

Any time, thanks for testing.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 05 Aug 2022 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 321 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.