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


Message #65 received at 28630 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: mituharu <at> math.s.chiba-u.ac.jp, agrambot <at> gmail.com
Cc: 28630 <at> debbugs.gnu.org, tom <at> tromey.com
Subject: Re: bug#28630: 27.0.50;
 C-g while a non-main thread is sitting crashes Emacs
Date: Wed, 04 Oct 2017 10:39:05 +0300
> Date: Mon, 02 Oct 2017 19:08:59 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 28630 <at> debbugs.gnu.org, tom <at> tromey.com, agrambot <at> gmail.com
> 
> I think the second thread calls setjmp and clobbers the values set by
> the main thread, when the main thread called setjmp.

That guess was correct.

I hope I fixed this now, but please test this in a GUI session on X,
as I couldn't test that configuration.  If there are still crashes,
please post a backtrace.

Thanks.




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.