From: martin rudalics <rudalics@gmx.at>
To: David Reitter <david.reitter@gmail.com>
Cc: Emacs discussions <emacs-devel@gnu.org>
Subject: Re: crash in delete_window
Date: Wed, 18 Nov 2009 09:11:51 +0100 [thread overview]
Message-ID: <4B03AC47.5080102@gmx.at> (raw)
In-Reply-To: <90F618D6-EAAC-4593-979F-E0176B465F2F@gmail.com>
> I just had a crash in delete_window and thought I'd do something about
> it before/rather than filing a bug report.... From the trace below,
> it seems like Fdelq is called, followed by a process_pending_signals
> and some redisplay, which probably crashes because the window has been
> half-deleted.
IIUC it was about to delete a single-window frame
> 30 org.gnu.AquamacsEmacs 0x0000000100018d9e delete_frame + 474 (frame.c:1474)
so the first question is whether there were other frames left at that
time.
> Would it be sensible in this case to add some BLOCK_INPUT statements
> to delete_window, or maybe SET_FRAME_GARBAGED? (Sorry if this is a
> naive suggestion.)
The downside of BLOCK_INPUT is that it makes Emacs unresponsive in the
sense that you can't even see a garbled frame when something goes wrong.
But yes - some general advice on why, whether and how BLOCK_INPUT should
be used would be very welcome.
martin
next prev parent reply other threads:[~2009-11-18 8:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-17 23:11 crash in delete_window David Reitter
2009-11-18 8:11 ` martin rudalics [this message]
2009-11-24 17:00 ` crash in delete_frame David Reitter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B03AC47.5080102@gmx.at \
--to=rudalics@gmx.at \
--cc=david.reitter@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.