all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs >24.5 hangs on yank()
@ 2015-10-21 11:43 Sebastian Fischmeister
  0 siblings, 0 replies; 4+ messages in thread
From: Sebastian Fischmeister @ 2015-10-21 11:43 UTC (permalink / raw)
  To: help-gnu-emacs

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Emacs >24.5 hangs on yank()
       [not found] <mailman.729.1445433241.7904.help-gnu-emacs@gnu.org>
@ 2015-10-21 16:18 ` Sven Joachim
  2015-10-27 12:30   ` Sebastian Fischmeister
  2015-10-29 17:18   ` Sebastian Fischmeister
  0 siblings, 2 replies; 4+ messages in thread
From: Sven Joachim @ 2015-10-21 16:18 UTC (permalink / raw)
  To: help-gnu-emacs

On 2015-10-21 13:43 +0200, Sebastian Fischmeister wrote:

> 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.

Try to apply commit a27ae9d7650a1230d4359eaf0a949f827315a6d2[1] from the
emacs-24 branch, hopefully it will fix the issue.

Cheers,
       Sven


1. http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-24&id=a27ae9d7650a1230d4359eaf0a949f827315a6d2


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Emacs >24.5 hangs on yank()
  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
  1 sibling, 0 replies; 4+ messages in thread
From: Sebastian Fischmeister @ 2015-10-27 12:30 UTC (permalink / raw)
  To: Sven Joachim, help-gnu-emacs

>> Any ideas what is going on? At the moment I have to restart emacs about
>> every two hours because of this.
>
> Try to apply commit a27ae9d7650a1230d4359eaf0a949f827315a6d2[1] from the
> emacs-24 branch, hopefully it will fix the issue.

I'm now running emacs from ref 5dc48a2da9919f649952e75e54c48fda69a24ac3
and I don't have this problem. So it seems that a future releas of emacs
might have already fixed the problem.

  Sebastian



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Emacs >24.5 hangs on yank()
  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
  1 sibling, 0 replies; 4+ messages in thread
From: Sebastian Fischmeister @ 2015-10-29 17:18 UTC (permalink / raw)
  To: Sven Joachim, help-gnu-emacs

>> Any ideas what is going on? At the moment I have to restart emacs about
>> every two hours because of this.
>
> Try to apply commit a27ae9d7650a1230d4359eaf0a949f827315a6d2[1] from the
> emacs-24 branch, hopefully it will fix the issue.

I now also tried the git branch "emacs-24" which includes this patch,
and there I still have the problem when emacs tries to interact with the
clipboard.

However, when running the master branch, I do not have this problem.

  Sebastian



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-10-29 17:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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
2015-10-21 11:43 Sebastian Fischmeister

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.