[7236] in Athena Bugs
GNU Emacs 18.57.10 of Fri Feb 22 1991 on hodge (berkeley-unix)
daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Mon Mar 4 11:12:02 1991
Date: Mon, 4 Mar 91 11:11:45 EST
From: John T Kohl <jtkohl@MIT.EDU>
To: bugs@MIT.EDU
System name: quicksilver
Type and version: KN01 7.2R
Display type: PM-MONO
What were you trying to do?
use M-x grep on some stuff with the DECstation emacsdev version
of emacs 18.57.
What's wrong:
It hangs after the grep completes. It will still refresh the
display, but won't take any keyboard input.
Using ps(1), I find no remaining "grep" processes or zombies under my
UID, so I must assume that the grep completed, and emacs did a wait()
for it before deciding to finish reading the output:
[{1}quicksilver:/usr/tmp]
% ps ux
USER PID %CPU %MEM SZ RSS TT STAT TIME COMMAND
jtkohl 11019 8.3 3.2 532 392 p2 R 0:00 ps ux
jtkohl 10984 0.0 9.1 1220 1144 qf S 0:05 emacs
jtkohl 10828 0.0 5.6 1104 704 p2 I 0:06 /mit/StaffTools/decmipsbin/xds
jtkohl 10819 0.0 4.2 1052 524 qf S 0:11 xterm -name local-
jtkohl 10817 0.0 0.2 20 16 qf I 0:00 /usr/athena/session_gate
jtkohl 10776 0.0 3.2 756 392 qf S 0:06 twm
jtkohl 10778 0.0 3.5 604 436 qf I 0:01 /usr/etc/zwgc
jtkohl 10985 0.0 0.4 44 40 p0 I 0:00 /mit/emacs/mips/install/etc/se
jtkohl 8958 0.0 0.0 60 0 qf IW 0:09 sh /etc/athena/login/Xsession
jtkohl 10830 0.0 2.0 532 248 p2 I 0:19 /mit/StaffTools/decmipsbin/eds
jtkohl 10761 0.0 1.0 364 124 qf I 0:02 csh -f ./.xsession
jtkohl 10822 0.0 1.8 416 224 p2 S 0:08 -sh (csh)
jtkohl 10986 0.0 0.3 44 32 p1 I 0:00 /mit/emacs/mips/install/etc/wa
jtkohl 10846 0.0 6.2 1072 772 qf I 0:02 xzwrite
jtkohl 10856 0.0 6.3 908 792 qf I 0:00 xscreensaver
[{1}quicksilver:/usr/tmp]
% kill -ILL 10984
% dbx /mit/emacs/decmips/src/xemacs /usr/tmp/core.jtkohl
dbx version 1.31
Type 'help' for help.
Corefile produced from file "emacs"
Child died at pc 0x47e4b4 of signal : Illegal instruction
reading symbolic information ...
[using memory image in /usr/tmp/core.jtkohl]
(dbx) where
> 0 read.read(0x10076b00, 0x5092a8c, 0x425200, 0x5097014, 0xc087b00) ["read.s":18, 0x47e4b0]
1 read_process_output(proc = 201882368, channel = 3) ["process.c":1806, 0x460608]
2 .block180 ["process.c":2325, 0x461724]
3 .block179 ["process.c":2325, 0x461724]
4 status_notify() ["process.c":2325, 0x461724]
5 wait_reading_process_input(time_limit = 0, read_kbd = -1, do_display = 1) ["process.c":1525, 0x45ffdc]
6 kbd_buffer_read_command_char() ["keyboard.c":1126, 0x41d3c4]
7 read_command_char(commandflag = 1) ["keyboard.c":970, 0x41ceb4]
8 read_key_sequence(keybuf = 0x7fffe82e = "^[x", bufsize = 30, prompt = (nil), nodisplay = 0) ["keyboard.c":1488, 0x41da60]
9 .block37 ["keyboard.c":659, 0x41c4c4]
10 command_loop_1() ["keyboard.c":659, 0x41c4c4]
11 internal_condition_case(bfun = 0x41c2d4, handlers = 17003764, hfun = 0x41bcf4) ["eval.c":1006, 0x449c58]
12 command_loop_2() ["keyboard.c":530, 0x41c0e8]
13 internal_catch(tag = 17003744, func = 0x41c0c8, arg = 17003524) ["eval.c":815, 0x449560]
14 command_loop() ["keyboard.c":512, 0x41c088]
15 recursive_edit_1() ["keyboard.c":397, 0x41bc30]
More (n if no)?y
16 Frecursive_edit() ["keyboard.c":379, 0x41bb98]
17 main(argc = 1, argv = 0x7fffec54, envp = 0x7fffec5c) ["emacs.c":490, 0x41b370]
(dbx)
You can find the coredump in
/mit/bitbucket/jtkohl/emacs-decmips.core.process-hang
What should have happened:
It should work properly.
Please describe any relevant documentation references:
read(2)