emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Eshell password input + C-g breaks Emacs


From: Richard Stallman
Subject: Re: Eshell password input + C-g breaks Emacs
Date: Sun, 12 Jun 2005 15:58:00 -0400

    Steps to reproduce:
    emacs -f eshell
    sudo -k # To make sure sudo will ask for a password
    sudo -l
    # Password prompt appears
    C-g

    "Fatal error (11)"
    "Error in echo-area-clear-hook: (void-function nil)"

When I try this, I get a peculiar crash that suggests that
the stack has been clobbered.  This patch seems to fix that problem,
and the test case works ok for me.  Does it work for you
with this patch?

*** keyboard.c  10 Jun 2005 09:28:23 -0400      1.829
--- keyboard.c  12 Jun 2005 11:19:22 -0400      
***************
*** 2616,2621 ****
--- 2616,2622 ----
  
    if (_setjmp (local_getcjmp))
      {
+       restore_getcjmp (save_jump);
        XSETINT (c, quit_char);
        internal_last_event_frame = selected_frame;
        Vlast_event_frame = internal_last_event_frame;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]