GNU bug report logs - #56792
29.0.50; Emacs crashes when selecting text if xfreerdp is also running

Previous Next

Package: emacs;

Reported by: David Welch <davidwelch158 <at> hotmail.com>

Date: Wed, 27 Jul 2022 13:41:02 UTC

Severity: normal

Found in version 29.0.50

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

Full log


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

From: Po Lu <luangruo <at> yahoo.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 56792-done <at> debbugs.gnu.org, David Welch <davidwelch158 <at> hotmail.com>
Subject: Re: bug#56792: 29.0.50; Emacs crashes when selecting text if
 xfreerdp is also running
Date: Thu, 28 Jul 2022 18:14:52 +0800
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text
> editors" <bug-gnu-emacs <at> gnu.org> writes:
>
>> The PGTK build does not support X11, so you should build without PGTK
>> enabled.  This crash is known to happen there, and will not be fixed,
>> since adding 300-400 lines of X specific selection code to the PGTK port
>> seems very irrational for a platform that it is not intended to support.
>
> Emacs shouldn't segfault, though.  It's fine to signal an error in this
> situation, but segfaulting is not.

The segfault (which is really not a segfault, just GDK displaying a
window system error and aborting in an unusual manner) is hard to avoid
without adding X specific error handling code
(gdk_x11_display_error_trap_push).  Which will then add a dependency on
the X11-specific parts of GDK, and won't work if Emacs did not see them
at build-time.




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

Previous Next


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