Subject: Re: bug#17771: 24.3.91; SIGSEGV in cleanup_vector

From: Dmitry Antipov <[email-masked]>
Date: Mon, 16 Jun 2014 17:19:24 +0400

On 06/16/2014 05:07 PM, Stephen Berman wrote:

> With this I can no longer make Emacs crash with my recipe.  In fact,
> `C-g' has no effect: HELLO is displayed (after 30+ seconds), no matter
> how many times I type `C-g'.  Is this what you expect?

No, 30+s is just unbelievable. What is your hardware? While you're waiting
for HELLO to be displayed, what's Emacs CPU consumption is?

If it's more than, say, 10%, could you profile? Compile with -g or -g3 and run with:

perf record -e cycles,stalled-cycles-frontend,idle-cycles-frontend -F 1000 ./src/emacs -Q

then C-h h, then exit immediately after HELLO is displayed, and finally

perf report --stdio

If CPU consumption is just slightly above zero, try to run with 'strace -ttt'
and check whether you're sleeping or blocked inside a system call.

Dmitry