[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#28630: 27.0.50; C-g while a non-main thread is sitting crashes Emacs
From: |
YAMAMOTO Mitsuharu |
Subject: |
bug#28630: 27.0.50; C-g while a non-main thread is sitting crashes Emacs |
Date: |
Thu, 05 Oct 2017 12:27:28 +0900 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) |
>>>>> On Wed, 04 Oct 2017 12:23:19 +0300, Eli Zaretskii <eliz@gnu.org> said:
>> > OOC, could you please see whether on X the sit-for call is
>> > interrupted or not? That is, do you see the "there" message
>> > after typing C-g?
>>
>> Not interrupted (I see "there") on GTK+3, GTK+2, Athena, no
>> toolkit, and (my internal version of) the Mac port.
> That's what I thought should happen, thanks for confirming.
Same for NS. Interestingly, some variants of the original recipe
behave differently with respect to C-g depending on the toolkit.
Example 1:
(thread-join
(make-thread
(lambda ()
(message "hello")
(sit-for 2)
(message "there"))))
Interrupted: GTK+, Athena, no toolkit, Mac
Not interrupted: NS
Example 2:
(thread-join
(make-thread
(lambda ()
(message "hello")
(sleep-for 2)
(message "there"))))
Interrupted: GTK+
Not interrupted: Athena, no toolkit, Mac, NS
Probably it has something to do with xg_select.
YAMAMOTO Mitsuharu
mituharu@math.s.chiba-u.ac.jp
- bug#28630: 27.0.50; C-g while a non-main thread is sitting crashes Emacs, (continued)
- bug#28630: 27.0.50; C-g while a non-main thread is sitting crashes Emacs, Alex, 2017/10/01
- bug#28630: 27.0.50; C-g while a non-main thread is sitting crashes Emacs, Eli Zaretskii, 2017/10/01
- bug#28630: 27.0.50; C-g while a non-main thread is sitting crashes Emacs, YAMAMOTO Mitsuharu, 2017/10/02
- bug#28630: 27.0.50; C-g while a non-main thread is sitting crashes Emacs, YAMAMOTO Mitsuharu, 2017/10/02
- bug#28630: 27.0.50; C-g while a non-main thread is sitting crashes Emacs, Eli Zaretskii, 2017/10/02
- bug#28630: 27.0.50; C-g while a non-main thread is sitting crashes Emacs, Eli Zaretskii, 2017/10/04
- bug#28630: 27.0.50; C-g while a non-main thread is sitting crashes Emacs, YAMAMOTO Mitsuharu, 2017/10/04
- bug#28630: 27.0.50; C-g while a non-main thread is sitting crashes Emacs, Eli Zaretskii, 2017/10/04
- bug#28630: 27.0.50; C-g while a non-main thread is sitting crashes Emacs, YAMAMOTO Mitsuharu, 2017/10/04
- bug#28630: 27.0.50; C-g while a non-main thread is sitting crashes Emacs, Eli Zaretskii, 2017/10/04
- bug#28630: 27.0.50; C-g while a non-main thread is sitting crashes Emacs,
YAMAMOTO Mitsuharu <=
- bug#28630: 27.0.50; C-g while a non-main thread is sitting crashes Emacs, Eli Zaretskii, 2017/10/05
- bug#28630: 27.0.50; C-g while a non-main thread is sitting crashes Emacs, Philipp Stephani, 2017/10/07
- bug#28630: 27.0.50; C-g while a non-main thread is sitting crashes Emacs, Eli Zaretskii, 2017/10/07
- bug#28630: 27.0.50; C-g while a non-main thread is sitting crashes Emacs, Eli Zaretskii, 2017/10/07
- bug#28630: 27.0.50; C-g while a non-main thread is sitting crashes Emacs, YAMAMOTO Mitsuharu, 2017/10/09
- bug#28630: 27.0.50; C-g while a non-main thread is sitting crashes Emacs, Eli Zaretskii, 2017/10/09
- bug#28630: 27.0.50; C-g while a non-main thread is sitting crashes Emacs, mituharu, 2017/10/09
- bug#28630: 27.0.50; C-g while a non-main thread is sitting crashes Emacs, Eli Zaretskii, 2017/10/09
- bug#28630: 27.0.50; C-g while a non-main thread is sitting crashes Emacs, YAMAMOTO Mitsuharu, 2017/10/04
- bug#28630: 27.0.50; C-g while a non-main thread is sitting crashes Emacs, Eli Zaretskii, 2017/10/04