GNU bug report logs - #28630
27.0.50; C-g while a non-main thread is sitting crashes Emacs

Previous Next

Package: emacs;

Reported by: Alex <agrambot <at> gmail.com>

Date: Thu, 28 Sep 2017 07:24:01 UTC

Severity: normal

Found in version 27.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Alex <agrambot <at> gmail.com>
To: 28630 <at> debbugs.gnu.org
Cc: eliz <at> gnu.org, Tom Tromey <tom <at> tromey.com>
Subject: bug#28630: 27.0.50; C-g while a non-main thread is sitting crashes Emacs
Date: Sat, 30 Sep 2017 21:18:08 -0600
Alex <agrambot <at> gmail.com> writes:

> Evaluate the following in emacs -Q:
>
> (make-thread
>  (lambda ()
>    (message "hello")
>    (sit-for 2)
>    (message "there")))
>
> Executing C-g before this finishes crashes Emacs. Here's a backtrace:
> [...]

Should this be labelled a blocker for Emacs 26? This appears to be a
related to bug 25214, since I just tried to hit C-g when running the
example there and it indeed crashes Emacs.

It should be noted that `keyboard-escape-quit' (ESC ESC ESC) doesn't
crash Emacs.

Also, replacing (sit-for 2) with (read-char) or its family and hitting
C-g will also crash Emacs.




This bug report was last modified 7 years and 284 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.