unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Robert Marshall <robert@capuchin.co.uk>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Robert Marshall <robert.marshall@codethink.co.uk>, 29661@debbugs.gnu.org
Subject: bug#29661: 27.0.50; emacs crashing on exchange-point-and-mark
Date: Mon, 01 Jan 2018 10:01:44 +0000	[thread overview]
Message-ID: <87po6tdhiv.fsf@capuchin.co.uk> (raw)
In-Reply-To: <87fu8c4039.fsf@ctlt579.codethink.co.uk> (Robert Marshall's message of "Fri, 15 Dec 2017 13:00:58 +0000")

On Fri, Dec 15 2017, Robert Marshall <robert.marshall@codethink.co.uk> wrote:

> Eli Zaretskii <eliz@gnu.org> writes:
>
>>> From: Robert Marshall <robert.marshall@codethink.co.uk>
>>> Cc: rudalics@gmx.at,  29661@debbugs.gnu.org
>>> Date: Fri, 15 Dec 2017 10:58:47 +0000
>>> 
>>> >> When running klipper from the command line and replicating the problem I
>>> >> see
>>> >> 
>>> >> QClipboardWatcher::empty: Internal error: Application owns the selection
>>> >
>>> > Ah, in that case we have an entry in PROBLEMS about klipper.  Does
>>> > upgrading to a newer version as indicated there solve the problem?  If
>>> > not, perhaps we should update that entry with some new information.
>>> >
>>> I have 4.14.2 of kde, Klipper: 0.9.7

With 4.14.34 of kde Klipper 5.10.5 (that's a huge version leap!) I also
see the crash. I also have the problem with clipit (v 1.4.2) which I use in
another desktop environment for clipboard management

>>> 
>>> Which would appear to be newer than the entry in PROBLEMS - update
>>> to say emacs may crash? And mention select-active-regions?

Reading bug#29889 I set select-active-regions to 'only and the problem no
longer happens.

>> Please propose the text to add there, and thanks.
>
> I'll take a look at my home machine tonight - which probably has a later
> version to see if the problem is still present and then suggest an
> amendment.
>

Here's a suggested change:
----------------------------------------------------------------
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index c9b11fbc56..36df5493f4 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -1034,18 +1034,17 @@ It is also reported that a bug in the gtk-engines-qt engine can cause this if
 Emacs is compiled with Gtk+.
 The bug is fixed in version 0.7 or newer of gtk-engines-qt.
 
-*** KDE: Emacs hangs on KDE when a large portion of text is killed.
+*** Clipboard: Emacs hangs or crashes when a large portion of text is selected or killed.
 
-This is caused by a bug in the KDE applet 'klipper' which periodically
-requests the X clipboard contents from applications.  Early versions
-of klipper don't implement the ICCCM protocol for large selections,
-which leads to Emacs being flooded with selection requests.  After a
-while, Emacs may print a message:
+This is caused by a bug in the clipboard management applets (it has
+been observer in 'klipper' and 'clipit') which periodically request
+the X clipboard contents from applications.  After a while, Emacs may
+print a message:
 
   Timed out waiting for property-notify event
 
-A workaround is to not use 'klipper'.  Upgrading 'klipper' to the one
-coming with KDE 3.3 or later also solves the problem.
+A workaround is to not use 'klipper'or 'clipit'. Alternatively setting
+select-active-regions to 'only also solves the problem.
 
 *** KDE / Plasma 5: Emacs exhausts memory and needs to be killed
----------------------------------------------------------------

Robert





  parent reply	other threads:[~2018-01-01 10:01 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-11 15:22 bug#29661: 27.0.50; emacs crashing on exchange-point-and-mark Robert Marshall
2017-12-12  8:56 ` martin rudalics
2017-12-12  9:49   ` Robert Marshall
2017-12-12 10:28     ` martin rudalics
2017-12-12 10:55       ` Robert Marshall
2017-12-13  8:48         ` martin rudalics
2017-12-13 10:06           ` Robert Marshall
2017-12-13 14:01             ` Robert Marshall
2017-12-13 19:29               ` martin rudalics
2017-12-14  8:35                 ` Robert Marshall
2017-12-14 17:10                   ` Eli Zaretskii
2017-12-15  8:49                     ` martin rudalics
2017-12-15  9:24                     ` Robert Marshall
2017-12-15 10:39                       ` Eli Zaretskii
2017-12-15 10:58                         ` Robert Marshall
2017-12-15 11:11                           ` Eli Zaretskii
2017-12-15 13:00                             ` Robert Marshall
2017-12-22 10:07                               ` Eli Zaretskii
2017-12-22 14:04                                 ` Robert Marshall
2018-01-01 10:01                               ` Robert Marshall [this message]
2018-01-01 16:30                                 ` Eli Zaretskii
2018-01-01 19:11                                   ` Robert Marshall
2018-01-01 20:03                                     ` Eli Zaretskii
2017-12-13 19:29             ` martin rudalics
     [not found]               ` <87k1xp64uf.fsf@ctlt579.codethink.co.uk>
2017-12-15  8:49                 ` martin rudalics

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87po6tdhiv.fsf@capuchin.co.uk \
    --to=robert@capuchin.co.uk \
    --cc=29661@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=robert.marshall@codethink.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).