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

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

Re: SIGABRT while stress-testing with gnuclient/gnudoit


From: Richard Stallman
Subject: Re: SIGABRT while stress-testing with gnuclient/gnudoit
Date: Sat, 04 Jan 2003 18:44:34 -0500

    The proposed solution is to just replace the abort call in
    SELECTED_FRAME with a call to kill_emacs, just like the code at line
    1444 cited above does.

That would be a drastic solution.  Right now, the program can create
a new frame before it returns.

      prin1 eventually calls window_loop to figure out where to print
    it, and fails to find a using the SELECTED_FRAME macro.  This macro
    aborts.

You didn't tell me to use C-x C-e; I used C-j, which handles the
output differently.  Now I understand the problem.

Does this patch fix it?  Thanks.

*** xdisp.c.~1.797.~    Sun Dec 22 16:13:49 2002
--- xdisp.c     Sat Jan  4 14:05:35 2003
***************
*** 6488,6493 ****
--- 6488,6497 ----
  setup_echo_area_for_printing (multibyte_p)
       int multibyte_p;
  {
+   /* If we can't find an echo area any more, exit.  */
+   if (! FRAME_LIVE_P (XFRAME (selected_frame)))
+     Fkill_emacs (Qnil);
+ 
    ensure_echo_area_buffers ();
  
    if (!message_buf_print)




reply via email to

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