emacs-devel
[Top][All Lists]
Advanced

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

Re: 23.0.60; Emacs should survive a lost X connection


From: Richard Stallman
Subject: Re: 23.0.60; Emacs should survive a lost X connection
Date: Wed, 06 Feb 2008 14:20:55 -0500

                * eval.c (internal_condition_case_2, internal_condition_case_1)
                (internal_condition_case): Reenable abort if x_catching_errors 
()
                to see if that really happens and why.


    Richard, now you have part of the answer: if the X11 connection is lost
    emacs crashes after your patch. It works fine after undoing the patch.

Interesting.  Can you send me a backtrace for that crash?

    (Undoing this patch also solves another issue discussed recently: emacs
    crashes after using xkill on an emacsclient frame).

I'd like to see a backtrace for that case too.

The idea is, if there is a good reason for those calls to be where
they are, then the right thing is to undo my patch and add comments
explaining in detail why it is legitimate for those functions to
be called with x_catching_errors in effect.  But if it is clean
to get rid of those calls, and handle those cases differently,
that is better.





reply via email to

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