Subject: bug#26041: 25.1; python mode locks up emacs

From: [email-masked]
Date: Thu, 09 Mar 2017 18:14:43 -0500

merge 24905 26041
quit

Mark Diekhans <[email-masked]> writes:
>
> emacs -Q locksup_python_mode.__init__.py
>
> In a curses window causes emacs to lock up at near 100% CPU
> utilization.  ^G does interrupt in some manner, however emacs
> mini-buffer doesn't take commands and it continues to consume
> CPU.  Unable to get lisp stack trace.  kill -9 is the only way out

Glenn Morris <[email-masked]> writes:
>
> Thanks for the report. By experiment, this is already fixed for the next
> release, 25.2.

Pretty sure this #24905.  Fixed in [1].  By the way, kill -SIGUSR2
should also interrupt.

[1]: 2016-11-08 15:28:49 -0800 3ef4ee84fa3f658c2df802569dc89023d98e9947
  Avoid infloop in python
http://git.savannah.gnu.org/cgit/emacs.git/patch/?id=3ef4ee84fa3f658c2df802569dc89023d98e9947