From: Sebastian Fischmeister <sfischme@uwaterloo.ca>
To: <help-gnu-emacs@gnu.org>
Subject: Emacs >24.5 hangs on yank()
Date: Wed, 21 Oct 2015 07:43:55 -0400 [thread overview]
Message-ID: <87y4ewphxy.fsf@uwaterloo.ca> (raw)
Hi,
Every since the upgrade to 24.5 (also on 24.5.1), after a while of using
emacs, it hangs when I want to paste some text using yank(). Sometimes
Emacs recovers after a timeout but sometimes it is stuck forever; C-g
does not help.
If Emacs recovers, every subsequent yank will also cause the same
behaviour. Quitting my clipboard manager has no effect. Setting
x-select-enable-primary and x-select-enable-clipboard to nil helps, but
only if I start emacs with it and not once the problem is occurring.
Emcas 24.4 does not have this problem.
When running strace on the PID while emacs hangs, it produces a lot of
brk() followed by a couple of recvmsg() with '-1 EAGAIN (Resource
temporarily unavailable)'.
When quitting emacs, it briefly hangs with the message that it is
syncing with the clipboard manager.
Sometimes, I also get this message: "x-dnd-handle-xdnd: Timed out
waiting for reply from selection owner".
Any ideas what is going on? At the moment I have to restart emacs about
every two hours because of this.
Thanks,
Sebastian
next reply other threads:[~2015-10-21 11:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-21 11:43 Sebastian Fischmeister [this message]
[not found] <mailman.729.1445433241.7904.help-gnu-emacs@gnu.org>
2015-10-21 16:18 ` Emacs >24.5 hangs on yank() Sven Joachim
2015-10-27 12:30 ` Sebastian Fischmeister
2015-10-29 17:18 ` Sebastian Fischmeister
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=87y4ewphxy.fsf@uwaterloo.ca \
--to=sfischme@uwaterloo.ca \
--cc=help-gnu-emacs@gnu.org \
/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.
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).