Path: utzoo!utgpu!watmath!iuvax!cica!tut.cis.ohio-state.edu!twinsun.com!eggert From: eggert@twinsun.com (Paul Eggert) Newsgroups: gnu.emacs.bug Subject: emacs dumps core if stdin is closed Message-ID: <8908102208.AA19564@twinsun.com> Date: 10 Aug 89 22:08:50 GMT Distribution: gnu Organization: GNUs Not Usenet Lines: 26 Emacs dumps core if file descriptor 0 is closed (Sun-3/50, SunOS 4.0.1, GNU Emacs 18.54). Here is a scenario. % sh $ emacs <&- [Emacs outputs the initial screen to the terminal.] Abort - core dumped $ adb /local/bin/emacs $c core file = core -- program ``emacs'' SIGIOT 6: abort _kill(?) _abort() + 6 _wait_reading_process_input(0x0,0xffffffff,0x1) + 17c _kbd_buffer_get_char() + 70 _get_char(0x1) + 1ea _read_key_sequence(0xefff9e0,0x1e,0x0,0x0) + 5e _command_loop_1() + 108 _internal_condition_case(0x12e04,0x10ff8fc,0x12a22) + a8 _command_loop_2(0x10ff80c) + 12 _internal_catch(0x10ff8e8,0x12ce4,0x10ff80c) + 6a _command_loop() + 50 _Frecursive_edit() + 96 _main(0x1,0xefffcac,0xefffcb4) + 4e4 _start1() + 38 __start() + 4