Subject: Re: bug#16737: 24.3.50; Yank causes hang

From: Dmitry Antipov <[email-masked]>
Date: Thu, 13 Feb 2014 09:22:56 +0400

On 02/13/2014 07:40 AM, Sujith Manoharan wrote:

> I attached using strace to the running Emacs process when this happened and
> captured the log.
>
> Please let me know if any other information is required.

1) It's better to attach gdb and try to obtain a backtrace, especially when
Emacs sits in CPU-eating loops.

2) If CPU-eating loop involves I/O (read/write/sendmsg/recvmsg/select/etc.),
try to understand how the relevant fds are used, by looking under
/proc/[Emacs PID]/fd directory. (In your log, the most important is fd 4;
probably this is an X socket).

Dmitry