Subject: bug#32502: 27.0.50; Tramp; C-g during asynchronous remote find-file kills Emacs

From: Eli Zaretskii <[email-masked]>
Date: Wed, 22 Aug 2018 21:46:42 +0300

> From: Gemini Lasswell <[email-masked]>
> Date: Wed, 22 Aug 2018 11:19:34 -0700
> 
> To reproduce, with emacs -Q and the Emacs source tree stored on a remote
> machine:
> 
> C-x & C-x C-f /scp:server:src/emacs/lisp/emacs-lisp/*.el RET
> C-g
> 
> Result:
> 
> #0  terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=40) at emacs.c:368
> #1  0x0000000000511833 in emacs_abort () at sysdep.c:2426
> #2  0x000000000057114d in signal_or_quit (error_symbol=XIL(0xaaa0), data=XIL(0), keyboard_quit=keyboard_quit@entry=false) at eval.c:1612

In frame #2, which one of these 2 conditions caused the abort:

  if (gc_in_progress || waiting_for_input)
    emacs_abort ();

> #3  0x000000000057115b in Fsignal (error_symbol=<optimized out>, data=<optimized out>) at eval.c:1582
> #4  0x00000000005d5555 in post_acquire_global_lock (self=self@entry=0xc19320 <main_thread>) at thread.c:93

And in frame #4, what is current_thread->error_symbol?

Thanks.