GNU bug report logs -
#11049
24.0.93; SIGABRT when closing terminal, emacs running in TTY mode
Previous Next
Reported by: Rotem <vmalloc <at> gmail.com>
Date: Tue, 20 Mar 2012 16:45:02 UTC
Severity: normal
Tags: confirmed, patch
Merged with 22008
Found in versions 24.0.93, 25.1
Done: Alan Third <alan <at> idiocy.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
* src/emacs.c (Fkill-emacs): Block input while exiting.
---
src/emacs.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/emacs.c b/src/emacs.c
index 3e0cf59..fb01573 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -1941,6 +1941,13 @@ all of which are called before Emacs is actually killed. */
x_clipboard_manager_save_all ();
#endif
+#ifdef HAVE_NS
+ /* Crashes trying to process input while quitting. I'm not bothering
+ to unblock input since, well, we're quitting. If an unblock_input
+ is required it will have to go after Fexpand_file_name below. */
+ block_input();
+#endif
+
shut_down_emacs (0, (STRINGP (arg) && !feof (stdin)) ? arg : Qnil);
#ifdef HAVE_NS
--
Helps if I attach a patch that doesn't break the build.
--
Alan Third
This bug report was last modified 8 years and 324 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.