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 #22 received at 56792-done <at> debbugs.gnu.org (full text, mbox):

From: David Welch <davidwelch158 <at> hotmail.com>
To: Po Lu <luangruo <at> yahoo.com>
Cc: "56792-done <at> debbugs.gnu.org" <56792-done <at> debbugs.gnu.org>
Subject: Re: bug#56792: 29.0.50; Emacs crashes when selecting text if xfreerdp
 is also running
Date: Thu, 28 Jul 2022 08:24:32 +0000
[Message part 1 (text/plain, inline)]
Are you sure? It looks to me like it uses replace except for the case of INCR (which isn't implemented in pgtkselect.c).

for (cs = frame->converted_selections; cs; cs = cs->next)
{
if (cs->property == None)
continue;
bytes_remaining = cs->size;
bytes_remaining *= cs->format >> 3;
if (bytes_remaining <= max_bytes)
{
/* Send all the data at once, with minimal handshaking. */
TRACE1 ("Sending all %"pD"d bytes", bytes_remaining);
XChangeProperty (display, window, cs->property,
cs->type, cs->format, PropModeReplace,
cs->data, cs->size);
}

________________________________
From: Po Lu <luangruo <at> yahoo.com>
Sent: 28 July 2022 01:39
To: David Welch <davidwelch158 <at> hotmail.com>
Cc: 56792-done <at> debbugs.gnu.org <56792-done <at> debbugs.gnu.org>
Subject: Re: bug#56792: 29.0.50; Emacs crashes when selecting text if xfreerdp is also running

> Of interest, what's the reason for not using GDK_PROP_MODE_REPLACE
> when setting the property in response to a selection request?

No reason in particular, the code is just kept closer to xselect.c.
[Message part 2 (text/html, inline)]

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.