GNU bug report logs - #25171
Error in thread causes Emacs to abort

Previous Next

Package: emacs;

Reported by: Andreas Schwab <schwab <at> linux-m68k.org>

Date: Sun, 11 Dec 2016 14:24:02 UTC

Severity: normal

Tags: fixed

Merged with 25164

Found in version 26.0.50

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: schwab <at> linux-m68k.org
Cc: tom <at> tromey.com, 25171 <at> debbugs.gnu.org
Subject: Re: bug#25171: Error in thread causes Emacs to abort
Date: Sun, 11 Dec 2016 19:43:00 +0200
> Date: Sun, 11 Dec 2016 18:13:34 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 25171 <at> debbugs.gnu.org
> 
> diff --git a/src/keyboard.c b/src/keyboard.c
> index 01b9b3c..cc78548 100644
> --- a/src/keyboard.c
> +++ b/src/keyboard.c
> @@ -148,9 +148,6 @@ static Lisp_Object regular_top_level_message;
>  
>  static sys_jmp_buf getcjmp;
>  
> -/* True while doing kbd input.  */
> -bool waiting_for_input;
> -
>  /* True while displaying for echoing.   Delays C-g throwing.  */
>  
>  static bool echoing;
> @@ -322,10 +319,6 @@ static ptrdiff_t echo_length (void);
>  /* Incremented whenever a timer is run.  */
>  unsigned timers_run;
>  
> -/* Address (if not 0) of struct timespec to zero out if a SIGIO interrupt
> -   happens.  */
> -struct timespec *input_available_clear_time;
> -

Actually, making input_available_clear_time thread-specific was a bad
idea (it causes current_thread dereferenced from a signal handler, and
current_thread could be NULL for short periods of time), so I undid it
in a followup commit.

The rest seems still valid.




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

Previous Next


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