C-g causes term to go in eternal loop.
In X only way to stop it is to kill XEmacs.
In tty 3 additional C-g's cause suspend and after that abort and
core dump. Tested on XEmacs 21.4.* (ev56|ev67)-dec-osf(4.0f|5.0)
How to reproduce, Lisp and C backtraces and Installation description:
---Clip---
xemacs -nw -vanilla
M-x term
C-g
<Now term is in loop producing new prompts>
C-g C-g C-g
<xemacs is suspended>
zsh: 1805 suspended src/xemacs -nw -vanilla
biton 21:16 /proj/ave/xemacs/build/alpha-dec-osf4.0 % fg
[1] + continued src/xemacs -nw -vanilla
Auto-save? (y or n) n
Abort (and dump core)? (y or n) y
Fatal error: assertion failed, file /proj/ave/xemacs/xemacs-21.4.3/src/signal.c, line 426,
abort()
Fatal error (6).
Your files have been auto-saved.
Use `M-x recover-session' to recover them.
If you have access to the PROBLEMS file that came with your
version of XEmacs, please check to see if your crash is described
there, as there may be a workaround available.
Otherwise, please report this bug by running the send-pr
script included with XEmacs, or selecting `Send Bug Report'
from the help menu.
As a last resort send ordinary email to `crashes(a)xemacs.org'.
*MAKE SURE* to include the information in the command
M-x describe-installation.
If at all possible, *please* try to obtain a C stack backtrace;
it will help us immensely in determining what went wrong.
To do this, locate the core file that was produced as a result
of this crash (it's usually called `core' and is located in the
directory in which you started the editor, or maybe in your home
directory), and type
gdb /proj/ave/xemacs/build/alpha-dec-osf4.0/src/xemacs core
then type `where' when the debugger prompt comes up.
(If you don't have GDB on your system, you might have DBX,
or XDB, or SDB. A similar procedure should work for all of
these. Ask your system administrator if you need more help.)
Lisp backtrace follows:
#<subr vertical-motion>(1)
# (unwind-protect ...)
# bind (count)
term-handle-deferred-scroll()
# bind (kind)
term-erase-in-display(0)
# bind (char proc)
term-handle-ansi-escape(#<process "terminal" pid 1804 state:run> ?J)
# (unwind-protect ...)
# (unwind-protect ...)
# bind (str-length selected win temp old-point save-marker save-point count funny char i
previous-buffer str proc)
term-emulate-terminal(#<process "terminal" pid 1804 state:run>
"/alpha-dec-osfbiton /proj/ave/xemacs/build/alpha-dec-osf4.0 %")
# (condition-case ... . error)
# bind (inhibit-quit)
# (condition-case ... . error)
# (catch top-level ...)
zsh: 1805 abort (core dumped) src/xemacs -nw -vanilla
(gdb) where
#0 0x3ff800edea8 in ?? ()
#1 0x120099f68 in fatal_error_signal (sig=0)
at /proj/ave/xemacs/xemacs-21.4.3/src/emacs.c:535
#2 0x120099f68 in fatal_error_signal (sig=Cannot access memory at address 0x8.
) at /proj/ave/xemacs/xemacs-21.4.3/src/emacs.c:535
Cannot access memory at address 0x20.
uname -a: OSF1 biton.lce.hut.fi V4.0 1229 alpha alpha
/proj/ave/xemacs/xemacs-21.4.3/configure '--prefix=/proj/ave/xemacs/'
'--srcdir=/proj/ave/xemacs/xemacs-21.4.3'
'--site-includes=/usr/local/include' '--site-libraries=/usr/local/lib'
'--cppflags=-DREGEX_MALLOC' '--debug=yes' '--cflags=-g'
XEmacs 21.4.3 "Academic Rigor" configured for `alphaev67-dec-osf4.0f'.
Compilation / Installation:
Source code location: /proj/ave/xemacs/xemacs-21.4.3
Installation prefix: /proj/ave/xemacs/
Additional header files: /usr/local/include
Additional libraries: /usr/local/lib
Runtime library search path: /usr/local/lib:/usr/dt/lib
Operating system description file: `s/decosf4-0.h'
Machine description file: `m/alpha.h'
Compiler: cc -g
Relocating allocator for buffers: yes
GNU version of malloc: yes
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/dt/include
- X Windows libraries location: /usr/dt/lib
- Handling WM_COMMAND properly.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
Using Motif native widgets.
TTY:
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Sound:
Databases:
Compiling in support for Berkeley database.
Compiling in support for DBM.
Internationalization:
Mail:
Compiling in support for "flock" mail spool file locking method.
Other Features:
Compiling in support for ToolTalk.
Compiling in support for dynamic shared object modules.
Compiling in support for extra debugging code.